Skip to content

Fatal

BR-FR-BD-02_BT-30: Exactly one GROUP reference must match the seller

In short

Fatal: fails the selected checks.

BR-FR-BD-02_BT-30 requires exactly one qualifying line-level billing reference in your UBL invoice or credit note when the invoicing framework (BT-23) is S9, B9 or M9. It must reference the current document, use GROUP, have no parent line ID and be on a line whose seller company registration number (EXT-FR-FE-167) matches the header seller's number (BT-30). Correct the affected references and registration numbers.

On this page

What it means

For these frameworks, the test counts cac:BillingReference elements on invoice or credit note lines (BG-25). A reference qualifies when its cac:InvoiceDocumentReference/cbc:ID equals the current document number, its cac:InvoiceDocumentReference/cbc:DocumentStatusCode is GROUP, it has no cac:BillingReferenceLine/cbc:ID, and the line's cac:Item/cac:ManufacturerParty/cac:PartyLegalEntity/cbc:CompanyID equals the header seller's BT-30. Exactly one reference must qualify. It counts references, not distinct lines. CII uses BR-FR-BD-02_BT-31.

Why it matters

The check ties the seller's GROUP reference to the same registered seller as the document header.

How to fix it

Check that BT-23 describes your invoicing arrangement. If S9, B9 or M9 is correct, inspect the intended seller GROUP line. Its billing reference must identify the current document, carry status GROUP and omit cac:BillingReferenceLine/cbc:ID completely, even an empty element. Set the line seller's company registration number (EXT-FR-FE-167) to the header seller's BT-30. Correct missing or unintended duplicate qualifying references so exactly one matches, then recheck.

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

The rule as published

invoiceID : … BR-FR-BD-02/BT-30 : Lorsque le cadre de facturation (BT-23) est S9, B9 ou M9, la facture doit contenir exactement deux ligne (BG-25) avec le sous-type de ligne (ram:LineStatusReasonCode) égal à "GROUP" et sans identifiant de ligne parent (ram:ParentLineID), pour lesquelles l'une a pour ID legal Vendeur à la ligne (EXT-FR-FE-167) l'ID légal du VENDEUR (BT-30). Veuillez vérifier qu'il y a une ligne GROUP avec ID Vendeur de ligne = ID VENDEUR (BT-30).

Business terms: BG-25, BT-23, BT-30

Where this rule applies

Rule set Version
France CTC (UBL invoice) 1.4.0-04
France CTC (UBL credit note) 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-02_BT-30 still fails, and which other rules do.

Updated 6 November 2026