easybill
Connect easybill and set up how your orders become invoices there.
easybill is German invoicing software, with GoBD-compliant numbering and a DATEV export. This page covers connecting your easybill account to BrickInvoice and setting up how your orders end up there.
Table of Contents
- Before you start
- Connecting easybill
- Configuring easybill
- How orders end up in easybill
- Troubleshooting
- Disconnecting easybill
Before you start
You need:
- an easybill account on the Professional or Premium plan: Free and Starter have no API
- your settings filled in
- your BrickLink or Brick Owl store connected
- an easybill API key (see below)
Connecting easybill
Create an API key
- Log in to easybill.
- Go to Einstellungen → API.
- Create a new API key, or copy the one you have.
Connect
- Go to Accounting → Connect (
/home/accounting/connect). - Choose easybill under Accounting package.
- Paste the key into the field.
- Click Connect to easybill. BrickInvoice checks the key and saves the connection.
BrickInvoice encrypts your key before storing it, never shares it, and only uses it to talk to easybill. If you think someone else knows it, create a new one in easybill and connect again.
Configuring easybill
Go to Accounting → Configuration to choose how your orders are booked.
General settings
Make invoices final: when on, easybill gives each invoice its number as soon as it syncs. A final invoice cannot be changed or deleted in easybill; a mistake is corrected with a cancellation (Storno) or a credit note. When off, invoices stay drafts that you finalize in easybill yourself. BrickInvoice picks up the number once you do.
Invoice template: the easybill template the invoice is printed with. Automatic uses the German template for buyers in Germany, Austria and Switzerland and the English one for everyone else. You can also choose one of your own templates.
Introduction text is an optional text above the invoice lines. 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
Leave it empty and the text of the template is used.
Payment term (days) is optional. Leave it empty to use the payment term set in easybill.
Differentiate BrickLink and Brick Owl: tick this to use separate easybill articles for BrickLink and Brick Owl orders. Each article field then becomes two fields side by side. See Platform differentiation.
Contact sync options
Sync email addresses adds the buyer's email address to the customer in easybill.
Update existing contacts: when on (the default), an existing customer is updated every time one of their orders syncs. When off, existing customers are left as they are, except that a VAT number from a B2B order is filled in.
Articles per line
Each order becomes an invoice with a line for each kind of revenue: products, margin scheme goods, shipping and handling fees. Each card has a Description for the text on its lines, with the same placeholders as the introduction text, and an easybill article for each kind of buyer:
- Products and Margin scheme: buyers in your country, consumers in other EU countries, buyers outside the EU, and EU businesses with reverse-charged VAT.
- Shipping and Handling fees: your country and the EU, outside the EU, and EU businesses with reverse-charged VAT.
The EU fields only show when your country is in the EU.
The article decides which revenue account (Erlöskonto) the line is booked on. Create the articles (Rechnungsposten) in easybill first: for example one for products, one for margin scheme goods, one for shipping and one for handling fees, and an extra one wherever you want a different account for a kind of buyer. On each article, set the revenue account of your chart of accounts (SKR03 or SKR04) per tax option: one for sales at home, one for intra-community supplies (IG), one for exports (AL), one for the small business rule, and so on. easybill then books the line on the account that fits the invoice: the same product line goes to your home account on a German invoice and to your IG account on a reverse-charged one. A sale at home and a sale to a consumer elsewhere in the EU get the same tax option in easybill, so to book EU sales on their own account (for OSS, for example), choose a separate article for consumers in other EU countries. You can choose the same article for several kinds of buyer. The accounts end up in easybill's DATEV export.
BrickInvoice uses your description, price, quantity and VAT on the line; easybill adds the article's number and type. Choose No article and easybill books the line on its default account for the VAT rate.
If you delete an article in easybill that BrickInvoice still uses, the next invoice stays a draft and you get a message naming the line: choose another article here, and the next sync brings the draft up to date.
Payment registration
Turn on Enable payment sync to register PayPal and Stripe payments on the invoice in easybill, which marks it as paid. This needs Make invoices final: easybill takes no payment on a draft. Payment type in easybill is the text easybill shows as the payment's type.
easybill does not book a payment on a bank or ledger account itself; it does that in its DATEV export. PayPal and Stripe fees are not booked in easybill: easybill has no way for BrickInvoice to book them.
How orders end up in easybill
Invoices
For each order BrickInvoice creates an invoice with gross prices, so the invoice total matches the order total. If the invoice for an order already exists in easybill, BrickInvoice uses it: a draft is brought up to date, a final invoice is left as it is. A cancelled invoice is not reused, so syncing the order again creates a new one.
VAT follows the order:
- Buyers in your country: your normal rates.
- Consumers in other EU countries: your rates, or with OSS turned on, the buyer's country's rates on an OSS invoice.
- EU businesses with reverse-charged VAT: an intra-community supply (innergemeinschaftliche Lieferung); easybill adds the legal text. Without a valid VAT number the invoice stays a draft and you get a message: enter the number in easybill, then finalize the invoice.
- Buyers outside the EU: an export delivery (Ausfuhrlieferung) without VAT.
- Kleinunternehmer: if you charge no VAT (see your settings), invoices are made under the small business rule.
- Margin scheme goods are always a line at 0 % VAT, with their own article, also on an OSS invoice.
There is no link from BrickInvoice to the invoice in easybill: easybill offers none. Search for the invoice number in easybill.
Customers
For every order BrickInvoice looks for the buyer by last name and the store username in the customer's note, such as BL_username for BrickLink or BO_username for Brick Owl. If the buyer is not there, BrickInvoice creates a new customer, and easybill gives it its customer number.
A customer you created in easybill yourself is only recognized when its note holds the username. With Update existing contacts on, BrickInvoice writes the username into the note of every customer it updates, replacing any text you put there yourself.
Speed
easybill allows 10 requests a minute on Professional and 60 on Premium, and does not tell BrickInvoice which plan you have. BrickInvoice therefore keeps to 10 a minute for everyone. An order takes six to eight requests, so BrickInvoice books about ten orders, pauses a minute, and goes on with the next ten until every order is booked. The first sync of a busy store therefore takes a while: about seventy orders an hour.
Troubleshooting
Connecting fails
- "easybill does not accept this API key": copy the key again from Einstellungen → API, without spaces.
- "easybill refused access": your plan has no API. Upgrade to Professional or Premium.
- "easybill is limiting requests right now": wait a minute and try again.
An invoice stays a draft
- Make invoices final is off, or
- the order is a B2B order with reverse-charged VAT and no valid VAT number is known. Enter it on the customer in easybill and finalize the invoice there, or
- an article chosen for one of its lines no longer exists in easybill. The message names the line: choose another article for it under Accounting → Configuration, and the next sync updates the draft and makes it final.
A line is booked on the wrong revenue account
- Check which article is chosen for that kind of line and that kind of buyer under Accounting → Configuration. A sale at home and a sale to a consumer elsewhere in the EU each use their own field, also when they have the same VAT treatment in easybill.
- Check the article in easybill: its revenue account for the tax option of the invoice (none, IG, AL, small business) decides the account.
- With Differentiate BrickLink and Brick Owl on, each store has its own field; an empty field means no article, even if the field was filled before you turned the option on.
- No article leaves the account to easybill's default for the VAT rate.
A payment is not registered
- The invoice is still a draft: finalize it in easybill and register the payment there.
- Payment registration or the payment method is off.
Disconnecting easybill
Go to Accounting → Connect and click Disconnect easybill. BrickInvoice deletes the stored key. Invoices and customers stay in easybill. To stop the key working at all, delete it in easybill under Einstellungen → API.