Skip to content

Fatal: fails the selected checks

BR-DEC-RO-06: Base amount of a whole-invoice charge: two decimals at most

In short

BR-DEC-RO-06 means the base amount of a charge on the whole invoice (BT-100), the figure the charge is worked out from, has more than two decimals. Fix it by rounding the base amount to two decimals, or leaving it out if you do not use it.

On this page

What it means

A charge on the whole invoice, such as a delivery fee, states the base amount it is calculated from (BT-100), for example the amount a percentage is applied to, and that figure has more than two digits after the decimal point. Digits are counted as written in the file, so 300.000 fails even though it equals 300. The check only applies when a base amount is given.

Why it matters

The Romanian CIUS-RO rules limit this amount to two decimals. A longer figure is a fatal error, so the file is rejected until you correct it.

How to fix it

On the invoice-level charge, round the base amount to two decimals. If you do not use a base amount, leave it out. In the XML it is the BaseAmount of the AllowanceCharge directly under the invoice or credit note, with ChargeIndicator set to true. The charge amount itself (BT-99) has its own check, BR-DEC-RO-05.

The rule as published

Numarul maxim permis de zecimale pentru Valoarea de baza a taxelor suplimentare la nivelul documentului (BT-100) este 2. #The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2.

Business terms: BT-100

Where this rule applies

Rule set Version
CIUS-RO UBL Invoice 1.0.9 1.0.9
CIUS-RO UBL Credit Note 1.0.9 1.0.9
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether BR-DEC-RO-06 still fails, and which other rules do.