E-Invoice Error Reference

1359+ documented errors for Peppol, UBL, CII, and EN16931 validation errors.

1359 errors found · Page 1 of 28

errorcvc-complex-type.2.4.bxsdBLOCKED

Required element is missing from invoice XML

Your invoice is missing a required XML element. The error message from the validator identifies which element is expected and where it should appear. This is an XML Schema (XSD) validation error — the file structure itself is incomplete, which is different from a business rule violation where the structure is correct but values are wrong.

errorcvc-complex-type.4xsdBLOCKED

Required attribute is missing from an invoice element

An XML element in your invoice is missing a required attribute. In Peppol and UBL invoices, this typically means a monetary amount is missing its currencyID attribute, or an identifier is missing its schemeID. The element itself is present, but it lacks required metadata that receiving systems need to process it correctly.

errorcvc-datatype-valid.1.2.1xsdAUTO-FIX

Invoice field value does not match the required data format

A value in your invoice does not match the data format required by the XML Schema. This typically means a number, date, or other value is formatted incorrectly — for example, using a comma instead of a dot for decimals (1.234,56 instead of 1234.56), or a date in DD/MM/YYYY format instead of the required YYYY-MM-DD (ISO 8601).

errorBR-03EN 16931AUTO-FIX

Invoice must have an issue date

Every invoice must contain an issue date indicating when the invoice was created.

errorcvc-complex-type.2.2xsdAUTO-FIX

Invoice XML elements are in the wrong order

The elements in your invoice XML are in the wrong order. UBL 2.1 and CII D16B schemas use strict element ordering (xs:sequence), which means child elements must appear in a specific order. Even if all the right elements are present with correct values, having them in the wrong order causes a schema validation failure.

errorBR-04EN 16931AUTO-FIX

Missing invoice type code

An Invoice shall have an Invoice type code (BT-3). The most common value is 380 for a standard commercial invoice.

errorPEPPOL-EN16931-R102Peppol BIS 3.0AUTO-FIX

Document Reference Only Allowed for Invoice Line Object

PEPPOL-EN16931-R102 fires when a DocumentReference element is used at the wrong level in the invoice. The cac:DocumentReference element can only be used to reference an invoiced object at the line level, not at the document header level.

errorKSEF-440PLksefBLOCKED

KSeF Duplicate Invoice Rejection (HTTP 440)

The KSeF system rejected your invoice because it detected a duplicate submission. KSeF checks the combination of seller NIP, invoice number, and invoice date against all invoices submitted in the last 10 years. If a match is found, the API returns HTTP status 440 and the invoice is not accepted.

warningPEPPOL-COMMON-R052DKPeppol BIS 3.0AUTO-FIX

Danish Chamber of Commerce P-Number Format Invalid

PEPPOL-COMMON-R052 validates that a Danish chamber of commerce production unit number (P-number) is in the correct format. The P-number must consist of exactly 10 digits. This rule fires when a party identifier uses scheme 0198 but the value does not meet the format requirements.

errorUBL-CR-077UBL 2.1AUTO-FIX

A UBL invoice should not include the StatementDocumentReference

Your invoice contains StatementDocumentReference which is not allowed in EN16931 invoices. Statement references are not supported.

errorZUG-XMP-001zugferdBLOCKED

ZUGFeRD/Factur-X PDF Missing or Invalid XMP Metadata

The ZUGFeRD or Factur-X PDF is missing required XMP metadata properties in the fx namespace.

errorBR-18EN 16931INPUT

Invoice line price required

Each invoice line must have a price amount (item net price).

errorZUG-FILENAME-001zugferdBLOCKED

ZUGFeRD/Factur-X Wrong Embedded XML Filename

The embedded XML in your ZUGFeRD/Factur-X PDF has the wrong filename. It must be exactly factur-x.xml since ZUGFeRD 2.1.

errorCII-SR-02cii-d16bBLOCKED

CII GuidelineSpecifiedDocumentContextParameter required

CII must specify guideline identifier.

errorPEPPOL-EN16931-R040EN 16931AUTO-FIX

Discount or surcharge amount doesn't match the calculation

A discount or surcharge amount does not match its base amount multiplied by the percentage. When all three values are provided (amount, base amount, and percentage), they must be consistent: amount = base amount × percentage ÷ 100.

errorPEPPOL-EN16931-R061Peppol BIS 3.0INPUT

Missing direct debit mandate reference

When payment is by direct debit (SEPA or other), the invoice must include the mandate reference number. This is the unique identifier of the agreement that authorizes the seller to collect payment from the buyer's bank account.

errorUBL-CR-470UBL 2.1AUTO-FIX

A UBL invoice should not include the PrepaidPayment

Your invoice contains a PrepaidPayment element which is not allowed in EN16931 invoices. This element must be removed.

errorXML-002ubl-2.1BLOCKED

Malformed XML structure

XML document is not well-formed.

errorUBL-CR-491UBL 2.1AUTO-FIX

A UBL invoice should not include the PricingExchangeRate

Your invoice contains a PricingExchangeRate element which is not allowed in EN16931 invoices. This element must be removed.

errorXML-004ubl-2.1BLOCKED

Invalid XML characters

Document contains invalid XML characters.

errorBR-21EN 16931AUTO-FIX

Missing invoice line identifier

Each Invoice line shall have an Invoice line identifier (BT-126). This is a unique sequential number identifying each line item on the invoice.

errorPT-R-001PRTubl-2.1INPUT

Portuguese NIF required

Portuguese invoices must include NIF (Numero de Identificacao Fiscal).

