Skip to content

Fatal

BR-FR-MV-08_BT-128: Line VAT exemption reasons need the sub-invoice prefix

In short

Fatal: fails the selected checks.

BR-FR-MV-08_BT-128 means a line covered by this rule lacks its AFL sub-invoice number or has a VAT exemption reason that does not start with that number between hash signs. Populate the AFL reference (BT-128), then begin the reason with #number#, replacing number with the line's actual sub-invoice number and adding no leading spaces.

On this page

What it means

For UBL billing frameworks S8, B8, M8, S9, B9 and M9 in BT-23, the check looks only at DETAIL lines whose billing reference identifies the current document. It requires a populated AFL number and a non-blank cac:Item/cac:ClassifiedTaxCategory/cbc:TaxExemptionReason beginning with that number between hash signs. The prefix comparison uses the original text, so leading whitespace fails. In CII, the check also applies only to DETAIL lines under all six billing frameworks. It reads the AFL number from ram:IssuerAssignedID under ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument with ram:ReferenceTypeCode AFL and ram:TypeCode 130.

Why it matters

The prefix associates the checked line's VAT information with its sub-invoice.

How to fix it

First check the line's BT-128 reference with scheme AFL. In CII, use ram:IssuerAssignedID under ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument with ram:ReferenceTypeCode AFL and ram:TypeCode 130. Then put that exact number between hash signs at the very start of its VAT exemption reason. Keep any applicable exemption explanation after the prefix. In UBL, edit cac:Item/cac:ClassifiedTaxCategory/cbc:TaxExemptionReason. For CII, correct ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:ExemptionReason on the affected DETAIL line. Export and recheck the file.

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

The rule as published

IDligne … , Raison exemption : … - Num fact ligne: … . Lorsque le cadre de facturation (BT-23) est S8, B8, M8 ou S9, B9, M9, chaque ligne (BG-25) doit contenir une raison d'exemption TVA en texte commençant par le numéro de sous-facture en ligne entre #.

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

IDligne … , Raison exemption : … / Num fact ligne: … . Lorsque le cadre de facturation (BT-23) est S8, B8 ou M8, chaque ligne (BG-25) doit contenir une raison d'exemption TVA en texte commençant par le numéro de sous-facture en ligne entre #.

Business terms: BG-25, BT-23

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-MV-08_BT-128 still fails, and which other rules do.

Updated 8 November 2026