All rules · tdd-ae · error
ibr-tdd-21
The reporter's representative ID scheme (tdt-009-1) must be 0242 (SPIS).
Draft — not yet reviewed
Why this rule exists
Representatives are identified in the SPIS registry, scheme 0242.
Why it usually happens
- Using a GLN (0088) or the reporter TIN scheme (0235) for the representative
How to fix it
Identify the representative by its SPIS ID, with schemeID 0242.
Wrong
<cbc:ID schemeID="0088">000000</cbc:ID>
Right
<cbc:ID schemeID="0242">000000</cbc:ID>
The official rule
Reporters Representative ID Scheme identifier (tdt-009-1), if present, MUST refer to an SPIS (0242)
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
not(exists(cbc:ID/@schemeID)) or (cbc:ID/@schemeID = '0242')
Applied to nodes matching /pxs:TaxData/pxs:ReportersRepresentative/cac:PartyIdentification
Rule-pack versions
This rule changed between versions. If your invoices passed under an older pack and now fail, this is why.
| 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