errorUBL-CR-079UBL 2.1AUTO-FIX

A UBL invoice should not include the OriginatorDocumentReference UUID

Your invoice contains OriginatorDocumentReference/UUID which is not allowed in EN16931 invoices.

errorUBL-SR-06ubl-2.1CONFIRM

Invalid date format

UBL dates must use YYYY-MM-DD format.

errorUBL-SR-08ubl-2.1CONFIRM

Quantity missing unit code

Quantity elements must have unitCode attribute.

errorPT-R-002PRTubl-2.1INPUT

AT document codes required

Portuguese invoices need AT (Autoridade Tributaria) document codes.

errorBR-25EN 16931INPUT

Invoice line item name required

Each Invoice line shall contain the Item name (BT-153). This describes the goods or services being invoiced.

errorUBL-CR-017UBL 2.1AUTO-FIX

A UBL invoice should not include the OrderReference UUID

Your invoice contains OrderReference/UUID which is not allowed in EN16931 invoices.

errorBR-29EN 16931AUTO-FIX

Invoice period end date before start date

The Invoicing Period End Date (BT-74) is before the Start Date (BT-73). The end date must be on or after the start date.

errorBR-32EN 16931AUTO-FIX

Each Document level allowance (BG-20) shall have a Document level allowance...

Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). Check the `cac:AllowanceCharge` element in your invoice XML.

errorBR-33EN 16931AUTO-FIX

Document level allowance reason required

A document level allowance (discount) is missing both a reason text (BT-97) and reason code (BT-98). At least one must be provided to explain why this discount exists.

errorBR-38EN 16931AUTO-FIX

Document level charge reason required

A document level charge is missing both a reason text (BT-104) and reason code (BT-105). At least one must be provided to explain what this charge is for.

errorBR-44EN 16931AUTO-FIX

Invoice line charge reason required

An invoice line charge (BG-28) is missing both a reason text and reason code. At least one must be provided to explain this line surcharge.

errorBR-CO-15EN 16931AUTO-FIX

Tax exclusive amount calculation error

Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).. This applies to the `cbc:TaxInclusiveAmount` element in the invoice XML.

errorUBL-CR-493UBL 2.1AUTO-FIX

A UBL invoice should not include the PaymentAlternativeExchangeRate

Your invoice contains a PaymentAlternativeExchangeRate element which is not allowed in EN16931 invoices. This element must be removed.

errorBR-47EN 16931AUTO-FIX

Line allowance amount required

Line-level AllowanceCharge must include the Amount element.

warningBR-55EN 16931INPUT

Prepayment should reference prepayment invoice

When PrepaidAmount is used, reference the prepayment invoice.

errorUBL-SR-13EN16931CONFIRM

Seller tax registration shall occur maximum once

Your invoice contains multiple Seller tax registration elements (PartyTaxScheme). EN16931 allows maximum one tax registration per seller.

errorBR-62EN 16931AUTO-FIX

The Seller electronic address (BT-34) shall have a Scheme identifier.

The Seller Electronic Address (BT-34) is missing its Scheme Identifier. What type of address is this (PEPPOL ID, GLN, email)?

errorBR-64EN 16931AUTO-FIX

Item standard identifier needs scheme

If item has standard identifier, scheme must be specified.

errorBR-65EN 16931AUTO-FIX

Buyer item identifier should be unique

The Item classification identifier (BT-158) shall have a Scheme identifier.

errorBR-DEC-03en16931BLOCKED

Document charge: max 2 decimals

Document level charge amount allows max 2 decimal places.

errorBR-66EN 16931AUTO-FIX

An Invoice shall contain maximum one Payment Card account (BG-18).

The invoice contains multiple Payment Card accounts (BG-18). Only one card payment method is allowed per invoice.

errorBR-67EN 16931AUTO-FIX

An Invoice shall contain maximum one Payment Mandate (BG-19).

The invoice contains multiple Payment Mandates (BG-19). Only one direct debit mandate is allowed per invoice.

errorUBL-CR-015UBL 2.1AUTO-FIX

A UBL invoice should not include the InvoicePeriod Description

Your invoice contains InvoicePeriod/Description which is not allowed. Use DescriptionCode instead.

errorBR-AE-06EN 16931AUTO-FIX

Document level allowance with reverse charge must have 0% VAT rate

When a document level allowance uses the reverse charge VAT category, the VAT rate must be 0%. Allowances in reverse charge scenarios follow the same zero-rate rule.

errorUBL-SR-27EN16931AUTO-FIX

Payment means text shall occur maximum once

Your invoice contains multiple Payment means text elements (PaymentMeans/InstructionNote). EN16931 allows only one instruction note.

errorUBL-SR-28EN16931AUTO-FIX

Mandate reference identifier shall occur maximum once

Your invoice contains multiple Mandate reference identifiers (PaymentMandate/ID). EN16931 allows only one direct debit mandate reference.

errorBR-AG-06EN 16931AUTO-FIX

IPSI document level allowance VAT rate must be 0% or positive

When a document level allowance uses the IPSI VAT category (M for Ceuta/Melilla indirect tax), the VAT rate must be 0 or greater than zero.

errorUBL-CR-353UBL 2.1AUTO-FIX

A UBL invoice should not include the Delivery DeliveryLocation CountrySubentity

Your invoice contains a DeliveryLocation CountrySubentity element which is not allowed in EN16931 invoices. This element must be removed.

Handle These Errors Automatically in Your Pipeline

The compliance engine auto-remediates validation errors with controlled safety policies and evidence pack generation.

Get API Access