Version: 2.9, see changelog here.
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.
This documentation page will describe in details all the types of errors that can occur during Step 4 and how to resolve them.
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.
Specifications: EURELEC - 181001_B2Boost_Eurelec_AS2Specification.docx
Certificate: EURELEC - B2BOOST_AS2_Certificate.zip
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
Source: https://unece.org/fileadmin/DAM/trade/edifact/untdid/d422_s.htm
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
A character used to separate the component data elements in a composite data element In general: : (colon)
A data element containing two or more component data elements
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
A character used to separate data elements in a segment In general: + (plus sign)
The specific entry of an identified data element represented as specified in a data elements directory
a | alphabetic characters |
n | numeric characters |
an | alpha-numeric characters |
a3 | 3 alphabetic characters, fixed length |
n3 | 3 numeric characters, fixed length |
an3 | 3 alpha-numeric characters, fixed length |
a..3 | up to 3 alphabetic characters |
n..3 | up to 3 numeric characters |
an..3 | up to 3 alpha-numeric characters |
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
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 ??
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.
A code which uniquely identifies each segment as specified in a segment directory
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
A syntax character indicating the end of a segment In general: ' (apostrophe)
-----------------------------------------
|UNH |'|Data |DATA |Data |UNT|'| A SEGMENT contains:
| | |segment |SEGMENT |segment | | | - A Segment TAG
-------------------|--------------------- - Simple data elements or
| - Composite data elements
+------------------+-------------------+ or both as applicable
| |
----------------------------------------
|TAG |+|SIMPLE |+|COMPOSITE |'| A SEGMENT TAG contains:
| | |DATA ELEMENT | |DATA ELEMENT | | - A segment code and,
---|--------------|----------|-----|---- if explicit indication,
| | | | repeating and nesting
| | | | value(s). See 8.1 and 9.
| | | |
| | | | A SIMPLE DATA ELEMENT contains
-------------- ------- ------------- - A single data element
|Code|:|Value| |Value| |COMP|:|COMP| value
-------------- ------- |D/E | |D/E | A COMPOSITE DATA ELEMENT
| | | | contains:
--|------|--- - Component data elements
| |
------- ------- A COMPONENT DATA ELEMENT
| | | | contains:
|Value| |Value| - A single data element
------- ------- value
xxxxxxxxxx
1 : UNA:+.? '
2 : UNB+UNOA:3+SENDER_GLN:14+RECEIVER_GLN:14+211127:2025+INTERCHANGE_NUMBER'
3 : UNH+MSG_REF_NUM+INVOIC:D:96A:UN:EAN008'
4 : BGM+380+INVOICE_REF+9'
5 : DTM+137:20211127:102'
6 : DTM+11:20211127:102'
7 : PAI+::70'
8 : FTX+PMD+++1,70:71,70:141,70:211,70:281,70'
9 : FTX+PMT+++1,70:71,70:141,70:211,70:281,70'
10 : FTX+REG+++SELLER TRADING NAME:COMPANY_TYPE:SHARE_AMOUNT CURRENCY'
11 : FTX+AAB+++1,70:71,70:141,70:211,70:281,70'
12 : FTX+SIN+++1,70:71,70:141,70:211,70:281,70'
13 : FTX+SUR+++1,70:71,70:141,70:211,70:281,70'
14 : FTX+AAI+++1,70:71,70:141,70:211,70:281,70'
15 : FTX+GEN+++1,70:71,70:141,70:211,70:281,70'
16 : RFF+DQ:DELIVERY_NOTE_NUMBER'
17 : DTM+171:20211127:102'
18 : RFF+CT:CONTRACT_REF_1'
19 : RFF+CT:CONTRACT_REF_2'
20 : RFF+ON:PURCHASE_ORDER_REF'
21 : DTM+171:20211125:102'
22 : NAD+BY+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
23 : NAD+IV+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
24 : RFF+VA:FR17824374516'
25 : RFF+GN:824374516'
26 : NAD+RE+PAYEE_GLN::9'
27 : NAD+DP+DELIVERY_GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME:+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE
+COUNTRY_CODE'
28 : NAD+SE+SELLER_GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME:+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE
+COUNTRY_CODE'
29 : RFF+VA:VAT_REGISTRATION_NUMBER'
30 : RFF+XA:COMPANY_REGISTRATION_NUMBER'
31 : RFF+GN:GOVERNMENT_REFERENCE_NUMBER'
32 : CUX+2:EUR:4'
33 : PAT+3'
34 : DTM+13:20211230:102'
35 : PAT+22'
36 : PCD+12:0:13'
37 : PAT+20'
38 : LIN+10++EAN_CODE_10:EN'
39 : PIA+1+00:PV'
40 : IMD+E+ANM+:::ITEM_DESCRIPTION_10'
41 : QTY+47:60:PCE'
42 : QTY+52:4:PCE'
43 : MOA+203:150.84'
44 : PRI+AAA:2.514:::1:PCE'
45 : PRI+AAB:4.477:::1:PCE'
46 : TAX+7+VAT+++:::21'
47 : ALC+A++2+1+TD:::ALLOWANCE_DESCRIPTION_10'
48 : PCD+1:43.84'
49 : LIN+20++EAN_CODE_20:EN'
50 : PIA+1+00:PV'
51 : IMD+E+ANM+:::ITEM_DESCRIPTION_20'
52 : QTY+47:10:PCE'
53 : QTY+52:10:PCE'
54 : MOA+203:10.26'
55 : PRI+AAA:1.026:::1:PCE'
56 : PRI+AAB:1.827:::1:PCE'
57 : TAX+7+VAT+++:::5.50'
58 : ALC+A++2+1+TD:::ALLOWANCE_DESCRIPTION_20'
59 : PCD+1:43.84'
60 : LIN+30++EAN_CODE_30:EN'
61 : PIA+1+00:PV'
62 : IMD+E+ANM+:::ITEM_DESCRIPTION_30'
63 : QTY+47:270:PCE'
64 : QTY+52:10:PCE'
65 : MOA+203:239.76'
66 : PRI+AAA:0.888:::1:PCE'
67 : PRI+AAB:1.581:::1:PCE'
68 : TAX+7+VAT+++:::21'
69 : ALC+A++2+1+TD:::ALLOWANCE_DESCRIPTION_30'
70 : PCD+1:43.84'
71 : LIN+40++EAN_CODE_40:EN'
72 : PIA+1+00:PV'
73 : IMD+E+ANM+:::ITEM_DESCRIPTION_40'
74 : QTY+47:200:PCE'
75 : QTY+52:8:PCE'
76 : MOA+203:311'
77 : PRI+AAA:1.555:::1:PCE'
78 : PRI+AAB:2.769:::1:PCE'
79 : TAX+7+VAT+++:::5.50'
80 : ALC+A++2+1+TD:::ALLOWANCE_DESCRIPTION_40'
81 : PCD+1:43.84'
82 : LIN+50++EAN_CODE_50:EN'
83 : PIA+1+00:PV'
84 : IMD+E+ANM+:::ITEM_DESCRIPTION_50'
85 : QTY+47:10:PCE'
86 : QTY+52:10:PCE'
87 : MOA+203:10.26'
88 : PRI+AAA:1.026:::1:PCE'
89 : PRI+AAB:1.827:::1:PCE'
90 : TAX+7+VAT+++:::5.50'
91 : ALC+A++2+1+TD:::ALLOWANCE_DESCRIPTION_50'
92 : PCD+1:43.84'
93 : UNS+S'
94 : CNT+2:5'
95 : MOA+124:100.26'
96 : MOA+125:722.12'
97 : MOA+128:822.38'
98 : TAX+7+VAT++331.52+:::5.50'
99 : MOA+124:18.23'
100 : TAX+7+VAT++390.6+:::21'
101 : MOA+124:82.03'
102 : UNT+100+MSG_REF_NUM'
103 : UNZ+1+INTERCHANGE_NUMBER'
Code 380 = Invoice Code 381 = Credit note Code 383 = Correcting invoice
[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
xTEST :
~~~~~~
+---------+----------+---------------+---------------+---------------+
| Company | Type | Value FR | Value PT | Value PL |
+=========+==========+===============+===============+===============+
| Eurelec | TEST GLN | 5430001208023 | 5430001208078 | 5430001208085 |
| | TEST VAT | FR17824374516 | PT980596637 | PL5263390202 |
| | Siren | 824374516 | 824374516 | 824374516 |
+---------+----------+---------------+---------------+---------------+
PROD :
~~~~~~
+---------+----------+---------------+---------------+---------------+
| Company | Type | Value FR | Value PT | Value PL |
+=========+==========+===============+===============+===============+
| Eurelec | PROD GLN | 4260493952002 | 4260493953009 | 4260493955003 |
| | PROD VAT | FR17824374516 | PT980596637 | PL5263390202 |
| | Siren | 824374516 | 824374516 | 824374516 |
+---------+----------+---------------+---------------+---------------+
xxxxxxxxxx
TEST:
NAD+BY+5430001208023::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
NAD+IV+5430001208023::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
RFF+VA:FR17824374516'
RFF+GN:824374516'
PROD:
NAD+BY+4260493952002::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
NAD+IV+4260493952002::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
RFF+VA:FR17824374516'
RFF+GN:824374516'
xxxxxxxxxx
TEST:
NAD+BY+5430001208085::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
NAD+IV+5430001208085::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
RFF+VA:PL5263390202'
RFF+GN:824374516'
PROD:
NAD+BY+4260493955003::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
NAD+IV+4260493955003::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
RFF+VA:PL5263390202'
RFF+GN:824374516'
xxxxxxxxxx
TEST:
NAD+BY+5430001208078::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
NAD+IV+5430001208078::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
RFF+VA:PT980596637'
RFF+GN:824374516'
PROD:
NAD+BY+4260493953009::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
NAD+IV+4260493953009::9++EURELEC Trading SCRL+Floor 6 - Rue Guimard 10+Bruxelles++1040+BE'
RFF+VA:PT980596637'
RFF+GN:824374516'
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.
C504 | CURRENCY DETAILS | |
---|---|---|
6347 | Currency details qualifier | an1..3 |
6345 | Currency, coded | an1..3 |
6343 | Currency qualifier | an1..3 |
6348 | Currency rate base | n1..4 |
C504 | CURRENCY DETAILS | |
6347 | Currency details qualifier | an1..3 |
6345 | Currency, coded | an1..3 |
6343 | Currency qualifier | an1..3 |
6348 | Currency rate base | n1..4 |
5402 | RATE OF EXCHANGE | n1..12 |
6341 | CURRENCY MARKET EXCHANGE, CODED | an1..3 |
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.
Segment | Meaning |
---|---|
RFF+AAK | Dispatch Advice Number |
RFF+DQ | Delivery note number |
C506 | REFERENCE | |
---|---|---|
1153 | Reference qualifier | an1..3 |
1154 | Reference number | an1..35 |
1156 | Line number | an1..6 |
4000 | Reference version number | n1..35 |
RFF+AAK:20BA829528'
RFF+DQ:987654321'
At least one of the three dates must be found in the invoice.
DATE/TIME/PERIOD (DTM):
C507 | DATE/TIME/PERIOD | |
---|---|---|
2005 | Date or time or period function code qualifier | an1..3 |
2380 | Date or time or period value | an1..35 |
4441 | Date or time or period format code | an1..3 |
DTM+11:20210828:102'
DTM+35:20210828:102'
DTM+200:20210828:102'
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.
4451 | TEXT SUBJECT CODE QUALIFIER | an1..3 |
---|---|---|
4451 | FREE TEXT FUNCTION CODE | an1..3 |
C107 | TEXT REFERENCE | |
4441 | Free text value code | an1..17 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | n1..3 |
C108 | TEXT LITERAL | |
4440 | Free text value | an1..512 |
4440 | Free text value | an1..512 |
4440 | Free text value | an1..512 |
4440 | Free text value | an1..512 |
4440 | Free text value | an1..512 |
3453 | LANGUAGE NAME CODE | n1..3 |
4447 | FREE TEXT FORMAT CODE | an1..3 |
FTX+SIN+++1'
The field "Party name" is empty in segment NAD+SE.
One or more field are missing or empty for address part in segment NAD+SE.
The field "Party identifier"(GLN) is empty in segment NAD+SE.
3035 | PARTY FUNCTION CODE QUALIFIER | an1..3 |
---|---|---|
C082 | PARTY IDENTIFICATION DETAILS | |
3039 | Party identifier | an1..35 |
1131 | Code list identification code | an1..17 |
3055 | Code list responsible agency code | an1..3 |
C058 | NAME AND ADDRESS | |
3124 | Name and address description | an1..35 |
3124 | Name and address description | an1..35 |
3124 | Name and address description | an1..35 |
3124 | Name and address description | an1..35 |
3124 | Name and address description | an1..35 |
C080 | PARTY NAME | |
3036 | Party name | an1..35 |
3036 | Party name | an1..35 |
3036 | Party name | an1..35 |
3036 | Party name | an1..35 |
3036 | Party name | an1..35 |
3045 | Party name format code | an1..3 |
C059 | STREET | |
3042 | Street and number or post office box identifier | an1..35 |
3042 | Street and number or post office box identifier | an1..35 |
3042 | Street and number or post office box identifier | an1..35 |
3042 | Street and number or post office box identifier | an1..35 |
3164 | CITY NAME | an1..35 |
C819 | COUNTRY SUB-ENTITY DETAILS | |
3229 | Country sub-entity name code | an1..9 |
1131 | Code list identification code | an1..17 |
3055 | Code list responsible agency code | an1..3 |
3228 | Country sub-entity name | an1..70 |
3251 | POSTAL IDENTIFICATION CODE | an1..17 |
3207 | COUNTRY NAME CODE | an1..3 |
NAD+SE+SELLER_GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME:+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'
Reference (RFF+VA):
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'
The amount of share capital is missing in the segment FTX+REG.
The legal structure is missing in the segment FTX+REG.
The trading name is missing in the segment FTX+REG.
Free Text (FTX):
Missing or the duplicate of segment FTX+REG will lead to an error.
FTX+**REG**+++Seller trading name+Seller legal structure+Seller amount of share capital'
"Eurelec" was not found in the segment NAD_IV party name.
One or more field are missing or empty for address part in segment NAD+IV.
Invocee GLN is different to buyer GLN.
Name and address (NAD):
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'
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 .
NAD+DP+GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'
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'
If the document type is a correcting invoice, the currency use must be PLN.
Currency (CUX):
CUX+2:**PLN**:4'
The Bio certificate has not been found in the FTX+SUR segment (Supplier remarks).
Free Text (FTX):
FTX+SUR+++?*?*?* Produit issu de l'agriculture Biologique - distribution certifiee:par ####'
The Eurelec VAT is incorrect in the segment RFF+VA of NAD+IV.
Reference (RFF+VA):
NAD+IV+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
RFF+VA:FR17824374516'
The Eurelec VAT is missing in the segment RFF+VA of NAD+IV.
Reference (RFF+VA):
NAD+IV+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
RFF+VA:FR17824374516'
The format of the date received is not "yyyy-MM-dd" or the date received is just not valid.
One or more field are missing or empty for address part in segment NAD+DP.
Name and address (NAD)
NAD+DP+DELIVERY_GLN::9++PARTY_NAME:PARTY_NAME:PARTY_NAME:+STREET_&_NUMBER:STREET_&_NUMBER:+CITY_NAME++ZIP_CODE+COUNTRY_CODE'
The reference of the order is missing
The reference of the order is missing
RFF+ON:PURCHASE_ORDER_REF'
An invoice/credit note with this reference has already been treated with success.
BGM+380+INVOICE_REF+9'
The invoice/credit note Eurelec "payer" and/or "buyer" address country-code value should be "BE"
NAD+BY+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
NAD+IV+EURELEC_GLN::9++EURELEC TRADING SCRL+FLOOR 6 - RUE GUIMARD 10+BRUXELLES++1040+BE'
The Order Reference has a number of digits that does not fit with the account configuration.
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.
An invoice/credit note with this reference has already been treated with success for this supplier with it's older gln (if configured).
BGM+380+INVOICE_REF+9'
There is no line amount in the message for the tax rate
C516 | MONETARY AMOUNT | |
---|---|---|
5025 | Monetary amount type code qualifier | an1..3 |
5004 | Monetary amount | n..35 |
6345 | Currency identification code | an1..3 |
6343 | Currency type code qualifier | an1..3 |
4405 | Status description code | an1..3 |
MOA+55:150.84'
There is no amount found in any line in the edifact.
Monetary amount (MOA)
MOA+203:150.84'
The EAN found in LIN segment is invalid.
1082 | LINE ITEM IDENTIFIER | an1..6 |
---|---|---|
1229 | ACTION REQUEST/NOTIFICATION DESCRIPTION CODE | an1..3 |
C212 | ITEM NUMBER IDENTIFICATION | |
7140 | Item identifier | an1..35 |
7143 | Item type identification code | an1..3 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | an1..3 |
C829 | SUB-LINE INFORMATION | |
5495 | Sub-line indicator code | an1..3 |
1082 | Line item identifier | an1..6 |
1222 | CONFIGURATION LEVEL NUMBER | an1..2 |
7083 | CONFIGURATION OPERATION CODE | an1..3 |
LIN+10++EAN_CODE_10:EN'
Gross price (PRI+AAB) is mandatory if there are any allowance/charge on lines.
C516 | PRICE INFORMATION | |
---|---|---|
5125 | Price code qualifier | an1..3 |
5118 | Price amount | an1..15 |
5375 | Price type code | an1..3 |
5387 | Price specification code | an1..3 |
5284 | Unit price basis value | n1..9 |
6411 | Measurement unit code | an1..3 |
5213 | SUB-LINE ITEM PRICE CHANGE OPERATION CODE | an1..3 |
PRI+AAB:4.477:::1:PCE
Net price (PRI+AAA) is mandatory.
Price details (PRI)
PRI+AAA:2.514:::1:PCE'
If the document is a correcting invoice, the 3 QTY+2 must be in the message.
C516 | QUANTITY DETAILS | |
---|---|---|
6063 | Quantity type code qualifier | an1..3 |
6060 | Quantity | an1..35 |
6411 | Measurement unit code | an1..3 |
QTY+2X:828:PCE'
QTY+2Y:228:PCE'
QTY+2:-600:PCE'
If the document is a correcting invoice, the equation below must be respected.
Quantity (QTY)
QTY+2X:828:PCE'
QTY+2Y:228:PCE'
QTY+2:-600:PCE'
If the document is a correcting invoice, the 3 MOA+66 must be in the message.
Monetary amount (MOA)
MOA+66X:8404.20:PLN'
MOA+66Y:2314.20:PLN'
MOA+66:-6090.00:PLN'
If the document is a correcting invoice, the equation below must be respected.
Monetary amount (MOA)
MOA+66X:8404.20:PLN'
MOA+66Y:2314.20:PLN'
MOA+66:-6090.00:PLN'
If the document is a correcting invoice, the 3 PRI+AA must be in the message.
Price details (PRI)
PRI+AAX:10.15'
PRI+AAY:10.15'
PRI+AAA:0.00'
If the document is a correcting invoice, the equation below must be respected.
Price details (PRI)
PRI+AAX:10.15'
PRI+AAY:10.15'
PRI+AAA:0.00'
If the document is a correcting invoice, Tax Amount 'Should Be' (TAX+7+VAT+++Y) must be in the message.
5283 | PARTY FUNCTION CODE QUALIFIER | an1..3 |
---|---|---|
C241 | DUTY/TAX/FEE TYPE | |
5153 | Duty or tax or fee type name code | an1..3 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | an1..3 |
5152 | Duty or tax or fee type name | an1..35 |
C058 | DUTY/TAX/FEE ACCOUNT DETAIL | |
5289 | Duty or tax or fee account code | an1..6 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | an1..3 |
5286 | DUTY OR TAX OR FEE ASSESSMENT BASIS VALUE | an1..15 |
C243 | DUTY/TAX/FEE DETAIL | |
5279 | Duty or tax or fee rate description code | an1..7 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | an1..3 |
5278 | Duty or tax or fee rate description | an1..17 |
5273 | Duty or tax or fee rate basis code | an1..12 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | an1..3 |
5305 | DUTY OR TAX OR FEE CATEGORY CODE | an1..3 |
3466 | PARTY TAX IDENTIFIER | an1..20 |
1227 | CALCULATION SEQUENCE CODE | an1..3 |
TAX+7+VAT+++Y:::23+S'
The equation below must be respected.
Monetary amount (MOA)
MOA+55X:1932.97'
MOA+55Y:532.27'
MOA+55:-1400.70'
Tax rate (TAX+7) is mandatory in the message.
Duty/Tax/Fee (TAX)
TAX+7+VAT+++Y:::23+S'
Line segment (LIN) is mandatory in the message.
Line Item (LIN):
LIN+20++EAN_CODE_20:EN'
Various VAT rates and different price and/or quantities of the same line are forbidden.
Line Item (LIN), Duty/Tax/Fee (TAX), Price details (PRI) and Quantity (QTY)
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'
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.
Price details (PRI)
PRI+AAA:2.514:::1:PCE'
The recalculated unit price is bigger than the unit price (PRI+AAA).
=> PRI+AAA <= MOA+203 / QTY+47
Price details (PRI), Monetary amount (MOA) and Quantity (QTY)
QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'
In an invoice, the line amount (MOA+203) can't be bigger than the calculatedLineAmount.
Price details (PRI), Monetary amount (MOA) and Quantity (QTY)
QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'
In a credit note, the line amount (MOA+203) can't be smaller than the calculatedLineAmount.
Price details (PRI), Monetary amount (MOA) and Quantity (QTY)
QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'
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
Price details (PRI), Monetary amount (MOA) and Quantity (QTY)
QTY+47:60:PCE'
QTY+52:4:PCE'
MOA+203:150.84'
PRI+AAA:2.514:::1:PCE'
PRI+AAB:4.477:::1:PCE'
The invoiced quantities (QTY+47) can't be equal to 0.
Quantity (QTY)
QTY+47:60:PCE'
If the unit price (PRI+AAA) equals 0, then the total invoice line (MOA+203) must be 0.
Price details (PRI) and Monetary amount (MOA)
MOA+203:0.00'
PRI+AAA:0.00:::1:PCE'
PRI+AAB:00.0:::1:PCE'
A mix between total amount negative lines and total amount positive lines are forbidden.
Price details (PRI)
MOA+203:150.84'
The EAN code is mandatory in lines.
Line Item (LIN)
LIN+10++EAN_CODE_10:EN'
Total line gross amount ( MOA+203) is mandatory for all lines.
Monetary amount (MOA)
MOA+203:150.84'
The Bio product is not labelled as bio in the IMD segment. The default pattern is:
Item Description (IMD)
7077 | DESCRIPTION FORMAT CODE | an1..3 |
---|---|---|
C272 | ITEM CHARACTERISTIC | |
7081 | Item characteristic code | an1..3 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | an1..3 |
C273 | ITEM DESCRIPTION | |
7009 | Item description code | an1..17 |
1131 | Code list identification code | an1..3 |
3055 | Code list responsible agency code | an1..3 |
7008 | Item description | an1..256 |
7008 | Item description | an1..256 |
3453 | Language name code | an..3 |
7383 | SURFACE OR LAYER CODE | an1..3 |
LIN+10++8715700407760:EN'
PIA+1+76009084:SA'
PIA+1+00:PV'
IMD+E+ANM+:::ITEM_DESCRIPTION_10 BIO '
In an invoice, the line amount (MOA+203) can't differ from the calculatedLineAmount.
The calculation for this check is the following :
xxxxxxxxxx
- if: (unitPrice * quantity).round(2) differs from totalLineGrossAmount
- then: we throw an error [L31] for the line.
NOTE: You have to comply with this check depending on your region. This is now the case for Portugal.
In an invoice, the line amount (MOA+203) has to contain striclty 2 decimals.
There is at least one missing tax amount for a tax rate found in lines.
Monetary amount (MOA)
TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'
There is at least one tax rate mentioned in summary but not in lines.
Duty/Tax/Fee (TAX)
TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'
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')
Monetary amount (MOA)
TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'
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 )
Monetary amount (MOA)
CNT+2:5'
MOA+124:100.26'
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 )
Monetary amount (MOA) and Duty/Tax/Fee (TAX)
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'
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)
Monetary amount (MOA) and Duty/Tax/Fee (TAX)
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'
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
Monetary amount (MOA)
MOA+124:100.26'
MOA+125:722.12'
MOA+128:822.38'
A total amount due ( MOA+128 ) can't be equal 0.
Monetary amount (MOA)
MOA+128:822.38'
The difference between total taxable amount (for the tax rate) * tax rate must be equal to the total amount taxes for the tax rate.
Monetary amount (MOA) and Duty/Tax/Fee (TAX)
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'
The tax rate use for VAT is not allowed or is missing (mandatory field).
Duty/Tax/Fee (TAX)
TAX+7+VAT++331.52+:::5.50'
MOA+124:18.23'
TAX+7+VAT++390.6+:::21'
MOA+124:82.03'
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.
Monetary amount (MOA)
MOA+56X:33748.20'
MOA+56Y:2314.20'
MOA+125:-31434.00'
MOA+79X:33748.20'
MOA+79Y:2314.20'
MOA+79:-31434.00'
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.
Monetary amount (MOA)
MOA+55X:7762.09'
MOA+55Y:532.27'
MOA+124:-7229.82'
If the document is a correcting invoice, the 3 MOA+77 (Total Amount Due) must be in the message.
Monetary amount (MOA)
MOA+77X:41510.29'
MOA+77Y:2846.47'
MOA+77:-38663.82'
The equation below must be respected.
Monetary amount (MOA)
MOA+56X:33748.20'
MOA+56Y:2314.20'
MOA+125:-31434.00'
MOA+79X:33748.20'
MOA+79Y:2314.20'
MOA+79:-31434.00'
The equation below must be respected.
Monetary amount (MOA)
MOA+77X:41510.29'
MOA+77Y:2846.47'
MOA+77:-38663.82'
The equation below must be respected.
Monetary amount (MOA)
MOA+55X:7762.09'
MOA+55Y:532.27'
MOA+124:-7229.82'
The equation below must be respected.
Monetary amount (MOA)
MOA+55X:7762.09'
MOA+55Y:532.27'
MOA+124:-7229.82'
The equation below must be respected.
Monetary amount (MOA) and Duty/Tax/Fee (TAX)
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'
If the document is a correcting invoice, the 3 MOA+79 (Total Taxable Amount ) must be in the message.
Monetary amount (MOA) and Duty/Tax/Fee (TAX)
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'
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.
Monetary amount (MOA) and Duty/Tax/Fee (TAX)
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'