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

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-packLayerSeverityApplies to
tdd-ae-1.0.4tdd-aeerrortax-reporting/taxdata
tdd-ae-1.0.3tdd-aeerrortax-reporting/taxdata

Related rules

ibr-tdd-17 · ibr-tdd-20

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
ibr-tdd-21 — The reporter's representative ID scheme (tdt-009-1) must be… · PINT Probe