errorubl-2.1

UBL-SR-05:ID elements must be unique

ID elements within scope must have unique values.

We can fix this automatically

AUTO-FIX

Auto-fix: Keep the first occurrence and remove duplicate elements. EN16931 requires exactly one of this element.

No manual changes needed
Upload and Fix Now

Why This Error Matters

Invoice will be rejected by EN16931 validators. These structural constraints ensure consistent processing by receiving systems.

How to Fix It

1

Check line IDs

InvoiceLine/ID must be unique

2

Check other IDs

AllowanceCharge, TaxSubtotal, etc.

Technical Details

XPath: //cbc:ID within parent context

Common Causes

  • ERP system exports multiple references where only one is allowed in EN16931
  • Data consolidation merged records that should have been deduplicated
  • Template or mapping incorrectly configured to output duplicate elements
  • Manual editing introduced extra elements
  • Invoice conversion from another format did not merge duplicate entries

Frequently Asked Questions

ID elements within scope must have unique values.
Ensure each ID value is unique within its context. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
Yes, UBL-SR-05 is a critical error that will cause invoice rejection. It must be fixed before submission.

Related Errors

Last updated: 16 January 2026

Share this guide: