errorFRAfactur-x

FR-R-005:Chorus Pro structure code required

French B2G invoices need Code Structure (SIRET of receiving entity).

Severity
Fatal
Rule set
factur-x
Country
FRA
Fix type
INPUT REQUIRED

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 non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach 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. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.

Validator Behavior

  • ·Causes invoice rejection
  • ·Rejected by Chorus Pro
  • ·Error returned: FR-R-005
  • ·Specification: factur-x

How to Fix It

1.

Get structure SIRET

14-digit SIRET of the public entity

2.

Add to buyer

PartyLegalEntity/CompanyID element

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Missing or empty element triggers cbc:CompanyID error -->
<cbc:CompanyID></cbc:CompanyID>
After
<!-- Provide the required value -->
<cbc:CompanyID>VALID_VALUE</cbc:CompanyID>

Technical Reference

XPathXPath: /Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
Specfactur-x

Common 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. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.

Yes, FR-R-005 is a critical error that will cause invoice rejection. It must be fixed before submission.

See Also

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle FR-R-005 Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.