imgimg

Documentation

Version: 2.9, see changelog here.

 

Standard workflow of a message

All the supplier's messages are arriving via AS2.

On steps 1 & 2, the notifications are manual and requires an action from B2Boost Support Team. After step 3, the email notifications in case of issue are sent automatically by our robot. There is no notification about correct reception, processing and transmission to Eurelec of a message.

Eurelec workflow

This documentation page will describe in details all the types of errors that can occur during Step 4 and how to resolve them.

IMPORTANT NOTE

Any message rejected by B2Boost is not transmitted to Eurelec. It is the Supplier's responsibility to correct the message and to resend it again.

It is not advised to emit and transmit a credit note for a rejected message. Indeed, if we receive a credit note correctly formatted, it will be sent automatically to Eurelec. Eurelec will therefore receive a credit note for an invoice they never received in first place.

 

B2Boost AS2

Specifications: EURELEC - 181001_B2Boost_Eurelec_AS2Specification.docx

Certificate: EURELEC - B2BOOST_AS2_Certificate.zip

Logilec

Website: LECLERC - index - Google Docs This Google site is maintained by Logilec and contains useful documentation.

EDIFACT Specifications: Cahier des charges EDI - INVOIC.pdf In the rest of the document, when we refer to a page in the "Related EDIFACT Specifications", this is a page from this PDF.

The following two links are constantly maintained by Logilec: Liste des magasins.pdf - Google Drive Liste des entrepôts.pdf - Google Drive

UN/EDIFACT Syntax rule

Source: https://unece.org/fileadmin/DAM/trade/edifact/untdid/d422_s.htm

Component data element ("CE")

A simple data element which is a subordinate portion of a composite data element and in interchange identified by its position within the composite data element

Component data element separator

A character used to separate the component data elements in a composite data element In general: : (colon)

Composite data element

A data element containing two or more component data elements

Data Element ("DE")

A unit of data which in a certain context is considered indivisible (ISO 2382/4) UN/EDIFACT: A unit of data for which the identification, description and value representation have been specified

Data element separator

A character used to separate data elements in a segment In general: + (plus sign)

Data element value

The specific entry of an identified data element represented as specified in a data elements directory

Data value representation

aalphabetic characters
nnumeric characters
analpha-numeric characters
a33 alphabetic characters, fixed length
n33 numeric characters, fixed length
an33 alpha-numeric characters, fixed length
a..3up to 3 alphabetic characters
n..3up to 3 numeric characters
an..3up to 3 alpha-numeric characters

Qualifier

A data element whose value shall be expressed as a code that gives specific meaning to the function of another data element or a segment E.g. in the segment BGM+380: "380" is the segment qualifier

Release character

A character used to restore to its original meaning any character used as a syntactical separator In general: ? (question mark) Immediately preceding one of the characters ' (apostrophe), + (plus sign), : (colon), ? (interrogation mark), it restores their normal meaning. E.g. 10?+10=20 means 10+10=20. The character question mark itself is represented by ??

Segment

A predefined and identified set of functionally related data elements values which are identified by their sequential positions within the set. A segment starts with a segment tag and ends with a segment terminator.

Segment code

A code which uniquely identifies each segment as specified in a segment directory

Segment tag

A composite data element, in which the first component data element contains a code which uniquely identifies a segment as specified in the relevant segment directory. Additional component data elements can be conditionally used to indicate the hierarchical level and nesting relation in a message and the incidence of repetition of the segment

Segment terminator

A syntax character indicating the end of a segment In general: ' (apostrophe)

Representation

Sample EDIFACT

Notes

BGM Segment in the header that we accept (only)

Code 380 = Invoice Code 381 = Credit note Code 383 = Correcting invoice

FTX Segments in the header: meaning and number of accepted occurence(s)

[0,1] FTX+PMD - Payment detail/remittance information [0,2] FTX+PMT - Payment information [1,1] FTX+REG - Regulatory information [0,1] FTX+AAB - Terms of payments [0,n] FTX+SIN - Special instructions [0,n] FTX+SUR - Supplier remarks [0,n] FTX+AAI - General information [0,1] FTX+GEN - Entire transaction set

