Skip to content

Fatal

BR-FR-32-ID: UBL party identifiers using 0002 or 0231 need nine digits

In short

Fatal: fails the selected checks.

BR-FR-32-ID means a party identifier in your UBL file uses scheme 0002 or 0231 but does not contain exactly nine digits after surrounding whitespace is removed. Correct the affected cac:PartyIdentification/cbc:ID using the right identifier for that party and scheme.

On this page

What it means

Every cac:PartyIdentification/cbc:ID with schemeID 0002 or 0231 must match nine digits after whitespace normalisation. This includes seller identifiers (BT-29), buyer identifiers (BT-46) and payee identifiers (BT-60), but is not limited to those roles. Internal whitespace, letters and punctuation fail. The test includes both schemes, although the rule description names only 0002. CII uses BR-FR-32-GLOBALID.

Why it matters

This check enforces the required identifier length and character pattern. It does not verify that the number is registered or belongs to the named party.

How to fix it

Find the affected cac:PartyIdentification/cbc:ID with schemeID 0002 or 0231. Confirm the correct identifier for that party and scheme, then enter its nine digits without internal spaces, letters or punctuation. Preserve any leading zeros and recheck your file.

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

The rule as published

Tout identifiant d'une Partie avec schemeID = '0002' DOIT être composé de 9 chiffres.

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-32-ID still fails, and which other rules do.

Updated 6 November 2026