e-invoicing

Create the inbound endpoint

Creating the inbound endpoint registers the customer's address in the Annuaire and creates the Sovos configuration record that routes incoming invoices to the customer's ERP system.

Creating the inbound endpoint registers the customer's address in the Annuaire and creates the Sovos configuration record that routes incoming invoices to the customer's ERP system.

Note: When you create an inbound endpoint, Sovos registers the address in both the Annuaire and the Peppol SMP within the same API call. This process is synchronous but can take up to 50 seconds. The endpoint creation request does not return a response until both registrations complete.

Create an inbound endpoint in Network Services

Make sure you've done the following:

  1. Go to Settings and select Companies.
  2. Select the company. Then open the context menu (gear icon) and click Network Settings.
  3. Click New endpoint.
  4. Select the fr_invoice_inbound_1.0 product.
  5. Select the ERP System ID from the dropdown.
    Note: If the ERP System ID dropdown is empty when creating an endpoint, return to Configure ERP System Communications in Compliance Network. Only ERP System IDs created manually in Compliance Network are listed here. Auto-provisioned defaults aren't synchronized to Compliance Network.
  6. In Endpoint components, enter the Annuaire address fields for this company.

    All four fields are visible (SIREN, SIRET, Code Routage, Suffix). Enter only what applies to the chosen address format. The SIREN value must match the company's registered tax ID. The system validates this when you create the endpoint.

    Note:

    These address fields are the electronic invoicing address that goes into the French tax authority directory (Annuaire du PPF). Suppliers use it to route invoices to your customer. Enter the company's SIREN here. For most private companies, SIREN alone is the right format. See Choose the right address format if you're unsure.

  7. Set the Validity period (Start date).

    In production, the start date must be tomorrow or later. Same-day dates aren't accepted. Annuaire updates process nightly, so changes take effect the next day (J+1). The end date is optional.

  8. Under Supported documents, click the Invoices tab. Then click Add Subtype and select Invoice and CreditNote.
  9. Click the Lifecycles tab, click Add Subtype, and select Lifecycle.
  10. Click Create.

With non-scheduled registration, a status indicator on the PEPPOL side confirms successful registration after endpoint creation. If registration fails, an error message displays instead. For more details about scheduled and non-scheduled registration, see Available registration options.

Important: If endpoint creation returns an error, check whether the address was already written to the French directory before retrying. Because registration has several steps, the Annuaire registration can succeed even when the API returns an error. Creating a duplicate endpoint for an address already registered results in a conflict error from the French directory.

If you schedule the PEPPOL registration, see If PEPPOL registration is scheduled for the states the endpoint shows and the notification you receive.

If the company has a migration key from another Platforme Agréée (PA), you must schedule the PEPPOL registration. You must also attach the key to the endpoint. If you don't, thePEPPOL registration fails. For the complete migration details, see Migrate from another Plateforme Agréée.

If PEPPOL registration is scheduled

To migrate a company from another PA, you must use scheduled registration. If the endpoint uses scheduled registration, Sovos creates the Annuaire entry synchronously. Sovos registers the participant on at midnight (Europe/Paris time) on the start date. Until then, the endpoint shows a Scheduled state and the Schedule for date and time.. Sovos sends an asynchronous notification with the result. To get it, you need an ERP System ID named {orgId}_async.

State shown What it means
Scheduled Sovos registers the participant on PEPPOL on the Schedule for date and time.
Registered The PEPPOL registration is active.
Failed Sovos couldn't register the participant on PEPPOL. The endpoint shows the reason. No PEPPOL registration is active.
Executing Sovos is registering the participant now. You can't create, update, or removes an endpoint with the same PEPPOL identifier until it finishes.
Note:

If PEPPOL registration fails after the start date, Sovos keeps the Annuaire entry. Don't create a new endpoint for the same address. To try again, update the endpoint through the API and set schedulePeppolRegistration to true.

Create an inbound endpoint through the API

Use the endpoint creation API to register the customer's inbound address in the Annuaire and on PEPPOL.

By default, each API call in this topic registers the customer's electronic invoicing address in the Annuaire du PPF (the French tax authority directory) and on PEPPOL in the same request. If you turn on scheduled registration, Sovos registers the Annuaire entry synchronously. Then Sovos registers the participant on PEPPOL on the start date. See Request: schedule the PEPPOL registration. This isn't a postal address. It's the identifier suppliers use to route invoices to your customer.

Request: SIREN-level address (most common)

Make a POST request to the /v2/configurations/organizations/{orgId}/companies/{companyId}/endpoints endpoint:

