Invalid attributes in document
There are a couple of reasons why this error message might be returned:
- The order that the supplier is trying to create an invoice against is an order that is not in the system or the order not associated with the supplier that is trying to create the invoice.
- The supplier might be using an invoice # that they have already used.
How do I fix it?
Try the following:
- Verify that the PO exists in Coupa and that the PO is being used by the correct supplier.
- Make sure that the supplier is using the correct credentials to connect to Coupa.
Example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.020/cXML.dtd">
<cXML xml:lang="en-US" timestamp="2015-03-01T16:03:51+00:00" payloadID="20150301 160344.345">
<Response>
<Status text="Expectation Failed" code="417">Invalid attributes in document.</Status>
</Response>
</cXML>