• Last edited on: 21 June 2022

Could not parse cXML document

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

Each cXML document must specify the XML Document Type Definitions (DTDs).

How do I fix it?

The supplier needs to specify which DTD verson in line 2 in the cXML document. For example:

<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2...oiceDetail.dtd">


<?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">
		<Status text="Not Acceptable" code="406">Could not parse cXML document.</Status>