Faktura

UBL-SR-53

fatalEN 16931syntax binding ruleUBL

CompanyID (VAT Identifier) must be stated when providing the PartyTaxScheme/TaxScheme/ID.

Why it fails

A PartyTaxScheme is present without its CompanyID, so a tax scheme is declared with no number in it.

How to fix it

Add the identifier in PartyTaxScheme/cbc:CompanyID — the VAT number when TaxScheme/ID is VAT — or remove the PartyTaxScheme group.

What the validator checks

UBL — context cac:PartyTaxScheme

exists(cac:TaxScheme/cbc:ID) and exists(cbc:CompanyID)

Related rules

Part of UBL-SR — UBL cardinality.

Validate an invoice against this rule →