Expected values for segment NAD

Examples NAD

France
Poland
Portugal

Header issues

[H01]

Currency is not accepted

The presence of the currency in the message is mandatory. We are looking at the segment CUX for a currency code in format ISO 4217 in first occurrence of data element 6345.

Definition

Currency (CUX):

C504CURRENCY DETAILS 
6347Currency details qualifieran1..3
6345Currency, codedan1..3
6343Currency qualifieran1..3
6348Currency rate basen1..4
C504CURRENCY DETAILS 
6347Currency details qualifieran1..3
6345Currency, codedan1..3
6343Currency qualifieran1..3
6348Currency rate basen1..4
5402RATE OF EXCHANGEn1..12
6341CURRENCY MARKET EXCHANGE, CODEDan1..3

Example

CUX+2:EUR:4'
CUX+2:PLN:4'


[H02]

"Dispatch advice number" or "Delivery note number" NOT found in message

At least one of the two references must be found in the invoice. Even if this will not raise an error when absent, please try to include the date relative to the reference.

SegmentMeaning
RFF+AAKDispatch Advice Number
RFF+DQDelivery note number

Definition

Reference (RFF)

C506REFERENCE 
1153Reference qualifieran1..3
1154Reference numberan1..35
1156Line numberan1..6
4000Reference version numbern1..35

Example

RFF+AAK:20BA829528'
RFF+DQ:987654321'


[H03]

"Shipping date", "Delivery date" or "Picking date" NOT found in message

At least one of the three dates must be found in the invoice.

Definition

DATE/TIME/PERIOD (DTM):

C507DATE/TIME/PERIOD 
2005Date or time or period function code qualifieran1..3
2380Date or time or period valuean1..35
4441Date or time or period format codean1..3

Example

DTM+11:20210828:102'
DTM+35:20210828:102'
DTM+200:20210828:102'


[H04]

VAT amount = 0.00 Mandatory segment FTX+SIN missing in EDIFACT

Invoice has a 'Total Amount Taxes' equal to 0 but there is no mention to explain why it's exempt of VAT, the segment FTX+SIN (Special instructions) is missing.

Definition

Free Text (FTX):

4451TEXT SUBJECT CODE QUALIFIERan1..3
4451FREE TEXT FUNCTION CODEan1..3
C107TEXT REFERENCE 
4441Free text value codean1..17
1131Code list identification codean1..3
3055Code list responsible agency coden1..3
C108TEXT LITERAL  
4440Free text valuean1..512
4440Free text valuean1..512
4440Free text valuean1..512
4440Free text valuean1..512
4440Free text valuean1..512
3453LANGUAGE NAME CODEn1..3
4447FREE TEXT FORMAT CODE an1..3

Example

FTX+SIN+++1'


[H05]

Missing Seller party name

The field "Party name" is empty in segment NAD+SE.

[H06]

Missing Seller address part

One or more field are missing or empty for address part in segment NAD+SE.

[H07]

Missing Seller GLN identifier

The field "Party identifier"(GLN) is empty in segment NAD+SE.

Definition

Name and address (NAD):

3035PARTY FUNCTION CODE QUALIFIERan1..3
C082PARTY IDENTIFICATION DETAILS 
3039Party identifieran1..35
1131Code list identification codean1..17
3055Code list responsible agency codean1..3
C058NAME AND ADDRESS 
3124Name and address descriptionan1..35
3124Name and address descriptionan1..35
3124Name and address descriptionan1..35
3124Name and address descriptionan1..35
3124Name and address descriptionan1..35
C080PARTY NAME 
3036Party namean1..35
3036Party namean1..35
3036Party namean1..35
3036Party namean1..35
3036Party namean1..35
3045Party name format codean1..3
C059STREET 
3042Street and number or post office box identifieran1..35
3042Street and number or post office box identifieran1..35
3042Street and number or post office box identifieran1..35
3042Street and number or post office box identifieran1..35
3164CITY NAMEan1..35
C819COUNTRY SUB-ENTITY DETAILS 
3229Country sub-entity name codean1..9
1131Code list identification codean1..17
3055Code list responsible agency codean1..3
3228Country sub-entity namean1..70
3251POSTAL IDENTIFICATION CODEan1..17
3207COUNTRY NAME CODEan1..3

