sevDesk
Connect sevDesk and set up how your orders become invoices there.
sevDesk is German cloud accounting software. This page covers connecting your sevDesk account to BrickInvoice and setting up how your orders end up there.
Table of Contents
- Before you start
- Connecting sevDesk
- Configuring sevDesk
- How orders end up in sevDesk
- Troubleshooting
- Disconnecting sevDesk
- Tips for your setup
- Next steps
- Support
Before you start
You need:
- a sevDesk subscription, with admin access to your sevDesk account
- your settings filled in
- your BrickLink or Brick Owl store connected
- your sevDesk API token
- the Parts you want on your invoices created in sevDesk (see Tips for your setup)
Connecting sevDesk
Get your API token
- Log in to sevDesk at https://my.sevdesk.de.
- Go to Settings → User Settings → API Token.
- Create or copy your API token.
Connect
- Go to Accounting → Connect (
/home/accounting/connect). - Choose sevDesk under Accounting package.
- Paste the token into API key.
- Click Test connection. BrickInvoice shows whether the test succeeded.
- Click Save connection. This button only becomes active after a successful test.
BrickInvoice encrypts your key before storing it, never shares it, and only uses it to talk to sevDesk. If you think someone else knows it, create a new one in sevDesk.
Configuring sevDesk
Go to Accounting → Configuration to choose how your orders are booked.
General settings
Header is an optional title at the top of the invoice. You can use these placeholders:
{order_number}: the order number with its store, such as BL 123456 or BO 789012{payment_method}: the payment method, such as PayPal or Stripe
"Order {order_number} - {payment_method}" becomes "Order BL 123456 - PayPal".
Header text is optional extra text below the header, for more information or instructions. It takes the same placeholders.
Payment terms is an optional text such as "Payment due within 14 days".
Make invoice final: when not ticked, invoices stay drafts that you can still edit in sevDesk. When ticked, BrickInvoice finalizes each invoice straight away and it gets its official number.
Differentiate BrickLink and Brick Owl: tick this to choose separate Parts for BrickLink and Brick Owl orders. See Platform differentiation.
Contact sync options
Update existing contacts: when on, an existing contact is updated with the data from the new order. When off, existing contacts are never changed.
Parts per line
Each order becomes an invoice with a line for each kind of revenue. sevDesk puts Parts on the invoice lines, so you choose a Part from your sevDesk account for each kind of line and region. The Part's tax code sets the VAT on the line.
Product line items, for goods with normal VAT:
- Domestic product part: customers in your country, such as "LEGO Parts - Germany 19%"
- EU product part: customers in other EU countries, such as "LEGO Parts - EU 19%"
- Export product part: customers outside the EU, such as "LEGO Parts - Export 0%"
Margin scheme line items, for second-hand goods under the margin scheme, have Domestic margin part, EU margin part and Export margin part. You only need these if you use the margin scheme.
Shipping line items has one Shipping part for every region, such as "Shipping Costs". Other line items (handling fees) has one Handling fees part, such as "Handling Fees". Both usually carry your normal VAT rate.
If you do not want to split domestic and EU sales, choose the same Part for both.
How orders end up in sevDesk
Contacts
BrickInvoice looks for an existing contact by the BrickLink or Brick Owl username, so it does not create duplicates. If there is none, it creates one, with the billing address and its country. An existing contact is updated when their data changes, unless you turned off Update existing contacts.
Invoices
For each order BrickInvoice creates an invoice with a line for each kind of revenue. Line amounts include VAT, so the invoice total matches the order total.
Without Make invoice final, the invoice stays a draft. You can change it in sevDesk, and it gets a number once you finalize it. With Make invoice final, it is finalized straight away and gets its number. A final invoice can no longer be changed.
BrickInvoice keeps a link to each invoice, so you can open it in sevDesk straight from BrickInvoice. For a draft, the link opens the edit page (/fi/edit/type/RE/id/{id}).
Troubleshooting
Connecting fails
Check that you copied the API token correctly and that API access is on in your sevDesk account. Also check your internet connection and sevDesk's service status.
Your key is refused
A key stops working once you create a new one in sevDesk, so connect again with the new key. Also check that your sevDesk subscription is active and that your sevDesk user may use the API.
Parts do not load
Check that sevDesk is still connected, that your sevDesk user may see Parts, and that you created Parts. Then reload the configuration page.
An invoice is not created
Check that every required Part is chosen in the configuration and that each Part has a valid tax code in sevDesk. A missing name or address on the order can also stop the invoice.
Disconnecting sevDesk
- Go to Accounting → Connect.
- Click Disconnect sevdesk.
- Click Yes, disconnect in the dialog.
BrickInvoice removes the connection and your stored API key, and clears your accounting configuration, so after reconnecting you set it up again. Invoices and contacts already in sevDesk stay where they are. To use a new API key without losing your settings, use Change connection instead. See Changing or disconnecting your package.
Tips for your setup
VAT
For a German business, normal sales in Germany and to the EU carry 19%. Export sales outside the EU use 0%. Goods under the margin scheme use 0%, a non-taxable code or a margin rate. An Austrian business uses 20% as the normal rate and 0% export codes for sales outside the EU.
Parts in sevDesk
Create the Parts in sevDesk before you configure BrickInvoice, one for each kind of line and region, each with the right tax code. Clear names such as "LEGO Parts - Domestic 19%" make them easy to find in BrickInvoice and in your reports. For example:
Parts in sevDesk: ├── LEGO Parts - Domestic (19% VAT) ├── LEGO Parts - EU (19% VAT) ├── LEGO Parts - Export (0% VAT) ├── Margin - Domestic (0% Margin) ├── Margin - EU (0% Margin) ├── Margin - Export (0% Margin) ├── Shipping (19% VAT) └── Handling Fees (19% VAT)
Draft or final
Keep invoices as drafts while you want to check them before finalizing. Once you trust the setup, tick Make invoice final.
Next steps
- Sync one order and open the invoice in sevDesk. Check the contact, the Part on each line and the VAT amounts.
- Sync a few more orders with customers in different countries.
- Turn on the accounting schedule so new orders sync on their own.
Support
If something goes wrong, check your API key and its permissions, your Parts and their tax codes, and the customer data on the order. If you still need help, contact BrickInvoice support and include the error message.
The sevDesk API documentation and the sevDesk support portal help with questions about sevDesk itself.