Symptom
In your XML, you informed a value for Net Amount. However the Supplier Invoice created has a different value from the informed in the XML.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Supplier Invoicing work center.
- Go to Invoices and Credit Memos view.
- Search for the invoice's ID.
- Click in Edit button.
- Navigate to Items tab.
- Select the corresponding item.
You can see that the Net Amount is ABC. However in the XML used to create the invoice, the Net Amount is XYZ.
Cause
In XML it was used the tag <PurchaseOrderReference>. When the Supplier Invoice's XML references a Purchase Order, the system will take the value of Net Amount from the Purchase Order, and not from the XML.
Resolution
As a workaround, you can delete the Purchase Order references in your payload, then add the reference in the front end when the document is created.
Keywords
Net Amount, Supplier Invoice, Web Service, XML, Purchase Order, Reference , KBA , SRD-SRM-SI , Supplier Invoicing , How To