Example

NAD+SE+SELLER_GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME:+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'


[H08]

Missing Seller VAT registration number

Definition

Reference (RFF+VA):

Example

NAD+SE+SELLER_GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME:+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'
RFF+VA:VAT_REGISTRATION_NUMBER'

[H09]

Missing Seller amount of share capital

The amount of share capital is missing in the segment FTX+REG.

[H10]

Missing Seller legal structure

The legal structure is missing in the segment FTX+REG.

[H11]

Missing Seller trading name

The trading name is missing in the segment FTX+REG.

Definition

Free Text (FTX):

Missing or the duplicate of segment FTX+REG will lead to an error.

Example

FTX+**REG**+++Seller trading name+Seller legal structure+Seller amount of share capital'

[H12]

"Eurelec" not found in the invoicee party name

"Eurelec" was not found in the segment NAD_IV party name.

[H13]

Missing Invoicee address part

One or more field are missing or empty for address part in segment NAD+IV.

[H14]

Invoicee GLN is not identical to Buyer GLN

Invocee GLN is different to buyer GLN.

Definition

Name and address (NAD):

Example

NAD+IV+SELLER_GLN::9++Eurelec+STREET_&_NUMBER:STREET_&_NUMBER+CITY_NAME++ZIP_CODE+COUNTRY_CODE' NAD+BY+SELLER_GLN::9++Eurelec+STREET_&_NUMBER:STREET_&_NUMBER+CITY_NAME++ZIP_CODE+COUNTRY_CODE'

[H15]

Incorrect delivery store

The GLN of the delivery store was empty or not found in our data base, if you can find the delivery GLN in the following documents:

If you have this error but the GLN exist in the document above, please inform us at support@helpdesk.com .

Example

NAD+DP+GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'

[H16]

Incorrect delivery store received. The delivery associated to the purchase order

The delivery store GLN associated with the purchase order is different and it doesn't correspond the central GLN associated with the purchase order that you can find in the followings documents.

NAD+DP+GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'


[H17]

Currency used must be PLN

If the document type is a correcting invoice, the currency use must be PLN.

Definition

Currency (CUX):

Example

CUX+2:**PLN**:4'

[H18]

Bio certificate has not been found in any of the FTX (Free Text)

The Bio certificate has not been found in the FTX+SUR segment (Supplier remarks).

Definition

Free Text (FTX):

Example

FTX+SUR+++?*?*?* Produit issu de l'agriculture Biologique - distribution certifiee:par ####'

[H19]

Eurelec VAT incorrect.

The Eurelec VAT is incorrect in the segment RFF+VA of NAD+IV.

Definition

Reference (RFF+VA):

Example

NAD+IV+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
RFF+VA:FR17824374516'

[H20]

Missing mandatory field value: Eurelec VAT

The Eurelec VAT is missing in the segment RFF+VA of NAD+IV.

Definition

Reference (RFF+VA):

Example

NAD+IV+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
RFF+VA:FR17824374516'

[H21] to [H33]

The Following date is invalid

The format of the date received is not "yyyy-MM-dd" or the date received is just not valid.

[H21]

PenaltyDate

[H22]

RetailerOrderDate

[H23]

SupplierOrderDate

[H24]

DespatchDate

[H25]

InvoiceDate

[H26]

CreditedInvoiceDate

[H27]

TermNetDueDate

[H28]

PickingDate

[H29]

ShippingDate

[H30]

DeliveryDate

[H31]

DeliveryNoteDate

[H32]

ActualSaleDate

[H33]

ReturnsNoticeDate

[H34]

Missing Delivery address part

One or more field are missing or empty for address part in segment NAD+DP.

Definition

Name and address (NAD)

Example

