cXML (commerce eXtensible Markup Language) is an XML standard for exchanging procurement information between buying organisations, networks and suppliers. Ariba created it and made it available in 1999; it is maintained today by SAP and published at cxml.org. The current version in 2026 is 1.2.069.
The envelope
Every cXML document has the same outer shape:
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.069/cXML.dtd">
<cXML payloadID="[email protected]" timestamp="2026-11-27T10:00:00+05:30" xml:lang="en-US">
<Header>
<From>...</From> <!-- who it is from -->
<To>...</To> <!-- who it is for -->
<Sender>...</Sender> <!-- who is sending it, with the shared secret -->
</Header>
<Request> ... </Request> <!-- or <Response> or <Message> -->
</cXML>
- payloadID must be unique for each document; receivers use it to spot duplicates.
- timestamp is ISO 8601 with a time zone.
- The Header carries credentials.
Three kinds of document
- Request / Response: synchronous. The sender POSTs a Request over HTTPS and waits for a Response with a Status (for example
200 OK). PunchOutSetupRequest, OrderRequest and InvoiceDetailRequest work this way. - Message: one-way, usually sent through the user's browser. The PunchOutOrderMessage (the cart) is a Message.
The documents you will meet
| Document | Purpose | Reference |
|---|---|---|
| PunchOutSetupRequest / Response | Start a punchout session | Setup request, response |
| PunchOutOrderMessage | Return the cart | Reference |
| OrderRequest | Purchase order (new, update, delete) | Reference |
| ConfirmationRequest | Order confirmation (like EDI 855) | Reference |
| ShipNoticeRequest | Advance ship notice (like EDI 856) | Reference |
| InvoiceDetailRequest | Invoice (like EDI 810) | Reference |
| ProfileRequest / Response | Which documents and URLs a party supports | Reference |
Validation and versions
cXML documents are validated against a DTD for a specific version. Each version lives at its own permanent URL, and new versions add elements without breaking older ones. Platforms differ in which version they expect per document; see cXML versions and DTDs.
Transport
cXML travels over HTTPS POST, with Content-Type: text/xml (or application/xml) for direct requests. The PunchOutOrderMessage is the exception: it is posted by the user's browser as an HTML form field.
Why cXML is popular
It is open, well documented, covers the whole procure-to-pay cycle, and is supported by SAP Ariba, Coupa, Jaggaer, Oracle, Workday and many other systems, so one implementation reaches most buyers.