All rules · tdd-ae · error

ibr-tdd-39

The seller block (cac:AccountingSupplierParty) 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

How to fix it

Emit only the elements the AE TDD specification lists for The seller block (cac:AccountingSupplierParty). 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 ('CustomerAssignedAccountID', 'AdditionalAccountID', 'DataSendingCapability',                                                                    'DespatchContact', 'AccountingContact', 'SellerContact')                                                     satisfies count (*[local-name(.) = $child]) = 0

Applied to nodes matching /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument/cac:AccountingSupplierParty

Rule-pack versions

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