NAD+DP+DELIVERY_GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME:+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'

[H35]

Missing Despatch Date and/or Reference

 

 

 

[H36]

The receiveid invoiceDate can't be bigger than Eurelec reception date

The reference of the order is missing

[H37]

Missing Buyer order reference

The reference of the order is missing

Example

RFF+ON:PURCHASE_ORDER_REF'

[H38]

Duplicate reference

An invoice/credit note with this reference has already been treated with success.

Example

BGM+380+INVOICE_REF+9'

[H39]

Wrong country code for Eurelec buyer/payer

The invoice/credit note Eurelec "payer" and/or "buyer" address country-code value should be "BE"

Example 1 (buyer)

NAD+BY+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'

Example 2 (payer)

NAD+IV+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'

 

[H40]

Referenced order number does not have the correct number of digits

The Order Reference has a number of digits that does not fit with the account configuration.

Example

If supplier's config is meant to prevent order number length other than 10digits:

RFF+ON:0604500911'

NOTE: The order ref has 10 digits so it should be ok.

[H41]

Duplicate found for this supplier older GLN

An invoice/credit note with this reference has already been treated with success for this supplier with it's older gln (if configured).

Example

BGM+380+INVOICE_REF+9'

Line issues

[L01]

No line amount found for tax rate in the message

There is no line amount in the message for the tax rate

Definition

Monetary amount (MOA)

C516MONETARY AMOUNT 
5025Monetary amount type code qualifieran1..3
5004Monetary amountn..35
6345Currency identification codean1..3
6343Currency type code qualifieran1..3
4405Status description codean1..3

Example

MOA+55:150.84'

[L02]

No line amount found in any line

There is no amount found in any line in the edifact.

Definition

Monetary amount (MOA)

Example

MOA+203:150.84'

[L03]

Invalid ean found on line number

The EAN found in LIN segment is invalid.

Definition

Line Item (LIN)

1082LINE ITEM IDENTIFIERan1..6
1229ACTION REQUEST/NOTIFICATION DESCRIPTION CODEan1..3
C212ITEM NUMBER IDENTIFICATION 
7140Item identifieran1..35
7143Item type identification codean1..3
1131Code list identification codean1..3
3055Code list responsible agency codean1..3
C829SUB-LINE INFORMATION 
5495Sub-line indicator codean1..3
1082Line item identifieran1..6
1222CONFIGURATION LEVEL NUMBERan1..2
7083CONFIGURATION OPERATION CODEan1..3

Example

LIN+10++EAN_CODE_10:EN'

[L04]

Mandatory gross price is missing on line number, having allowance(s)-charge(s)

Gross price (PRI+AAB) is mandatory if there are any allowance/charge on lines.

Definition

Price details (PRI):

C516PRICE INFORMATION 
5125Price code qualifieran1..3
5118Price amountan1..15
5375Price type codean1..3
5387Price specification codean1..3
5284Unit price basis valuen1..9
6411Measurement unit codean1..3
5213SUB-LINE ITEM PRICE CHANGE OPERATION CODEan1..3

Example

PRI+AAB:4.477:::1:PCE

[L05]

Mandatory net price is missing on line number

Net price (PRI+AAA) is mandatory.

Definition

Price details (PRI)

Example

PRI+AAA:2.514:::1:PCE'

[L06]

At least one of the 3 Quantities is missing at line

If the document is a correcting invoice, the 3 QTY+2 must be in the message.

Definition

Quantity(QTY):

C516QUANTITY DETAILS 
6063Quantity type code qualifieran1..3
6060Quantityan1..35
6411Measurement unit codean1..3

Example

QTY+2X:828:PCE'
QTY+2Y:228:PCE'
QTY+2:-600:PCE'

[L07]

Quantity mismatch at lin

If the document is a correcting invoice, the equation below must be respected.

Definition

Quantity (QTY)

Example

QTY+2X:828:PCE'
QTY+2Y:228:PCE'
QTY+2:-600:PCE'

[L08]

At least one of the 3 Total Line Gross Amount is missing at line

