Skip to content

Fatal

BR-FR-MV-14-EXT-FR-FE-138: Top-level GROUP lines need the earlier invoice date

In short

Fatal: fails the selected checks.

BR-FR-MV-14-EXT-FR-FE-138 means a top-level GROUP line lacks the required earlier-invoice date reference on a corrective invoice or credit note. For billing framework S8, B8 or M8 and type code 384, 472, 381, 396 or 503, add the earlier invoice's date (EXT-FR-FE-138) alongside its number (EXT-FR-FE-136) on that line.

On this page

What it means

For the specified frameworks in BT-23 and document types, the UBL context selects GROUP lines (BG-25, EXT-FR-FE-163) without a parent identifier (EXT-FR-FE-162), using a GROUP billing reference to the current document. The test requires another cac:BillingReference on the line with a cac:InvoiceDocumentReference/cbc:ID different from the current document number and an existing cbc:IssueDate element. It checks the date element's existence, not whether its content is a valid date or chronologically earlier.

Why it matters

The line-level reference records the date of the invoice associated with that sub-invoice's correction.

How to fix it

Find the affected top-level GROUP line and identify the invoice it corrects. Enter that invoice's number and date in the line's earlier-invoice reference. In UBL, put the date in cac:BillingReference/cac:InvoiceDocumentReference/cbc:IssueDate for that reference, using year-month-day form. In CII, populate the corresponding line-level earlier-invoice date field. Export and recheck the file.

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

The rule as published

BR-FR-MV-14-EXT-FR-FE-138 : Date Facture antérieure manquant ligne … : Lorsque le cadre de facturation (BT-23) est S8, B8 ou M8, et pour les factures rectificatives et avoirs chaque ligne (BG-25) avec un sous-type de ligne (EXT-FR-FE-163) égal à "GROUP" et sans identifiant de ligne Parent (EXT-FR-FE-162) doit comprendre un identifiant de facture antérieure à la ligne (EXT-FR-FE-136) ainsi que sa date (EXT-FR-FE-138).

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-14-EXT-FR-FE-138 still fails, and which other rules do.

Updated 6 November 2026