JSON
curl --location --request POST \
  'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/companies/{companyId}/endpoints' \
  --header 'x-correlationId: SET-TO-UNIQUE-VALUE' \
  --header 'Authorization: Bearer TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "productId": "fr_invoice_inbound_1.0",
    "validityPeriod": {
      "start": "2026-09-02T00:00:00.0000000Z"
    },
    "codeComponents": [
      {
        "field": "SIREN",
        "value": "123456789"
      }
    ],
    "supportedDocuments": [
      {
        "type": "Invoice",
        "subTypes": ["Invoice", "CreditNote"]
      },
      {
        "type": "Lifecycle",
        "subTypes": ["Lifecycle"]
      }
    ],
    "erpSystemId": "YOUR_ERP_SYSTEM_ID"
  }'

For a SIREN + SUFFIXE address, add a second entry to codeComponents.

JSON
"codeComponents": [
  { "field": "SIREN", "value": "123456789" },
  { "field": "SUFFIXE_ADRESSAGE", "value": "ACHAT" }
]
Note: You can't combine SIRET and SUFFIXE in the same address.
Important:

The access token (Bearer token) expires after one hour. To avoid authentication errors, request a new token before the current one expires. For details, see API authentication.

Request: schedule the PEPPOL registration

Add the schedulePeppolRegistration field with value true to the same request. Sovos creates the endpoint now. Then Sovos registers the participant on PEPPOL on the start date.

Property Value
Name schedulePeppolRegistration.
Type Boolean, optional, default false.
Require for Migrating a company from another Platforme Agrééé (PA). You must set it to true.
Applies to Create endpoint and Update endpoint.
Market France only.
Lifecycle Temporary.

On Update, the result depends on the PEPPOL state of the endpoint. For an endpoint in Scheduled or Failed state, you must send schedulePeppolRegistration as true. If you omit it or send false, Sovos refuses the update with 409 PeppolRegistrationScheduleRequired. For an endpoint that is Registered, false or omitted updates it immediately. For more details, see Modify or remove an endpoint.

JSON
curl --location --request POST \
  'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/companies/{companyId}/endpoints' \
  --header 'x-correlationId: SET-TO-UNIQUE-VALUE' \
  --header 'Authorization: Bearer TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "productId": "fr_invoice_inbound_1.0",
    "validityPeriod": {
      "start": "2026-11-10T00:00:00.0000000Z"
    },
    "codeComponents": [
      {
        "field": "SIREN",
        "value": "123456789"
      }
    ],
    "supportedDocuments": [
      {
        "type": "Invoice",
        "subTypes": ["Invoice", "CreditNote"]
      },
      {
        "type": "Lifecycle",
        "subTypes": ["Lifecycle"]
      }
    ],
    "erpSystemId": "YOUR_ERP_SYSTEM_ID",
    "schedulePeppolRegistration": true
  }'

When schedulePeppolRegistration is true:

  • The start date must be at least the next calendar day (Europe/Paris). Create rejects a start date that is today or in the past.

  • For inbound endpoints, Sovos creates the Annuaire entry now. Sovos doesn't register sending-only endpoints in the Annuaire.

  • Sovos registers the participant on PEPPOL at midnight Europe/Paris on the start date.

  • Sovos doesn't register the PEPPOL participant if the Annuaire registration fails for an inbound endpoint.

Note:

When you schedule the registration, the endpoint creation request doesn't accept peppolMigrationKey. To migrate a participant from another PA, send the key in a separate step after you create the endpoint and use the scheduled option. Use PATCH /v2/configurations/organizations/{organizationId}/companies/{companyId}/endpoints/peppol-migration/inbound.

Important:

To migrate a company from another PA, you must set schedulePeppolRegistration to true. Without it, the migration fails.

Successful response

JSON
{
  "status": 201,
  "message": "Created",
  "success": true,
  "data": {
    "id": "345cef18-ae70-...-bd4c-d2c2795bfbbe",
    "code": {
      "value": "123456789",
      "scheme": "0225"
    },
    "registeredDirectories": ["Jurisdiction", "Peppol"]
  }
}

In the response, code.value is the customer's electronic invoicing address. This is what suppliers use to route invoices to them. The registeredDirectories array confirms which networks the endpoint is registered on. For inbound, both Jurisdiction and PEPPOL should be present.

Successful response with scheduled registration

JSON
{
  "status": 201,
  "message": "Created",
  "success": true,
  "data": {
    "id": "345cef18-ae70-...-bd4c-d2c2795bfbbe",
    "code": {
      "value": "123456789",
      "scheme": "0225"
    },
    "registeredDirectories": ["Jurisdiction"]
  }
}
The endpoint exists. The Annuaire entry is in place for inbound endpoints. To read the PEPPOL state, get the endpoint. peppolRegistrationState is Scheduled until the start date. Sovos registers the participant on Peppol on the start date. registeredDirectories doesn't include PEPPOL until the registration runs. Sovos sends the PEPPOL result in an asynchronous notification.

Note:

The earlier statement that both Jurisdiction and PEPPOL should be present applies to non-scheduled registration only.

codeComponents field reference

