All rules · pint-ae · error

ibr-191-ae

The document type code must be one the UAE profile permits for this kind of document.

Reviewed

Why this rule exists

The type code drives how the document is processed and reported. A credit-note code on an Invoice element, or vice versa, is contradictory and gets rejected at the receiving corner.

Why it usually happens

How to fix it

Derive the type code from the same decision that chose the UBL document element.

The official rule

Payment means type code (ibt-081) must be provided except when the invoice type code (ibt-003) is 'Credit note' or "Credit note related to goods or services", or Invoice transaction-type code (BTAE-002) is X1XXXXXX (Deemed supply).

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

((cbc:InvoiceTypeCode|cbc:CreditNoteTypeCode) = "81" or (cbc:InvoiceTypeCode|cbc:CreditNoteTypeCode) = "381" or (cbc:InvoiceTypeCode|cbc:CreditNoteTypeCode) = "261" or matches(cbc:ProfileExecutionID, "^[01]1[01]{6}$")) or exists(cac:PaymentMeans/cbc:PaymentMeansCode)

Applied to nodes matching /ubl:Invoice | /cn:CreditNote

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
pint-ae-2026.5pint-aeerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-ae-2026.3pint-aeerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice

Related rules

ibr-cl-01 · ibr-158-ae

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
ibr-191-ae — The document type code must be one the UAE profile permits … · PINT Probe