Faktura

Decimal places

BR-DEC21 rules

Amounts are limited to two decimals. These fire when a float is serialised straight into the XML — the value is usually right, the formatting is not.

BR-DEC-01fatalThe allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2.
BR-DEC-02fatalThe allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2.
BR-DEC-05fatalThe allowed maximum number of decimals for the Document level charge amount (BT-99) is 2.
BR-DEC-06fatalThe allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2.
BR-DEC-09fatalThe allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2.
BR-DEC-10fatalThe allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2.
BR-DEC-11fatalThe allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2.
BR-DEC-12fatalThe allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2.
BR-DEC-13fatalThe allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2.
BR-DEC-14fatalThe allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2.
BR-DEC-15fatalThe allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2.
BR-DEC-16fatalThe allowed maximum number of decimals for the Paid amount (BT-113) is 2.
BR-DEC-17fatalThe allowed maximum number of decimals for the Rounding amount (BT-114) is 2.
BR-DEC-18fatalThe allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.
BR-DEC-19fatalThe allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2.
BR-DEC-20fatalThe allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2.
BR-DEC-23fatalThe allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2.
BR-DEC-24fatalThe allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2.
BR-DEC-25fatalThe allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.
BR-DEC-27fatalThe allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2.
BR-DEC-28fatalThe allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2.

← All rule families · Validate an invoice →