All rules · tdd-ae · error
ibr-tdd-03
The TDD header must not have a cbc:ID. The invoice number goes inside the reported document.
Draft — not yet reviewed
Why this rule exists
A TDD is identified by its transport header and the document it reports, not by an ID of its own. An ID in the header is almost always the invoice number in the wrong place.
Why it usually happens
- Writing the invoice number at the top of the TDD rather than inside pxs:ReportedDocument
How to fix it
Remove cbc:ID from the TDD header and make sure the invoice number is in pxs:ReportedDocument/cbc:ID.
The official rule
Only XML elements defined in this specification are allowed to be used
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))
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 |
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