Convert documents between e-invoicing formats without sending them via the Transform endpoint.
The Transform API lets you convert a document from one e-invoicing format to another without sending or storing it in the PSB. This is useful for testing transformations before going live, or for manually converting documents for partners that require a specific format.
POST /api/v1/generic/transform?targetFormat={URN}
Send the source document as the request body with content type application/xml. The targetFormat parameter contains the URN of the desired target format.
If automatic detection of the source format fails, you can specify it explicitly via the sourceFormat parameter:
POST /api/v1/generic/transform?targetFormat={URN}&sourceFormat={URN}
From NLCIUS to Peppol BIS Billing V3:
POST /api/v1/generic/transform?targetFormat=urn:cen.eu:en16931:2017%23compliant%23urn:fdc:peppol.eu:2017:poacc:billing:3.0
From UBL to CII (Cross Industry Invoice):
POST /api/v1/generic/transform?targetFormat=urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100
Note: URL-encode the URN values in the query parameters. The
#character must be encoded as%23.
Not all transformations are available. The PSB supports the same transformations as when sending and receiving documents. The most commonly used transformations include conversions between UBL and CII, and between different regional variants (NLCIUS, XRechnung, Factur-X).
Which transformations are available exactly depends on the current transformation table of the PSB. Consult psb.econnect.eu for the most up-to-date overview.
200 OK400 Bad Request422 UnprocessableNote: The Transform API does not store the document and does not trigger webhooks. The document is transformed in-memory and returned directly.
Check the full API specification at psb.econnect.eu for all supported formats and URN values.
Try it in the API