Counterfoil rule note

BR-DEC-01

Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.

Country
EU
Syntax
UBL
Severity
fatal
Last verified
2026-10-18

Official statement

The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2.

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-DEC-01/

Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL

Severity note: fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.

Plain-language reading

The Document level allowance amount (BT-92) may have at most 2 decimals. The statement says "allowed maximum number of decimals" and "is 2", and it ends with a period. It does not say shall. The context is a document-level allowance on an invoice or a credit note. It writes ChargeIndicator = false() with spaces around = and spaces around the bar. The published test takes the substring after '.' and requires that length to be <=2, with no space before <= and no space after the comma. It does not call exists.

What to change

Send the Document level allowance amount (BT-92) with at most 2 digits after the decimal point.

Illustration

Illustration of the condition in the official statement. Not an example published by the source.

Fails the stated condition. The document-level allowance amount has 3 digits after the decimal point.

Passes the stated condition. The document-level allowance amount has 2 digits after the decimal point.

Published context and test

Copied from the source. Not reimplemented on this page.

/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
string-length(substring-after(cbc:Amount,'.'))<=2

All rule notes · JSON · Markdown · llms.txt · Invoice page · Privacy