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.
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.
Send from the Shopify admin
- In the Shopify admin, open an order, or select several orders on the Orders page.
- Open More actions › Send E-Invoice to Peppol.
-
Foliant lists the selected orders with what will happen to each:
- Check the cost line. It tells you how many invoices use your free allowance this month and how many are charged.
- Click Send followed by the number of orders.
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
- In the Shopify admin, open the customer.
- 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. - Save.
Export e-invoice XML
You can also download the e-invoice as a UBL XML file, for example to import it somewhere else:- In the Shopify admin, open an order or select several orders.
- Open More actions and choose Export e-Invoice XML.
- Click Export followed by the number of orders, then the download button.
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.