All rules · tdd-ae · error

ibr-tdd-45

The seller's tax scheme has no identifier (cac:TaxScheme/cbc:ID).

Draft — not yet reviewed

Why this rule exists

The scheme ID says which kind of registration the CompanyID is. VAT identifies a VAT registration.

Why it usually happens

How to fix it

Set cac:TaxScheme/cbc:ID, normally to VAT.

Right
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>

The official rule

[IBR-TDD-45] The cac:TaxScheme/cbc:ID element MUST be present in cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme. A value of VAT identifies the associated cbc:CompanyID as IBT-031 (Seller VAT identifier); any other value identifies it as IBT-032 (Seller tax registration identifier)

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

exists(cac:TaxScheme/cbc:ID)

Applied to nodes matching /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme

Rule-pack versions

Rule-packLayerSeverityApplies to
tdd-ae-1.0.4tdd-aeerrortax-reporting/taxdata
tdd-ae-1.0.3tdd-aeerrortax-reporting/taxdata

Related rules

ibr-tdd-44

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator