What it means
For S8, B8 or M8 in BT-23, at least one line must qualify. In UBL, a cac:InvoiceLine or cac:CreditNoteLine must contain a cac:BillingReference whose cac:InvoiceDocumentReference/cbc:ID matches the current document number, whose cac:InvoiceDocumentReference/cbc:DocumentStatusCode is GROUP and which has no cac:BillingReferenceLine/cbc:ID. The absence of that ID is what matters, not the absence of the whole cac:BillingReferenceLine element. In CII, the corresponding fields are ram:LineStatusReasonCode and ram:ParentLineID. This rule does not cover S9, B9 or M9.
Why it matters
The top-level GROUP line represents a sub-invoice within the multi-seller document.
How to fix it
Add or correct a top-level GROUP line. In UBL, make its GROUP billing reference identify the current invoice or credit note and omit the parent line ID from that reference. In CII, set ram:LineStatusReasonCode to GROUP and omit ram:ParentLineID. Check that BT-23 describes the document you intended to issue, then recheck the exported file.
Once the file is corrected, check it again for free: Check an e-invoice
The rule as published
,Lorsque le cadre de facturation (BT-23) est S8, B8 ou M8, la facture doit contenir au moins une ligne (BG-25) avec le sous-type de ligne EXT-FR-FE-163 égal à "GROUP" et sans identifiant de ligne parent EXT-FR-FE-162. Veuillez vérifier que cette ligne est présente. Where France CTC (CII) run it, the rule reads:
Lorsque le cadre de facturation (BT-23) est S8, B8 ou M8, la facture doit contenir au moins une ligne (BG-25) avec le sous-type de ligne (ram:LineStatusReasonCode) égal à "GROUP" et sans identifiant de ligne parent (ram:ParentLineID). Veuillez vérifier que cette ligne est présente. 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-02_EXT-FR-FE-163 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