Sending e-invoices to French government recipients requires specific configuration on the customer and subsidiary records to route invoices through Chorus Pro instead of the standard B2B flow.
Note: Clicking on the images within this guide will enlarge them for better viewing.
Introduction
Under the French e-invoicing reform, businesses exchange invoices between VAT-registered companies (B2B) through an accredited Plateforme Agréée (PA), such as ecosio, routed via the Portail Public de Facturation (PPF). Invoices sent to public-sector entities (B2G) instead route through Chorus Pro, France's dedicated government invoicing gateway, either directly or via your PA, depending on your PA's configuration.
Because the B2B and B2G flows use different templates, routing schemes, and identifiers, the system needs to know, invoice by invoice, which path to use.
Prerequisites
Important: Create a Chorus Pro account before ecosio can configure the connection. If you have B2G flows, ecosio uses this account to set up the required connection.
- Create a Chorus Pro account with a SIRET structure type. For more information, see Chorus Pro's guide.
Configuring the recipient (customer)
The Customer record in NetSuite represents the recipient of the e-invoice.
- Open the customer record for the government entity.
- Select the ZC E-invoice B2G Flow checkbox.
When you select this checkbox, the system applies the dedicated B2G template and validation logic instead of the standard B2B template whenever it generates an e-invoice for that customer. If you leave the checkbox unchecked, the system processes the invoice through the standard B2B e-invoicing flow.
Configuring the sender (subsidiary)
The sender of the e-invoice is the subsidiary in NetSuite.
- Open the ZC Subsidiary Setup record.
- Navigate to the France section.
- Enter the subsidiary's B2G Chorus Pro Endpoint ID: the unique e-invoicing identifier used to register with the Chorus Pro government platform.
- Enter the B2G Chorus Pro Endpoint Scheme: the endpoint identifier scheme used when registering with Chorus Pro. In most cases, this is the SIRET number.
Important: These values must match what you used to register the subsidiary on the Chorus Pro platform. The sender (seller) e-invoice address used for B2G invoices must match the identifier registered with Chorus Pro, which may differ from the identifier your subsidiary uses for the standard B2B flow.
Field reference
The table below lists the English and French help text displayed for each field in NetSuite.
| Field | English help text | French help text |
|---|---|---|
| ZC E-invoice B2G Flow | Select this checkbox if the e-invoice recipient is a government entity. This triggers the Business-to-Government (B2G) e-invoicing flow. If the checkbox is not selected, the invoice will be processed using the standard Business-to-Business (B2B) e-invoicing flow. | Cochez cette case si le destinataire de la facture électronique est une entité gouvernementale. Cela déclenche le flux de facturation électronique Business-to-Government (B2G). Si cette case n'est pas cochée, la facture sera traitée selon le flux standard de facturation électronique Business-to-Business (B2B). |
| B2G Chorus Pro Endpoint ID | Enter the subsidiary's Chorus Pro Endpoint ID (unique e-invoicing identifier) used to register with the French Chorus Pro government platform. | Saisissez l'identifiant de point d'accès (Endpoint ID) de la filiale, c'est-à -dire l'identifiant unique de facturation électronique utilisé lors de son inscription sur la plateforme gouvernementale française Chorus Pro. |
| B2G Chorus Pro Endpoint Scheme | Enter the endpoint identifier scheme used when registering with the French Chorus Pro government platform. In most cases, this is the SIRET number. | Saisissez le schéma d'identification du point d'accès (Endpoint ID) utilisé lors de l'enregistrement sur la plateforme gouvernementale française Chorus Pro. Dans la plupart des cas, il s'agit du numéro SIRET. |
Field and object summary
| Object | Field | Purpose |
|---|---|---|
| Customer record | ZC E-invoice B2G Flow (checkbox) | Marks this customer as a government entity. When selected, the system routes the invoice through the B2G (Chorus Pro) template and validation instead of the standard B2B flow. |
| Subsidiary Setup (France section) | B2G Chorus Pro Endpoint ID | The subsidiary's Chorus Pro Endpoint ID, the identifier registered on the Chorus Pro government platform. May differ from the identifier used for standard B2B e-invoicing. |
| Subsidiary Setup (France section) | B2G Chorus Pro Endpoint Scheme | The identifier scheme used for the Chorus Pro Endpoint ID above. In most cases, this is SIRET. |
Requesting B2G enablement from your e-invoicing provider
- Confirm your Chorus Pro account exists, as described in the Prerequisites section.
- Notify your implementation consultant that you also require the B2G flow, so they can request that ecosio enable it.
Important: Without this step, B2G invoices generated by NetSuite will fail or be rejected, even if you correctly configure the customer and subsidiary fields above.
Testing the B2G flow
Keep the following in mind when you validate the B2G flow:
- Populate BuyerReference and OrderReference on test invoices. French government recipients frequently require these fields.
- For the Seller Electronic Address, include the SIRET number, with
@schemeID = "0009"on the Seller Electronic Address Identification Scheme Identifier element. - Set the Buyer Electronic Address Identification Scheme Identifier (
/Invoice/AccountingCustomerParty/Party/EndpointID @schemeID) to"0009"as well, representing the Chorus Pro SIRET scheme.
Tip: The B2G scheme usage (schemeID 0009) is specific to the Chorus Pro / B2G legacy profile and is distinct from schemeID 0225 (FR:CTC), which is used for standard B2B PPF routing. Do not mix the two.