FR-R-005:Chorus Pro structure code required
Fix: Add the receiving public entity SIRET number. Provide the required value in the free validator.
French B2G invoices need Code Structure (SIRET of receiving entity).
Engine Classification
Business data required · Explicit input workflow · No assumptions made
Required input: Code Structure (SIRET destinataire)
What is FR-R-005?
FR-R-005 is a fatal validation rule defined in the factur-x specification (FRA national rules). It validates the CompanyID element under Party > PartyLegalEntity in the UBL invoice XML.
When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.
Target path: XPath: /Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
Why This Error Matters
Required for identifying the receiving public administration.
FR-R-005 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.
Validator Behavior
- ·Causes invoice rejection
- ·Rejected by Chorus Pro
- ·Error returned: FR-R-005
- ·Specification: factur-x
How to Fix It
Get structure SIRET
14-digit SIRET of the public entity
Add to buyer
PartyLegalEntity/CompanyID element
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Missing or empty element triggers cbc:CompanyID error --> <cbc:CompanyID></cbc:CompanyID>
<!-- Provide the required value --> <cbc:CompanyID>VALID_VALUE</cbc:CompanyID>
Technical Reference
XPath: /Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyIDCommon Causes
- ·Missing buyer SIRET
- ·Using SIREN instead of SIRET
Seeing this in production? The API handles FR-R-005 automatically. See the fix response →
Frequently Asked Questions
French B2G invoices need Code Structure (SIRET of receiving entity).
Add the receiving public entity SIRET number. Invoice Navigator detects this error and prompts for the required business data before applying a safe fix.
Yes, FR-R-005 is a critical error that will cause invoice rejection. It must be fixed before submission.
Related Errors
Related Content
Last updated: 3 March 2026
Validate your invoice
Drop your XML here to check for FR-R-005
Fix FR-R-005 with guided input
Upload your invoice and we'll ask for the missing data, then apply a safe, auditable fix.