Skip to content
Theme
English

Fatal

BR-FR-MV-01_EXT-FR-FE-163: Every line of a multi-seller invoice needs a line sub-type

In short

Fatal: fails the selected checks.

BR-FR-MV-01_EXT-FR-FE-163 means an invoice with billing framework S8, B8, M8, S9, B9 or M9 has a line without a line sub-type. Fix it by giving every line a sub-type: GROUP for the line that stands for a whole sub-invoice, DETAIL for the lines under it.

On this page

What it means

When the billing framework (BT-23) is S8, B8, M8, S9, B9 or M9, the invoice is a multi-seller invoice, with its lines grouped into one sub-invoice per seller. Every line (BG-25) must then say what kind of line it is, through the line sub-type (EXT-FR-FE-163). In UBL the test looks in the line's billing reference for an invoice document reference whose ID is the invoice number and whose status code (DocumentStatusCode) is filled in. In CII the sub-type is the line status reason code (ram:LineStatusReasonCode). The test only checks that it is filled in.

Why it matters

The sub-type is how the receiving platform tells the line that heads a sub-invoice from the lines under it. Without it the lines cannot be grouped per seller, so the invoice is rejected.

How to fix it

Each line needs a sub-type: GROUP for the line that stands for a whole sub-invoice and DETAIL for the lines under it. In UBL, add a billing reference to the line with the invoice number as its ID and the sub-type as its status code. In CII, fill in the line status reason code. If the invoice is not meant to be a multi-seller invoice, the billing framework (BT-23) is probably wrong, so change that instead.

The rule as published

Lorsque le cadre de facturation (BT-23) est S8, B8, M8 ou S9, B9, M9, chaque ligne (BG-25) doit contenir un sous-type de ligne EXT-FR-FE-163. Cadre de facturation " … ", ligne " … ". Numéro de facture : ligne " … ", Présence Bloc BillingReference avec num Fact (true / false) : " … ". Veuillez vérifier que le sous-type est renseigné pour toutes les lignes.

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

Lorsque le cadre de facturation (BT-23) est S8, B8, M8 ou S9, B9, M9, chaque ligne (BG-25) doit contenir un sous-type de ligne (ram:LineStatusReasonCode). Valeur actuelle : " … ". Veuillez vérifier que le sous-type est renseigné, Veuillez vérifier que le sous-type est renseigné pour toutes les lignes.

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-01_EXT-FR-FE-163 still fails, and which other rules do.

Updated 6 November 2026