errorubl-2.1

UBL-CR-010:Elements in wrong order

UBL elements must appear in the order defined by the schema.

We can fix this automatically

AUTO-FIX

Auto-fix: Remove the disallowed element from the invoice XML. No data loss occurs because EN16931 explicitly prohibits this element.

No manual changes needed
Upload and Fix Now

Why This Error Matters

Invoice will be rejected by PEPPOL/EN16931 validators. Safe to remove - this element is explicitly prohibited and contains no required business data.

How to Fix It

1

Check order

UBL has strict element ordering

2

Header order

ID, IssueDate, DueDate, InvoiceTypeCode, etc.

3

Use validator

Schema validator will show first wrong element

Code Example

<!-- UBL Invoice header order -->
<Invoice>
  <cbc:UBLVersionID>2.1</cbc:UBLVersionID>
  <cbc:CustomizationID>...</cbc:CustomizationID>
  <cbc:ProfileID>...</cbc:ProfileID>
  <cbc:ID>INV-001</cbc:ID>
  <cbc:IssueDate>2024-12-19</cbc:IssueDate>
  <!-- etc. in correct order -->
</Invoice>

Technical Details

XPath: Various document sections

Common Causes

  • Source ERP exports full UBL 2.1 instead of EN16931 subset
  • Generic UBL template includes optional elements not needed for e-invoicing
  • Conversion from another format added unsupported elements
  • Manual XML editing introduced non-standard elements
  • Invoice software not configured for EN16931 compliance

Commonly Seen In

Custom invoice generators

Frequently Asked Questions

UBL elements must appear in the order defined by the schema.
Reorder elements according to UBL schema. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
Yes, UBL-CR-010 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted by the recipient's system.
Many instances of UBL-CR-010 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues, including elements in wrong order.
UBL-CR-010 is commonly seen in exports from Custom invoice generators. These software packages sometimes generate invoices that need adjustment to meet full compliance standards.

Related Errors

Last updated: 16 January 2026

Share this guide: