What it means
For these billing frameworks in BT-23, every line (BG-25) must contain the seller's legal identifier. If a parent line identifier is present, the seller identifier must equal the identifier on that direct parent. The test does not restrict the parent to a top-level GROUP line. In UBL, the seller identifier is cac:Item/cac:ManufacturerParty/cac:PartyLegalEntity/cbc:CompanyID. In CII, it is the corresponding seller ram:ID, with ram:ParentLineID identifying the parent.
Why it matters
Matching seller identifiers keep a child line associated with the same registered seller as its parent.
How to fix it
Enter the appropriate seller company registration number on every affected line. Follow the line's parent identifier to its actual direct parent and compare their seller identifiers. If the parent link is wrong, correct the link rather than copying an unrelated seller's number. Export and recheck the file.
Once the file is corrected, check it again for free: Check an e-invoice
The rule as published
IDligne … , ID parent ligne … , legalID : … , ParentlegalID : … . Lorsque le cadre de facturation (BT-23) est S8, B8, M8 ou S9, B9, M9, chaque ligne (BG-25) doit contenir un identifiant légal de vendeur (ram:ID). Si la ligne a un identifiant de ligne parent (ram:ParentLineID), cet identifiant doit être identique à celui de la ligne parent. 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-06_EXT-FR-FE-167 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