• Last edited on: 16 March 2016

Invalid order/document reference

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 invoicing an order line number that does not exist on PO.

How do I fix it?

Try the following:

  • Verify that the PO and the order line 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 order/document reference.</Status>
	</Response>
</cXML>