All rules · tdd-ae · error
ibr-tdd-08
The reporter's role (tdt-010) must be 01 or 02.
Draft — not yet reviewed
Why this rule exists
The role is a two-digit code. The authority uses it to tell which side of the transaction is reporting.
Why it usually happens
- Dropping the leading zero (1 instead of 01) by storing the role as a number
How to fix it
Store and emit the role as a two-character string.
Wrong
<pxs:ReporterRole>1</pxs:ReporterRole>
Right
<pxs:ReporterRole>01</pxs:ReporterRole>
The official rule
The Reporters role (tdt-010) () 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($rr, ' ')) and contains($cl_rr, concat(' ', $rr, ' '))Applied to nodes matching /pxs:TaxData
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 |
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