All rules · tdd-ae · error
ibr-tdd-02
The TDD's business process type (ProfileID) must be exactly urn:peppol:taxreporting.
Draft — not yet reviewed
Why this rule exists
A TDD is always a tax report, whatever process the invoice it reports belonged to.
Why it usually happens
- Copying the invoice's ProfileID (urn:peppol:bis:billing) into the TDD header
How to fix it
Use urn:peppol:taxreporting in the TDD header. The invoice ProfileID belongs inside pxs:ReportedDocument.
Wrong
<cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID>
Right
<cbc:ProfileID>urn:peppol:taxreporting</cbc:ProfileID>
The official rule
The Business process type (tdt-002) MUST use the value 'urn:peppol:taxreporting'
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
normalize-space(cbc:ProfileID) = 'urn:peppol:taxreporting'
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