◆ EUInvoice

Reference · EN 16931 · BR-DEC

BR-DEC — Decimal places

The EN 16931 business rules in the BR-DEC family (Decimal places), with CEN's own wording, the business terms each one names, and where each is asserted in a UBL invoice. To check a document against these rules, use the free EN 16931 validator.

These are the EN 16931 business rules of this family, as published by CEN/TC 434 in the validation artefacts that accompany the standard. The wording here is the rule text itself, and it is never a paraphrase. The codes in parentheses are business terms (BT-) and business term groups (BG-), the semantic model's names for the fields a rule constrains, and the location given with each rule is where it is asserted in a UBL invoice.

Rules

BR-DEC-01

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

Terms: BT-92

Location: /ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

BR-DEC-02

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

Terms: BT-93

Location: /ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

BR-DEC-05

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

Terms: BT-99

Location: /ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]

BR-DEC-06

The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2.

Terms: BT-100

Location: /ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]

BR-DEC-09

The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2.

Terms: BT-106

Location: cac:LegalMonetaryTotal

BR-DEC-10

The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2.

Terms: BT-107

Location: cac:LegalMonetaryTotal

BR-DEC-11

The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2.

Terms: BT-108

Location: cac:LegalMonetaryTotal

BR-DEC-12

The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2.

Terms: BT-109

Location: cac:LegalMonetaryTotal

BR-DEC-13

The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2.

Terms: BT-110

Location: /ubl:Invoice | /cn:CreditNote

BR-DEC-14

The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2.

Terms: BT-112

Location: cac:LegalMonetaryTotal

BR-DEC-15

The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2.

Terms: BT-111

Location: /ubl:Invoice | /cn:CreditNote

BR-DEC-16

The allowed maximum number of decimals for the Paid amount (BT-113) is 2.

Terms: BT-113

Location: cac:LegalMonetaryTotal

BR-DEC-17

The allowed maximum number of decimals for the Rounding amount (BT-114) is 2.

Terms: BT-114

Location: cac:LegalMonetaryTotal

BR-DEC-18

The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.

Terms: BT-115

Location: cac:LegalMonetaryTotal

BR-DEC-19

The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2.

Terms: BT-116

Location: cac:TaxTotal/cac:TaxSubtotal

BR-DEC-20

The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2.

Terms: BT-117

Location: cac:TaxTotal/cac:TaxSubtotal

BR-DEC-23

The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2.

Terms: BT-131

Location: cac:InvoiceLine | cac:CreditNoteLine

BR-DEC-24

The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2.

Terms: BT-136

Location: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

BR-DEC-25

The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.

Terms: BT-137

Location: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

BR-DEC-27

The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2.

Terms: BT-141

Location: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()]

BR-DEC-28

The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2.

Terms: BT-142

Location: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()]

What this does not cover

This page states what the rules say. To check a document against them, use the free EN 16931 validator.

Sources

  • CEN/TC 434 EN 16931 validation artefacts (Schematron) — the published rule set this page quotes, in the abstract model and code list rule files.