cXML Error Handling

Use these cXML error messages to troubleshoot the integration between Coupa and the supplier.

This section provides error message and troubleshooting information for administrators and IT responsible for implementing Coupa with their suppliers. As of Coupa 19, you can monitor cXML errors for PO's and Invoices in Coupa.

Admins are also automatically notified of cXML errors and can control those notifications via their Notification Preferences. The cXML error notifications can also be assigned to custom roles via permissions (Invoice Notify: cXML Invoice Error). This is useful for customers who would like to divide up admin duties and have specialized admins for integrations.

Note

When creating cXML documents, make sure your data fields use breakout characters. See Handling Common Special Characters in cXML for more info.

Could not parse cXML document

21 June 2022

Use this error message to help troubleshoot cXML invoice errors with your Coupa integration.

PO Line must be the same type as invoice line

21 June 2022

The supplier is sending a cXML invoice to Coupa that contains service line items with the improper tags.

Invalid attributes in document. Validation failed: Invoice lines order line must be the same type as invoice line...

27 September 2019

Invalid attributes in document. Validation failed: Invoice lines order line must be the same type as invoice line...

Invalid order/document reference. Order header XX does not belong to supplier XX

27 September 2019

The Coupa PO number is valid, but it does not belong to the correct supplier.

Request did not validate successfully with DTD. Error: Element InvoiceDetailOrder content does not follow the DTD

27 September 2019

The supplier account number in the contract passed in the invoice does not match any active contract in Coupa.

Request Entity Too Large

26 September 2019

The total number of lines in the cXML invoice exceeds the max number of lines allowed in the customer's setup in Coupa.

Successful TEST error

26 September 2019

Various validation errors or missing cXML tags cause an unexpected server error.

Invalid attributes in document. Bill To Address on backed doc and Bill To Address parsed from cXML does not match

25 September 2019

The billTo in the cXML file does not match the billTo on the Coupa PO.

Invalid attributes in document. Extra shipping/handling/misc charges are not permitted

25 September 2019

The cXML invoice does not contain the correct header parameters.

Invalid credentials. Bad credentials

25 September 2019

There is an issue with the Supplier account information.

Invalid order/document reference. Could not find order header XX, order line num XX

25 September 2019

An invoice line is missing from a Coupa PO.

Invoice Lines is invalid Invoice header

25 September 2019

Invalid attributes in document. Validation failed: Invoice Lines is invalid Invoice header: Invoice Lines is invalid Invoice line XX: Qty precision must match UOM XX.

Unexpected server error

25 September 2019

Various validation errors or missing cXML tags cause an unexpected server error.

Invalid attributes in document. Invoice line XX: Account NA does not exist or is not active

19 September 2019

Non-existing or inactive accounts appear in a cXML invoice error report.

TLS/SSL Errors during PO Transmission

17 September 2018

Coupa does not support SSL client certificate authentication and requires the supplier to remove this restriction.

Blank error message

16 March 2016

Use this error message to help troubleshoot cXML invoice errors with your Coupa integration.

Invalid credentials

16 March 2016

Coupa rejected a cXML invoice because the credentials are incorrect.

Invoice already used

16 March 2016

Invalid attributes in document. Validation failed: Invoice XX has already been used for this supplier. Invoice header: Invoice XX has already been used for this supplier.