E-Invoice Error Reference

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

24 errors found in Syntax Errors

errorUBL-SR-01ubl-2.1CONFIRM

UBL namespace declaration required

UBL documents must declare correct namespace.

errorUBL-SR-02ubl-2.1CONFIRM

CAC/CBC namespace declarations required

UBL requires Common Aggregate and Basic Component namespaces.

errorCII-SR-02cii-d16bBLOCKED

CII GuidelineSpecifiedDocumentContextParameter required

CII must specify guideline identifier.

warningUBL-SR-04ubl-2.1CONFIRM

Empty elements should be removed

UBL elements with no content should be omitted.

errorCII-SR-03cii-d16bBLOCKED

ExchangedDocument element required

CII must have ExchangedDocument with ID and TypeCode.

errorXML-002ubl-2.1BLOCKED

Malformed XML structure

XML document is not well-formed.

errorXML-004ubl-2.1BLOCKED

Invalid XML characters

Document contains invalid XML characters.

errorUBL-SR-05ubl-2.1CONFIRM

ID elements must be unique

ID elements within scope must have unique values.

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.

errorUBL-SR-09ubl-2.1CONFIRM

Invalid boolean value

Boolean elements must be true or false.

warningXML-003ubl-2.1BLOCKED

XML encoding declaration recommended

XML should declare character encoding.

errorXML-005ubl-2.1BLOCKED

XML schema validation failed

Document does not conform to XSD schema.

errorXML-006en16931BLOCKED

Schematron validation failed

Document failed business rule validation.

errorCII-SR-01cii-d16bAUTO-FIX

CII namespace declaration required

Cross Industry Invoice must declare RSM namespace.

errorCII-SR-001cii-d16bBLOCKED

Invalid CII namespace

CII (Cross Industry Invoice) documents must use the correct namespace declaration.

errorCII-SR-002cii-d16bBLOCKED

Missing ExchangedDocument context

CII documents must include the ExchangedDocumentContext header.

errorcvc-complex-type.2.4.axsdBLOCKED

Invoice XML structure does not match the required schema

Your invoice file has a structural problem — required data elements are missing, in the wrong position, or unexpected elements are present. This is an XML Schema validation error, which means the basic structure of the file does not conform to the e-invoicing standard (UBL 2.1 or CII D16B). This is different from a business rule error: business rules check whether the data makes sense, while this error means the file format itself is wrong.

errorUBL-SR-03ubl-2.1CONFIRM

UBL element order incorrect

UBL elements must follow schema-defined order.

errorUBL-SR-10ubl-2.1CONFIRM

Invalid decimal format

Decimal numbers must use period as separator.

errorUBL-CR-002ubl-2.1AUTO-FIX

Invalid or Missing Namespace

The UBL invoice must use the correct XML namespaces for UBL 2.1.

errorCII-SR-003cii-d16bINPUT

Invalid document type code

CII TypeCode must be valid UNTDID 1001 code (380=Invoice, 381=Credit Note).

errorCII-SR-04cii-d16bBLOCKED

SupplyChainTradeTransaction required

CII must have main trade transaction element.

errorCII-SR-05cii-d16bBLOCKED

ApplicableHeaderTradeAgreement required

CII must specify seller and buyer.

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