If the document is a correcting invoice, the 3 MOA+66 must be in the message.

Definition

Monetary amount (MOA)

Example

MOA+66X:8404.20:PLN'
MOA+66Y:2314.20:PLN'
MOA+66:-6090.00:PLN'

[L09]

Total Line Gross Amount mismatch at line

If the document is a correcting invoice, the equation below must be respected.

Definition

Monetary amount (MOA)

Example

MOA+66X:8404.20:PLN'
MOA+66Y:2314.20:PLN'
MOA+66:-6090.00:PLN'

[L10]

At least one of the 3 Unit Selling Price is missing at line

If the document is a correcting invoice, the 3 PRI+AA must be in the message.

Definition

Price details (PRI)

Example

PRI+AAX:10.15'
PRI+AAY:10.15'
PRI+AAA:0.00'

[L11]

Unit Selling Price mismatch at line

If the document is a correcting invoice, the equation below must be respected.

Definition

Price details (PRI)

Example

PRI+AAX:10.15'
PRI+AAY:10.15'
PRI+AAA:0.00'

[L14]

Tax Amount 'Should Be' is missing at line

If the document is a correcting invoice, Tax Amount 'Should Be' (TAX+7+VAT+++Y) must be in the message.

Definition

Duty/Tax/Fee (TAX):

5283PARTY FUNCTION CODE QUALIFIERan1..3
C241DUTY/TAX/FEE TYPE  
5153Duty or tax or fee type name codean1..3
1131Code list identification codean1..3
3055Code list responsible agency codean1..3
5152Duty or tax or fee type namean1..35
C058DUTY/TAX/FEE ACCOUNT DETAIL  
5289Duty or tax or fee account codean1..6
1131Code list identification codean1..3
3055Code list responsible agency codean1..3
5286DUTY OR TAX OR FEE ASSESSMENT BASIS VALUEan1..15
C243DUTY/TAX/FEE DETAIL  
5279Duty or tax or fee rate description codean1..7
1131Code list identification codean1..3
3055Code list responsible agency codean1..3
5278Duty or tax or fee rate descriptionan1..17
5273Duty or tax or fee rate basis codean1..12
1131Code list identification codean1..3
3055Code list responsible agency codean1..3
5305DUTY OR TAX OR FEE CATEGORY CODEan1..3
3466PARTY TAX IDENTIFIERan1..20
1227CALCULATION SEQUENCE CODEan1..3

Example

TAX+7+VAT+++Y:::23+S'

[L15]

Total Tax Amount mismatch at line

The equation below must be respected.

Definition

Monetary amount (MOA)

Example

MOA+55X:1932.97'
MOA+55Y:532.27'
MOA+55:-1400.70'

[L16]

Missing tax rate at line

Tax rate (TAX+7) is mandatory in the message.

Definition

Duty/Tax/Fee (TAX)

Example

TAX+7+VAT+++Y:::23+S'

[L17]

No line found in the message

Line segment (LIN) is mandatory in the message.

Definition

Line Item (LIN):

Example

LIN+20++EAN_CODE_20:EN'

[L18]

Cannot deal with a mix of VAT rate change and a price/quantity change at line

Various VAT rates and different price and/or quantities of the same line are forbidden.

Definition

Line Item (LIN), Duty/Tax/Fee (TAX), Price details (PRI) and Quantity (QTY)

Example

LIN+10++EAN_CODE_10:EN'
PIA+1+00:PV'
IMD+E+ANM+:::ITEM_DESCRIPTION_10'
QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAB:4.477:::1:PCE'
TAX+7+VAT+++:::21'

[L19]

The net unit price decimal amount differ from contract on the following line(s)

The decimal amount of the net price unit (PRI+AAA) differs from the contract you have with Eurelec. If there is no contract, then the decimal amount of the net price unit can be up to 4.

Definition

Price details (PRI)

Example

PRI+AAA:2.514:::1:PCE'

[L20]

The recalculated unit price (tot/qty) is bigger than the transmitted unit price on line(s)

The recalculated unit price is bigger than the unit price (PRI+AAA).

