errorbusinessEN 16931

UBL-SR-12:Seller VAT identifier shall occur maximum once

Fix: Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (UBL-SR-12). Upload your invoice to fix this automatically.

Your invoice contains multiple Seller VAT identifiers (PartyTaxScheme with VAT scheme). EN16931 allows only one VAT identifier per seller.

Severity
Fatal
Rule set
EN 16931
Country
All EU
Fix type
AUTO-FIX
Confidence
90%
Category
structural

Engine Classification

Remove duplicate seller VAT identifiers, keeping the first occurrence

Confidence: 90% · Applied automatically in pipeline

What is UBL-SR-12?

UBL-SR-12 is a fatal validation rule defined in the EN 16931 specification. It validates the CompanyID element under PartyTaxScheme[cac:TaxScheme > ID='VAT'] in the UBL invoice XML.

When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.

Target path: /Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID

Why This Error Matters

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

UBL-SR-12 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.

Validator Behavior

  • ·Causes invoice rejection
  • ·Error returned: UBL-SR-12
  • ·Specification: EN 16931

How to Fix It

1.

Locate the duplicate entries

Search for multiple cbc:CompanyID elements at /Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID. Only one instance is allowed per the specification.

2.

Remove the duplicates

Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (UBL-SR-12).

3.

Re-validate your invoice

Upload the corrected invoice to confirm UBL-SR-12 is resolved.

Before / After

Failing XML
<Invoice>
  <!-- Issue: Seller VAT identifier shall occur maximum once. -->
</Invoice>
Corrected XML
<Invoice>
  <!-- Issue resolved per EN 16931 -->
</Invoice>

Technical Reference

XPath/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID
SpecEN 16931
Operationremove_duplicates
StrategyRemove duplicate seller VAT identifiers, keeping the first occurrence

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

Seeing this in production? The API handles UBL-SR-12 automatically. See the fix response →

Frequently Asked Questions

Your invoice contains multiple Seller VAT identifiers (PartyTaxScheme with VAT scheme). EN16931 allows only one VAT identifier per seller.

Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (UBL-SR-12). You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

Yes, UBL-SR-12 is a critical error that will cause invoice rejection. It must be fixed before submission.

Many instances of UBL-SR-12 can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.

Related Content

Last updated: 14 April 2026

Share this guide:

Validate your invoice

Drop your XML here to check for UBL-SR-12

Auto-fix UBL-SR-12 in seconds

Upload your invoice and we fix this error automatically. Financial fields are never touched.