Connect PeppolKit to Stripe

This is how you install PeppolKit from the Stripe App Marketplace, or connect it with a restricted key. After that every payment through Stripe Checkout, a Payment Link or a Stripe invoice gets an invoice, and every refund a credit note.

Start free How it works

What you need

Install

  1. Open PeppolKit in the Stripe App Marketplace and click Install app. Choose the Stripe account you sell with.
  2. Approve the access. Stripe shows what PeppolKit may read: Checkout Sessions, Invoices, Charges and Refunds, Events, Tax Rates, Shipping Rates and Accounts, all Read-only. Click Install. PeppolKit cannot move money or change anything in your account.
  3. Open your dashboard. Stripe sends you back to PeppolKit. Enter your email address, agree to the terms and click Open dashboard. No key to copy. The account is free up to 20 invoices a month and asks for no payment details.
  4. Fill in your company details. Under Settings, on the Company and VAT tab, fill in your company name, address, VAT number and company registration number and save. Preferably do this before your first order comes in. An order paid before then waits and gets its invoice as soon as you save your details.
    The Company and VAT tab under Settings in the PeppolKit dashboard, with the company name and address filled in.
    Under Settings, on the Company and VAT tab, you enter the details that appear as the seller on every invoice.

Connect with a key

Prefer not to use the app? Connect with a restricted key instead. After step 3, fill in your company details as above.

  1. Create a restricted key in Stripe. In Stripe, open the API keys page and create a secret key. Choose the option for an external service, with PeppolKit as its name and https://app.peppolkit.com as its URL.
    The choice in Stripe of how a new key will be used
    Choose sharing with a third-party service: the key only gives access to what PeppolKit needs.
  2. Give only these permissions. Choose custom permissions. Set to Read: Checkout Sessions, Invoices, Charges and Refunds. Set to Write: Webhook Endpoints. Leave the rest on None. Create the key and copy it; it starts with rk_live_.
    Stripe, Create secret key, Select permissions: Charges and Refunds and Invoices set to Read.
    With the filter on selected permissions only, you see what you switched on: Charges and Refunds and Invoices set to Read.
    Stripe, Select permissions: Checkout Sessions set to Read and Webhook Endpoints set to Write.
    Further down: Checkout Sessions set to Read and Webhook Endpoints set to Write. Everything else stays on None.
  3. Paste it into PeppolKit. Open app.peppolkit.com/stripe (the Start free button on the Stripe page). Paste the key into Restricted key, enter your email address, agree to the terms and click Connect. PeppolKit makes the webhook in your Stripe account itself. PeppolKit does not accept an ordinary secret key (sk_). The account is free up to 20 invoices a month and asks for no payment details.
    PeppolKit's connect page for Stripe
    Paste the key, enter your email address and connect.

Set up

Stripe makes receipts and, with Stripe Invoicing, invoices in its own layout. If Stripe also sends your customer a receipt or an invoice, turn that off, or your customer gets two. You turn receipts off under Settings → Business → Customer emails: Successful payments and Refunds. You choose a paid plan later in the dashboard under Subscription; you pay in euros through Mollie.

Stripe, Settings, Business, Customer emails: Successful payments and Refunds are off.
Under Payments, Successful payments and Refunds are off: your customer only gets PeppolKit's invoice and credit note.

When is an invoice or credit note made?

VAT numbers of business customers

Have Stripe Checkout ask your customer for a VAT number, with tax ID collection or with a custom field that has VAT, BTW or TVA in its name. PeppolKit reads the number from the payment. PeppolKit checks the number with VIES and applies reverse charge on the invoice for a valid number from another EU country. A business customer from your own country simply pays VAT.

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. Shop in the Netherlands, Germany or Luxembourg? Activate Peppol through PeppolKit, from the Starter plan; the number of Peppol invoices in each plan is on the pricing page. On the free plan a Dutch shop can connect its own free Peppyrus account, see Create a Peppyrus account.

