All rules · tdd-ae · error

ibr-tdd-07

The report scope (tdt-011) must be one of D, IP or INP.

Draft — not yet reviewed

Why this rule exists

The scope is a coded value the authority routes and aggregates reports by. Free text cannot be routed.

Why it usually happens

How to fix it

Map your internal scope to exactly one of the codes D, IP or INP.

Right
<pxs:DocumentScope>D</pxs:DocumentScope>

The official rule

The Report scope (tdt-011) () MUST be coded according to the code list

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

not(contains($ds, ' ')) and contains($cl_ds, concat(' ', $ds, ' '))

Applied to nodes matching /pxs:TaxData

Rule-pack versions

Rule-packLayerSeverityApplies to
tdd-ae-1.0.4tdd-aeerrortax-reporting/taxdata
tdd-ae-1.0.3tdd-aeerrortax-reporting/taxdata

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