What it means
The requirement applies when the BAR treatment equals B2B. The buyer's SIREN must then be present and contain exactly nine digits, with whitespace normalised in UBL but not in CII. In UBL, the rule identifies it as the buyer's cac:PartyLegalEntity/cbc:CompanyID with schemeID 0002. In CII, it checks the buyer's ram:ID (BT-47). If BAR is not B2B, this particular check passes.
Why it matters
The BAR classification controls when this French rule requires a buyer SIREN. The check then establishes the identifier's presence and format, not the buyer's registration status.
How to fix it
Check the buyer's company registration details and correct its SIREN (BT-47) where applicable. Check the BAR note and change B2B only if the transaction classification is wrong. A foreign business can still be a B2B buyer, so do not change the classification solely because it has no French SIREN. If no SIREN is available, check the applicable treatment and rule set before generating and rechecking the file.
Once the file is corrected, check it again for free: Check an e-invoice
The rule as published
Si une note contient le code sujet BAR avec la valeur 'B2B', alors le SIREN de l’acheteur (cbc:ID[@schemeID='0002']) est obligatoire et doit être composé exactement de 9 chiffres. BARvalue : … , Valeur actuelle SIREN : " … ". Veuillez renseigner un identifiant SIREN valide. Where France CTC (CII) run it, the rule reads:
Si une note contient le code sujet BAR avec la valeur 'B2B', alors le SIREN de l’acheteur (BT-47, ram:ID) est obligatoire et doit être composé exactement de 9 chiffres. Valeur actuelle : " … ". Veuillez renseigner un identifiant SIREN valide. 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-11_BT-47 still fails, and which other rules do.