All rules · pint-ae · error

ibr-127-ae

The amount due for payment must not be negative.

Reviewed

Why this rule exists

A negative payable amount means money flows the other way, which is a credit note, not an invoice. The document type has to match the direction of the money.

Why it usually happens

How to fix it

Issue a credit note with positive amounts rather than an invoice with negative ones.

The official rule

Payment due date [IBT-009] MUST be present when the amount due for payment (IBT-115) greater than 0, except when 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) = "381" or (cbc:InvoiceTypeCode | cbc:CreditNoteTypeCode) = "81" or cbc:CreditNoteTypeCode = "261" or matches(cbc:ProfileExecutionID, "^[01]1[01]{6}$")) or not(cac:LegalMonetaryTotal/cbc:PayableAmount > 0) or exists(cbc:DueDate)

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-co-16 · ibr-cl-01

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