Documentation
Back

Bunni

Connect Bunni and set up how your orders become invoices there.

Bunni is cloud accounting software for freelancers and small businesses in the Netherlands. This page covers connecting your Bunni account to BrickInvoice and setting up how your orders end up there.

Table of Contents

  • Before you start
  • Connecting Bunni
  • Configuring Bunni
  • How orders end up in Bunni
  • Troubleshooting
  • Tips for your setup
  • Next steps
  • Support

Before you start

You need:

  • a Bunni subscription, with admin access to your Bunni account
  • your settings filled in
  • your BrickLink or Brick Owl store connected
  • a Bunni API key and your company name in Bunni (see below)

Connecting Bunni

Get your API key and company name

  1. Log in to Bunni and go to Menu → API.
  2. Click Create new API key. Give the key these permissions:
    • Categories: read
    • Contacts: read and write
    • Invoice Designs: read
    • Invoices: read and write
    • Tax Rates: read
  3. Copy the key straight away and keep it to yourself.
  4. Find your company name in the address of your Bunni pages. It is the last part of mijn.bunni.nl/administratie/{company_name}. For mijn.bunni.nl/administratie/mijnbedrijf, the company name is mijnbedrijf.

Connect

  1. Go to Accounting → Connect (/home/accounting/connect).
  2. Choose Bunni under Accounting package.
  3. Paste the key into API key and the company name into Company name (bedrijfsnaam).
  4. Click Test connection. BrickInvoice shows whether the test succeeded.
  5. Click Save connection. This button only becomes active after a successful test.

Configuring Bunni

Once Bunni is connected, go to Accounting → Configuration to choose how your orders are booked.

General settings

Invoice design (template) is the Bunni invoice design BrickInvoice uses. The list comes from your Bunni account.

Invoice description is the text at the top of the invoice, such as "Order" or "LEGO parts order". You can use these placeholders:

  • {order_number}: the order number, such as 123456
  • {source}: the store, BrickLink or Brick Owl
  • {payment_method}: the payment method, such as PayPal or Stripe

"Order {order_number} from {source}" becomes "Order 123456 from BrickLink".

Differentiate BrickLink and Brick Owl: tick this to choose separate categories for BrickLink and Brick Owl orders. See Platform differentiation.

Contact sync options

Update existing contacts: when on, an existing contact in Bunni is updated when its data changes. When off, existing contacts are never changed.

Tax settings

These rates apply to every invoice line, depending on the type of line and where the customer lives.

  • Normal tax rate: regular sales (products, shipping and handling fees) within your country and to the EU. For a Dutch business this is usually 21% BTW.
  • Margin scheme tax rate: goods under the margin scheme (second-hand goods), within your country and to the EU. Usually 0% or a special margin rate.
  • Export tax rate: every line on a sale outside the EU. Usually 0%.

Categories per line

Bunni books revenue in categories. Each kind of line on the invoice has its own card, with a Description field for the text on the line. The description takes the same placeholders as the invoice description.

Product line items has three categories, chosen by where the customer lives:

  • Domestic category: sales within your country
  • EU category: sales to other EU countries
  • Export category: sales outside the EU

These lines use the Normal tax rate.

Margin scheme line items has the same three categories, for goods under the margin scheme: Domestic margin category, EU margin category and Export margin category. These lines use the Margin scheme tax rate.

Shipping line items and Other line items (handling fees) each have one category for all shipping or handling fee income: Shipping category and Handling fees category. They use the Normal tax rate, or the Export tax rate for a customer outside the EU.

How orders end up in Bunni

Contacts

BrickInvoice creates a contact in Bunni for each new customer, with the billing and shipping address from the order. An existing contact is updated when its data changes, unless you turned off Update existing contacts.

Invoices

For each order BrickInvoice creates an invoice with a separate line for each kind of revenue. Each line gets its category and tax rate. Bunni gives the invoice its number and its status follows your Bunni settings. BrickInvoice keeps a link to the invoice in Bunni.

A Dutch business that sells to a customer in Germany (EU):

Order: €120 (products) + €10 (margin) + €5 (shipping) + €2 (handling)

Bunni invoice lines:
1. Products: €120.00 → EU category → Normal tax rate (21%)
2. Margin: €10.00 → EU margin category → Margin scheme tax rate (0%)
3. Shipping: €5.00 → Shipping category → Normal tax rate (21%)
4. Handling: €2.00 → Handling fees category → Normal tax rate (21%)

Total: €137.00 + VAT

The same business selling to a customer in the US (export):

All lines use the Export categories and the Export Tax Rate (0%):
1. Products: €120.00 → Product Category (Export) → Export Tax Rate (0%)
2. Margin: €10.00 → Margin Category (Export) → Export Tax Rate (0%)
3. Shipping: €5.00 → Shipping Category → Export Tax Rate (0%)
4. Handling: €2.00 → Handling Category → Export Tax Rate (0%)

Total: €137.00 (no VAT)

Syncing by hand

You can also sync an order by hand. That helps for an order whose automatic sync failed, for a single order you want in Bunni now, or to try out your configuration.

Troubleshooting

Categories or tax rates do not load

Check that Bunni is still connected under Accounting → Connect, then reload the configuration page. If the categories stay empty, check that your API key may read categories. The tax rate list only shows rates that are active in Bunni.

An invoice is not created

Check that your API key may create invoices and contacts, that every required field in the configuration is filled in, and that the invoice design you chose still exists in Bunni.

Tips for your setup

Tax rates

For a Dutch business selling in the EU, use 21% as Normal tax rate, 0% or your margin rate as Margin scheme tax rate, and 0% as Export tax rate. If you sell mostly outside the EU, most of your invoices will use the export rate.

Categories

Separate categories for domestic, EU and export sales make your reports easier to read. Give margin scheme sales, shipping and handling fees their own categories as well, and use clear names such as "8000 - Domestic Sales" and "8010 - EU Sales".

Order data

An invoice is only as good as the order behind it. Check that names and addresses are complete in your store orders, and that the amounts, shipping and handling fees are right before they sync. In Bunni, keep an eye on duplicate contacts.

Next steps

  1. Sync a few orders and check the invoices in Bunni.
  2. Check that each line lands in the right category, with the right VAT for the customer's country.
  3. Turn on the accounting schedule so new orders sync on their own.

Support

If something goes wrong, check the connection status in BrickInvoice, your API key and company name, and your categories and tax rates. Bunni's API logs often show the exact error. If you still need help, contact support and include the error message.