v1

latestOpenAPI 3.0.12026-07-141671231.8 MB
E-Invoices

[BETA] Import e-invoices

This endpoint allows you to import an e-invoice.

‼️ This endpoint is DEPRECATED As an alternative, please use either:

⚠️ UBL and CII XML support is in alpha. A 201 response confirms the file was accepted and parsed, but invoices imported via standalone UBL or CII XML have two known limitations:

  • The uploaded file is not displayed in the app — no document preview is generated yet for these formats.
  • The invoice is not recognized as an electronic invoice within Pennylane.

Factur-X PDF remains the recommended format for production use.

ℹ️ This endpoint requires the following scope: e_invoices:all

post/api/external/v2/e-invoices/imports

Response

E-invoice imported successfully

idinteger required
urlstring required

The URL of the imported e-invoice. This can be used to access the document later.

Example response

{
  "id": 42
}