=> PRI+AAA <= MOA+203 / QTY+47

Definition

Price details (PRI), Monetary amount (MOA) and Quantity (QTY)

Example

QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'

2.514=150.84/60

[L21]

The lineAmount > calculatedLineAmount (with reCalculatedUnitPrice) on line(s)

In an invoice, the line amount (MOA+203) can't be bigger than the calculatedLineAmount.

reCalculatedUnitPrice=PRI+AAA
reCalculatedUnitPrice=MOA+203/QTY+47
MOA+203=reCalculatedUnitPriceQTY+47
MOA+203=calculatedLineAmount

Definition

Price details (PRI), Monetary amount (MOA) and Quantity (QTY)

Example

QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'

2.514=150.84/60

[L22]

The lineAmount < calculatedLineAmount (with reCalculatedUnitPrice) on line(s)

In a credit note, the line amount (MOA+203) can't be smaller than the calculatedLineAmount.

reCalculatedUnitPrice=MOA+203/QTY+47
calculatedLineAmount=reCalculatedUnitPriceQTY+47
MOA+203=calculatedLineAmount

Definition

Definition

Price details (PRI), Monetary amount (MOA) and Quantity (QTY)

Example

QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'

2.514=150.84/60

[L23]

The lineAmount is bigger/smaller than calculatedLineAmount on line

The line amount (MOA+203) can't be bigger than the calculatedLineAmount for an invoice and can't be smaller than the calculatedLineAmount for a credit note.

=> MOA+203 = calculatedLineAmount

=> calculatedLineAmount = reCalculatedUnitPrice * QTY+47

=> reCalculatedUnitPrice = MOA+203 / QTY+47

Definition

Price details (PRI), Monetary amount (MOA) and Quantity (QTY)

Example

QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'

2..514=150.84/60

[L24]

Quantity is equal to zero on line(s)

The invoiced quantities (QTY+47) can't be equal to 0.

Definition

Quantity (QTY)

Example

QTY+47:60:PCE'

[L25]

Total invoice line must be 0 when Unit Price equals 0 on line(s)

If the unit price (PRI+AAA) equals 0, then the total invoice line (MOA+203) must be 0.

Definition

Price details (PRI) and Monetary amount (MOA)

Example

MOA+203:0.00'
PRI+AAA:0.00:::1:PCE'
PRI+AAB:00.0:::1:PCE'

[L26]

There is a mix between negativ and positiv lines

A mix between total amount negative lines and total amount positive lines are forbidden.

Definition

Price details (PRI)

Example

MOA+203:150.84'

[L27]

NVALID.INVOICE.LINE.REF

The EAN code is mandatory in lines.

Definition

Line Item (LIN)

Example

LIN+10++EAN_CODE_10:EN'

[L28]

Total line gross amount not found for line(s)

Total line gross amount ( MOA+203) is mandatory for all lines.

Definition

Monetary amount (MOA)

Example

MOA+203:150.84'

[L30]

Bio product is not labelled as bio by the supplier for line(s)

The Bio product is not labelled as bio in the IMD segment. The default pattern is:

Definition

Item Description (IMD)

7077DESCRIPTION FORMAT CODEan1..3
C272ITEM CHARACTERISTIC 
7081Item characteristic codean1..3
1131Code list identification codean1..3
3055Code list responsible agency codean1..3
C273ITEM DESCRIPTION 
7009Item description codean1..17
1131Code list identification codean1..3
3055Code list responsible agency codean1..3
7008Item descriptionan1..256
7008Item descriptionan1..256
3453Language name codean..3
7383SURFACE OR LAYER CODEan1..3

Example

LIN+10++8715700407760:EN'
PIA+1+76009084:SA'
PIA+1+00:PV'
IMD+E+ANM+:::ITEM_DESCRIPTION_10 BIO '

 

[L31]

The recalculated line amount differs from transmited line amount on line(s)

In an invoice, the line amount (MOA+203) can't differ from the calculatedLineAmount.

calculatedLineAmount=((PRI+AAA)(QTY+47))=>roundedTo2digits

