Onboarding customers
If you register participants for other companies, for example as an accounting system, a service provider or another access point, you manage those customers as companies in an eCourier team. Each company has its own authorisation agreement and can have multiple participants (network addresses). eCourier performs the network registration for the selected Peppol and/or NemHandel channels.
An API key gives your integration access to its team's resources. The customer company's authorisation is a separate requirement: new participants cannot be created through the API or portal until that company's authorisation is marked signed. This applies in both Test and Live.
There are three flows for it. Every team starts on the standard signing flow.
| Standard signing flow | Custom signing flow | Intermediary flow | |
|---|---|---|---|
| Who signs | Each customer, in eCourier | Each customer, in your own process | You, once, with eCourier |
| What you do per customer | Send them to authorisation.sign_url | Upload the signed PDF | Nothing |
| Participants can be created | When authorisation.signed is true | After the upload | As soon as the company exists |
| What it requires | Nothing | A Custom Signing Agreement with eCourier | An Intermediary Services Agreement with eCourier |
Standard signing flow
- Create the company with its legal name, country, company number, and
signer.first_name,signer.last_name, andsigner.title. Use a person authorised to act for that company. - Send the customer to the returned
authorisation.sign_url. The eCourier page identifies your team, the customer company, and the signer, and links to the agreement for signing in eCourier. - Wait for
authorisation.signedto becometrue. eCourier updates this flag once signing is complete. Read it using Company details. - Create the participant using that company's
company_id, ascheme, anidentifier, and the requiredchannels.
You can supply an HTTPS redirect_url when creating the company. After signing, eCourier waits until the signed flag has been updated before redirecting the browser. Without a redirect URL, it shows a confirmation page. Your backend should still fetch company details before continuing onboarding. There is currently no customer-facing authorisation-completed webhook; the webhook events concern documents.
Signing links expire after 30 days. Fetch company details again to obtain a fresh link while the agreement remains unsigned. Once signed, sign_url is null.
Custom signing flow
You collect each customer's signed authorisation yourself and upload it. This flow requires a Custom Signing Agreement with eCourier, which covers the authorisation document you use and how your customers sign it. Once it is in place, eCourier enables the flow for your team. It is enabled separately for Test and Live, so trying it in Test does not change how your Live companies sign.
- Create the customer company. Where the flow is enabled,
signeris optional at company creation, no eCourier agreement is created, and the response'sauthorisationis initiallynull. - Collect the customer's signed authorisation through your agreed process.
- Upload the signed PDF to
POST /v1/companies/{company}/authorisation/pdfasmultipart/form-data, withpdf,signer[first_name],signer[last_name], andsigner[title]. The PDF size limit is 1 MB. - A successful upload returns
201withauthorisation.signed: trueandsign_url: null. You can then request participant creation.
The upload endpoint returns 403 if this feature is not enabled for the team in the API key's mode. It returns 422 for invalid input or if the company already has an authorisation, including an unsigned one. It does not replace existing agreements; contact eCourier if an agreement needs to be corrected or replaced.
Contact eCourier to get the agreement, or to have the flow activated in Test mode so you can try it first.
Intermediary flow
If you onboard many customers, for example as an accounting system, a service provider or another access point, you can sign an Intermediary Services Agreement with eCourier. eCourier then turns off the signing step for your team, and you decide how to obtain and document your customers' authorisation.
With the signing step turned off, signer is optional when you create a company, no agreement is created, authorisation is null, and you can create participants as soon as the company exists. It is turned off separately for Test and Live.
Contact eCourier to get the agreement, or to have the flow activated in Test mode so you can try it first.
Signed, reviewed, and registered are separate states
| State | Meaning |
|---|---|
| Authorisation missing or unsigned | New participant creation is blocked, unless the signing step is turned off for your team. The API returns 422 with The authorisation agreement must be signed before participants can be registered. |
| Authorisation signed | The signature requirement for creating a participant is satisfied. Other company, identifier, and channel checks still apply. |
| Participant created | The participant exists in eCourier and network registration is queued. A 201 response does not confirm that registration is active. |
| Network registration active | The registry has confirmed activation for the channel. The portal shows channel status and registration errors. |
The participant API's channels array lists the configured channels; it does not expose their registration status. Use the portal to inspect activation and errors before treating the participant as ready to receive traffic.
The signed-authorisation check applies when creating a new participant. Updating an existing participant's channels does not start a new signing flow or recheck the signed flag. Removing a registered participant queues network deregistration; completion is asynchronous.
Registering and moving customers
- Profiles — a participant is registered with the profiles of the capability set you pass as
capability_set_id, or the default set when you leave it out. See Profiles. - Volume — each participant is one API request. There is no bulk import.
- Cost — in Live mode, each participant carries a monthly fee from the day it is created until it is removed. See Billing.
- Timing — registration starts as soon as the participant is created and is usually active shortly after, but the network registries decide when.
- Deadlines and identity — eCourier registers and deregisters when you call the API. It does not track deadlines that the law sets for you, and the standard signing flow does not verify the signer with an eID such as MitID. If the rules you are subject to require either, handle it in your own onboarding.
- Moving from another provider — an identifier can be registered with one access point at a time on each channel. While the previous provider still has it, registration fails with
already registered by another access point. Have them deregister it before you create the participant. If a registration has already failed, contact eCourier support to have it run again. Company numbers follow the company, and a GLN the customer already has the right to use can be supplied as theidentifier.
What the checks establish
eCourier scopes company and participant API operations to the API key's environment (pk_test and pk_live prefixes). It checks supported combinations of company country, identifier scheme, and channel, identifier format, and duplicate use within the platform. For schemes such as DK:CVR, the participant identifier must equal the company number.
Company creation validates the configured company-number format and, where supported, checks whether the number exists in a company registry. A definite “not found” result is rejected; an unavailable or unsupported lookup does not itself block creation.
These checks do not establish that a named signer has authority to represent the company. The PDF upload checks the file type, size, and supplied signer fields; it does not automatically verify the signature or the document's wording. Likewise, acceptance of a supplied GLN checks its format and existing use in eCourier, not external proof of the customer's entitlement to it. Your onboarding process should establish the customer's authority and right to use the submitted identifiers; do not treat a successful API response as confirmation of those facts.
See Workspace setup for the portal flow and API keys for team access.