Skip to content

Fatal

BR-FR-DEC-01_BT-107: Invalid format for the invoice discount total

In short

Fatal: fails the selected checks.

BR-FR-DEC-01_BT-107 means your total discount on the whole invoice (BT-107) has an invalid number format. Use at most two 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 total of document-level discounts (BT-107), not discounts on individual lines. In UBL, this is cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount; CII checks the corresponding field. It checks the number format, including decimal places and length, rather than the calculation or whether the field is required.

Why it matters

Software needs a readable discount total when processing your invoice totals.

How to fix it

Find BT-107, the total discount on the whole invoice. Correct its exported number format, remove grouping separators and currency symbols, and use no more than two decimal places. Check the character limit and recheck the file. Do not remove the field solely to avoid this format error.

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

The rule as published

Le montant « … » est invalide. Il doit comporter au plus 2 décimales, être exprimé avec un point comme séparateur, et ne pas dépasser 19 caractères (hors séparateur). Le signe « - » est autorisé. Veuillez corriger ce montant.

Where France CTC (CII) run it, the rule reads:

Le montant « <value-of select="."/> » est invalide. Il doit comporter au plus 2 décimales, être exprimé avec un point comme séparateur, et ne pas dépasser 19 caractères (hors séparateur). Le signe « - » est autorisé. Veuillez corriger ce montant.

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-01_BT-107 still fails, and which other rules do.

Updated 6 November 2026