Ready-to-run sample documents for every supported message type. Open one in the validator or copy the raw payload.
UN/EDIFACT · ORDERS
Purchase order (ORDERS)
outboundBuyer orders goods from a supplier with two order lines and agreed prices.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100001++ORDERS'
UNH+1+ORDERS:D:96A:UN'
BGM+220+PO-2025-88231+9'
DTM+137:20250714:102'
DTM+2:20250801:102'
NAD+BY+4012345000009::9++Nordwind Handel GmbH+Hafenstrasse 12+Hamburg++20457+DE'
NAD+SU+4000004000002::9++Baltic Supplies AB+Kungsgatan 4+Stockholm++11143+SE'
CUX+2:EUR:9'
LIN+1++4012345678901:EN'
QTY+21:480:PCE'
PRI+AAA:12.40'
LIN+2++4012345678918:EN'
QTY+21:2400:PCE'
PRI+AAA:0.38'
UNS+S'
CNT+2:2'
UNT+16+1'
UNZ+1+100001'
orders-d96a.edi UN/EDIFACT · ORDRSP
Order response (ORDRSP)
inboundSupplier confirms an order, one line partially accepted with a new date.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100002++ORDRSP'
UNH+1+ORDRSP:D:96A:UN'
BGM+231+OR-2025-4471+9'
DTM+137:20250715:102'
RFF+ON:PO-2025-88231'
NAD+SU+4000004000002::9'
LIN+1++4012345678901:EN'
QTY+21:480:PCE'
DTM+2:20250801:102'
LIN+2++4012345678918:EN'
QTY+21:1800:PCE'
QTY+83:600:PCE'
DTM+2:20250812:102'
UNS+S'
CNT+2:2'
UNT+15+1'
UNZ+1+100002'
ordrsp-d96a.edi UN/EDIFACT · DESADV
Despatch advice (DESADV)
inboundAnnounces a shipment with packing hierarchy and SSCC pallet identifiers.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100003++DESADV'
UNH+1+DESADV:D:96A:UN'
BGM+351+DN-2025-1188+9'
DTM+137:20250801:102'
DTM+11:20250803:102'
RFF+ON:PO-2025-88231'
NAD+SU+4000004000002::9'
NAD+DP+4012345000009::9'
CPS+1'
PAC+2++201'
GIN+BJ+340123450000000017'
LIN+1++4012345678901:EN'
QTY+12:480:PCE'
UNS+S'
CNT+2:1'
UNT+15+1'
UNZ+1+100003'
desadv-d96a.edi UN/EDIFACT · INVOIC
Invoice (INVOIC)
inboundCommercial invoice with line amounts, VAT rate and payable total.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100004++INVOIC'
UNH+1+INVOIC:D:96A:UN'
BGM+380+RE-2025-04417+9'
DTM+137:20250815:102'
RFF+ON:PO-2025-88231'
NAD+SU+4000004000002::9++Baltic Supplies GmbH'
NAD+BY+4012345000009::9++Nordwind Handel GmbH'
CUX+2:EUR:9'
LIN+1++4012345678901:EN'
QTY+47:480:PCE'
MOA+203:5952.00'
PRI+AAA:12.40'
LIN+2++4012345678918:EN'
QTY+47:2400:PCE'
MOA+203:744.00'
UNS+S'
MOA+79:6696.00'
MOA+124:1272.24'
MOA+9:7968.24'
TAX+7+VAT+++:::19'
CNT+2:2'
UNT+21+1'
UNZ+1+100004'
invoic-d96a.edi UN/EDIFACT · DELFOR
Delivery forecast (DELFOR)
outboundRolling automotive delivery schedule with firm and planned buckets.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100005++DELFOR'
UNH+1+DELFOR:D:96A:UN'
BGM+241+FC-2025-0031+9'
DTM+137:20250714:102'
NAD+SE+4000004000002::9'
NAD+BY+4012345000009::9'
LIN+1++4012345678901:EN'
QTY+113:1200:PCE'
DTM+2:20250721:102'
QTY+1:1600:PCE'
DTM+2:20250804:102'
UNS+S'
CNT+2:1'
UNT+13+1'
UNZ+1+100005'
delfor-d96a.edi UN/EDIFACT · RECADV
Receiving advice (RECADV)
outboundReports received quantities against a despatch advice, including a shortage.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100006++RECADV'
UNH+1+RECADV:D:96A:UN'
BGM+632+GR-2025-7781+9'
DTM+137:20250803:102'
RFF+DQ:DN-2025-1188'
NAD+BY+4012345000009::9'
LIN+1++4012345678901:EN'
QTY+194:470:PCE'
QTY+195:10:PCE'
UNS+S'
CNT+2:1'
UNT+11+1'
UNZ+1+100006'
recadv-d96a.edi UN/EDIFACT · PRICAT
Price catalogue (PRICAT)
inboundSupplier catalogue with article master data and validity dates.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100007++PRICAT'
UNH+1+PRICAT:D:96A:UN'
BGM+9+CAT-2025-Q3+9'
DTM+137:20250701:102'
DTM+194:20250701:102'
DTM+206:20251231:102'
NAD+SU+4000004000002::9'
CUX+2:EUR:9'
LIN+1++4012345678901:EN'
IMD+F++:::Stainless steel bracket 40mm'
PRI+AAB:12.90'
UNS+S'
CNT+2:1'
UNT+13+1'
UNZ+1+100007'
pricat-d96a.edi UN/EDIFACT · REMADV
Remittance advice (REMADV)
outboundAnnounces a payment run and which invoices it settles.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100008++REMADV'
UNH+1+REMADV:D:96A:UN'
BGM+481+PAY-2025-0912+9'
DTM+137:20250912:102'
NAD+PE+4000004000002::9'
NAD+PR+4012345000009::9'
CUX+2:EUR:9'
DOC+380+RE-2025-04417'
MOA+9:7968.24'
UNS+S'
MOA+12:7968.24'
UNT+11+1'
UNZ+1+100008'
remadv-d96a.edi UN/EDIFACT · IFTMIN
Transport instruction (IFTMIN)
outboundInstructs a carrier to collect a consignment with weight and incoterm.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100009++IFTMIN'
UNH+1+IFTMIN:D:96A:UN'
BGM+610+TRA-2025-3320+9'
DTM+137:20250801:102'
TSR+30'
NAD+CZ+4000004000002::9'
NAD+CN+4012345000009::9'
GID+1+6:PL'
MEA+AAE+G+KGM:820'
FTX+AAI+++Incoterm DAP Hamburg'
UNT+10+1'
UNZ+1+100009'
iftmin-d96a.edi UN/EDIFACT · CONTRL
Syntax acknowledgement (CONTRL)
inboundTechnical receipt confirming that an interchange was syntactically accepted.
UNB+UNOC:3+4000004000002:14+4012345000009:14+250714:1102+100010'
UNH+1+CONTRL:4:1:UN'
UCI+100001+4012345000009:14+4000004000002:14+7'
UNT+3+1'
UNZ+1+100010'
contrl.edi UN/EDIFACT · APERAK
Application error (APERAK)
inboundBusiness-level rejection: the referenced article is unknown to the receiver.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100011++APERAK'
UNH+1+APERAK:D:96A:UN'
BGM+962+ACK-2025-0044+9'
DTM+137:20250714:102'
RFF+ON:PO-2025-88231'
ERC+E:13:Article unknown'
FTX+AAO+++GTIN 4012345678918 not in item master'
UNT+7+1'
UNZ+1+100011'
aperak-d96a.edi UN/EDIFACT · SLSRPT
Sales report (SLSRPT)
inboundRetailer reports point-of-sale quantities per article and period.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100012++SLSRPT'
UNH+1+SLSRPT:D:96A:UN'
BGM+563+SLS-2025-W28+9'
DTM+137:20250714:102'
DTM+90:20250707:102'
NAD+SU+4000004000002::9'
LIN+1++4012345678901:EN'
QTY+153:318:PCE'
UNS+S'
CNT+2:1'
UNT+10+1'
UNZ+1+100012'
slsrpt-d96a.edi UN/EDIFACT · INVRPT
Inventory report (INVRPT)
inboundStock levels per location, typical input for vendor managed inventory.
UNA:+.? '
UNB+UNOC:3+4012345000009:14+4000004000002:14+250714:1043+100013++INVRPT'
UNH+1+INVRPT:D:96A:UN'
BGM+35+INV-2025-W28+9'
DTM+137:20250714:102'
NAD+WH+4012345000019::9'
LIN+1++4012345678901:EN'
QTY+145:1240:PCE'
UNS+S'
CNT+2:1'
UNT+9+1'
UNZ+1+100013'
invrpt-d96a.edi ANSI X12 · 850
Purchase order (850)
outboundNorth American purchase order with two PO1 lines and buyer contact.
ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *250714*1043*U*00401*000000001*0*P*>~
GS*PO*SENDERID*RECEIVERID*20250714*1043*1*X*004010~
ST*850*0001~
BEG*00*SA*PO-2025-88231**20250714~
PER*BD*Alex Turner*TE*+1 555 0100~
N1*BY*Northwind Trading Inc*92*0001~
N1*SU*Baltic Supplies AB*92*0002~
PO1*1*480*EA*12.40**UP*012345678901~
PO1*2*2400*EA*0.38**UP*012345678918~
CTT*2~
SE*9*0001~
GE*1*1~
IEA*1*000000001~
850.x12 ANSI X12 · 855
Purchase order acknowledgement (855)
inboundSupplier acknowledges the 850 and confirms both line items.
ISA*00* *00* *ZZ*RECEIVERID *ZZ*SENDERID *250715*0902*U*00401*000000002*0*P*>~
GS*PR*RECEIVERID*SENDERID*20250715*0902*2*X*004010~
ST*855*0001~
BAK*00*AD*PO-2025-88231*20250715~
PO1*1*480*EA*12.40**UP*012345678901~
ACK*IA*480*EA*068*20250801~
CTT*1~
SE*6*0001~
GE*1*2~
IEA*1*000000002~
855.x12 ANSI X12 · 856
Advance ship notice (856)
inboundShipment / order / pack / item hierarchy with SSCC label reference.
ISA*00* *00* *ZZ*RECEIVERID *ZZ*SENDERID *250801*0810*U*00401*000000003*0*P*>~
GS*SH*RECEIVERID*SENDERID*20250801*0810*3*X*004010~
ST*856*0001~
BSN*00*DN-2025-1188*20250801*0810~
HL*1**S~
TD1*CTN25*6~
HL*2*1*O~
PRF*PO-2025-88231~
HL*3*2*I~
LIN**UP*012345678901~
SN1**480*EA~
CTT*3~
SE*11*0001~
GE*1*3~
IEA*1*000000003~
856.x12 ANSI X12 · 810
Invoice (810)
inboundInvoice with IT1 lines, total monetary amount and terms of sale.
ISA*00* *00* *ZZ*RECEIVERID *ZZ*SENDERID *250815*0930*U*00401*000000004*0*P*>~
GS*IN*RECEIVERID*SENDERID*20250815*0930*4*X*004010~
ST*810*0001~
BIG*20250815*RE-2025-04417*20250714*PO-2025-88231~
ITD*01*3*2**10**30~
IT1*1*480*EA*12.40**UP*012345678901~
IT1*2*2400*EA*0.38**UP*012345678918~
TDS*669600~
CTT*2~
SE*8*0001~
GE*1*4~
IEA*1*000000004~
810.x12 ANSI X12 · 997
Functional acknowledgement (997)
inboundConfirms that a functional group was received and accepted.
ISA*00* *00* *ZZ*RECEIVERID *ZZ*SENDERID *250714*1105*U*00401*000000005*0*P*>~
GS*FA*RECEIVERID*SENDERID*20250714*1105*5*X*004010~
ST*997*0001~
AK1*PO*1~
AK9*A*1*1*1~
SE*4*0001~
GE*1*5~
IEA*1*000000005~
997.x12 ANSI X12 · 846
Inventory inquiry / advice (846)
inboundAvailable stock per item, commonly exchanged with 3PL warehouses.
ISA*00* *00* *ZZ*RECEIVERID *ZZ*SENDERID *250714*0700*U*00401*000000006*0*P*>~
GS*IB*RECEIVERID*SENDERID*20250714*0700*6*X*004010~
ST*846*0001~
BIA*00*SI*INV-2025-W28*20250714~
LIN**UP*012345678901~
QTY*33*1240~
CTT*1~
SE*6*0001~
GE*1*6~
IEA*1*000000006~
846.x12 ANSI X12 · 860
Purchase order change (860)
outboundChanges a quantity on an existing purchase order line.
ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *250716*1200*U*00401*000000007*0*P*>~
GS*PC*SENDERID*RECEIVERID*20250716*1200*7*X*004010~
ST*860*0001~
BCH*04*SA*PO-2025-88231**20250714**20250716~
POC*2*CQ*3000*2400*EA*0.38**UP*012345678918~
CTT*1~
SE*5*0001~
GE*1*7~
IEA*1*000000007~
860.x12 ANSI X12 · 940
Warehouse shipping order (940)
outboundInstructs a warehouse to pick and ship an order.
ISA*00* *00* *ZZ*SENDERID *ZZ*WAREHOUSE *250730*0800*U*00401*000000008*0*P*>~
GS*OW*SENDERID*WAREHOUSE*20250730*0800*8*X*004010~
ST*940*0001~
W05*N*DN-2025-1188~
N1*ST*Nordwind Handel GmbH~
W01*480*EA*012345678901~
W76*480~
SE*6*0001~
GE*1*8~
IEA*1*000000008~
940.x12 XML / e-invoicing · XRechnung 3.0 (UBL)
XRechnung invoice (UBL)
bothGerman CIUS of EN 16931 in UBL syntax including the Leitweg-ID.
<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_3.0</cbc:CustomizationID>
<cbc:ID>RE-2025-04417</cbc:ID>
<cbc:IssueDate>2025-07-14</cbc:IssueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cbc:BuyerReference>04011000-1234512345-06</cbc:BuyerReference>
<cac:AccountingSupplierParty><cac:Party>
<cac:PartyLegalEntity><cbc:RegistrationName>Baltic Supplies GmbH</cbc:RegistrationName></cac:PartyLegalEntity>
</cac:Party></cac:AccountingSupplierParty>
<cac:AccountingCustomerParty><cac:Party>
<cac:PartyLegalEntity><cbc:RegistrationName>Freie und Hansestadt Hamburg</cbc:RegistrationName></cac:PartyLegalEntity>
</cac:Party></cac:AccountingCustomerParty>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">1272.24</cbc:TaxAmount>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">6696.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">6696.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">7968.24</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">7968.24</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">480</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">5952.00</cbc:LineExtensionAmount>
<cac:Item><cbc:Name>Stainless steel bracket 40mm</cbc:Name></cac:Item>
<cac:Price><cbc:PriceAmount currencyID="EUR">12.40</cbc:PriceAmount></cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">2400</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">744.00</cbc:LineExtensionAmount>
<cac:Item><cbc:Name>Hex bolt M8 galvanised</cbc:Name></cac:Item>
<cac:Price><cbc:PriceAmount currencyID="EUR">0.31</cbc:PriceAmount></cac:Price>
</cac:InvoiceLine>
</Invoice>xrechnung-ubl.xml XML / e-invoicing · UN/CEFACT CII
Cross Industry Invoice (CII)
bothThe CII syntax of EN 16931, also used inside ZUGFeRD PDF containers.
<?xml version="1.0" encoding="UTF-8"?>
<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
<rsm:ExchangedDocumentContext>
<ram:GuidelineSpecifiedDocumentContextParameter>
<ram:ID>urn:cen.eu:en16931:2017</ram:ID>
</ram:GuidelineSpecifiedDocumentContextParameter>
</rsm:ExchangedDocumentContext>
<rsm:ExchangedDocument>
<ram:ID>RE-2025-04418</ram:ID>
<ram:TypeCode>380</ram:TypeCode>
<ram:IssueDateTime><udt:DateTimeString format="102">20250714</udt:DateTimeString></ram:IssueDateTime>
</rsm:ExchangedDocument>
<rsm:SupplyChainTradeTransaction>
<ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument><ram:LineID>1</ram:LineID></ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct><ram:Name>Stainless steel bracket 40mm</ram:Name></ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement>
<ram:NetPriceProductTradePrice><ram:ChargeAmount>12.40</ram:ChargeAmount></ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery><ram:BilledQuantity unitCode="H87">480</ram:BilledQuantity></ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement>
<ram:SpecifiedTradeSettlementLineMonetarySummation><ram:LineTotalAmount>5952.00</ram:LineTotalAmount></ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem>
<ram:ApplicableHeaderTradeSettlement>
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:LineTotalAmount>5952.00</ram:LineTotalAmount>
<ram:TaxBasisTotalAmount>5952.00</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">1130.88</ram:TaxTotalAmount>
<ram:GrandTotalAmount>7082.88</ram:GrandTotalAmount>
<ram:DuePayableAmount>7082.88</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
</ram:ApplicableHeaderTradeSettlement>
</rsm:SupplyChainTradeTransaction>
</rsm:CrossIndustryInvoice>cii-invoice.xml XML / e-invoicing · Peppol BIS Order
Peppol BIS order (UBL)
outboundUBL order exchanged over the Peppol network in the four-corner model.
<?xml version="1.0" encoding="UTF-8"?>
<Order xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order:3</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:ordering:3</cbc:ProfileID>
<cbc:ID>PO-2025-88231</cbc:ID>
<cbc:IssueDate>2025-07-14</cbc:IssueDate>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cac:BuyerCustomerParty><cac:Party>
<cbc:EndpointID schemeID="0088">4012345000009</cbc:EndpointID>
<cac:PartyName><cbc:Name>Nordwind Handel GmbH</cbc:Name></cac:PartyName>
</cac:Party></cac:BuyerCustomerParty>
<cac:SellerSupplierParty><cac:Party>
<cbc:EndpointID schemeID="0088">4000004000002</cbc:EndpointID>
<cac:PartyName><cbc:Name>Baltic Supplies AB</cbc:Name></cac:PartyName>
</cac:Party></cac:SellerSupplierParty>
<cac:OrderLine><cac:LineItem>
<cbc:ID>1</cbc:ID>
<cbc:Quantity unitCode="H87">480</cbc:Quantity>
<cbc:LineExtensionAmount currencyID="EUR">5952.00</cbc:LineExtensionAmount>
<cac:Item><cbc:Name>Stainless steel bracket 40mm</cbc:Name></cac:Item>
<cac:Price><cbc:PriceAmount currencyID="EUR">12.40</cbc:PriceAmount></cac:Price>
</cac:LineItem></cac:OrderLine>
</Order>peppol-order.xml XML / e-invoicing · UBL DespatchAdvice
UBL despatch advice
inboundXML equivalent of DESADV / 856 for Peppol-based logistics flows.
<?xml version="1.0" encoding="UTF-8"?>
<DespatchAdvice xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:despatch_advice:3</cbc:CustomizationID>
<cbc:ID>DN-2025-1188</cbc:ID>
<cbc:IssueDate>2025-08-01</cbc:IssueDate>
<cac:OrderReference><cbc:ID>PO-2025-88231</cbc:ID></cac:OrderReference>
<cac:DespatchLine>
<cbc:ID>1</cbc:ID>
<cbc:DeliveredQuantity unitCode="H87">480</cbc:DeliveredQuantity>
<cac:Item><cbc:Name>Stainless steel bracket 40mm</cbc:Name></cac:Item>
</cac:DespatchLine>
</DespatchAdvice>ubl-despatch-advice.xml XML / e-invoicing · UBL CreditNote
UBL credit note
bothCorrects a previously issued invoice with a reference to the original.
<?xml version="1.0" encoding="UTF-8"?>
<CreditNote xmlns="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID>
<cbc:ID>CN-2025-0091</cbc:ID>
<cbc:IssueDate>2025-08-20</cbc:IssueDate>
<cbc:CreditNoteTypeCode>381</cbc:CreditNoteTypeCode>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cac:BillingReference><cac:InvoiceDocumentReference><cbc:ID>RE-2025-04417</cbc:ID></cac:InvoiceDocumentReference></cac:BillingReference>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">124.00</cbc:LineExtensionAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">147.56</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">147.56</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:CreditNoteLine>
<cbc:ID>1</cbc:ID>
<cbc:CreditedQuantity unitCode="H87">10</cbc:CreditedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">124.00</cbc:LineExtensionAmount>
<cac:Item><cbc:Name>Stainless steel bracket 40mm</cbc:Name></cac:Item>
</cac:CreditNoteLine>
</CreditNote>ubl-credit-note.xml Other formats · CSV
Flat file order lines (CSV)
inboundLegacy CSV interface still common in smaller supplier integrations.
order_no;line;gtin;description;quantity;unit;price;currency
PO-2025-88231;1;4012345678901;Stainless steel bracket 40mm;480;PCE;12.40;EUR
PO-2025-88231;2;4012345678918;Hex bolt M8 galvanised;2400;PCE;0.38;EUR
order-lines.csv Other formats · JSON
REST order payload (JSON)
inboundModern API payload that has to be mapped onto the same canonical model.
{
"orderNumber": "PO-2025-88231",
"orderDate": "2025-07-14",
"currency": "EUR",
"buyer": {
"gln": "4012345000009",
"name": "Nordwind Handel GmbH"
},
"supplier": {
"gln": "4000004000002",
"name": "Baltic Supplies AB"
},
"lines": [
{
"line": 1,
"gtin": "4012345678901",
"quantity": 480,
"unit": "PCE",
"price": 12.4
},
{
"line": 2,
"gtin": "4012345678918",
"quantity": 2400,
"unit": "PCE",
"price": 0.38
}
]
}order-api.json Other formats · SAP IDoc
SAP IDoc ORDERS05
outboundFixed-length SAP IDoc segments, the usual ERP side of an EDIFACT ORDERS.
EDI_DC40 0000000000123456 740 ORDERS05 ORDERS NORDWIND BALTIC 20250714104300
E1EDK01 EUR PO-2025-88231
E1EDK14 006 NB
E1EDKA1 AG 4012345000009 Nordwind Handel GmbH
E1EDKA1 LF 4000004000002 Baltic Supplies AB
E1EDP01 000010 480 PCE 4012345678901
E1EDP26 003 12.40
E1EDP01 000020 2400 PCE 4012345678918
E1EDP26 003 0.38
orders05.idoc.txt