Sei sulla pagina 1di 10

EDInet Invoice XML [v.2.

0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com

INVOICE MESSAGE
EDInet XML
Document version: 2.0
Copyright 2014 by Infinite Sp. z o.o. (www.infinite.pl) All rights reserved.
No dissemination or copying of this document or any part hereof is permitted unless expressly authorised by Infinite Sp. z o.o. in
writing.

1/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com

1.

Dictionary / Dicionar

M mandatory, D dependent, N numeric, AN alpha numeric

2.

Units of measure / Uniti de msur

UNITS OF MEASURE
PR = pair (two items combined)
TNE = metric tone (1000kg)
CMK= Square centimetre
CMQ = Cubic centimetre
CMT = Centimetre
MTQ = Cubic metre

MTR = metre
MTK = square metre
KGM = kilogram
LTR = litre
PCE = piece
MTK = Square metre
3.

DZN = Dozen
GRM = Gramme
HLT = Hectolitre
KTM = Kilometre
MMT = Millimetre
NRL = Number of rolls

Details / Detalii

Data

YYYY-MM-DDTHH:MM:SS or(vagy) YYYY-MM-DD

Numbers

Decimal separator: point, is not used for grouping separator characters (eg 10,234.12 wrong, correct: 10234.12) /
Separator zecimal : punct, nu este folosit ca separator pentru caractere
grupate (10,234.12 gresit, corect : 10234.12)

4.

Shortcut / Abrevieri

GLN = Global Location Number:


GTIN = Global Trade Item Number:
EAN = International Article Numbering Association:

2/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
5.

Tipuri facturi (Invoice types)

Cinci tipuri de facturi au putut fi gestionate pe baza profilului de facturare electronica din Ungaria.

factura comerciala care ar putea fi partiala sau finala

factura proforma

factura preplata

factura storno, in care trebuie mentionata factura originala sau referitor la o linie cu articole trebuie sa fie o referinta la factura originala si valoarea totala trebuie sa
reflecte directia in care merg banii. Daca cel ce emite factura (de obicei furnizori) au datorii catre cei ce le este adresata (comercianti de obicei)atunci valoarea totala
este negativa. Daca comerciantii platesc emitentul unei facturi (de obicei furnizori) atunci valoarea finala trebuie sa fie un numar pozitiv. Acest lucru se refera si la
factura de corectie.
Corectarea unei facturi se poate efectua in mai multe feluri.

Factura incorecta trebuie sa fie creditata in intregime cu o factura storno, apoi o noua factura poate fi emisa

Articolele din factura storno trebuie sa fie identice cu cele din factura de referinta dar cu semn minus

Factura de corectare contine articolele incorecte cu semn negativ urmate imediat de articolele corecte fara semn

datele articolului original trebuie date cu semn negativ

datele articolului modificat trebuie date fara semn

Factura de corectare contine numai diferenta intre valoarea corecta si cea incorecta a unui articol
Five kinds of invoice could be managed on the basis of current e-invoicing profile for Romania.
Commercial invoice which could be partial or final invoice
Proforma invoice
Prepayment invoice
Storno invoice, in which there must be a reference to the original invoice or to a given line of its Correction invoice, in which there must be a reference to the original invoice
or to a given line of its Items on the invoice and the total value of it must reflect the direction to where money moves. If the issuer of an invoice (usually suppliers/manufacturers)
owes the invoicee (usually traders) then the total value is a negative number. If the invoicee (usually traders) pays the issuer of an invoice (usually suppliers) then the final value
must be a positive number in every case. This rule also refers to the correction invoice.
The correction of an invoice can be applied in several ways. The correction of an invoice could be done with an appropriately produced correction invoice whether the sender
realizes immediately or later that he started a wrongly filled invoice message.
The incorrect invoice could be entirely credited with a storno invoice, then a new flawless invoice could be issued
The items of a storno invoice must be identical to the reference original invoice with opposite sign
The correction invoice contains the incorrect items with negative sign immediately followed by the correct items without a sign.
the data of the original item must be given once with negative sign
the data of the modified item must be given once without a sign (positive)
The correction invoice contains only the difference between the correct and incorrect value of an item.

3/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
SEGMENT/ELEMENT (SEGMENT/ELEMENT)

M/D

FORMAT/
FORMAT

DESCRIPTION/ Descriere

<Invoice>

Main element should contain: Version="1.0.1" xmlns:xsi= "http://www.w3.org/2001/XMLSchemainstance"


xsi:noNamespaceSchemaLocation=
"http://www.infinite.pl/pub/doc/fmt/xml/invoice/1.0/invoice.xsd

<InvoiceHeader>

Invoice Header/Antet factura

<InvoiceNumber>301929</InvoiceNumber>

AN (14)

<Date>2008-04-01</Date>

YYYY-MMDD

Invoice date / Data facturarii

<InvoiceDueDate>2008-05-21</InvoiceDueDate>

YYYY-MMDD

Due date /Termen de plata

<PaymentTermsQualifier>3</PaymentTermsQualifier>

N (1)

Payment terms type qualifier (3 = fixed date) / Calificativ termen de plata (3=data fixa)

<PaymentMethod>

M
N (2)

Payment code (42 -Bank Transfer, 10Cash, 31-Encashment) /Cod plata (42 -Transfer bancar, 10Cash, 31-Incasare)

<Code>42</Code>

<Description> tutals </Description>

</PaymentMethod>

<InvoiceCurrencyCoded>RON</InvoiceCurrencyCoded>

<InvoicePurposeCoded>O</InvoicePurposeCoded>

<DocumentRole>O</ DocumentRole >

<Comment>Comment</Comment>

<RefInvoiceNumber> </RefInvoiceNumber>

<RefInvoiceDate></RefInvoiceDate>

</InvoiceHeader>

<InvoiceParty>

<OrderParty>
<BuyerOrderNumber>123778</BuyerOrderNumber>

M
M

Invoice number / Numar factura

AN (14)

Payment method description/Descriere metoda de plata

AN (3)

Currency code in accordance with ISO 4217 used in an order/ Cod valuta conf.ISO4217 folosit la o
comanda

N (1)

Invoice type (C-corrected, O-commercial)/


O Comerciala
C - corectata

N (1)

Document Role (O-original, A-STORNO)


O - original
A storno

AN (1000)
AN (14)
YYYY-MMDD

Seller comment (Purchasing information) /Comentariu vanzator


Number of original invoice (in case of Storno/Corrected) /Numar factura originala (in caz de
storno/corectura)
Date of original invoice (in case of Storno/Corrected) / Data factura originala (in caz de
storno/corectura)

Order Party
AN(4) orAN(8) Order number at buyer / Numar comanda, Correct format is from 4 to 8 digits

4/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
<BuyerOrderDate>2008-03-28T00:00:00</BuyerOrderDate>

</OrderParty>

<DeliveryParty>

YYYY-MMDD-HH-SS

Delivery Party

YYYY-MMDD-HH-SS

AN (14)

<DeliveryDocumentDate>2008-05-01</ DeliveryDocumentDate >

YYYY-MMDD

</DeliveryParty>

<BuyerParty>

<DeliveryDate>2008-05-01T00:00:00</DeliveryDate>
<DeliveryDocumentNumber>43900</DeliveryDocumentNumber>

Order date /data comanda

Delivery date /data livrare


Delivery note number /numar nota livrare
Delivery Document Issue date / Data emitere document livrare

Party to which merchandise is sold and/or a service is provided / Beneficiar marfa sau servicii

<ILN>5940475172107</ILN>

N (13)

<TaxID>RO2816464</TaxID>

AN (35)

Tax registration number / Numar inregistrare fiscala

<Name>AUCHAN Hyper Romania IASI</Name>

AN (35)

Buyer name / Nume cumparator

<Street> Str. Al. Tolstoi, nr. 8</Street>

AN (35)

Street / Strada

<HouseNumber></HouseNumber>

AN (9)

House number (can occure in Street) / Numar

<PostalCode></PostalCode>

AN (9)

Postal code /Cod postal

<City>Bacu, jud. Bacau</City>

AN (35)

City / Oras

<Country>RO</Country>

AN (3)

Country, coded ISO 3155 two alpha code /Tara, cod alfanumeric din doua cifre conf ISO 3155

</BuyerParty>

<InvoiceeParty>

GLN number / Numar GLN

Mandatory if not the same as BuyerParty - Party to whom an invoice is issued / Catre cine este
emisa factura

<ILN>5940475000001</ILN>

N (13)

GLN number / Numar GLN

<Name>AUCHAN Hyper Romania</Name>

AN (35)

Invoicee name /Numele celui ce primeste factura

<Street> Str. Al. Tolstoi, nr. 8</Street>

AN (35)

Street /Strada

<HouseNumber>61</HouseNumber>

AN (9)

House number (can occure in Street) /Numar

<PostalCode>2061</PostalCode>

AN (9)

Postal code /Cod postal

<City>Bacu, jud. Bacau</City>

AN (35)

City / Oras

5/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
<Country>RO</Country>

</InvoiceeParty>

<ShipToParty>

AN (3)

Country, coded ISO 3155 two alpha code / Tara, cod alfanumeric din doua cifre conf ISO 3155

Party to which goods should be delivered /Beneficiar

<ILN>5940475172107</ILN>

N (13)

<Name> AUCHAN Hyper Romania IASI</Name>

AN (35)

Delivery point name / Punct de livrare

<Street> Str. Sigmirului, Nr. 20</Street>

AN (35)

Street / Strada

<HouseNumber></HouseNumber>

AN (9)

House number (can occure in Street) / Numar

<PostalCode></PostalCode>

AN (9)

Postal code / Cod postal

<City> Bistrita, jud. Bistrita-Nasaud </City>

AN (35)

City / Oras

<Country>RO</Country>

AN (3)

Country, coded ISO 3155 two alpha code/ Tara, cod alfanumeric din doua cifre conf ISO 3155

</ShipToParty>

<SellerParty>

<ILN>5944567876543</ILN>

<BuyerSellerID>20257</BuyerSellerID>

<TaxID>RO12345678</TaxID>

GLN number / Numar GLN

Party which provides goods//Furnizor


N (13

GLN number / Numar GLN

AN (9)

Buyer's seller id /ID vanzator pentru comparator.

AN (35)

Tax registration number /Numar de inregistrare fiscala

<BankAccount> 99999999-22222222-33333333 </BankAccount>

n8-n8-n8

Bank account number / Numar cont bancar

<BankAccountOwner> </BankAccountOwner>

AN (175)

Bank account owner / Detinator cont

<BankName>Raiffeisen Romania</BankName>

AN (175)

Bank Name / Numele bancii

<Name> Test supplier </Name>

AN (35)

Seller name / Nume vanzator

<Street> Zsolnay Vilmos </Street>

AN (35)

Street / Strada

<HouseNumber>12</HouseNumber>

AN (9)

House number, can occur in Street / Numar

<PostalCode>1147</PostalCode>

AN (9)

Postal code /Cod postal

<City> BUCARESTI</City>

AN (35)

City / Oras

<Country>RO</Country>

AN (3)

Country, coded ISO 3155 two alpha code / Tara, cod alfanumeric din doua cifre conf ISO 3155

</SellerParty>

<ShipFromParty>

Ship from Party / Expediat de catre

<ILN>594000000090</ILN>

N (13)

<Name DHL LOGISTICS </Name>

AN (35)

GLN number / Numar GLN


Ship from name / Expediat de catre nume

6/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
<Street Alkotmny utca </Street>

AN (35)

Street / Strada

<HouseNumber>23</HouseNumber>

AN (9)

House number (can occure in Street) / Numar

<PostalCode>3455</PostalCode>

AN (9)

Postal code /Cod postal

<City BUCARESTI </City>

AN (35)

City /Oras

<Country>RO</Country>

AN (3)

Country, coded ISO 3155 two alpha code/ Tara, cod alfanumeric din doua cifre conf ISO 3155

</ShipFromParty>

</InvoiceParty>
<InvoiceDetail>

<Item>

<ItemNum>1</ItemNum>

AN (1000)

Numar articol

<EAN>5990000000001</EAN>

GTIN-8
GTIN-13
GTIN-14

GTIN number of the ordered article / Cod GTIN. Correct format is 6,8,12 or 13 digits.

<BuyerItemID>123444</BuyerItemID>

AN (14)

Buyer's article number / Numar articol comparator. Correct format is up to 9 digits.

<SellerItemID>6665</SellerItemID>

AN (14)

Supplier's article number / Numar articol furnizor

<CustomTariffNumber>2202100000</CustomTariffNumber>

AN (14)

Custom tarrif number /Numar tarif vamal

<ProductIdentifierExt>CU</ProductIdentifierExt>

AN (2)

Item description code / Cod descriere articol


(RC returnable asset / bun returnabil, CU commercial unit /unitate comerciala)

<PacketContentQuantity>45.00</PacketContentQuantity>

N (15.2)

Number of consumer units in commercial unit /numar unitati in unitate comerciala

<PackageType>CT</PackageType>

<QuantityValue>2.00</QuantityValue>

<QuantityValueWithdrawn>-2.00</QuantityValueWithdrawn>

<TaxAmountWithdrawn>-14610.40</TaxAmountWithdrawn>

Invoiced quantity / cantitate facturata

N (15.2)

Only in case of corrected invoice/Numai in cazul corectiei de facturi

AN (1)

Only in case of corrected invoice/Numai in cazul corectiei de facturi

N (4)

VAT rate / Procent TVA

<TaxCategoryCodedWas>S</TaxCategoryCodedWas>

<TaxAmount>14610.40</TaxAmount>

N (15.2)

Tax type coded / Cod taxa:


S = Standard rate
E = Except from tax

<TaxPercentWas>20</TaxPercentWas>

Package type: CT-carton/BX-box , RC returnable asset


Tip ambalaj: CT-cutie carton RC- bun returnabil

AN (1)
<TaxCategoryCoded>S</TaxCategoryCoded>

<TaxPercent>20.00</TaxPercent>

AN (3)

N (4)

Only in case of corrected invoice/Numai in cazul corectiei de facturi

N (18)

VAT amount / Valoare TVA

N (18)

Only in case of corrected invoice /Numai in cazul corectiei de facturi

7/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
<MonetaryGrossValue>87662.40</MonetaryGrossValue>

N (18)

<MonetaryGrossValueWithdrawn>87662.40</MonetaryGrossValueWithdrawn>

<MonetaryNetValue>73052.00</MonetaryNetValue>

N (18)

Net amount of item

<MonetaryNetValueWithdrawn>73052.00</MonetaryNetValueWithdrawn>

N (18)

Only in case of corrected /Numai in cazul corectiei de facturi

<MonetaryAmountPayable>73052.00</ MonetaryAmountPayable >

N (18)

Line item total /Total articole


(QuantityValue *UnitPriceValue- UnitDiscount)
Cantitate *Pret unitar - Discount unitar

<MonetaryAmountPayableWithdrawn>-73052.00</
MonetaryAmountPayableWithdrawn>

<UnitOfMeasure>BUC</UnitOfMeasure>

AN (3)

Units of measure for QuantityValue /Unitati de masura pentru Cantitate Valoare

<UnitOfMeasureXCBL>DB</UnitOfMeasureXCBL>

AN (3)

Units of measure XCBL for QuantityValue / Unitati de masura XCBL pentru Cantitate Valoare

<PackUnitOfMeasure>BUC</PackUnitOfMeasure>

AN (3)

Units of measure for PacketContentQuantity /Unitati de masura pentru PachetContinutCantitate

<UnitPriceValue>36526.00</UnitPriceValue>

N (18)

Net-net price /pret net

<UnitPriceValueWas>36526.00</UnitPriceValueWas>

N (18)

Only in case of corrected /Numai in cazul corectiei

N (18)

Gross list price /Lista preturi brute


(UnitPriceValue + TaxPercent* UnitPriceValue)/Valoare pret unitar+TVA*Valoare pret unitar
Only in case of correction/Numai in caz corectie

N (18)

N (18)

<UnitPriceValueGross>43831.20</UnitPriceValueGross>

<UnitPriceValueGrossWas>43831.20</UnitPriceValueGrossWas>

N (18)

<Name> Orange juice 0.5 l </Name>

AN (35)

<Order>

<BuyerOrderNumber>123</BuyerOrderNumber>

AN(35)

<BuyerOrderDate>2009-02-05T00:00:00</BuyerOrderDate>

YYYY-MMDD
Thh:mm:ss

</Order>

<DeliveryDetail>

<DeliveryDate>2009-02-09T12:00:00</DeliveryDate>

YYYY-MMDD
Thh:mm:ss

<DeliveryDocumentNumber>WZ523</DeliveryDocumentNumber>

AN(35)

</DeliveryDetail>

</Item>

Gross amount of item ( MonetaryNetValue + TaxAmount) Total valoare


Only in case of corrected /Numai in cazul corectiei de facturi

Only in case of corrected /Numai in cazul corectiei de facturi

Product description / Descriere produs

8/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
</InvoiceDetail>

<InvoiceSummary>

Invoice Summary/Sumar facturi

<NumberOfLines>3</NumberOfLines>

N (1000)

<NetValue>1800424.00</NetValue>

N (18)

Number of lines/Numar de linii


Total line items amount (MonetaryNetValue) /Total suma articole pe linie

<NetValueDiff>-40424.00</NetValueDiff>

N (18)

Only in case of corrected /Numai in caz corectie

<TaxValue>274104.00</TaxValue>

N (18)

Message total duty/tax/fee amount / Mesaj total taxa

N (18)
<TaxValueDiff>-4104.00</TaxValueDiff>

<TaxableValue>1800424.00</TaxableValue>

<TaxableValueDiff>-1800424.00</TaxableValueDiff>
< GrossValue >2074528.00</ GrossValue >
< GrossValueDiff >2074528.00</GrossValueDiff >

Only in case of corrected /Numai in caz corectie

D
M

N (18)

Invoice amount / Valoare factura

N (18)

Only in case of corrected /numai in caz corectie

<TaxSummary>

N (18)

Tax Sumary/Sumar taxe

<Tax>

M
AN (1)

Tax type coded / Cod taxa:


S = Standard rate
E = Except from tax

<TaxCategoryCoded>S</TaxCategoryCoded>

<TaxPercent>20.00</TaxPercent>

AN (4)

Tax rate / Procent taxa

<TaxNettoAmount>1370520.00</TaxNettoAmount>

N (18)

Tax rate net amount /Suma neta taxa

<TaxNettoAmountDiff>-370520.00</TaxNettoAmountDiff>

N (18)

Only in case of corrected /Numai in caz corectie

<TaxAmount>274104.00</TaxAmount>

N (18)

Tax rate tax amount /Procent taxa

<TaxAmountDiff>-74104.00</TaxAmountDiff>

N (18)

Only in case of corrected /Numai in caz corectie

< TaxGrossAmount >1644624.00</ TaxGrossAmount >

N (18)

Tax rate gross amount /Suma bruta taxa

N (18)

Only in case of corrected/numai in caz de corectie

<TaxableAmount>1370520.00</TaxableAmount>
<TaxableAmountDiff>-1370520.00</TaxableAmountDiff>

< TaxGrossAmountDiff >-144624.00</ TaxGrossAmount Diff>


<Tax>
</TaxSummary>

M
M

9/10

EDInet Invoice XML [v.2.0]

www.infinite-b2b.com
www.edinet.ro, www.edinet-solutions.com
</InvoiceSummary>

</Invoice>

10/10

Potrebbero piacerti anche