Skip to content

Fatal

BR-FR-DEC-02_BT-129: Invalid format for a line quantity

In short

Fatal: fails the selected checks.

BR-FR-DEC-02_BT-129 means your invoiced or credited quantity (BT-129) has an invalid number format. Use at most four decimal places, a dot for decimals and at most 19 characters excluding the dot. A leading minus sign is allowed and counts towards the character limit.

On this page

What it means

The check applies to the quantity on an invoice or credit note line (BT-129). In UBL, this is cbc:InvoicedQuantity within cac:InvoiceLine or cbc:CreditedQuantity within cac:CreditNoteLine; CII checks the corresponding quantity. It checks decimal formatting and length, not the quantity's accuracy or unit.

Why it matters

Software uses the quantity when calculating the line amount, so it needs a readable numeric value separate from the unit of measure.

How to fix it

Correct BT-129 on the affected line. Keep unit text out of the numeric value, remove grouping separators and use a dot with no more than four decimal places. Check the character limit. If you change the quantity or unit, also check the price and line amount before rechecking the file.

Once the file is corrected, check it again for free: Check an e-invoice

The rule as published

La quantité « … » est invalide. Elle doit : - être un nombre avec au plus 4 décimales (séparateur « . »), - contenir au maximum 19 caractères (hors séparateur), - et peut commencer par un signe « - ». Veuillez corriger cette quantité pour respecter le format requis.

Where this rule applies

Rule set Version
France CTC (UBL invoice) 1.4.0-04
France CTC (UBL credit note) 1.4.0-04
France CTC (CII) 1.4.0-04
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether BR-FR-DEC-02_BT-129 still fails, and which other rules do.

Updated 6 November 2026