The calculation for this check is the following :

NOTE: You have to comply with this check depending on your region. This is now the case for Portugal.

 

[L32]

Total line amount must contain stricly 2 decimals. This is not the case on line(s)

In an invoice, the line amount (MOA+203) has to contain striclty 2 decimals.

 

Summary issues

[S01]

Missing tax amount for one tax rate in summary (tax rate declared in at least one line but not found in the summary)

There is at least one missing tax amount for a tax rate found in lines.

Definition

Monetary amount (MOA)

Example

TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'

[S02]

Tax rate is declared in the message summary but we found no line with this tax rate in the message

There is at least one tax rate mentioned in summary but not in lines.

Definition

Duty/Tax/Fee (TAX)

Example

TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'

[S03]

Total Taxable Amount for the tax rate is not equal to the sum of all the line(s) amount for this tax rate. The difference exceeds the tolerance

The Total Taxable Amount for the tax rate is not equal to the sum of all the line(s) amount for this tax rate.

=> TAX+7+VAT++331.52+:::5.50' = Σ MOA+203 (for TAX+7+VAT+++:::5.50')

Definition

Monetary amount (MOA)

Example

TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'

[S04]

Total Taxable Amount in the message summary is not equal to the sum of all the line(s) amount . The difference exceeds the tolerance

The Total Taxable Amount for the tax rate is not equal to the sum of all the line(s) amount for this tax rate.

=> MOA+124 = Σ MOA+203 ( lines )

Definition

Monetary amount (MOA)

Example

CNT+2:5'
MOA+124:100.26'

[S05]

Difference between the Total Taxable Amount in the message summary and the sum of all the summary Taxable Amount (per rate) exceeds the tolerance

The Total Taxable Amount for the tax rate is not equal to the sum of all the summary taxable amount.

=> MOA+125 = TAX+7+VAT++Σ (Taxable Amount) +::: ( per rate )

Definition

Monetary amount (MOA) and Duty/Tax/Fee (TAX)

Example

MOA+125:722.12'
MOA+128:822.38'
TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'

[S06]

Difference between the 'Total Amount Taxes' in the message summary and the sum of all the lines Taxable Amount exceeds the tolerance

The Total Taxable Amount for the tax rate is not equal to the sum of all the summary taxable amount.

=> MOA+124 = Σ ((TAX+7+VAT+++::: tax rate * MOA+203) / 100)

Definition

Monetary amount (MOA) and Duty/Tax/Fee (TAX)

Example

MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'
TAX+7+VAT+++:::21'
...
Summary
...
MOA+124:100.26'

 

[S07]

Total Taxable Amount + Total Amount Taxes - Total Amount Due when it should be 0, so it exceeds the tolerance

The total amount due must be equal to the sum of the total taxable amount and total amount taxes.

=> MOA+125 + MOA+124 = MOA+128

Definition

Monetary amount (MOA)

Example

MOA+124:100.26'
MOA+125:722.12'
MOA+128:822.38'

[S08]

"DocumentType" with a Total Amount Due of 0 is not allowed.

A total amount due ( MOA+128 ) can't be equal 0.

Definition

Monetary amount (MOA)

Example

MOA+128:822.38'

[S09]

Difference between the declared VAT amount and what we automatically calculated for the tax rate exceeds the tolerance

The difference between total taxable amount (for the tax rate) * tax rate must be equal to the total amount taxes for the tax rate.

MOA+124=Σ(TAX+7+VAT++TotalTaxableAmount(forthistaxrate)+:::taxrate)

Definition

Monetary amount (MOA) and Duty/Tax/Fee (TAX)

Example

MOA+124:100.26'
MOA+125:722.12'
MOA+128:822.38'
TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'

[S10]

VAT rate used not allowed

The tax rate use for VAT is not allowed or is missing (mandatory field).

Definition

Duty/Tax/Fee (TAX)

Example

TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'

[S11]

At least one of the 3 Total Taxable Amount is missing

