Skip to main content
Once your company is registered and verified on Peppol, Foliant sends e-invoices for your business (B2B) orders. They can go out automatically when an order is paid, when the customer asks for one after checkout, or when you send them from the Shopify admin. Each order’s e-invoice is sent once.

Before you start

Set up Peppol and verify your company first. See Set up Peppol e-invoicing.

Which orders get an e-invoice

An order is sent over Peppol when:
  • It’s a business order: it has the B2B Order tag, or the customer asked for a business invoice at checkout. Orders you send yourself from the Shopify admin get the B2B Order tag.
  • It hasn’t been sent before (it doesn’t have the Peppol Sent tag).
  • The customer gave business details: a VAT number, or a company name with a Peppol address. Without a Peppol address, Foliant looks the company up in the Peppol directory by its VAT number, and saves the address it finds on the customer when the VAT number is one the customer saved.
If the company can’t be found on Peppol, the send fails with “Not in Peppol Network”.

How e-invoices are sent

The e-invoice uses your sequential invoice number when invoice numbering is on, or the Shopify order name when it’s off.

What the e-invoice contains

The Peppol e-invoice has the same data as the invoice PDF and its e-invoice data: the same lines, VAT per rate and totals, your legal name and details from Settings › Tax & legal, and notes such as the payment notes for French sellers. Once the invoice is issued, the e-invoice uses the order as the issued invoice shows it. The buyer is the customer’s company, with its VAT number and Peppol address.

When an order can’t be sent

Foliant doesn’t send an e-invoice that wouldn’t match what the customer paid. The send fails, with the reason in the order’s Peppol E-Invoice History block, when:
  • the order has something e-invoices don’t support yet: a tip, duties, a gift card, or a line taxed at several rates;
  • your legal details are incomplete, such as your business address or VAT number in Settings › Tax & legal.
Complete your legal details, then click Retry on the Peppol page to send it again.

Send from the Shopify admin

  1. In the Shopify admin, open an order, or select several orders on the Orders page.
  2. Open More actions › Send E-Invoice to Peppol.
  3. Foliant lists the selected orders with what will happen to each:
  4. Check the cost line. It tells you how many invoices use your free allowance this month and how many are charged.
  5. Click Send followed by the number of orders.
The orders are queued, and Foliant tags them B2B Order: by sending, you confirm they’re business orders. If your company isn’t verified yet, the action says so instead.

Track delivery

On the Peppol page (Settings › Integrations › Peppol e-invoicing), Invoice history lists the latest invoices sent, with the order, customer, amount, Status and the date sent. Each invoice shows its delivery status: Delivered, Sent, Pending or Failed. Next to a failed invoice, click Retry to send it again. Foliant rebuilds the e-invoice from the issued invoice (or from the order’s current details when the invoice isn’t issued yet) and never sends or charges an invoice twice. On each order in the Shopify admin, the Peppol E-Invoice History block shows what happened: Send Requested, Invoice Sent, Invoice Failed or XML Exported, with the reason when it failed, such as Usage Limit Reached, Not in Peppol Network, Missing B2B Data or Not a B2B Order. Foliant also tags orders in Shopify: Peppol Sent when the invoice went out, Peppol Failed when it didn’t. Customers found on Peppol are tagged Peppol.

Add or fix a customer’s business details

  1. In the Shopify admin, open the customer.
  2. In the B2B Customer Details block, enter the Company Name, VAT Number and, if you know it, the Peppol Address, such as 0106:NL123456789. Leave the Peppol address empty if you don’t know it.
  3. Save.

Export e-invoice XML

You can also download the e-invoice as a UBL XML file, for example to import it somewhere else:
  1. In the Shopify admin, open an order or select several orders.
  2. Open More actions and choose Export e-Invoice XML.
  3. Click Export followed by the number of orders, then the download button.
One order gives one XML file; several give a zip. The file has the same data as the Peppol e-invoice, including the due date and your bank details when money is still due. Orders with business details include the company name and VAT number. Orders that can’t be sent over Peppol (see When an order can’t be sent) are left out. Exported orders are tagged XML Exported. Exporting doesn’t send anything over Peppol.

Limits and charges

  • Each sent invoice counts towards your monthly allowance. After the free invoices, each invoice is charged, up to your spending limit.
  • If a send would go over your spending limit, the action tells you how many can be sent. Raise the limit in Settings › Billing to send the rest.
  • In the Peppol beta, once the month’s free beta invoices are used, sending stops until the next month.
  • While Send e-invoices over Peppol is off, all Peppol sending is paused, including Send E-Invoice to Peppol. See Set up Peppol e-invoicing.