Unified error reporting
Mandatory element
XML
Condition:
Invoice issue date is stated on a message.
Error notice:
Line 12: Missing InvoiceDetails/InvoiceDate
EDIFACT
Condition:
Invoice issue date is stated on a message.
Error notice:
Line 12: Missing INVOIC/DTM/C507[e2005="3"]/e2380
Mandatory attribute/qualifier
XML
Condition:
Each amount has an attribute/qualifier specifying a currency as a code.
Error notice:
Line 15: Missing InvoiceDetails/InvoiceTotalVatExcludedAmount/@AmountCurrencyIdentifier
EDIFACT
Condition:
Each amount has an attribute/qualifier specifying a currency as a code.
Error notice:
Line 15: Missing INVOIC/GRP6/MOA/C516/e6345
Length restriction
XML
Condition:
Country is identified using two letter code based on ISO 3166-2 code list, for example: "FI".
Error notice:
Line 22: SellerPartyDetails/SellerPostalAddressDetails/CountryCode="FIN"
EDIFACT
Condition:
Country is identified using two letter code based on ISO 3166-2 code list, for example: "FI".
Error notice:
Line 22: GRP2/NAD[e3035="SE"]/e3207="FIN"
Number of decimals
XML
Condition:
Payable amount is specified with two decimals.
Error notice:
Line 45: EpiDetails/EpiPaymentInstructionDetails/EpiInstructedAmount=3352
EDIFACT
Condition:
Payable amount is specified with two decimals.
Error notice:
Line 45: GRP44/MOA/C516[e5025=9]/e5004=3352
Decimal separator
XML
Condition:
Comma is used as a decimal separator.
Error notice:
Line 45: EpiDetails/EpiPaymentInstructionDetails/EpiInstructedAmount=3352.98
EDIFACT
Condition:
Comma is used as a decimal separator.
Error notice:
Line 45: GRP44/MOA/C516[e5025=9]/e5004=3352.98