All rules · tdd-ae · error
ibr-tdd-04
The TDD issue date (tdt-004) must be a plain date (YYYY-MM-DD) with no timezone. The timezone belongs on the issue time.
Draft — not yet reviewed
Why this rule exists
Date and time are split, and the specification puts the offset on the time only. A date with an offset is ten characters longer than the rule allows and cannot be compared reliably.
Why it usually happens
- Serialising a timezone-aware date type, which appends +04:00 or Z
- Formatting the date from a full timestamp instead of a local date
How to fix it
Format the date as YYYY-MM-DD from a date-only value, and put the offset on cbc:IssueTime instead.
<cbc:IssueDate>2026-02-06+04:00</cbc:IssueDate>
<cbc:IssueDate>2026-02-06</cbc:IssueDate>
The official rule
The Tax Data Document issue date (tdt-004) MUST NOT contain timezone information
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
string-length(normalize-space(cbc:IssueDate)) = 10
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