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