This section documents the API used to manage reversal operations for Supplier Invoices through SAP.
| API |
Description |
| Supplier Invoice |
This API allows to reverse a supplier invoice in SAP.
|
Supplier Invoice
This API allows to execute the reversal of a Supplier Invoice in SAP.
Request Structure
| Parameter |
Type |
Mandatory |
Description |
postingDate |
DateTime |
Y |
Posting date and time to be used for the reversal operation. Expected format: YYYY-MM-DDTHH:mm:ss |
reversalReason |
String |
Y |
Reason code used to execute the reversal operation in SAP |
fiscalYear |
String |
Y |
Fiscal year related to the supplier invoice |
supplierInvoice |
String |
Y |
Supplier invoice number to be reversed |
Request Example
Response Structure
| Field |
Type |
Mandatory |
Description |
reversalDocument |
String |
N |
SAP reversal document generated after the reversal execution |
fiscalYear |
String |
N |
Fiscal year related to the generated reversal document |
success |
Boolean |
Y |
Indicates whether the reversal operation was successfully executed |
Response Example
Error Response Structure
| Field |
Type |
Mandatory |
Description |
status |
String |
Y |
Execution status returned in case of error. Possible value: Error |
message |
String |
Y |
Error message returned according to the SAP outcome |
Error Response Example
0 Comments
Please sign in to post a comment.