DocsPlugins

Peppol e-invoices

Invoices as e-invoices in the Peppol BIS Billing 3.0 format (UBL), for issuers in the countries that use Peppol.

The peppol plugin gives Invoicing a second download beside the PDF: an XML file that accounting software and the Peppol network read. To add it:

sluurp plugin add peppol

When it is offered

The e-invoice is offered for issuers in a country where businesses send invoices over Peppol: Belgium, the Netherlands, Norway, Sweden, Denmark, Finland, Iceland, Ireland, Luxembourg, Austria, Estonia, Germany, France, Australia, New Zealand, Singapore, Japan and Malaysia. Elsewhere only the PDF is offered.

The issuer’s country is the one set on the issuer, or else the first two letters of its IBAN. Its company number becomes its Peppol address. A credit note (an invoice with a negative total) is written as a CreditNote.

Get the file

Where it is offered, an invoice’s page in your app has E-invoice (UBL) for accounting beside the PDF, and downloads an .xml file. The address is Invoicing’s:

GET /api/billing/invoices/<id>/ubl

Any other format a plugin adds is at /api/billing/invoices/<id>/einvoice/<format>.

Other formats

This plugin is also the example for adding other invoice formats. A plugin exports an invoiceFormat with a name, a label, the countries it is for, its contentType and extension, and a build(invoice) that returns the file’s text.

View as Markdown