If the document is a correcting invoice, the 2 MOA+56 (or MOA+79X/Y) (Total Taxable Amount Was and Should Be) and MOA+125 (MOA+79) (Total Taxable Amount) must be in the message.

Definition

Monetary amount (MOA)

Example

MOA+56X:33748.20'
MOA+56Y:2314.20'
MOA+125:-31434.00'

OR

MOA+79X:33748.20'
MOA+79Y:2314.20'
MOA+79:-31434.00'

[S12]

At least one of the 3 Total Amount Taxes is missing

If the document is a correcting invoice, the 2 MOA+55 (Total Amount Taxes Was and Should Be) and MOA+124 (Total Amount Taxes) must be in the message.

Definition

Monetary amount (MOA)

Example

MOA+55X:7762.09'
MOA+55Y:532.27'
MOA+124:-7229.82'

[S13]

At least one of the 3 Total Amount Due is missing

If the document is a correcting invoice, the 3 MOA+77 (Total Amount Due) must be in the message.

Definition

Monetary amount (MOA)

Example

MOA+77X:41510.29'
MOA+77Y:2846.47'
MOA+77:-38663.82'

[S15]

Total Taxable Amount mismatch (Y - X <> Z )

The equation below must be respected.

Definition

Monetary amount (MOA)

Example

MOA+56X:33748.20'
MOA+56Y:2314.20'
MOA+125:-31434.00'

OR

MOA+79X:33748.20'
MOA+79Y:2314.20'
MOA+79:-31434.00'

[S16]

Total Amount Taxes mismatch (Y - X <> Z )

The equation below must be respected.

Definition

Monetary amount (MOA)

Example

MOA+77X:41510.29'
MOA+77Y:2846.47'
MOA+77:-38663.82'

[S17]

Total Amount Due mismatch (Y - X <> Z )

The equation below must be respected.

Definition

Monetary amount (MOA)

Example

MOA+55X:7762.09'
MOA+55Y:532.27'
MOA+124:-7229.82'

[S19]

Total Taxable Amount mismatch (Y - X <> Z ) for tax rate

The equation below must be respected.

Definition

Monetary amount (MOA)

Example

MOA+55X:7762.09'
MOA+55Y:532.27'
MOA+124:-7229.82'

[S20]

Total Tax Amount mismatch (Y - X <> Z ) for tax rate

The equation below must be respected.

Definition

Monetary amount (MOA) and Duty/Tax/Fee (TAX)

Example

TAX+7+VAT+++X:::23+S'
MOA+79X:33748.20'
MOA+55X:7762.09'
TAX+7+VAT+++Y:::23+S'
MOA+79Y:2314.20'
MOA+55Y:532.27'
TAX+7+VAT+++:::23+S'
MOA+79:-31434.00'
MOA+124:-7229.82'

[S21]

At least one of the 3 Tax Total Taxable Amount is missing for tax rate

If the document is a correcting invoice, the 3 MOA+79 (Total Taxable Amount ) must be in the message.

Definition

Monetary amount (MOA) and Duty/Tax/Fee (TAX)

Example

TAX+7+VAT+++X:::23+S'
MOA+79X:33748.20'
MOA+55X:7762.09'
TAX+7+VAT+++Y:::23+S'
MOA+79Y:2314.20'
MOA+55Y:532.27'
TAX+7+VAT+++:::23+S'
MOA+79:-31434.00'
MOA+124:-7229.82'

[S22]

At least one of the 3 Tax Total Tax Amount is missing for tax rate

If the document is a correcting invoice, the 2 MOA+55 (Total Amount Taxes Was and Should Be) and MOA+124 (Total Amount Taxes) must be in the message.

Definition

Monetary amount (MOA) and Duty/Tax/Fee (TAX)

Example

TAX+7+VAT+++X:::23+S'
MOA+79X:33748.20'
MOA+55X:7762.09'
TAX+7+VAT+++Y:::23+S'
MOA+79Y:2314.20'
MOA+55Y:532.27'
TAX+7+VAT+++:::23+S'
MOA+79:-31434.00'
MOA+124:-7229.82'