Order Confirmations with cXML
Coupa supports purchase orders for suppliers using PO Collaboration.
Introduction
When the supplier record in Coupa is enabled with SCC, PO cXML DTD version will be sent as 1.2.056 and new PO Collaboration fields are added to the cXML payload. Any cXML supplier that is being enabled as part of PO Collaboration for a customer should support consuming the Coupa PO cXML with confirmation details in it so that they can eventually send us back the cXML Fulfill.dtd aka Order Confirmation which should be of cXML version 1.2.036 and above.
How It Works
Fields that are enabled as part of PO Collaboration in cXML PO payload are shown below:
-
<ControlKeys> <OCInstruction value="allowed"/> </ControlKeys> -
<ItemOut quantity="21" lineNumber="1" confirmationDueDate="2023-06-15T11:04:47-07:00">
Supported values for OCInstruction in Coupa PO cXML Payload are allowed, notAllowed.
If a supplier is enabled with PO Collaboration in Coupa but customer chose the particular Req/external PO to be NOT part of PO Collaboration order confirmation process they can mention it in Requisition/External PO level itself and when the PO cXML payload is sent to supplier, it will mention it as:
<ControlKeys> <OCInstruction value="notAllowed"/> </ControlKeys>
This means customer is not expecting a confirmation for that specific PO
- The “ControlKeys” section, if mentioned in “OrderRequestHeader” section of the cXML PO payload, means it is HEADER level confirmation where all suppliers can either accept the PO details or reject the PO details as part of PO Collaboration in the given PO. No changes are allowed for header level confirmations in PO Collaboration as the customer isn’t allowing any edits in this scenario.
- The “ControlKeys” section, if mentioned at each “ItemOut” section of the cXML PO payload, means it is LINE level confirmation where suppliers can either accept/reject/propose changes (aka detail) as part of SCC.
cXML PO Payload starts with:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.056/cXML.dtd">
- When the supplier record in Coupa is NOT enabled with SCC, PO cXML DTD version will be remaining as 1.2.014 and any supplier that is already enabled with it won't be affected and no PO Collaboration fields are added to the payload.
cXML PO Payload starts with:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
To summarize:
- When using cXML PO with SCC, cXML DTD 1.2.056 version is used.
- When using cXML PO without SCC, cXML DTD 1.2.014 version is used
cXML Order Confirmation examples (Fulfill.dtd)
cXML DTD 1.2.036 or above should be used by suppliers. Use the following XML templates to build your integration's output parser.
- Accept all Lines
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.036/Fulfill.dtd"> <cXML payloadID="1766451266.25.7349@supplier.com" timestamp="2026-10-02T13:00:00-05:00" xml:lang="en-US"> <Header> <From> <Credential domain="DUNS"> <Identity>SUPPLIER_DUNS_ID</Identity> </Credential> </From> <To> <Credential domain="DUNS"> <Identity>BUYER_COUPA_ID</Identity> </Credential> </To> <Sender> <Credential domain="DUNS"> <Identity>SUPPLIER_DUNS_ID</Identity> <SharedSecret>YourSharedSecretHere</SharedSecret> </Credential> <UserAgent>Supplier ERP System 1.0</UserAgent> </Sender> </Header> <Request deploymentMode="production"> <ConfirmationRequest> <ConfirmationHeader type="accept" noticeDate="2026-10-02T13:00:00-05:00" confirmID="CONF-987654" operation="new"> <Comments xml:lang="en-US">Looks great. Order accepted in full.</Comments> </ConfirmationHeader> <OrderReference orderID="PO-100234" orderDate="2026-09-28T09:00:00-05:00"> <DocumentReference payloadID="PO-100234@coupa.com" /> </OrderReference> <ConfirmationItem lineNumber="1" quantity="23"> <UnitOfMeasure>EA</UnitOfMeasure> <ConfirmationStatus quantity="23" type="accept" shipmentDate="2026-10-05" deliveryDate="2026-10-07T12:00:00-05:00"> <UnitOfMeasure>EA</UnitOfMeasure> <UnitPrice> <Money currency="USD">20.00</Money> </UnitPrice> <Comments xml:lang="en-US">supplier reason consideredother</Comments> </ConfirmationStatus> </ConfirmationItem> <ConfirmationItem lineNumber="2" quantity="23"> <UnitOfMeasure>EA</UnitOfMeasure> <ConfirmationStatus quantity="23" type="accept" shipmentDate="2026-10-05" deliveryDate="2026-10-07T12:00:00-05:00"> <UnitOfMeasure>EA</UnitOfMeasure> <UnitPrice> <Money currency="USD">20.00</Money> </UnitPrice> <Comments xml:lang="en-US">supplier reason consideredother</Comments> </ConfirmationStatus> </ConfirmationItem> </ConfirmationRequest> </Request> </cXML>- Reject all lines
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.036/Fulfill.dtd"> <cXML payloadID="1766451266.25.7349@supplier.com" timestamp="2026-10-02T13:00:00-05:00" xml:lang="en-US"> <Header> <From> <Credential domain="DUNS"> <Identity>SUPPLIER_DUNS_ID</Identity> </Credential> </From> <To> <Credential domain="DUNS"> <Identity>BUYER_COUPA_ID</Identity> </Credential> </To> <Sender> <Credential domain="DUNS"> <Identity>SUPPLIER_DUNS_ID</Identity> <SharedSecret>YourSharedSecretHere</SharedSecret> </Credential> <UserAgent>Supplier ERP System 1.0</UserAgent> </Sender> </Header> <Request deploymentMode="production"> <ConfirmationRequest> <ConfirmationHeader type="reject" noticeDate="2026-10-02T13:00:00-05:00" confirmID="CONF-987654" operation="new"> <Comments xml:lang="en-US">Rejected due to warehouse capacity limits</Comments> </ConfirmationHeader> <OrderReference orderID="PO-100234" orderDate="2026-09-28T09:00:00-05:00"> <DocumentReference payloadID="PO-100234@coupa.com" /> </OrderReference> <ConfirmationItem lineNumber="1" quantity="123"> <UnitOfMeasure>EA</UnitOfMeasure> <ConfirmationStatus quantity="123" type="reject" shipmentDate="2026-10-05" deliveryDate="2026-10-07T12:00:00-05:00"> <UnitOfMeasure>EA</UnitOfMeasure> <UnitPrice> <Money currency="USD">230.00</Money> </UnitPrice> <Comments xml:lang="en-US">supplier reason considered other</Comments> </ConfirmationStatus> </ConfirmationItem> <ConfirmationItem lineNumber="2" quantity="12"> <UnitOfMeasure>BX</UnitOfMeasure> <ConfirmationStatus quantity="12" type="reject" shipmentDate="2026-10-05" deliveryDate="2026-10-07T12:00:00-05:00"> <UnitOfMeasure>BX</UnitOfMeasure> <UnitPrice> <Money currency="USD">120.00</Money> </UnitPrice> <Comments xml:lang="en-US">supplier reason considered other</Comments> </ConfirmationStatus> </ConfirmationItem> </ConfirmationRequest> </Request> </cXML>- Mixed accept and reject lines
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.036/Fulfill.dtd"> <cXML payloadID="1766451266.25.7349@supplier.com" timestamp="2026-10-02T13:00:00-05:00" xml:lang="en-US"> <Header> <From> <Credential domain="DUNS"> <Identity>SUPPLIER_DUNS_ID</Identity> </Credential> </From> <To> <Credential domain="DUNS"> <Identity>BUYER_COUPA_ID</Identity> </Credential> </To> <Sender> <Credential domain="DUNS"> <Identity>SUPPLIER_DUNS_ID</Identity> <SharedSecret>YourSharedSecretHere</SharedSecret> </Credential> <UserAgent>Supplier ERP System 1.0</UserAgent> </Sender> </Header> <Request deploymentMode="production"> <ConfirmationRequest> <ConfirmationHeader type="detail" noticeDate="2026-10-02T13:00:00-05:00" confirmID="CONF-987654" operation="new"> <Comments xml:lang="en-US">Order confirmed with modifications on line 1 and accepted line 2.</Comments> </ConfirmationHeader> <OrderReference orderID="PO-100234" orderDate="2026-09-28T09:00:00-05:00"> <DocumentReference payloadID="PO-100234@coupa.com" /> </OrderReference> <ConfirmationItem lineNumber="1" quantity="100"> <UnitOfMeasure>EA</UnitOfMeasure> <!-- Status A: Accepted partial quantity with delivery schedule --> <ConfirmationStatus quantity="80" type="detail" shipmentDate="2026-10-10" deliveryDate="2026-10-15T17:00:00-05:00"> <UnitOfMeasure>EA</UnitOfMeasure> <UnitPrice> <Money currency="USD">15.00</Money> </UnitPrice> <Comments xml:lang="en-US">Can ship 80 units by requested date</Comments> </ConfirmationStatus> <!-- Status B: Rejected remaining quantity (80 + 20 = 100) --> <ConfirmationStatus quantity="20" type="reject" shipmentDate="2026-10-10" deliveryDate="2026-10-15T17:00:00-05:00"> <UnitOfMeasure>EA</UnitOfMeasure> <UnitPrice> <Money currency="USD">15.00</Money> </UnitPrice> <Comments xml:lang="en-US">Remaining 20 units unavailable due to stockout</Comments> </ConfirmationStatus> </ConfirmationItem> <ConfirmationItem lineNumber="2" quantity="50"> <UnitOfMeasure>EA</UnitOfMeasure> <ConfirmationStatus quantity="50" type="accept" shipmentDate="2026-10-10" deliveryDate="2026-10-12T17:00:00-05:00"> <UnitOfMeasure>EA</UnitOfMeasure> <UnitPrice> <Money currency="USD">24.00</Money> </UnitPrice> <Comments xml:lang="en-US">Line 2 accepted in full</Comments> </ConfirmationStatus> </ConfirmationItem> </ConfirmationRequest> </Request> </cXML>
The cXML credentials for the Order Confirmations is the same as for credentials for cXML invoicing or cXML ASNs.
Suppliers post the Order Confirmations cXML file to https://<customer_instance_name>.coupahost.com/cxml/order_confirmation_request
For more information, see the Order Confirmations import.
cXML Matrix for Confirmation Type
Below sample matrix depicts how the header level type flag in cXML payload should be based on line type combinations and if this is not followed, sample cXML error can be as:
ConfirmationItem should match ConfirmationHeader when ConfirmationHeader type is either Accept or Reject.
| cXML Line 1 Type | cXML Line 2 Type | cXML Header Type |
| accept | accept | accept |
| reject | reject | reject |
| accept | reject | detail |
| detail | accept | detail |
| detail | reject | detail |
| detail | detail | detail |
If the Need By Date is blank on the current PO line provided by the customer, adding the promised date is considered as proposing a change so the type should be provided as detail.