EDI Recommendations
Invoice/Credit note (Food/NonFood Industries) INVOIC
8. Example(s)
Language select:
Please note that EANCOM® 2002 message examples are intended to describe all possible constellations of segment use.  They do not necessarily reflect the actual requirements of a business process.

Please also note that for technical reasons the examples can contain component data element separators, which would normally be represented as data element separators in original messages.
UNA:+.? ' UNA
The UNA segment contains the default service string characters.
UNB+UNOC:3+4012345000009:14:4012345000018+4000004000002:14:4000004000099+101013:1043+4711+REF:AA++++EANCOM+1' UNB
The EANCOM file 4711 dated 13.10.2010, 10 h 43 is sent by the issuer identified with GLN 4012345000009 to the receiver identified with GLN 4000004000002.
UNH+ME000001+INVOIC:D:96A:UN:EAN008' UNH
The reference number of the invoice message is ME000001.
BGM+380:::KOSTENRECHNUNG+87441+9' BGM
The document number is 87441.
DTM+137:20101001:102' DTM
The message was created on 01.10.2010
DTM+35:20100315:102' DTM
Date of delivery is 15.03.2010
DTM+200:20101026:102' DTM
This example requires the pick up of consignment on 26.10.2010.
DTM+263:201003:610' DTM
The invoicing period is march 2010.
DTM+11:20100315:102' DTM
The despatch date is 15.03.2010
PAI+::31' PAI
Direct debit was agreed
ALI+++15' ALI
The whole message is not subject for discount, e.g. deposit invoicing
ALI+DE' ALI
Country of origin is Germany
ALI+++60E' ALI
Products have been supplied direct to retail store
FTX+ABN+1+SU:LEI:246' FTX
Service providing employer
FTX+ABO+1+NOI::246' FTX
Invoice adjustment
FTX+AAK+1+ST1::246+Es ergeben sich Entgeltminderungen aufgrund:von Rabatt- oder Bonusvereinbarungen+DE' FTX
Fee reduction
FTX+REG+1+IGL::246' FTX
EU delivery
FTX+REG+1+LES::246' FTX
Reverse Charge
FTX+REG+1+UHR::246' FTX
Copyright fee
FTX+AAZ+1+AWV:997:131' FTX
Possibility to transmit the benefit classification number according German foreign trade regulations
FTX+AAZ+1+INT::246' FTX
The invoice is relevant for INTRASTAT
FTX+ZZZ+1+EEV::246+Die Ware bleibt bis zur vollständigen:Bezahlung aller Forderungen unser Eigentum+DE' FTX
Possibility to transmit free text
RFF+ON:4711' RFF
The message references to buyers order number 4711.
DTM+171:20100301:102' DTM
Buyers order is dated 01.03.2010
RFF+VN:4711-L' RFF
The message references to suppliers order number 4711-L.
RFF+POR:4711-R' RFF
The message references to suppliers order response number 4711-R.
DTM+171:20100301:102' DTM
Suppliers order response is dated 01.03.2010
RFF+DQ:4714' RFF
The message references to delivery note number 4714.
DTM+171:20100301:102' DTM
The date of the delivery note is 01.03.2010
RFF+AAK:4714' RFF
The message references to despatch advice number 4714.
DTM+171:20100301:102' DTM
The date of the reference is 01.03.2010
RFF+ALO:4714' RFF
The message references to receiving advice number 4714.
DTM+171:20100301:102' DTM
The date of the reference is 01.03.2010
RFF+ABO:4713' RFF
The invoice is part of invoice register 4713.
DTM+171:20100301:102' DTM
Invoice register is dated 01.03.2010
RFF+CT:1' RFF
Invoice references to agreement no. 1.
DTM+171:20100301:102' DTM
The agreement date is 01.03.2010
RFF+DM:8711' RFF
The credit note specifies reference no. 8711.
DTM+171:20100301:102' DTM
The date of the refernce is 01.03.2010
RFF+CDN:8711' RFF
Credit note specifies commercial dispute 8711.
DTM+171:20100301:102' DTM
The date of the commercial dispute is 01.03.2010
RFF+PDR:8799' RFF
Reference to returns no. 8799.
DTM+171:20100301:102' DTM
The date on the returns document is 01.03.2010
RFF+ACE:8799' RFF
Reference to document no. 8799.
DTM+171:20100301:102' DTM
The date on the referencing document is 01.03.2010
RFF+AGB:4711' RFF
The message references to sales agreement number 4711.
RFF+UC:4711' RFF
The message references to consumers order number 4711.
RFF+ALQ:4788' RFF
The message references to returns notice number 4788.
DTM+171:20100301:102' DTM
The date of the return document is 01.03.2010
RFF+AAS:4711' RFF
The message references to transport document number 4711.
RFF+XC1:AT-N-01-BIO' RFF
The message contains only BIO products. All of them are certified by the control agency AT-N-01-BIO, as long as no other information is given at line level.
NAD+BY+4071615111110::9' NAD
The buyer/invoicee is identified by GLN 4071615111110.
RFF+IT:0815' RFF
The identification in suppliers system is 0815.
RFF+API:0815' RFF
The additional identification is 0815.
RFF+VA:DE123456789' RFF
The VAT registration number is DE123456789.
NAD+IV+4071615192710::9' NAD
Invoicee is identified by GLN 4071615192710.
RFF+IT:0815' RFF
The internal identification is 0815.
RFF+API:0815' RFF
The additional identification is 0815.
RFF+VA:DE234567891' RFF
The VAT registration number is DE234567891.
NAD+DP+4089876511111::9++Warenempfänger-Name 1:Warenempfänger-Name 2:Warenempfänger-Name 3+Maarweg 104+Köln++50825+DE' NAD
The delivery party is identified by GLN 4089876511111.
RFF+API:0816' RFF
The additional identification is 0816.
RFF+IT:9988' RFF
The internal customer number is 9988.
CTA+PD+AG-TI406:Herr Schmidt' CTA
Purchasing contact person is Mr. Schmidt
NAD+PW+4089876511111::9++Abholstelle-Name 1:Abholstelle-Name 2:Abholstelle-Name 3+Maarweg 104+Köln++50825+DE' NAD
The collection place is identified by GLN 4089876511111.
RFF+API:0816' RFF
The additional identification is 0816.
CTA+WH+AG-TI406:Herr Schmidt' CTA
Contact person at pick up place is Mr. Schmidt
NAD+UC+4089876986411::9++Endempfänger-Name 1:Endempfänger-Name 2:Endempfänger-Name 3+Maarweg 104+Köln++50825+DE' NAD
The ultimate consignee is identified by GLN 4089876986411.
RFF+API:0816' RFF
The additional identification is 0816.
NAD+UD+4089876986411::9++Endverbraucher-Name 1:Endverbraucher-Name 2:Endverbraucher-Name 3+Maarweg 104+Köln++50825+DE' NAD
The ultimate consumer is identified by GLN 4089876986411.
RFF+API:0816' RFF
The additional identification is 0816.
NAD+SU+4389876511113::9+:X:X:X:X' NAD
The supplier/issuer of invoice is identified by GLN 4389876511113.
RFF+GN:HRB-471111' RFF
German statements on business letters: HRB-471111
RFF+API:0817' RFF
The additional identification is 0817.
RFF+VA:DE345678912' RFF
The VAT registration number is DE345678912.
RFF+FC:07/408/1234/5' RFF
The fiscal tax number is 07/408/1234/5.
RFF+XA:WEEE DE 13345678' RFF
The WEEE registration number is DE 13345678.
NAD+PE+4389876512643::9++Zahlungsempfänger-Name 1:Zahlungsempfänger-Name 2:Zahlungsempfänger-Name 3+Maarweg 104+Köln++50825+DE' NAD
The payee is identified by GLN 4389876512643.
RFF+API:0817' RFF
The additional identification is 0817.
RFF+VA:DE456789123' RFF
The VAT registration number is DE456789123.
NAD+DS+4389876511893::9' NAD
The distributor is identified by GLN 4389876511893.
RFF+API:0822' RFF
The additional identification is 0822.
NAD+SF+4012345000009::9' NAD
The ship from place is identified by Global Location Number (GLN) 4012345000009.
TAX+7+VAT+++:::19+S' TAX
The dominant tax rate of the document is 19%.
CUX+2:EUR:4+3:USD:11+0.90243' CUX
The document has been invoiced in EURO.
PAT+3' PAT
Due date:
DTM+13:20100415:102' DTM
Invoice is due on 15.04.2010
PAT+3' PAT
Payment terms:
DTM+12:20100315:102' DTM
Terms discount due date is 15.03.2010
PCD+12:2.5' PCD
2.5% early payment allowance are offered
MOA+8:2.52' MOA
Early payment allowance is 2.52 EURO
PAT+3' PAT
Value date:
DTM+209:20100412:102' DTM
The value date is 12.04.2010
ALC+A+Absprache++1+DI::246' ALC
Invoice discount
QTY+130:1500:KGM' QTY
Basis quantity for rate allowance is 1500 kg
PCD+3:2.75' PCD
2.75%
MOA+25:108' MOA
Basis amount = 108 EURO
MOA+8:2.97' MOA
equals 2.97 EURO
RTE+1:500:100:PCE' RTE
Rate: 500 EURO per 100 pieces
TAX+7+VAT+++:::19+S' TAX
Discount on invoice level is related to the part of the invoice, which is taxed with 19%.
LIN+1++4000862141404:EN' LIN
The invoiced article is identified by GTIN 4000862141404.
PIA+5+ABC5343:SA::91' PIA
Only if LIN does not provide GTIN: Articleidentification in PIA
PIA+1+ABC5343:SA::91+XYZ987:IN::92' PIA
Suppliers internal article number ABC5343, Buyers article number XYZ987
PIA+1+0815:SN::91' PIA
Serial number 0815.
PIA+1+1111:GN::246' PIA
Article Group number 1111
PIA+1+10000276:BRI::9' PIA
Brick Code for wine
PIA+1+20000217:GAT::9+30002816:GAV::9' PIA
Attribute type Colour of wine, Attribute value rosé
PIA+1+CH-5343:NB::91+XYZ987:HS+4012368259753:PV::91' PIA
Batch number, Harmonized system, Promotional variant
IMD+A++:::Rudi Rüssel::DE' IMD
Article long description: Rudi Rüssel
IMD+C++IN::9' IMD
The article is an invoicing unit
IMD+C++CU::9' IMD
The article is a consumer unit.
IMD+C++SG::9' IMD
Display, it is an assortment unit
IMD+C++RC::9' IMD
GTIN identifies reusable empties (deposit)
IMD+C++NRC::9' IMD
GTIN identifies one way empties (deposit)
IMD+C++GEB::246' IMD
GTIN identifies fees
IMD+C++PRO::246' IMD
GTIN identifies brokerages
IMD+B+38+COX::91:COX-Orange::DE' IMD
Grade: COX (only fruit/vegetables)
IMD+B+13+A::91:Handelsklasse A::DE' IMD
Quality class: A (only fruit/vegetables)
IMD+B+SGR+XXS::91:Extra small::DE' IMD
Size: XXS (e.g. fruit/vegetables or textiles)
IMD+B+35+::91:PINK::DE' IMD
Colour: Pink (e.g. textile)
MEA+AAI+AAA+GRM:6370' MEA
The weight of the article is 63.7 kg net.
QTY+47:11' QTY
11 pieces are invoiced.
QTY+46:11' QTY
11 pieces are delivered
QTY+192:1' QTY
1 piece without invoicing.
ALI+++15' ALI
The line item is not subject for discount, e.g. deposit invoicing
DTM+9:20101029:102' DTM
The butter fat has to be processed until 29.October 2010.
FTX+ZZZ+1++FREIER TEXT:FREETEXT:FREIER TEXT:FREE TEXT:FREIER TEXT+DE' FTX
Possibility to provide free text.
FTX+REG+1+KA::246++DE' FTX
combined article
FTX+REG+1+BF::246++DE' FTX
Invoicing of butter fat
MOA+203:108.13' MOA
The line item amount is 108.13 EURO.
MOA+131:-1.65' MOA
The total allowances for this line are 1.65 EURO.
MOA+204:12.99' MOA
Shrinkage: 12.99 (only fruit/vegetables)
MOA+402:219.78' MOA
Total retail value of the line item is 219.78 EURO
PRI+AAA:9.98:::1:PCE' PRI
The net price is 9.98 EURO.
PRI+AAB:9.98:::1:PCE' PRI
The gross price is 9.98 EURO.
PRI+AAE:19.98::SRP:1:PCE' PRI
The suggested retail price per piece is 19.98 EURO incl. tax.
RFF+DQ:4714:1' RFF
The message references to delivery note number 4714, line 1.
DTM+171:20100301:102' DTM
The date of the delivery note is 01.03.2010
RFF+AAK:4714:1' RFF
The message references to despatch advice number 4714, line 1.
DTM+171:20100301:102' DTM
Despatch advice reference date is 01.03.2010
RFF+UC:4711' RFF
The message references to consumers order number 4711.
DTM+171:20100301:102' DTM
Consumers order number reference date  is 01.03.2010
RFF+AGB:4711' RFF
The message references to sales agreement number 4711.
DTM+171:20100301:102' DTM
Sales agreement number reference date is 01.03.2010
RFF+ON:4711:1' RFF
The message references to buyers order number 4711, line 1.
DTM+171:20100301:102' DTM
Buyers order is dated 01.03.2010
RFF+VN:4711-L' RFF
The message references to suppliers order number 4711-L.
DTM+171:20100301:102' DTM
Suppliers order is dated 01.03.2010
RFF+XA:WEEE DE 13345678' RFF
The WEEE registration number is DE 13345678.
RFF+AUQ:005-691-06' RFF
The butter surcharge number is 005-691-06.
RFF+XC1:AT-N-01-BIO' RFF
The article is a BIO product. It is certified by the control agency AT-N-01-BIO. The indication overwrites information of the heading section.
PAC+++AE:::12x6' PAC
Possibility to provide package type.
MEA+AAI+AAA+GRM:6370' MEA
Net weight (only fruit/vegetables).
TAX+7+VAT+++:::19+S' TAX
The VAT rate for the current line item is 19%.
ALC+A+Absprache++1+DI::246' ALC
Article discount :
PCD+3:0.75' PCD
0,75%
MOA+8:1.65' MOA
equals an allowance of 1.65 EURO
MOA+25:220' MOA
Basis amount: 220 EURO
RTE+1:1.25:100:PCE' RTE
Allowance: 1.25 EURO per 100 pieces
LIN+2++4000862141417:EN+1:1' LIN
Sub line to describe consumer unit
PIA+5+ABC5343:SA::91' PIA
Only if LIN does not provide GTIN: Articleidentification in PIA
IMD+C++CU::9' IMD
GTIN 4000862141417 is a consumer unit
MEA+AAI+AAA+GRM:6370' MEA
Weight of the article is 63.7 kg net.
QTY+59:5' QTY
The invoiced unit contains 5 consumer units.
LIN+3++4000862141423:EN+1:1' LIN
Sub line to describe units included in assortment/display
PIA+5+ABC5343:SA::91' PIA
Only if LIN does not provide GTIN: Articleidentification in PIA
PIA+1+ABC5343:SA::91+XYZ987:IN::92+1111:GN::246+0815:SN::91' PIA
Suppliers internal article number ABC5343, Buyers article number XYZ987, Article Group number 1111, Serial number 0815, article is an assortment.
PIA+1+CH-5343:NB::91+XYZ987:HS+4012368259753:PV::91' PIA
Batch number, Harmonized system, Promotional variant.
PIA+1+10000276:BRI::9' PIA
Brick Code for wine
PIA+1+20000217:GAT::9+30002816:GAV::9' PIA
Attribute type Colour of wine, Attribute value rosé
IMD+C++CU::9' IMD
The article is a consumer unit.
IMD+C++RC::9' IMD
GTIN identifies reusable empties (deposit)
IMD+C++NRC::9' IMD
GTIN identifies one way empties (deposit)
IMD+A++:::Rüssel von Rudi::DE' IMD
The article description is: Rüssel von Rudi
QTY+45E:12' QTY
12 piecees have been delivered.
PAC+++AE:::12x6' PAC
Possibility to provide package type.
TAX+7+VAT+++:::19+S' TAX
The VAT rate for the current line item is 19%.
LIN+4++4000862141423:EN+1:1' LIN
Sub line to describe and invoice units included in assortment/display.
PIA+5+ABC5343:SA::91' PIA
Only if LIN does not provide GTIN: Articleidentification in PIA
PIA+1+ABC5343:SA::91+XYZ987:IN::92+1111:GN::246+0815:SN::91' PIA
Suppliers internal article number ABC5343, Buyers article number XYZ987, Article Group number 1111, Serial number 0815.
PIA+1+CH-5343:NB::91+XYZ987:HS+4012368259753:PV::91' PIA
Batch number, Harmonized system, Promotional variant.
PIA+1+10000276:BRI::9' PIA
Brick Code for wine
PIA+1+20000217:GAT::9+30002816:GAV::9' PIA
Attribute type Colour of wine, Attribute value rosé
IMD+C++IN::9' IMD
The article is an invoiced unit.
IMD+C++CU::9' IMD
The article is a consumer unit.
IMD+C++RC::9' IMD
GTIN identifies reusable empties (deposit)
IMD+C++NRC::9' IMD
One way empties (deposit)
IMD+A++:::Rüssel von Rudi::DE' IMD
The article description is: Rüssel von Rudi.
MEA+AAI+AAA+GRM:6370' MEA
Weight of the article is 63,7 kg net
QTY+47:1' QTY
1 piece is invoiced
QTY+192:1' QTY
1 piece without invoicing.
ALI+++15' ALI
The line item is not subject for discount, e.g. deposit invoicing
MOA+203:108.13' MOA
The line item amount is 108.13 EURO.
MOA+131:-1.65' MOA
The total allowances for this line are 1.65 EURO.
PRI+AAA:9.98:::1:PCE' PRI
The net price is 9.98 EURO.
PRI+AAB:9.98:::1:PCE' PRI
The gross price is 9.98 EURO.
PRI+AAE:19.98::SRP:1:PCE' PRI
The suggested retail price per piece ist 19.98 EURO incl. tax.
PAC+++AE:::12x6' PAC
Possibility to provide package type.
TAX+7+VAT+++:::19+S' TAX
The VAT rate for the current line item is 19%.
ALC+A+Absprache++1+DI::246' ALC
Article discount :
PCD+3:0.75' PCD
0.75%
MOA+8:1.65' MOA
equals an allowance of 1.65 EURO
MOA+25:108' MOA
Basis amount: 108 EURO
RTE+1:1.25:100:PCE' RTE
Allowance: 1.25 EURO per 100 pieces
UNS+S' UNS
Separation of detail- and summary section
MOA+77:121.99' MOA
The invoice amount is 121.99 EURO.
MOA+79:108.13' MOA
The total of all net line amounts is 108.13 EURO.
MOA+125:105.16' MOA
The taxable amount is 105.16 EURO.
MOA+131:-2.97' MOA
The total of all allowances/charges on invoice level is 2.97 EURO.
MOA+124:16.83' MOA
The invoice total VAT amount is 16.83 EURO.
MOA+402:219.78' MOA
Total retail value is 219.78 EURO.
MOA+XB5:27.86' MOA
This segment is only relevant for german cigarette invoices.
MOA+178:45.68' MOA
This segment is only relevant for german cigarette invoices.
TAX+7+VAT+++:::19+S' TAX
The amounts based on a tax rate of 19% are:
MOA+79:108.13' MOA
The total of all net line amounts is 108.13 EURO.
MOA+124:16.83' MOA
The invoice VAT amount is 16.83 EURO.
TAX+7+VAT+++:::19+S' TAX
The amounts based on a tax rate of 19% are:
MOA+125:105.16' MOA
The taxable amount/tax rate is 105.16 EURO.
MOA+131:-2.97' MOA
The total of all allowances/Charges per tax rate on invoice level is 2,97 EURO
TAX+7+VAT+++:::19+S' TAX
The amounts based on a tax rate of 19% are:
MOA+402:219.78' MOA
Total retail value per VAT rate is 219.78 EURO.
UNT+317+ME000001' UNT
Number of segments in the message.
UNZ+1+4711' UNZ
The transmission file contains 1 message.
 
© Copyright GS1 Germany GmbH Ausgabe 2012