Professional Documents
Culture Documents
Germany
INVOIC - EANCOM’02, D.01B
INVOIC - EANCOM’97, D.96A
Conversion
of practical business transactions in
invoicing
into Standard EANCOM
UNA:+.? 'UNB+UNOC:3+4304984000008:14+4007731000008:14+0908
31:1403+0908701+0901701:AA++++EANCOM+1'UNH+00001+INVOIC
:D:01B:UN:EAN010'BGM+380+5777111'DTM+137:20090831:102'DTM
+35:20090825:102'FTX+AAK++ST3++DE'RFF+DQ:2009342'DTM+171:
20090824:102'RFF+XA:DE87654321'NAD+SU+4101740000001::9'RFF
www.metro-mgp.com Ohmstraße 1
GLN 40 07731 00000 8 77694 Kehl (Germany)
Post box 77691 Kehl (Germany)
Document: EDI-EXAMPLES-DE-2010-05-15.DOC Phone : +49 (0) 78 51 94 90
Issue: May 2010 E-Mail: edi@metro-mgp.com
EDI Examples
EANCOM INVOIC
Table of Contents
2 INTRODUCTION .................................................................................................................. 4
first invoice
BGM Begin of Message - last invoice
transmission file (mandatory)
::: :::
LIN Detail Section - last invoice
"single
file unit (optional)
::: :::
invoice or
LIN Detail Section - last invoice
"pyhsical"
"logical"
credit note"
::: :::
UNS Summary Section - last invoice (n)
::: :::
UNT Message Trailer - last invoice
UNH Message Header - first invoice list
BGM Begin of Message - first invoice list
::: ::: "invoice
UNS Summary Section - first invoice list list"
::: :::
UNT Message Trailer - first invoice list
:::
UNH Message Header - invoice
list unit (optional)
::: :::
UNT Message Trailer - invoice
UNH Message Header - invoice list
::: :::
UNS Summary Section - invoice list
UNT Message Trailer - invoice list
UNE Functional Group Trailer (INVOIC)
UNZ Interchange Trailer
2 Introduction
This document ”EDI Examples INVOIC” is to be seen as a supplement to our “EDI Guidelines
INVOIC”. It intends to help the supplier converting his inhouse data into EANCOM format.
Since 01.01.2009 the hardcopy invoice list is no more legally required and has therefore not be
sent anymore in EDI invoice processing with METRO MGP as of 31.08.2009. All information,
segments or data elements regarding the invoice list are accordingly marked in grey in this
document.
The following examples show typical business transactions in invoicing and their conversion
into EDI. Especially allowances or charges related to either the entire document or the line
item, trade units, mixed assortments, documents containing more than one tax rate and credit
notes are dealt with.
For allowances/charges there are data elements on different levels having influence on
whether the value is negative or positive. Basically the same keys are used for allow-
ances/charges in invoices and credit notes. Whether the values are positive or negative will be
decided by the data element BGM 1001 = 380 (invoice) or 381 (credit note)!
Special care is requested, if additional credit items occur in an invoice. (Attention: this is not
accepted by all Metro sales lines!). In this case the keys for quantity and line items amount
change from positive to negative.
For trade units or mixed assortments there are two possibilities: either the trade unit or
assortment can be invoiced as a whole, or else the sublines are invoiced.
Invoice lists containing only credit notes will have negative values in the summary, invoice lists
containing credit notes and invoices may have negative values as well, if the sum of the credit
notes’ and invoices’ amounts is negative.
1. Document:
Invoice with one VAT rate, simple invoice (one item discount).
2. Document:
Invoice with 3 VAT rates, trade unit, mixed assortment and assortment invoiced.
3. Document:
Invoice with one VAT rate, mixed assortment and sublines invoiced.
4. Document:
Credit note with one VAT rate, mixed assortment and sublines invoiced.
5. Document:
Invoice with 2 VAT rates, credit position, mixed assortment and sublines invoiced.
INVOICE
Supplier's Quan- Allo- L in e item
Item de scrip tion EAN Package Gross price N et price Tax
item N o. tity wan ce amount
49111 A-item-1 43049844 91110 1 10 5,00 -0,75 4,925 49,25 19
1. discount: -1,5 % (amount = -0,75 €; basis = 50 €)
49112 B-item-2 43049844 91127 1 20 8,50 8,500 170,00 19
49113 C-item-3 43049844 91134 1 30 1 2,30 12,300 369,00 19
Allowances/Charge s
Total line Ta xable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
7
588,25 58 8,25 111,77 1 9% 700,02 19
588,25 0 ,00 58 8,25 111,77 700,02
Allowances/Charges
Total line Taxable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
285,00 -7,80 11,30 -5,77 282,73 0,00 0% 282,73 0
572,30 -19,94 41,00 -11,87 581,49 40,70 7% 622,19 7
174,60 -6,09 22,60 -3,82 187,29 35,59 19% 222,88 19
1.031,90 -33,83 74,90 -21,46 1.051,51 76,29 1.127,80
Allowances/Charge s
Total line Ta xable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
7
403,60 -3 ,60 36,00 -8,70 427,30 81,19 19% 508,49 19
403,60 -3 ,60 36,00 -8,70 427,30 81,19 508,49
Allowances/Charges
Total line Taxable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
7
-306,60 1,60 -36,00 8,70 -332,30 -63,14 19% -395,44 19
-306,60 1,60 -36,00 8,70 -332,30 -63,14 -395,44
INVOICE
Supplier's Quan- Allo- Line item
Item description EAN Package Gross price Net price Tax
item No. tity wance amount
47110 E-item-1 4304984471105 1 40 5,00 -10,00 4,750 190,00 19
1. discount: -1,5 %, 2. discount: -7,00 €
48111 RC-item-1, BO 4304984481111 L 1 -120 0,30 0,300 -36,00 7
Returned containers
47120 RC-item-2, BC 4304984471204 L 6 100 6,60 1,100 660,00 7
EAN-subline item: 4304984481104
47130 D-item-3, DY 4304984471303 1 20 0,00
*** Begin of Display: ***
47131 DUP-item-3a, BG 4304984471310 1 200 0,70 -4,20 0,679 135,80 19
1. discount: 3 %
47132 DUP-item-3b, CX 4304984471327 1 400 0,30 -5,93 0,285 114,07 7
1. discount:- 2 %, 2. discount: -3 %
*** End of Display ***
Allowances/Charges
Total line Taxable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
738,07 -18,45 719,62 50,38 7% 770,00 7
325,80 -8,15 317,65 60,35 19% 378,00 19
1.063,87 -26,60 1.037,27 110,73 1148,00
4.2.4 Line Items for Invoice-2: 2nd Trade unit including one single consumer unit
LIN+8++4304984470009:SRV'
PIA+1+A0-47000X:SA'
PIA+1+44447777000:IN'
IMD+A++:::free goods item 0'
IMD+C++IN::9'
IMD+C++CU::9'
QTY+192:5:PCE' # Free goods quantity
MOA+66:0'
PRI+AAA:8.00:::1:PCE’
TAX+7+VAT+++:::19+S’ # TAX segment in line item only, if item’s
tax rate differs from that given in the
document header
4.3.5 Line Items for Invoice-3: 3rd trade unit including one single consumer unit
4.4.4 Line Items for Credit Note-1: 2nd trade unit including one single consumer
unit
4.5.4 Line Item for Invoice-4: 2nd single item (credit item)
4.5.5 Line Items for Invoice-4: 3rd trade unit including one single consumer unit
6. Document:
Invoice with one VAT rate, simple invoice (one item discount).
7. Document:
Invoice with 3 VAT rates, trade unit, mixed assortment and assortment invoiced.
8. Document:
Invoice with one VAT rate, mixed assortment and sublines invoiced.
9. Document:
Credit note with one VAT rate, mixed assortment and sublines invoiced.
10. Document:
Invoice with 2 VAT rates, credit position, mixed assortment and sublines invoiced.
11. Document:
Invoice list corresponding to invoices 1 to 5.
Supplier VAT registration No.: D E121285 949 Invoice-list No.: 1237 Date of invoice-list 01.1 0.09
ILN : 433076600 0003 Documen t No.: 9088811 Document date: 28.0 9.09
METRO supplier No.: 319953 D elivery note No. 888999001 Delive ry date: 27.0 9.09
Fiscal No.: 123/4 567/8 910 Order No.: 8 889980001 Date of order: 24.0 9.09
INVOICE
Supplier's Quan- Allo- L in e item
Item de scrip tion EAN Package Gross price N et price Tax
item N o. tity wan ce amount
49111 A-item-1 43049844 91110 1 10 5,00 -0,75 4,925 49,25 19
1. discount: -1,5 % (amount = -0,75 €; basis = 50 €)
49112 B-item-2 43049844 91127 1 20 8,50 8,500 170,00 19
49113 C-item-3 43049844 91134 1 30 1 2,30 12,300 369,00 19
Allowances/Charge s
Total line Ta xable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
7
588,25 58 8,25 111,77 1 9% 700,02 19
588,25 0 ,00 58 8,25 111,77 700,02
Supplier VAT registration No.: DE121285949 Invoice-list- No.: 1237 Dato of invoice-ist: 01.10.09
ILN: 4330766000003 Document No.: 9077711 Document date: 29.09.09
METRO supplier No..: 319953 Delivery note No.: 777999001 Delivery note date: 26.09.09
Fiscal No.: 12345678910 Order No.: 7779980001 Date of order: 23.09.09
Date of delivery: 27.09.09
Allowances/Charges
Total line Taxable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
285,00 -7,80 11,30 -5,77 282,73 0,00 0% 282,73 0
572,30 -19,94 41,00 -11,87 581,49 40,70 7% 622,19 7
174,60 -6,09 22,60 -3,82 187,29 35,59 19% 222,88 19
1.031,90 -33,83 74,90 -21,46 1.051,51 76,29 1.127,80
Supplier VAT registration No.: DE121285 949 Invoice -list-No.: 1237 Date of invoice-list: 01.1 0.09
ILN: 433076600 0003 Documen t No.: 9066611 Document date: 29.0 9.09
METRO supplier No.: 319953 Delivery note No.: 666999001 Delive ry date: 27.0 9.09
Fiscal No.: 123456789 10 Order No.: 66699801 Date of order: 23.0 9.09
Allowances/Charge s
Total line Ta xable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
7
403,60 -3 ,60 36,00 -8,70 427,30 81,19 19% 508,49 19
403,60 -3 ,60 36,00 -8,70 427,30 81,19 508,49
Supplier VAT registration No.: Invoice-list No.: 1237 Date of invoice-list 01.10.09
ILN: 4330766000003 Document No.: 66111 Document date: 29.09.09
METRO supplier No.: 319953 Delivery note No: Delivery date: 27.09.09
Fiscal No.: 12345678910 Order No.: Date of order:
Orig. doc. No.: Orig. doc. date:
Return goods No 9800032 Complaint No.:
Buyer Delivery party
VAT registration No.: ILN 4335343003439
ILN 4333099000009
Allowances/Charges
Total line Taxable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
7
-306,60 1,60 -36,00 8,70 -332,30 -63,14 19% -395,44 19
-306,60 1,60 -36,00 8,70 -332,30 -63,14 -395,44
Supplier VAT registration No.: DE121285949 Invoice-list No.: 1237 Date of invoice-list 01.10.09
ILN: 4330766000003 Document No.: 9855511 Document date: 29.09.09
METRO supplier No.: 319953 Delivery note No. 666555333 Delivery date: 27.09.09
Fiscal No.: 12345678910 Order No.: 777001 Date of order:
INVOICE
Supplier's Quan- Allo- Line item
Item description EAN Package Gross price Net price Tax
item No. tity wance amount
47110 E-item-1 4304984471105 1 40 5,00 -10,00 4,750 190,00 19
1. discount: -1,5 %, 2. discount: -7,00 €
48111 RC-item-1, BO 4304984481111 L 1 -120 0,30 0,300 -36,00 7
Returned containers
47120 RC-item-2, BC 4304984471204 L 6 100 6,60 1,100 660,00 7
EAN-subline item: 4304984481104
47130 D-item-3, DY 4304984471303 1 20 0,00
*** Begin of Display: ***
47131 DUP-item-3a, BG 4304984471310 1 200 0,70 -4,20 0,679 135,80 19
1. discount: 3 %
47132 DUP-item-3b, CX 4304984471327 1 400 0,30 -5,93 0,285 114,07 7
1. discount:- 2 %, 2. discount: -3 %
*** End of Display ***
Allowances/Charges
Total line Taxable Tax Total
Freight/Packing Early payment Tax rate Tax
item amount Discount amount amount amount
Insurance discount
0
738,07 -18,45 719,62 50,38 7% 770,00 7
325,80 -8,15 317,65 60,35 19% 378,00 19
1.063,87 -26,60 1.037,27 110,73 1148,00
Invoice-List
LIEFERANT GmbH
Industriestraße 45
77115 Musterhausen
Number of inclosed invoices: 5 Invoice list no.: 1237
Currency unit: € Date of invoice list: 01.10.2009
Billing period: 28.09.09 – 29.09.09
6.2.4 Line Items for Invoice-2: 2nd Trade unit including one single consumer unit
LIN+8++4304984470009:EN'
PIA+1+A0-47000X:SA'
PIA+1+44447777000:BP'
IMD+A++:::free goods item 0'
IMD+C++IN::9'
IMD+C++CU::9'
QTY+192:5:PCE' # Free goods quantity
MOA+66:0'
PRI+AAA:8.00:::1:PCE’
TAX+7+VAT+++:::19' # TAX segment in line item only, if item’s tax
rate differs from that given in the document
header
6.3.5 Line Items for Invoice-3: 3rd trade unit including one single consumer unit
6.4.4 Line Items for Credit Note-1: 2nd trade unit including one single consumer unit
6.5.4 Line Item for Invoice-4: 2nd single item (credit item)
6.5.5 Line Items for Invoice-4: 3rd trade unit including one single consumer unit