Reference
cXML and OCI reference
Annotated samples of the documents a supplier sends and receives, the fields that matter, and the mistakes that get them rejected.
cXML documents
- PunchOutSetupRequest A complete cXML PunchOutSetupRequest example with each element explained: credentials, SharedSecret, BuyerCookie, BrowserFormPost and operation.
- PunchOutSetupResponse A cXML PunchOutSetupResponse example: the Status element, the StartPage URL, and how to answer a PunchOutSetupRequest when authentication fails.
- PunchOutOrderMessage A complete cXML PunchOutOrderMessage example: BuyerCookie, ItemIn, UnitPrice, UnitOfMeasure, UNSPSC Classification, and how the cart is posted back.
- OrderRequest A complete cXML OrderRequest (purchase order) example: OrderRequestHeader, ShipTo, BillTo and ItemOut, with what a supplier must check and return.
- ShipNoticeRequest A complete cXML ShipNoticeRequest (advance ship notice) example: ShipNoticeHeader, ShipControl, carrier tracking and line references to the order.
- InvoiceDetailRequest A complete cXML InvoiceDetailRequest example: invoice header, order reference, line items, tax and the summary totals buyers validate.
- ConfirmationRequest A complete cXML ConfirmationRequest (order confirmation) example: ConfirmationHeader types, ConfirmationItem, ConfirmationStatus and OrderReference.
Code lists
- cXML status codes Every common cXML Status code and what it means: 200, 201, 204, 280, 400, 401, 403, 406, 409, 475, 500, 550, 560, and which ones a supplier should return.
- Unit of measure codes The UN/CEFACT Recommendation 20 unit codes most used in cXML catalogues, from EA, C62 and H87 to KGM, MTR and LTR, and where SAP OCI codes differ.
Checking a real document? The free cXML and OCI tester explains structural errors in your browser, and the troubleshooting guides cover specific error messages.