UpdateInvoiceTransactionStatus
Update the status of the specified invoice.
Request
The service request contains:
UpdateInvoiceTransactionStatusRequest |
||||
---|---|---|---|---|
Name |
Data Type |
Required? |
Default Value |
Discussion |
InvoiceTransactionNumber |
int |
yes |
 |
The InvoiceTransactionNumber returned by GetNextArTransaction. |
Status |
string(1) |
yes |
 |
"P"=Pending |
ArInvoiceTransactionNumber |
string(50) |
no |
 |
The A/R system's transaction ID for the invoice creation |
ArCreditMemoTransactionNumber |
string(50) |
no |
 |
The A/R System's transaction ID for use of prepaid balance C/M |
ArApplicationTransactionNumber |
string(50) |
no |
 |
The A/R System's transaction ID for application of C/M to the invoice |
ArOverrideInvoiceNumber |
string(20) |
no |
 |
(Optional) New invoice number to be set on invoice. |
FailureReason |
string(4000) |
no |
 |
If status = "F" you can use this parameter to store the reason for the failure. |
Response
The following data is returned:
UpdateInvoiceTransactionStatusResponse |
||
---|---|---|
Name |
Data Type |
Discussion |
UpdateStatus |
int |
1 if transaction found and updated, 0 if not found, -1 if unsuccessful |