e-invoicing

Migrate from another Plateforme Agréée

If a company registers with another Plateforme Agréée (PA) and wants to migrate to Sovos, you need a migration key from the earlier PA before the endpoint's start date and schedule the PEPPOL registration.

Why a migration key is required

When a company registers with a PA, the PEPPOL system stores the registration. Sovos can't create a new registration for a company that is already registered because PEPPOL blocks it.

To transfer ownership, the earlier PA must issue a migration key. The migration key is a PEPPOL network code that authorizes Sovos to claim the company's existing AP registration. Without it, Sovos can't complete the inbound migration.

Note: A migration key is not required if the previous PA deletes the company's participant ID from the PEPPOL network before you start endpoint creation on Sovos. In that case, you can use the standard endpoint creation flow.

For France, Sovos creates the Annuaire PPF entry as part of the same request, following the non-scheduled registration flow. You don't need added steps for the Annuaire registration when a migration key is present.

If the migration key is invalid, expired, or already used, the PEPPOL registration fails on the start date. Sovos sends an asynchronous notification with the reason. Sovos keeps the Annuaire entry.

Available registration options

For France, Sovos offers two ways to register a PEPPOL participant when you create an endpoint: non-scheduled registration and scheduled registration. The two options exist because the Annuaire PPF and the Peppol Service Media Locator (SML) handle dates differently. The Annuaire PPF accepts entries with a future start date. The SML takes effect immediately. If you register both in one request for an endpoint with a future start date, the PEPPOL registration is active before the endpoint starts. That isn't compliant.

Scheduled registration fixes this. Sovos creates the Annuaire entry when you create the endpoint. Then Sovos registers the PEPPOL participant at midnight (Europe/Paris time) on the start date. You turn on scheduled registration with the optional schedulePeppolRegistration parameter. By default, Sovos uses non-schedule registration.

Important:

To migrate from another PA, you must use scheduled registration.

Choose how PEPPOL registration runs

For France, Sovos offers two ways to register the PEPPOL participant when you create an endpoint.

Option Use case How you choose it What happens
Non-scheduled The start date is today or in the future. You aren't migrating from another PA. schedulePeppolRegistration is false or omitted. Sovos registers the Annuaire entry and the PEPPOL participant in the same request. The request doesn't accept a migration key, so you can't use non-scheduled registration to migrate from another PA.
Scheduled The endpoint has a start date in the future. You must use scheduled registration to migrate from another PA. schedulePeppolRegistration is true. Sovos creates the endpoint now, then registers the PEPPOL participant at midnight (Europe/Paris time) on the endpoint's start date. You send the migration key in a separate step after you create the endpoint.

If the company has a migration key from the earlier PA, you must use scheduled registration. If you use non-scheduled registration, the PEPPOL registration fails.

Important:

To migrate a company from another PA, you must turn on scheduled registration. Set schedulePeppolRegistration to true when you create the endpoint. Without it, the migration fails.

The Annuaire PPF accepts future-dated entries, but the PEPPOL Service Media Locator (SML) takes effect immediately. Scheduled registration keeps the two in step when the endpoint has a future start date.

What changes when you schedule registration

Aspect Non-scheduled Scheduled
Annuaire Inbound endpoints: created immediately. Outbound endpoints: not registered. Unchanged.
PEPPOL registration Registered in the same request. Scheduled for midnight (Europe/Paris time) on the start date.
Migration key Not accepted in the endpoint creation. Sent in a separate step after you create the endpoint.
Response Existing response. Existing response. To read the state, get the endpoint. peppolRegistrationState is Scheduled until the start date.
PEPPOL result In the response. Asynchronous notification.

Before you begin

To migrate, you must schedule thePEPPOL registration. Set schedulePeppolRegistration to true when you create the endpoint. Migration doesn't work with non-scheduled registration.

The company (or their ISV partner) must obtain the migration key from their earlier PA before the endpoint's start date. Sovos can't request or generate a migration key on behalf of the company.

Ask the earlier PA for a PEPPOL migration key for the company's participant identifier. The migration key comes from the earlier PA only. Sovos and the PPF don't issue it.

The PEPPOL SML defines the following rules for migration keys. Make sure the key you get follows these rules before you send it to Sovos:

  • At least eight characters and no more than 24 characters.

  • At least two lowercase letters (a to z).

  • At least two uppercase letters (A to Z).

  • At least two digits (0 to 9).

  • At least two characters from this set: @ # $ % ( ) [ ] { } * ^ - ! ~ | + =.

  • No whitespace characters.

Note: Sovos passes the migration key to the PEPPOL SMP server, which confirms the syntax and validity of the key. If the key doesn't meet these rules, the SMP server returns an error.

Keys with scheduled registration

The endpoint creation request doesn't accept a migration key. Send it once for the participant. Identify the participant by the PEPPOL participant ID (code and scheme). Sovos applies the key to all of that participant's endpoints that are in Scheduled or Failed state.

