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

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

This rule changed between versions. If your invoices passed under an older pack and now fail, this is why.
Rule-packLayerSeverityApplies to
tdd-ae-1.0.4tdd-aeerrortax-reporting/taxdata
tdd-ae-1.0.3tdd-aeerrortax-reporting/taxdata

Related rules

ibr-tdd-47

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