All rules · tdd-ae · error
ibr-tdd-33
The buyer (ibg-07) is missing. From TDD 1.0.4 it may be left out for exports, meaning an invoice transaction type code (BTAE-02) ending in 1, such as 00000001. Under 1.0.3 it is always required.
Draft — not yet reviewed
Why this rule exists
The buyer is needed to match the seller-side report with the buyer-side one. An export buyer outside the UAE has no UAE tax identity to match, which is why 1.0.4 aligned this rule with PINT AE ibr-135-ae.
Why it usually happens
- Omitting the buyer for a domestic sale because the buyer has no TRN
- Relying on the 1.0.4 export exemption while still validating, or reporting, under 1.0.3
- An export whose embedded invoice does not carry the export flag in cbc:ProfileExecutionID
How to fix it
Include cac:AccountingCustomerParty unless the embedded invoice is an export (ProfileExecutionID ending in 1) and you are on TDD 1.0.4 or later.
The official rule
The BUYER (ibg-07) MUST be present when the Invoice transaction type code (BTAE-02) is other than XXXXXXX1 (Exports)
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
exists(cac:AccountingCustomerParty) or matches(normalize-space(../pxs:SourceDocument/cec:ExtensionContent/*/cbc:ProfileExecutionID), '^[01]{7}1$')Applied to nodes matching /pxs:TaxData/pxs:ReportedTransaction/pxs:ReportedDocument
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