errorformatEN16931

UBL-SR-53:CompanyID (VAT Identifier) must be stated when providing the PartyTaxScheme/TaxScheme/ID.

Fix: Missing VAT ID with tax scheme. When providing TaxScheme/ID, the CompanyID (VAT identifier) must also be provided.

Missing VAT ID with tax scheme. When providing TaxScheme/ID, the CompanyID (VAT identifier) must also be provided.

Severity
Fatal
Rule set
EN16931
Country
All EU
Fix type
CONFIRM
Confidence
85%
Category
structural

Engine Classification

Requires user confirmation before application

What is UBL-SR-53?

UBL-SR-53 is a fatal validation rule defined in the EN16931 specification. It validates the CompanyID element in the UBL invoice XML.

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

Target path: //cac:PartyTaxScheme/cbc:CompanyID

Why This Error Matters

Invoice will be rejected by EN16931 validators. These structural rules enforce cardinality and conditional requirements. Fix the duplicate element or provide the required companion element.

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

Validator Behavior

  • ·Causes invoice rejection
  • ·Fails EN 16931 business rule validation
  • ·Error returned: UBL-SR-53
  • ·Specification: EN16931

How to Fix It

1.

Find the missing or empty field

Check cbc:CompanyID at //cac:PartyTaxScheme/cbc:CompanyID. This field is required but is either missing or empty.

2.

Set the required value

Missing VAT ID with tax scheme. When providing TaxScheme/ID, the CompanyID (VAT identifier) must also be provided.

3.

Re-validate your invoice

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

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Missing or empty element triggers cbc:CompanyID error -->
<cbc:CompanyID></cbc:CompanyID>
After
<!-- Provide the required value -->
<cbc:CompanyID>VALID_VALUE</cbc:CompanyID>

Technical Reference

XPath//cac:PartyTaxScheme/cbc:CompanyID
SpecEN16931
Operationset_default
StrategyEnsure CompanyID is present when TaxScheme/ID exists in PartyTaxScheme

Common Causes

  • ·TaxScheme ID present but CompanyID missing
  • ·cbc:CompanyID required when cac:TaxScheme provided
  • ·VAT scheme specified without VAT identifier
  • ·PartyTaxScheme structure incomplete
  • ·Tax scheme element present but no VAT number

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

Frequently Asked Questions

Missing VAT ID with tax scheme. When providing TaxScheme/ID, the CompanyID (VAT identifier) must also be provided.

Missing VAT ID with tax scheme. When providing TaxScheme/ID, the CompanyID (VAT identifier) must also be provided. You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

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

Many instances of UBL-SR-53 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-53

Fix UBL-SR-53 with one click

Upload your invoice and we'll suggest a fix for your review before applying it.