Install PeppolKit in Drupal Commerce

This is how you install the PeppolKit module in Drupal Commerce and connect your shop. After that every paid order gets an invoice and every refund in Commerce becomes a PeppolKit credit note.

Start free How it works

What you need

The screenshots come from an English admin. If yours is in Dutch or French, PeppolKit's texts are translated.

Install

  1. Download the zip at peppolkit.com/downloads/peppolkit-drupal.zip. The module is not on drupal.org yet.
  2. Unpack it in the modules/custom folder of your Drupal installation. You get the folder modules/custom/peppolkit.
  3. Enable the module under Extend: search for peppolkit, tick PeppolKit and click Install at the bottom. Or with drush: drush en peppolkit.
    The Extend page in Drupal with the PeppolKit module ticked
    The PeppolKit module on the Extend page.

Connect

  1. Connect your shop. Go to Commerce → Configuration → PeppolKit. Check your email address, agree to the terms and click Connect to PeppolKit. The account is free up to 20 invoices a month and asks for no payment details.
    The PeppolKit page in Drupal Commerce with the email field and the Connect to PeppolKit button
    Connecting takes only your email address.
  2. Fill in your company details. Click Open the PeppolKit dashboard. The dashboard opens in a new tab and you are signed in at once. Under Settings, fill in your company name, address, VAT number and company registration number and save. As long as those are missing, PeppolKit makes no invoices.
    The PeppolKit page in Drupal Commerce after connecting, with three buttons
    After connecting: open the dashboard, invoice earlier orders or disconnect.

When is an invoice or credit note made?

VAT numbers of business customers

Commerce Tax has a VAT number field on the customer profile, but only shows it in the checkout once you switch it on: Configuration → People → Profile types → Customer → Manage form display. PeppolKit reads the field, checks the number with VIES and applies reverse charge on the invoice for a valid number from another EU country.

Activate Peppol

In the dashboard, Settings → Peppol says how your shop sends. Belgian shop? Confirm your company's identity there once, in about 5 minutes; Peppol is then included in every plan. Dutch shop? Connect your own free Peppyrus account, see Create a Peppyrus account.

Earlier orders and your first test

The button Invoice the paid orders of the last 60 days makes invoices for orders that were paid before you connected. An order never gets two invoices. Want to test first? Place a test order, mark it as paid and look in the dashboard under Invoices: the invoice is there as a PDF and as a UBL file.

Frequently asked questions

No invoice arrives. What now?

First check that the order is paid in full in Commerce and that your company details are saved in the dashboard. If the module could not reach PeppolKit, it tries again with the next cron run. More causes are in Fix an invoice problem.

Where does the module keep the key of the connection?

In Drupal's state, not in configuration. So the key never ends up in a configuration export or in your repository.

How do I remove the module?

Click Disconnect on the PeppolKit page, or uninstall the module under Extend → Uninstall: that disconnects your shop as well. Your invoices stay in your PeppolKit dashboard for 30 days.

Leave Peppol to PeppolKit.

Install PeppolKit and your business customers get their invoice over Peppol, without you having to deal with the network.

Choose your platform Start free with 20 invoices a month.

An explanation for orientation, not tax advice.