For multiple endpoints with one key, the migration key starts the PEPPOL migration for that endpoint code. It also transfers DNS ownership to Sovos. After the migration completes, you can't use the key again.

Create the endpoint using the API

Use this section for non-scheduled registration. To schedule the PEPPOL registration send the migration key with scheduled registration. Don't use non-scheduled registration to migrate from another PA.

If you use non-scheduled registration, Sovos starts the PEPPOL registration immediately. For a migration, this registration fails. To migrate, set schedulePeppolRegistration to true. Then you have to set a start date in the future and submit the migration key.

After you have the migration key, supply it as part of the endpoint creation API request using the optional peppolMigrationKey field. The endpoint creation request follows the standard flow in all other respects. Both the synchronous (POST /endpoints) and asynchronous (POST /endpoints/async) methods support this field.

Important:

Don't include peppolMigrationKey in the endpoint creation request when you turn on scheduled registration. Send the key in a separate step.

The peppolMigrationKey field applies only to endpoints that use PEPPOL. If you send it for an endpoint that doesn't use PEPPOL, Sovos returns a 400 error. It doesn't run any operations.

Note:

You can migrate from another PA only with scheduled registration.

Send the migration key with scheduled registration

Scheduled registration is the only supported way to migrate from another PA.

Follow these steps to send the migration key when you schedule the PEPPOL registration:

  1. Create the endpoint. Set schedulePeppolRegistration to true. Set the start date to at least the next calendar day (Europe/Paris time).

  2. Get the endpoint. peppolRegistrationState is Scheduled. Sovos registers the participant on PEPPOL on the start date in validityPeriod. PEPPOL isn't in registeredDirectories yet.

  3. Send the migration key you get from the earlier PA. Send a PATCH request to /v2/configurations/organizations/{organizationId}/companies/{companyId}/endpoints/peppol-migration/inbound. In the body, send peppolMigrationKey, endpointCode, and endpointScheme. Send it before the start date. Don't send an effective date. Sovos uses the start date stored on the endpoint.

  4. Wait for the asynchronous notification. Sovos sends it after the PEPPOL registration runs on the start date. To get it, you need an ERP System ID named {orgId}_async.

Example request for step 3:

JSON
curl --location --request PATCH \
  'https://api-test.sovos.com/v2/configurations/organizations/{organizationId}/companies/{companyId}/endpoints/peppol-migration/inbound' \
  --header 'x-correlationId: SET-TO-UNIQUE-VALUE' \
  --header 'Authorization: Bearer TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "peppolMigrationKey": "KEY-FROM-FORMER-PA",
    "endpointCode": "123456789",
    "endpointScheme": "0225"
  }'

Example response. endpointIds lists the endpoints that now hold the key. The response never includes the key:

JSON
{
  "status": 200,
  "success": true,
  "message": "OK",
  "timestamp": 1791449847304,
  "data": {
    "endpointCode": "123456789",
    "endpointScheme": "0225",
    "participantId": "iso6523-actorid-upis::0225:123456789",
    "attachedAt": "2026-10-06T12:00:00Z",
    "endpointIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"]
  }
}
Rules for the migration key
  • Sovos never returns the inbound migration key.

  • Send the key again to override the earlier key.

  • Send the key before the start date. Sovos stores it on every endpoint of the participant that is in Scheduled or Failed state. Then Sovos returns their IDs in endpointIds.

  • If no key is stored on the start date, Sovos does a non-scheduled PEPPOL registration.

  • If the endpoint is in Failed state when you send the key, Sovos stores the key but doesn't run the activation again. To run it again, update the endpoint and set schedulePeppolRegistration to true.

Conflict errors

The migration key operation returns a conflict error when any of these are true:

  • An endpoint of the participant is already Registered on PEPPOL.

  • No endpoint of the participant is in Scheduled or Failed state.

  • A PEPPOL activation or another change for this PEPPOL ID is in progress. Try again shortly.

Migration key error codes

Status subCode Meaning
400 Required A required field is missing.
404 EndpointNotFound No endpoint with this code and scheme exists in the company.
409 EndpointAlreadyRegisteredOnPeppol An endpoint of this participant is already registered on PEPPOL.
409 NoPendingPeppolRegistration No endpoint of this participant is waiting for its PEPPOL activation.
409 PeppolActivationInProgress A PEPPOL activation or another change for this PEPPOL identifier is in progress.

Send the migration key using the Network Services portal

You can also send the migration key in the Network Services portal when you create the endpoint:

  1. Go to Settings → Companies. Then select the company.

  2. Click Endpoints. Then click New endpoint.

  3. Under General, in the Migration key field, enter the migration key from the earlier PA.

  4. Complete the remaining endpoint fields. Then click Create.

Important:

If the company has a migration key, you must schedule the PEPPOL registration. You must attach the key to the endpoint. If you don't, the PEPPOLregistration fails.

Note:

For notifications and registration states, see What happens on the start date.