Skip to content
Klarfile

KF-FR-SIREN: The French SIREN or SIRET is invalid

This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.

Why this code appears

The French seller's legal registration number fails its check digit. A SIREN has nine digits, a SIRET fourteen, and both carry a computed check digit: one wrong digit or a transposition shows up immediately.

How to fix it

Check the number against the company's Sirene registration notice. Watch out for numbers copied with spaces or truncated: the element must contain digits only.

What it looks like in the file

These two snippets are replayed against our own checker on a complete invoice, every time the site is built. The first one raises this code, the second one does not.

What raises the code:

<ram:ID schemeID="0002">123456789</ram:ID>

What to write instead:

<ram:ID schemeID="0002">123456782</ram:ID>

Where it happens

This check is ours, not a code from the standard: we do not cover enough of EN 16931 to borrow its numbers, and a misattributed official code would send you to fix the wrong field. It concerns BT-30.

Check my invoice All rejection codes