All rules · tdd-ae · error

ibr-tdd-05

The TDD issue time (tdt-005) must include a timezone: Z for UTC, or an offset such as +04:00.

Draft — not yet reviewed

Why this rule exists

Reports arrive from Access Points in different places and must be ordered on one timeline. A time with no offset is ambiguous by up to a day.

Why it usually happens

How to fix it

Always write the TDD issue time with an offset. UTC with a trailing Z is the simplest.

Wrong
<cbc:IssueTime>08:00:00</cbc:IssueTime>
Right
<cbc:IssueTime>08:00:00+04:00</cbc:IssueTime>

The official rule

The Tax Data Document issue time (tdt-005) MUST 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

matches(normalize-space(cbc:IssueTime), '^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(.\d{1,9})?(?:Z|[+-](?:0\d|1[0-4]):[0-5]\d)$')

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

Related rules

ibr-tdd-04

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-05 — The TDD issue time (tdt-005) must include a timezone: Z for… · PINT Probe