An invoice in the PeppolKit dashboard delivered over Peppol
Every invoice shows whether it meets the European standard and when it was delivered.

Earlier orders and your first test

Only payments that succeed after you connect get an invoice; there is no button for earlier payments in Stripe. Want to test first? Install the app in test mode through app.peppolkit.com/stripe/app?test, or connect with a key that starts with rk_test_. With a key, PeppolKit tells you: "This is a test key: payments in test mode get an invoice, real payments do not." Make a test payment through Checkout or a Payment Link and look in the dashboard under Invoices: the invoice is there as a PDF and as a UBL file.

An invoice in the PeppolKit dashboard with the Download PDF and Peppol file (UBL) buttons.
Under Invoices you open each invoice and download it as a PDF or as a UBL file.

Troubleshooting

PeppolKit does not accept the key

Cause: You pasted an ordinary secret key (starting with sk_): "This is a secret key (sk_). Create a restricted key (rk_) with only the permissions from the steps above." Or the key lacks a permission: Read for Checkout Sessions, Invoices and Charges and Refunds, and Write for Webhook Endpoints.

Fix: Create a restricted key in Stripe through "Sharing with a third-party service" with exactly those permissions, and paste it again on the connect page.

A payment gets no invoice

Cause: PeppolKit invoices payments through Stripe Checkout, Payment Links and paid Stripe invoices. It skips payments of a webshop that only uses Stripe as its payment method, and amounts of zero. With a test key (rk_test_) only test payments get an invoice.

Fix: Connect a webshop that takes payments through Stripe to PeppolKit itself: it knows the order lines. For real payments use a key starting with rk_live_.

A paid order has no invoice yet

Cause: Your company details were not in the dashboard yet when the order was paid. The order then waits; the dashboard shows how many orders are waiting.

Fix: Fill in your company name, address, VAT number and company registration number under Settings and save. Within a few minutes every waiting order gets its invoice, dated that day, and your customer receives it as usual. If a message from Stripe could not be handled, the error is on the Stripe tab in the settings: "The last message from Stripe could not be handled".

VAT was charged to a business customer

Cause: PeppolKit reads the VAT number Stripe Checkout asked your customer for, or an extra Checkout field with VAT, btw or TVA in its name. Without a number a business is invoiced as a consumer. PeppolKit only applies reverse charge with a number that is valid according to VIES and comes from another EU country than your shop; a business from your own country pays VAT. If the number was invalid or VIES was unreachable, the invoice says for example "VAT number ... is not valid according to VIES; VAT was charged."

Fix: Check the number with your customer. You do not change an existing invoice yourself: email support@peppolkit.com with the invoice number.

No credit note

Cause: A credit note follows a successful refund in Stripe, for a payment with a PeppolKit invoice. A Stripe credit note without a refund does not count.

Fix: Refund in Stripe. A payment from before you connected has no PeppolKit invoice and gets no credit note.

More causes and messages are in Fix an invoice problem. Still stuck? Email support@peppolkit.com; you get a personal answer within one working day.

Frequently asked questions

What can the app do in my Stripe account?

Only read: payments, invoices, refunds, tax rates, shipping rates and the name of your account. The app cannot move money or change anything. You uninstall it in Stripe, among your installed apps.

Is it safe to share a key?

If you connect with a key, you create a restricted key that can only read payments and invoices and make a webhook. It cannot move money. PeppolKit stores it encrypted and you revoke it in Stripe with one click.

Which payments get no invoice?

Payments from a webshop that only uses Stripe as its payment method: that shop gets its invoices through its own connection. Payments of €0 and payments from before you connected get none either.

How do I disconnect?

In the dashboard under Settings, on the Stripe tab, click Disconnect. PeppolKit removes its access at once; with a key, PeppolKit also removes its webhook at Stripe. Using the app? Uninstall it in Stripe too; if you uninstall it there, PeppolKit disconnects by itself. Your invoices stay available for download 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.