All rules · tdd-ae · error
ibr-tdd-14
The receiving party (pxs:ReceivingParty) contains an element the Tax Data Document does not allow. The TDD carries a reduced subset of UBL; elements that are fine on an invoice are rejected here.
Draft — not yet reviewed
Why this rule exists
The TDD is a tax report, not a second copy of the invoice. Restricting it to the fields the authority uses keeps reports small and stops personal or commercial data the authority did not ask for from travelling with them.
Why it usually happens
- Building the TDD by copying blocks from the invoice and keeping everything in them
- Reusing the invoice serializer for the party or totals blocks
- Adding names, addresses or contacts to a party that the TDD identifies by ID alone
How to fix it
Emit only the elements the AE TDD specification lists for The receiving party (pxs:ReceivingParty). Map the TDD from the invoice field by field rather than copying whole blocks.
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
every $child in ('MarkCareIndicator', 'MarkAttentionIndicator', 'WebsiteURI', 'LogoReferenceID', 'IndustryClassificationCode', 'PartyIdentification', 'PartyName', 'Language', 'PostalAddress', 'PhysicalLocation', 'PartyTaxScheme', 'PartyLegalEntity', 'Contact', 'Person', 'AgentParty', 'ServiceProviderParty', 'PowerOfAttorney', 'FinancialAccount') satisfies count (*[local-name(.) = $child]) = 0Applied to nodes matching /pxs:TaxData/pxs:ReceivingParty
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 |
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