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 |
Check your file
Drop your e-invoice to see whether BR-FR-MV-08_BT-128 still fails, and which other rules do.
Related rules
- BR-FR-BD-02_BT-30 Exactly one GROUP reference must match the seller
- BR-FR-BD-02_BT-31 Exactly one GROUP line must match the seller
- BR-FR-BD-02_BT-47 S9, B9 and M9 invoices need a GROUP line for the buyer
- BR-FR-BD-02_EXT-FR-FE-163 S9, B9 and M9 need two GROUP billing references
- BR-FR-BD-14-EXT-FR-FE-136 Top-level GROUP lines need an earlier invoice reference
- BR-FR-BD-14-EXT-FR-FE-138 Top-level GROUP lines need the earlier invoice date