Field Format Required Notes
SIREN Nine digits Yes Must match the company's registered tax ID, confirmed when you send the request.
SIRET 14 digits No Required only for SIREN_SIRET address format.
SUFFIXE_ADRESSAGE Alphanumeric, up to 100 characters No Free text. Choose a meaningful label (for example, ACHAT, PAIE).
CODE_ROUTAGE Alphanumeric, up to 100 characters No Must already be set up in the Annuaire. Public sector use only.

Start date is required and must be tomorrow or later in production (J+1). End date is optional. Leave blank for an open-ended endpoint.

Conflicts and asynchronous requests

These points apply to every endpoint creation request in this topic, with or without scheduled registration.

Conflict while a change is in progress

Sovos returns 409 when a PEPPOL activation or another change is in progress for an endpoint with the same PEPPOL identifier (endpoint code and scheme). The error code is PeppolActivationInProgress. Wait until the change ends. Then send the request again. To learn what each state means, see What happens on the start date.

The error code is PeppolActivationInProgress.

Asynchronous creation
To create the endpoint asynchronously, send a POST request to /v2/configurations/organizations/{orgId}/companies/{companyId}/endpoints/async. The request body is the same, including schedulePeppolRegistration. Sovos returns 202 with an asyncRequestId. To check progress, send a GET request to /v2/configurations/organizations/{orgId}/companies/{companyId}/endpoints/async/{requestId}.

What happens on the start date

Note:

The following only applies if you use the scheduled approach.

At midnight (Europe/Paris time) on the start date, Sovos registers the participant on PEPPOL. If a stored migration key exists, Sovos uses it. If not, Sovos does a non-scheduled PEPPOL registration. Sovos retries temporary failures. Sovos sends an asynchronous notification through the existing Compliance Network (CN) notification mechanism.

Case When What the notification tells you
Success The PEPPOL registration completes.

The notification includes:

  • Endpoint identifier

  • Participant ID

  • Effective date

  • Execution timestamp

  • Registered

Failure after retries Sovos can't complete the registration after retrying.

The same identifiers, plus a plain-language reason from peppolRegistrationError.message. Sovos keeps the Annuaire entry.

Registration removed You change the start date of a Registered endpoint.

Sovos removed the PEPPOL registration. Sovos registers again on the new date.

Late execution An outage delays the registration past midnight. The registration ran after the scheduled time.
Before you can get the notifications
Sovos sends the notifications when the scheduled registration runs. To get them, create an ERP System ID named {orgId}_async, where {orgId} is the ID of your organization.
Peppol registration states
State Meaning
NotApplicable Not scheduled and not registered on PEPPOL.
Scheduled Sovos registers the participant on PEPPOL at midnight (Europe/Paris time) on the start date.
Executing Sovos is registering the participant now. Sovos refuses Create, Update, Delete, and migration key requests for the same PEPPOL participant identifier until it finishes. This includes endpoints in the other direction, inbound or outbound.
Registered The PEPPOL registration is active.
Failed Sovos couldn't complete the registration. peppolRegistrationError explains why. It has no code, such as ParticipantRegisteredAtAnotherSmp, and a plain-language message. PEPPOL registration is active for the endpoint.
Check the registration state

Send a GET request to /v2/configurations/organizations/{organizationId}/companies/{companyId}/endpoints/{endpointId} (Get endpoint details). The response includes peppolRegistrationState and, for a Failed endpoint, peppolRegistrationError with the error code and plain-language message.

To check every endpoint of the company at once, send a GET request to /v2/configurations/organizations/{organizationId}/companies/{companyId}/endpoints. Each item in the list includes the same fields.

What to do when the state is Failed
To try again, send an Update request with schedulePeppolRegistration set to true. Sovos then schedules the registration again. This applies to every update, including contact-only changes. Don't create a new endpoint for the same address. Sovos keeps the Annuaire entry.

If PEPPOL registration is scheduled

To migrate a company from another PA, you must use scheduled registration. If the endpoint uses scheduled registration, Sovos creates the Annuaire entry synchronously. Sovos registers the participant on at midnight (Europe/Paris time) on the start date. Until then, the endpoint shows a Scheduled state and the Schedule for date and time.. Sovos sends an asynchronous notification with the result. To get it, you need an ERP System ID named {orgId}_async.

State shown What it means
Scheduled Sovos registers the participant on PEPPOL on the Schedule for date and time.
Registered The PEPPOL registration is active.
Failed Sovos couldn't register the participant on PEPPOL. The endpoint shows the reason. No PEPPOL registration is active.
Executing Sovos is registering the participant now. You can't create, update, or removes an endpoint with the same PEPPOL identifier until it finishes.
Note:

If PEPPOL registration fails after the start date, Sovos keeps the Annuaire entry. Don't create a new endpoint for the same address. To try again, update the endpoint through the API and set schedulePeppolRegistration to true.