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
- An empty cac:TaxScheme element
How to fix it
Set cac:TaxScheme/cbc:ID, normally to VAT.
<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-pack | Layer | Severity | Applies to |
|---|---|---|---|
| tdd-ae-1.0.4 | tdd-ae | error | tax-reporting/taxdata |
| tdd-ae-1.0.3 | tdd-ae | error | tax-reporting/taxdata |
Related rules
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