Skip to content

Fatal

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

In short

Fatal: fails the selected checks.

BR-FR-BD-14-EXT-FR-FE-138 means a qualifying top-level GROUP line in your UBL invoice or credit note lacks cbc:IssueDate in a billing reference with an invoice identifier different from the current document number; in CII, it means the line's invoice reference lacks ram:FormattedIssueDateTime/qdt:DateTimeString. This applies when BT-23 is S9, B9 or M9 and BT-3 is 261, 471, 473 or 502; add or correct the earlier invoice reference and its invoice date.

On this page

What it means

For those frameworks and document types, the UBL check runs on line billing references (BG-25) that identify the current document, carry GROUP (EXT-FR-FE-163) and have no parent line ID (EXT-FR-FE-162). It requires cac:InvoiceDocumentReference/cbc:IssueDate (EXT-FR-FE-138) in a billing reference on the same line whose cbc:ID (EXT-FR-FE-136) differs from the current document number. This tests date-element presence, not its content, format or chronological order. A blank date element passes this check. In CII, the check runs on each GROUP line with no parent line ID and requires ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString, without requiring an invoice identifier different from the current document number.

Why it matters

The date forms part of the line's reference to the invoice being corrected. It belongs with that earlier invoice number, not with the reference to the current document.

How to fix it

Find the affected UBL line's billing reference to the actual earlier invoice. Set cac:InvoiceDocumentReference/cbc:ID to that invoice number and enter its invoice date in cbc:IssueDate. If the reference is missing, add it separately from the GROUP reference to the current document. In CII, enter the earlier invoice's date in ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString on the affected GROUP line. Take the date from the earlier invoice, not from the correction, then recheck your file.

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

The rule as published

BR-FR-BD-14-EXT-FR-FE-138 : Date Facture antérieure manquant ligne … : Lorsque le cadre de facturation (BT-23) est S9, B9 ou M9, 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-BD-14-EXT-FR-FE-138 still fails, and which other rules do.

Updated 8 November 2026