I have a requirement to Add an External Reference to a Released Invoice Document using OData services.
I have created an OData Service for this with nodes:
OData POST Request Endpoint: https://myxxxxxx.sapbydesign.com/sap/byd/odata/cust/v1/customerinvoice/CustomerInvoiceExternalPaymentCollectionhttps://myxxxxxx.sapbydesign.com/sap/byd/odata/cust/v1/customerinvoice/CustomerInvoiceExternalPaymentCollection
Where ParentObjectID is the Customer Invoice Object ID
<?xml version="1.0" encoding="utf-8"?>
<message xml:lang="en">My bank account not valid</message>
However I receive a response saying 'My bank account not valid'.
Can anyone assist with adding an external reference to an Invoice Document?