Skip to content
einvoicing.dev

Rules/UBL 2.1 schema/Error

XSD

einvoicing.dev

The document does not match the UBL 2.1 schema.

Written by einvoicing.dev

In plain English

The structure is wrong: an element is missing, misplaced or misspelled, or a value has the wrong type. Until the document matches the schema, the business rules cannot be checked, so fixing this may reveal more findings. The finding's message and line number say where.

How to fix it

UBL is strict about element order. Compare the element named in the message with the order in the UBL 2.1 schema, or let POST /v1/conversions write the XML for you.

Check an invoice against every rule

One request returns each rule a document breaks, with this explanation and the fix.

All 1,103 rules

The full Peppol BIS Billing 3.0.21 rulebook, filterable.