UpdateExpenseReportTransactionStatus

Update the status of the specified invoice.

Request

The service request contains:

UpdateExpenseReportTransactionStatusRequest

Name

Data Type

Required?

Default Value

Discussion

ErTransactionNumber

int

yes

 

The ErTransactionNumber returned by GetNextApTransaction.

Status

string(1)

yes

 

"P"=Pending
"T"=Transmitted
"C"=Confirmed
"F"=Failed

ApTransactionNumber

string(50)

no

 

The A/P system's transaction ID for the A/P item creation

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:

UpdateExpenseReportTransactionStatusResponse

Name

Data Type

Discussion

UpdateStatus

int

1 if transaction found and updated, 0 if not found, -1 if unsuccessful