Skip to content

Fatal

BR-FR-02_EXT-FR-FE-136: Invoice reference on a line has an invalid format

In short

Fatal: fails the selected checks.

BR-FR-02_EXT-FR-FE-136 means the invoice number referenced on a line (EXT-FR-FE-136) has an invalid format. Correct the line's cbc:ID in UBL or ram:IssuerAssignedID in CII to use only letters A-Z and a-z, digits and the symbols + - _ /, with no spaces, and keep the reference consistent with the invoice it identifies.

On this page

What it means

For UBL invoices and credit notes, the check applies to cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID on a line. The permitted characters are letters A-Z and a-z, digits and + - _ /, with no spaces allowed. The value must not consist only of spaces, start or end with a space, or contain consecutive spaces. For CII, the corresponding line reference in ram:IssuerAssignedID permits letters A-Z and a-z, digits and + - _ /, but no spaces.

Why it matters

The reference identifies another invoice linked to the line. The French rules restrict its format, but meeting those restrictions must not come at the cost of identifying the wrong invoice.

How to fix it

Find the affected invoice or credit note line. In UBL, check cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID. In CII, check ram:IssuerAssignedID in the line's invoice reference. Compare the value with the original invoice number. Remove accidental unsupported characters and correct the spaces according to your XML format. Do not replace characters blindly. If the original number itself cannot meet the format, check with its issuer before changing the reference. Save your corrected file and check it again.

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

The rule as published

L'identifiant de facture référencée en ligne (cbc:ID) doit respecter le format autorisé : caractères alphanumériques et les symboles - + _ /. Il ne doit pas contenir uniquement des espaces, ni commencer ou se terminer par un espace, ni contenir d'espaces consécutifs. Valeur actuelle : " … ". Veuillez corriger le format de l'identifiant.

Where France CTC (CII) run it, the rule reads:

L'identifiant de facture référencée en ligne (ram:IssuerAssignedID) contient des caractères non autorisés. Valeur actuelle : " … ". Seuls les caractères alphanumériques et les symboles + - _ / sont autorisés, sans espaces.

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-02_EXT-FR-FE-136 still fails, and which other rules do.

Updated 8 November 2026