Go to example tasks

Convert SAP Ariba & Coupa cXML Orders & Invoices to JSON

Parse SAP Ariba, Coupa, and Jaggaer cXML OrderRequest (Purchase Orders) and InvoiceDetailRequest documents into ERP-ready JSON line items. Automatically redacts Ariba SharedSecrets, strips external DTD headers offline, and audits exact Decimal line/tax/total math.

Try for free
cXML SAP Ariba & Coupa Order, ASN & Invoice JSON Bridge
cXML SAP Ariba & Coupa Order, ASN & Invoice JSON Bridgebifrost-data/cxml-ariba-coupa-procurement-bridge
Doc Type
Document / PO / Invoice ID
Ref PO ID
From (ANID/DUNS)
+8 fields
Text
Number
Boolean
List
Object

Input

Operation Mode:parse_and_audit_cxml
Raw cXML XML Documents:<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.061/cXML.dtd"> <cXML payloadID="1732440001.99812@ariba.acme.com" timestamp="2026-11-24T09:15:00Z" xml:lang="en-US"> <Header> <From><Credential domain="NetworkID"><Identity>AN01000998877</Identity></Credential></From> <To><Credential domain="DUNS"><Identity>081466849</Identity></Credential></To> <Sender><Credential domain="NetworkID"><Identity>AN01000000001</Identity><SharedSecret>SUPER_SECRET_TOKEN_99</SharedSecret></Credential><UserAgent>Ariba SN 1.2</UserAgent></Sender> </Header> <Request deploymentMode="production"> <OrderRequest> <OrderRequestHeader orderID="PO-2026-88410" orderDate="2026-11-24T09:00:00Z" type="new"> <Total><Money currency="USD">1250.00</Money></Total> <ShipTo><Address addressID="PLANT-01"><Name xml:lang="en">Acme Manufacturing Austin</Name><PostalAddress><DeliverTo>Receiving Dock B</DeliverTo><Street>400 Industrial Pkwy</Street><City>Austin</City><State>TX</State><PostalCode>78701</PostalCode><Country isoCountryCode="US">United States</Country></PostalAddress></Address></ShipTo> <BillTo><Address addressID="AP-HQ"><Name xml:lang="en">Acme Accounts Payable</Name><PostalAddress><Street>100 Congress Ave</Street><City>Austin</City><State>TX</State><PostalCode>78701</PostalCode><Country isoCountryCode="US">United States</Country></PostalAddress></Address></BillTo> <PaymentTerm payInNumberOfDays="30"/> <Extrinsic name="Department">MRO-OPERATIONS</Extrinsic> </OrderRequestHeader> <ItemOut quantity="10" lineNumber="10" requestedDeliveryDate="2026-12-02"> <ItemID><SupplierPartID>VLV-SS316-2IN</SupplierPartID><BuyerPartID>ACM-009812</BuyerPartID></ItemID> <ItemDetail> <UnitPrice><Money currency="USD">125.00</Money></UnitPrice> <Description xml:lang="en">2-Inch 316 Stainless Ball Valve NPT</Description> <UnitOfMeasure>EA</UnitOfMeasure> <Classification domain="UNSPSC">40141607</Classification> </ItemDetail> </ItemOut> </OrderRequest> </Request> </cXML>
JSON Payloads for cXML Invoice Generation (Optional)
Audit Line-Item, Tax & Summary Totals (Decimal):true
Mask Contact Emails & Phone Numbers:false
Max Verified Documents to Process:25

Output fields

Doc Type
Document / PO / Invoice ID
Ref PO ID
From (ANID/DUNS)
To (ANID/DUNS)
CCY
Subtotal
Tax
Total / Due
Lines
Valid
Math OK

How it works

Sign up on Apify or log in

The cXML SAP Ariba & Coupa Order, ASN & Invoice JSON Bridge Actor is ready to run with the inputs already set for "Convert SAP Ariba & Coupa cXML Orders & Invoices to JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert SAP Ariba & Coupa cXML Orders & Invoices to JSON" task

The cXML SAP Ariba & Coupa Order, ASN & Invoice JSON Bridge Actor will start running based on the input automatically. You can also change all the input fields, like operation mode, raw cxml xml documents, and more, to match your specific use case.

Receive the "Convert SAP Ariba & Coupa cXML Orders & Invoices to JSON" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as doc type, document / po / invoice id, ref po id, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Convert SAP Ariba & Coupa cXML Orders & Invoices to JSON" task via API.

Image

Integrate "Convert SAP Ariba & Coupa cXML Orders & Invoices to JSON" into your workflow

Connect "Convert SAP Ariba & Coupa cXML Orders & Invoices to JSON" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Yes. Any token inside the cXML

is redacted to [REDACTED] in RAM before dataset output so credentials never leak into downstream logs.

No. Standard external cXML DTD declarations are stripped safely offline while malicious XXE <!ENTITY declarations are blocked immediately at $0 charge.

Yes. Exact Decimal arithmetic audits every line item against Subtotal, Tax, Shipping, Discount, and Total/Due amounts.