Some Belgian companies already receive their Peppol invoices at another access
point and want to keep it that way. A platform can now create such a customer
send-only: getpeppr only sends for it, and keeps checking that the other
access point still receives for it. In production, send-only is enabled per
account by getpeppr; on an account that is not enabled, the creation answers
403 legal_entities.send_only_not_enabled. When this release shipped the
sandbox was gated the same way; it is open since 16 November (see the updates
below). The rules and every refusal are on the
Legal Entities page.
When this release shipped, a send-only customer could not reach active or
send: the authorisation it needs, its representative's qualified signature,
was not open. That is still the case in production; the sandbox has a
simulated authorisation since 15 November (see the updates below). This
release lets you create one and read its state with typed fields, so your
integration is ready when it opens.
Update, 15 November. In the sandbox, a send-only customer on test-range
identifiers now gets a simulated authorisation (sandbox_simulated), and
getpeppr checks its receiving on the Peppol test network within minutes: one
that no access point serves becomes suspended, with its reasons in
suspension. Production is unchanged.
Update, 16 November. In the sandbox, send-only is now open to every
platform account, with no activation from getpeppr; production still needs
getpeppr to enable the account. A sandbox customer created on getpeppr's proof
identity 0208:0000146389 becomes active with receiving.handledBy
elsewhere and can send to a test buyer.
Creating a send-only customer
const customer = await peppol.legalEntities.create({
externalId: "be-customer-7",
companyName: "Example BV",
country: "BE",
address: { line1: "Rue de la Loi 1", city: "Bruxelles", zip: "1000" },
identifiers: [{ scheme: "0208", value: "0000500044" }], // sandbox test range
networkRole: "send_only",
customerReference: "CTR-2026-0412", // required with a production key
});
networkRole and customerReference are now typed on both shapes of
LegalEntityCreateInput. Without networkRole, nothing is sent and the
customer is send_and_receive, as every customer created so far.
Reading it back
When the API sends them, which it does on every customer, each Legal Entity the SDK returns carries:
networkRole:"send_and_receive"or"send_only";customerReference: the reference you declared, ornull;receiving: who receives the customer's invoices —handledByis"getpeppr"for a send-and-receive customer, and"elsewhere","none"or"unknown"for a send-only one, with the SMP host and the time of the last check.lifecycleResponses: falsetells you that the buyer's responses go to the other access point, so a send-only customer's documents stop atdelivered.
A send-only customer also carries authorisation (how its representative's
authority was proven) and, while its status is suspended, suspension
with its reasons and since. status: "active" means ready for the
customer's role: receive-ready for send_and_receive, ready to send for
send_only — authorised, its receiving elsewhere confirmed, and not suspended. The webhooks legal_entity.send_ready, legal_entity.suspended
and legal_entity.resumed follow a send-only customer; it never receives
legal_entity.registered.
Measured on 13 November on a sandbox platform account with nine customers,
listed with the published 6.6.0 and then with the 6.7.0 build: the API returned
networkRole, customerReference and receiving on all nine. 6.6.0 dropped
all three from every customer it returned; 6.7.0 returns them.
Optional on purpose
The new fields are optional in the LegalEntity type. The SDK copies each one
only when the response carries it well-formed, and never fills one in: an
absent networkRole is unknown, not "send_and_receive", and a malformed
receiving is left out rather than guessed. The response vocabularies are open
strings, so a value the API adds later reaches your code; treat a suspension
reason you do not know as a reason to contact support.
No method signature changes, and nothing changes at runtime for a send-and-receive customer.