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

How to fix it

Always emit schemeID="0242" on pxs:ReceivingParty/cbc:EndpointID.

Wrong
<cbc:EndpointID schemeID="0235">000773</cbc:EndpointID>
Right
<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

This rule changed between versions. If your invoices passed under an older pack and now fail, this is why.
Rule-packLayerSeverityApplies to
tdd-ae-1.0.4tdd-aeerrortax-reporting/taxdata
tdd-ae-1.0.3tdd-aeerrortax-reporting/taxdata

Related rules

ibr-tdd-16 · ibr-tdd-21

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