BR-DEC rules: the two decimal limit on invoice amounts
Every rule in the BR-DEC family states the same limit, two decimal places, over a different monetary amount. That makes the family a list rather than a set of topics, so it is one page with a heading per rule. What the list tells you is which amounts are capped: the allowance and charge amounts and their base amounts, the document totals, the VAT breakdown amounts, and the line net amount. The Item net price (BT-146) and Item gross price (BT-148) are not in the family, so the two decimal cap stated here does not reach them. Rejections in this family usually come from a rate calculation or a currency conversion written straight into an amount field without rounding.
BR-DEC-01
The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-92
BR-DEC-02
The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-93
BR-DEC-05
The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-99
BR-DEC-06
The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-100
BR-DEC-09
The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-106
BR-DEC-10
The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-107
BR-DEC-11
The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-108
BR-DEC-12
The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-109
BR-DEC-13
The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-110
BR-DEC-14
The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-112
BR-DEC-15
The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-111
BR-DEC-16
The allowed maximum number of decimals for the Paid amount (BT-113) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-113
BR-DEC-17
The allowed maximum number of decimals for the Rounding amount (BT-114) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-114
BR-DEC-18
The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-115
BR-DEC-19
The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-116
BR-DEC-20
The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-117
BR-DEC-23
The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-131
BR-DEC-24
The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-136
BR-DEC-25
The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-137
BR-DEC-27
The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-141
BR-DEC-28
The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2.
- Severity
- Rejects the invoice
- Applies to
- CII, UBL
- Family
- BR-DEC
- BT-142
About the BR-DEC family
Decimal rules. These cap how many decimal places a monetary amount may carry. Two is the limit for most amounts.
Related rules
A validator reports one code at a time. These check the same fields, so they are the ones most likely to fire on the same invoice.
- BR-31 Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92).
- BR-AE-08 In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Reverse charge".
- BR-AF-08 For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119).
- BR-AG-08 For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IPSI" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119).
- BR-CO-11 Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92).
- BR-E-08 In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Exempt from VAT".
- BR-G-08 In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU".
- BR-IC-08 In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Intra-community supply".
- BR-36 Each Document level charge (BG-21) shall have a Document level charge amount (BT-99).
- BR-CO-12 Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99).
- BR-12 An Invoice shall have the Sum of Invoice line net amount (BT-106).
- BR-CO-10 Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).
Check your own invoice
Drop a Factur-X, ZUGFeRD, XRechnung, or Peppol file in and see every rule it breaks, not just this one. Free, no signup.
Open the validatorRule text comes from the EN 16931 validation artefacts published by CEN/TC 434 and the European Commission, used unmodified under the European Union Public Licence v1.2. The artefacts are available from the upstream repository.
Factur-X, ZUGFeRD, XRechnung, and Peppol are trade marks of FNFE-MPE, FeRD, KoSIT, and OpenPeppol AISBL respectively, and are used here only to identify the invoice formats this tool reads. PDFPipe is not affiliated with, endorsed by, or certified by any of them, nor by CEN or the European Commission.