All rules · tdd-ae · error
ibr-tdd-17
The receiver's endpoint scheme (tdt-008-1) must be 0242 (SPIS). From TDD 1.0.4 the attribute is also required to be present; earlier versions only checked its value when it was there.
Draft — not yet reviewed
Why this rule exists
The tax authority is addressed through the SPIS scheme, 0242. A report addressed with any other scheme is addressed to someone else.
Why it usually happens
- Reusing the sender's scheme (0235) for the receiver
- Omitting the attribute, which 1.0.3 tolerated and 1.0.4 does not
How to fix it
Always emit schemeID="0242" on pxs:ReceivingParty/cbc:EndpointID.
<cbc:EndpointID schemeID="0235">000773</cbc:EndpointID>
<cbc:EndpointID schemeID="0242">000773</cbc:EndpointID>
The official rule
Receivers Endpoint Scheme identifier (tdt-008-1) MUST be present and 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
exists(cbc:EndpointID/@schemeID) and normalize-space(cbc:EndpointID/@schemeID) = '0242'
Applied to nodes matching /pxs:TaxData/pxs:ReceivingParty
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