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.
Create an inbound endpoint in Network Services
Make sure you've done the following:
-
Set up ERP System Communications for your organization. See ERP System Communications.
-
Assigned France e-invoicing product to your company. See Set up account for France.
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.
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. |
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:
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.
"codeComponents": [
{ "field": "SIREN", "value": "123456789" },
{ "field": "SUFFIXE_ADRESSAGE", "value": "ACHAT" }
]
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.
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.
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.
To migrate a company from another PA, you must set schedulePeppolRegistration to true. Without it, the migration fails.
Successful response
{
"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
{
"status": 201,
"message": "Created",
"success": true,
"data": {
"id": "345cef18-ae70-...-bd4c-d2c2795bfbbe",
"code": {
"value": "123456789",
"scheme": "0225"
},
"registeredDirectories": ["Jurisdiction"]
}
}
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.
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
409when a PEPPOL activation or another change is in progress for an endpoint with the same PEPPOL identifier (endpoint code and scheme). The error code isPeppolActivationInProgress. 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 returns202with anasyncRequestId. To check progress, send a GET request to /v2/configurations/organizations/{orgId}/companies/{companyId}/endpoints/async/{requestId}.
What happens on the start date
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:
|
| Failure after retries | Sovos can't complete the registration after retrying. |
The same identifiers, plus a plain-language reason from |
| 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 NotApplicableNot scheduled and not registered on PEPPOL. ScheduledSovos registers the participant on PEPPOL at midnight (Europe/Paris time) on the start date. ExecutingSovos 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. RegisteredThe PEPPOL registration is active. FailedSovos couldn't complete the registration. peppolRegistrationErrorexplains why. It has no code, such asParticipantRegisteredAtAnotherSmp, and a plain-languagemessage. PEPPOL registration is active for the endpoint. - Check the registration state
-
Send a
GETrequest to /v2/configurations/organizations/{organizationId}/companies/{companyId}/endpoints/{endpointId} (Get endpoint details). The response includespeppolRegistrationStateand, for aFailedendpoint,peppolRegistrationErrorwith the errorcodeand plain-languagemessage.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
schedulePeppolRegistrationset 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. |
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.
