Glossary

cXML

cXML (Commerce eXtensible Markup Language) is an XML-based protocol for business documents between buyers and suppliers, covering PunchOut catalogue sessions, purchase orders, ship notices and invoices.

cXML defines a family of documents that share one envelope: a root cXML element with a payloadID and timestamp, a Header naming the parties, and a Request, Response or Message. PunchOut uses PunchOutSetupRequest, PunchOutSetupResponse and PunchOutOrderMessage; the order cycle continues with OrderRequest, ShipNoticeRequest and InvoiceDetailRequest. The grammar is published as DTDs at xml.cxml.org, versioned such as 1.2.061.

Requests travel server to server by HTTP POST and are answered in the same connection with a Status code. The one exception is the PunchOut cart, which goes back through the buyer’s browser as a form post. SAP Ariba, Coupa, Oracle procurement and JAGGAER all use cXML for PunchOut, which is why it is the protocol most suppliers meet first.

The point that catches suppliers out is that “SAP” does not mean cXML. SAP Ariba speaks cXML; SAP SRM and SAP ERP purchasing speak OCI, which is form fields rather than XML. The other is that cXML is strict where OCI is not: a document that is not well-formed, or puts elements in the wrong order, is rejected outright.

Go deeper

Related terms

All glossary terms

Has a buyer asked you for PunchOut?

Reading up on cXML because of it? A free PunchOut shop gets you a catalogue your buyer can test: upload it from Excel, run a cXML or OCI round trip yourself and invite them. Free until they go live.

Start free Talk to us instead