Rules › French reform (BR-FR) › BR-FR-DEC-02

A quantity has more than 4 decimals

In short: Each quantity must be written with at most 4 decimals, a dot as separator, and at most 19 digits.

✗ ErroriAn invoice that fails this rule is not valid under its rule set.Amounts and totalsIn force since 1 October 2026

  1. What the rule checks

    The rule checks the invoiced quantity of each line, and the base quantity of its price (for example, a price per 100 units). Each must:

    • have at most 4 decimals;
    • use a dot as decimal separator;
    • have at most 19 characters, separator not counted.

    The minus sign is allowed.

  2. Common causes

    • A quantity computed by division (such as 1/3) and not rounded.
    • A conversion between units that adds decimals.
    • A decimal comma.
  3. How to fix it

    1. Round the quantities to 4 decimals at most in your software.
    2. For a quantity in a small unit, such as grams, consider a larger unit, such as kilograms, rather than many decimals.
    3. If your software exports more decimals, report it to the software's publisher, quoting BR-FR-DEC-02.
  4. Why it matters

    BR-FR-DEC-02 is one of the rules of the French e-invoicing reform, published by FNFE-MPE. Since 1 October 2026, an invoice that fails it is not valid under these rules.

Does your invoice pass BR-FR-DEC-02?

Check it against this rule only. The check runs in your browser, so nothing is sent.

Technical details

If you are interested in the technical side: the data the rule checks in the invoice file.

Quantities BT-129 (invoiced quantity, ram:BilledQuantity) and BT-149 (item price base quantity, ram:BasisQuantity): decimal, at most 19 digits of which 4 decimals.

Fields (EN 16931)BT-129, BT-149
CIIrsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeDelivery/ram:BilledQuantity
UBLubl:Invoice/cac:InvoiceLine/cbc:InvoicedQuantity | cn:CreditNote/cac:CreditNoteLine/cbc:CreditedQuantity
Reported asBR-FR-DEC-02_BT-129, BR-FR-DEC-02_BT-149

The fix in the example file

Between the example invoice that fails the rule (−, removed) and the same invoice, valid (+, added):

    </ram:SpecifiedLineTradeAgreement>    <ram:SpecifiedLineTradeDelivery>−     <ram:BilledQuantity unitCode="C62">2.00001</ram:BilledQuantity>+     <ram:BilledQuantity unitCode="C62">2</ram:BilledQuantity>    </ram:SpecifiedLineTradeDelivery>    <ram:SpecifiedLineTradeSettlement>  …      <ram:SpecifiedTradeSettlementLineMonetarySummation>        <ram:LineTotalAmount>900.00</ram:LineTotalAmount>+     </ram:SpecifiedTradeSettlementLineMonetarySummation>+   </ram:SpecifiedLineTradeSettlement>+ </ram:IncludedSupplyChainTradeLineItem>+ <ram:IncludedSupplyChainTradeLineItem>+   <ram:AssociatedDocumentLineDocument>+     <ram:LineID>2</ram:LineID>+   </ram:AssociatedDocumentLineDocument>+   <ram:SpecifiedTradeProduct>+     <ram:Name>Support de cours</ram:Name>+   </ram:SpecifiedTradeProduct>+   <ram:SpecifiedLineTradeAgreement>+     <ram:NetPriceProductTradePrice>+       <ram:ChargeAmount>12.50</ram:ChargeAmount>+     </ram:NetPriceProductTradePrice>+   </ram:SpecifiedLineTradeAgreement>+   <ram:SpecifiedLineTradeDelivery>+     <ram:BilledQuantity unitCode="C62">10</ram:BilledQuantity>+   </ram:SpecifiedLineTradeDelivery>+   <ram:SpecifiedLineTradeSettlement>+     <ram:ApplicableTradeTax>+       <ram:TypeCode>VAT</ram:TypeCode>+       <ram:CategoryCode>S</ram:CategoryCode>+       <ram:RateApplicablePercent>20</ram:RateApplicablePercent>+     </ram:ApplicableTradeTax>+     <ram:SpecifiedTradeSettlementLineMonetarySummation>+       <ram:LineTotalAmount>125.00</ram:LineTotalAmount>      </ram:SpecifiedTradeSettlementLineMonetarySummation>    </ram:SpecifiedLineTradeSettlement>  …    </ram:SpecifiedTradeSettlementPaymentMeans>    <ram:ApplicableTradeTax>−     <ram:CalculatedAmount>180.00</ram:CalculatedAmount>+     <ram:CalculatedAmount>205.00</ram:CalculatedAmount>      <ram:TypeCode>VAT</ram:TypeCode>−     <ram:BasisAmount>900.00</ram:BasisAmount>+     <ram:BasisAmount>1025.00</ram:BasisAmount>      <ram:CategoryCode>S</ram:CategoryCode>      <ram:DueDateTypeCode>5</ram:DueDateTypeCode>  …    </ram:SpecifiedTradePaymentTerms>    <ram:SpecifiedTradeSettlementHeaderMonetarySummation>−     <ram:LineTotalAmount>900.00</ram:LineTotalAmount>−     <ram:TaxBasisTotalAmount>900.00</ram:TaxBasisTotalAmount>−     <ram:TaxTotalAmount currencyID="EUR">180.00</ram:TaxTotalAmount>−     <ram:GrandTotalAmount>1080.00</ram:GrandTotalAmount>−     <ram:DuePayableAmount>1080.00</ram:DuePayableAmount>+     <ram:LineTotalAmount>1025.00</ram:LineTotalAmount>+     <ram:TaxBasisTotalAmount>1025.00</ram:TaxBasisTotalAmount>+     <ram:TaxTotalAmount currencyID="EUR">205.00</ram:TaxTotalAmount>+     <ram:GrandTotalAmount>1230.00</ram:GrandTotalAmount>+     <ram:DuePayableAmount>1230.00</ram:DuePayableAmount>    </ram:SpecifiedTradeSettlementHeaderMonetarySummation>  </ram:ApplicableHeaderTradeSettlement>

Official text

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 « - ».

BR-FR-DEC-02, France_RFE 1.4.0.04, FNFE-MPE. In French in the official files. Validators report it as BR-FR-DEC-02_BT-129, BR-FR-DEC-02_BT-149.

Page updated on 2026-11-16

EN 16931 concepts (business terms, rules): these pages are an implementation of the semantic data model EN 16931-1:2017 and its two mandatory syntaxes (CEN/TS 16931-2:2017), and reproduce parts of them with the permission of CEN and its member national standardisation bodies. CEN and the national standardisation bodies bear no liability for the content and implementation of these pages, and give no warranty, express or implied, for any purpose. In case of doubt, always refer to the official text of the standard.