We released @getpeppr/sdk v1.6.0. Platform customers can now manage their own customers as Peppol Legal Entities and send on their behalf without dropping to raw REST.
What changed
peppol.legalEntities— a typed resource tocreate,get,list(with alistAllasync iterator),archive, andrequestAttestationon the customers you manage. Master key only.senderon invoice send — emit an invoice as one of your customers withpeppol.invoices.send({ sender: { externalSubTenantId } })(or{ legalEntityId }). The seller identity is taken from the customer's verified legal entity.PeppolApiError.code— gateway error codes (e.g.le_cap_exceeded,identifier_immutable) are now available directly on the error.idempotencyKeyoption oncreateandrequestAttestationto opt into automatic retry of transient failures.
This mirrors the existing /v1/legal-entities REST API 1:1 — no new behaviour, just a clean SDK surface. See the platform docs for examples.
Update
npm install @getpeppr/sdk@latest