KF-FR-REFERENCE: The buyer reference is missing
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 invoice carries no buyer reference (BT-10). It is mandatory only in the public sector, but there it truly is, and it is the leading cause of rejection for invoices sent to French public bodies: Chorus Pro expects the recipient department code there.
How to fix it
Ask your public-sector customer for their service code and commitment number, and put the code in BuyerReference. Between private companies this field stays optional.
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:
Nothing. The field is simply absent from the file, and it is that absence the check reports.
What to write instead:
<ram:BuyerReference>SERVICE-COMPTA</ram:BuyerReference>
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-10.