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

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-packLayerSeverityApplies to
tdd-ae-1.0.4tdd-aeerrortax-reporting/taxdata
tdd-ae-1.0.3tdd-aeerrortax-reporting/taxdata

Related rules

ibr-tdd-26

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-03 — The TDD header must not have a cbc:ID. The invoice number g… · PINT Probe