All rules · tdd-ae · error
ibr-tdd-44
The seller's tax registration number (cbc:CompanyID) is missing from its tax scheme.
Draft — not yet reviewed
Why this rule exists
The TRN is how the authority attributes the reported tax to the seller. It is the single most important value in the report.
Why it usually happens
- The TRN is held on the invoice under a different element and not mapped across
How to fix it
Put the seller's TRN in cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID.
<cac:PartyTaxScheme> <cbc:CompanyID>198765432102003</cbc:CompanyID> <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme> </cac:PartyTaxScheme>
The official rule
[IBR-TDD-44] The cbc:CompanyID element MUST be present in cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme. Depending on the value of cac:TaxScheme/cbc:ID, this element represents either the Seller VAT identifier (IBT-031) when the tax scheme code is VAT, or the Seller tax registration identifier (IBT-032) for any other tax scheme code
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
exists(cbc:CompanyID)
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