=== PeppolKit – EU invoices and Peppol for WooCommerce ===
Contributors: peppolkit
Tags: invoice, peppol, e-invoicing, vat, belgium
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later

Every paid order becomes an EU-compliant invoice with a Peppol e-invoice: VIES-checked reverse charge, credit notes on refunds, Dutch/French/English.

== Description ==

PeppolKit creates an invoice as soon as an order is paid (status processing or completed):

* PDF plus Peppol BIS Billing 3.0 UBL, validated against EN 16931 and the Peppol rules
* Optional VAT number field at checkout; checked live with the EU VIES service, reverse charge where required
* Credit notes automatically when you refund an order
* Sends invoices to business customers over the Peppol network (mandatory for Belgian B2B since 2026)
* Invoices in Dutch, French or English, gapless numbering
* Invoice download in the order screen, on the thank-you page, in the order e-mails and in the customer's account
* Overview screen: setup checklist, usage this month, the latest invoices with Peppol and e-mail status
* Resend the invoice e-mail or (re)send over Peppol straight from the order
* One click to the PeppolKit dashboard: all invoices, monthly export for your accountant, sample invoice, logo and brand colour
* Orders that wait for an invoice (plan limit, missing company details) are kept and created later with one click
* Create invoices for paid orders of the last 60 days
* Translated into Dutch and French

Free up to 10 invoices a month.

== Frequently Asked Questions ==

= When is the invoice created? =

As soon as an order reaches the status processing or completed. The invoice is created in the background, so checkout is never slowed down; it is usually ready within a minute.

= What happens when I reach my monthly invoice limit? =

The order is marked as waiting. PeppolKit shows a notice with the number of waiting orders and a button to create their invoices once you have upgraded your plan.

= I already had orders before installing PeppolKit. =

Go to PeppolKit > Overview and click "Create invoices for paid orders of the last 60 days" (up to 250 orders at a time).

= Do I need Peppol? =

Belgian businesses must receive invoices over Peppol since 2026. Activate Peppol once under PeppolKit > Settings; invoices to business customers with a Peppol ID are then sent automatically.

= Where do I give my accountant the invoices? =

Click "Monthly export" on the overview screen to open the export in the PeppolKit dashboard.

= What happens when I disconnect or delete the plugin? =

Disconnecting removes the API key from your shop. Deleting the plugin also removes its settings and scheduled tasks. Your invoices stay available in your PeppolKit account.

== External service ==

This plugin sends order data (customer name, address, e-mail, VAT number, order lines and amounts) to the PeppolKit service at https://app.peppolkit.com to create, store and deliver invoices. Privacy policy: https://peppolkit.com/privacy · Terms: https://peppolkit.com/voorwaarden

== Changelog ==

= 0.1.0 =
* First version: invoices and credit notes for paid and refunded orders, VIES-checked reverse charge, Peppol sending.
* PeppolKit menu with an overview (setup checklist, usage bars, latest invoices) and settings.
* Order box: e-mail status, resend e-mail, send via Peppol / retry.
* Invoice link on the thank-you page and in the processing / completed e-mails.
* Waiting orders on plan limit or missing details, with automatic retry after saving settings; backfill for the last 60 days.
* Retry for credit notes on temporary errors.
* Disconnect button and clean uninstall.
* Setting for the EU distance-sales threshold.
* Dutch and French translations.
