All rules · tdd-ae · error
ibr-tdd-13
The reporter's endpoint scheme (tdt-007-1) must be a four-digit Peppol participant identifier scheme.
Draft — not yet reviewed
Why this rule exists
Peppol schemes are four-digit codes. Anything else is not a scheme the network can resolve.
Why it usually happens
- Using the ISO 6523 prefix with its separator (0235:) as the scheme
- Using a name such as "TRN"
How to fix it
Use the four-digit scheme code only, with no prefix, colon or label.
Wrong
<cbc:EndpointID schemeID="TRN">1987654321</cbc:EndpointID>
Right
<cbc:EndpointID schemeID="0235">1987654321</cbc:EndpointID>
The official rule
Reporters Endpoint Scheme identifier (tdt-007-1) MUST be a Peppol Participant Identifier Scheme
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:EndpointID/@schemeID)) or matches(cbc:EndpointID/@schemeID, $regex_pidscheme)
Applied to nodes matching /pxs:TaxData/pxs:ReportingParty
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