KigoKasa
Connect KigoKasa and set up how your orders become fiscalised invoices in Croatia.
KigoKasa is point of sale and accounting software used a lot in Croatia. This page covers connecting your KigoKasa account to BrickInvoice and setting up how your orders end up there, with Croatian fiscalisation.
Table of Contents
- Before you start
- Connecting KigoKasa
- Configuring KigoKasa
- How orders end up in KigoKasa
- Troubleshooting
- Tips for your setup
- Next steps
- Support
Before you start
You need:
- a KigoKasa account, with admin access
- your settings filled in
- your BrickLink or Brick Owl store connected
- your KigoKasa API username and password
- the PIN of the KigoKasa employee who creates the invoices. Croatian fiscalisation needs it. You enter it in the configuration after connecting.
- the items you want on your invoices created in KigoKasa (see Tips for your setup)
Connecting KigoKasa
- Go to Accounting → Connect (
/home/accounting/connect). - Choose KigoKasa under Accounting package.
- Fill in your KigoKasa API username under Username and the password under Password.
- Click Test connection. BrickInvoice shows whether the test succeeded.
- Click Save connection. This button only becomes active after a successful test.
Configuring KigoKasa
Go to Accounting → Configuration to choose how your orders are booked.
General settings
PIN is the PIN code of the employee who creates the invoices. Croatian fiscalisation needs it. You find the PIN codes in KigoKasa under Options → Employees.
Differentiate BrickLink and Brick Owl: tick this to choose separate items for BrickLink and Brick Owl orders. See Platform differentiation.
Contact sync options
- Sync email addresses: adds the buyer's email address to the client in KigoKasa. Turn it on if you send invoices from KigoKasa by email. Leave it off if you would rather not keep buyers' email addresses in your accounting.
- Update existing contacts: when on, an existing client is updated with the data from the new order. When off, existing clients are never changed.
Items per line
KigoKasa puts items on the invoice lines. An item has a title, a reference code, a price, a VAT percentage (PDV) and a category. BrickInvoice uses the item's title as the text on the invoice line and its VAT rate for the line, so you do not set descriptions in BrickInvoice.
You choose an item for each kind of line and region. BrickInvoice picks the one that fits the customer's country: a customer in Croatia gets the Domestic sales item, one in Germany the EU sales item, and one in the US the Export sales item.
Product line items, for LEGO with normal VAT:
- Domestic sales item: sales within Croatia, usually 25% PDV
- EU sales item: sales to other EU countries, if your business is in the EU
- Export sales item: sales outside the EU, usually 0% PDV
Margin scheme line items, for second-hand goods: Domestic margin item, EU margin item and Export margin item.
Shipping line items: Domestic shipping item, EU shipping item and Export shipping item.
Other line items (handling fees): Domestic handling fees item, EU handling fees item and Export handling fees item.
Payment status mapping
Under Payment status mapping you choose whether a new invoice is marked as paid, based on how the buyer paid. BrickInvoice sorts payment methods into three groups, each with its own field:
- Online payments (Stripe, PayPal)
- Cash payments (cash, cash on delivery)
- Other payments (IBAN, bank transfer, other)
For each group, choose Paid or Not paid. Leave a field empty to let KigoKasa use its own default. You can fill in some groups and leave the others empty.
The setting only applies to invoices created after you save it. Invoices already in KigoKasa keep their status.
How orders end up in KigoKasa
Clients
BrickInvoice looks for an existing client by its reference code, which is the buyer's username, so it does not create duplicates. If there is none, it creates one with the billing address from the order. An existing client is updated when its 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, each with the item that fits the customer's country. KigoKasa gives the invoice its number, in the form {pos_number}/{place_short}/{place_pos}, and handles the fiscalisation.
BrickInvoice keeps a link to each invoice, such as https://trgovina.kigoserver.com/hr/pos/printPreview?id={invoice_id}, so you can open it in KigoKasa straight from BrickInvoice.
Syncing by hand
You can also sync an order by hand, for a single order you want in KigoKasa now or to try out your configuration.
Troubleshooting
The connection test fails
Check your API username and password in KigoKasa and test again. Also check your internet connection. If it keeps failing, contact KigoKasa support.
Items do not load
Check that KigoKasa is still connected, that your user may see items in KigoKasa, and that you created items. Then reload the configuration page.
An invoice is not created
Check that every required item is chosen in the configuration, that those items still exist in KigoKasa, and that the PIN under General settings is filled in.
Tips for your setup
VAT
You set the VAT rate on each item in KigoKasa. If you are VAT registered, use 25% PDV for domestic and EU sales of products, shipping and handling fees, and 0% PDV for export sales and margin scheme items. If you are not VAT registered, give every item 0% PDV.
Your VAT registration decides which rates you use, how many items you need, and what fiscalisation asks of you.
Items when you are VAT registered
Create the items under Items in KigoKasa before you configure BrickInvoice. Their titles appear on your invoices, so make them clear, such as "LEGO Parts - Croatia". Most sellers create one item per kind of line and region:
Product items: ├── LEGO Parts - Croatia (25% PDV) ├── LEGO Parts - EU (25% PDV) └── LEGO Parts - Export (0% PDV) Margin items (if you use the margin scheme): ├── Margin Scheme - Croatia (0% PDV) ├── Margin Scheme - EU (0% PDV) └── Margin Scheme - Export (0% PDV) Shipping items: ├── Shipping - Croatia (25% PDV) ├── Shipping - EU (25% PDV) └── Shipping - Export (0% PDV) Handling items: ├── Handling Fees - Croatia (25% PDV) ├── Handling Fees - EU (25% PDV) └── Handling Fees - Export (0% PDV)
If your bookkeeping allows it, you can also use one item per region for products, shipping and handling, such as "Sales Croatia (25% PDV)". That is quicker to set up, but your books show less detail.
Items when you are not VAT registered
Three items with 0% PDV are enough, and you can use them for every region:
├── LEGO Parts (0% PDV) ├── Shipping (0% PDV) └── Handling Fees (0% PDV)
You can still create separate items per region if you want to see the sales per region. Consider adding a note such as "Not VAT registered" to your invoices in your KigoKasa settings.
Payment status
Pick the mapping that fits how you check payments:
- Check everything yourself: leave all fields empty or set them to Not paid, and mark invoices as paid in KigoKasa once you have seen the money. Good while you are getting started.
- Trust online payments: Paid for online payments, Not paid for cash and other payments. Stripe and PayPal confirm payment, while you check cash on delivery and bank transfers yourself. This suits most sellers.
- Trust online and bank payments: Paid for online and other payments, Not paid for cash. For sellers with many orders and reliable payments.
Start careful and automate more as you trust the setup. A change only affects new invoices.
Next steps
- Sync one order and open the invoice in KigoKasa. Check the client, the item on each line, the payment status and the fiscalisation codes (ZKI and JIR).
- Sync a few more orders with different payment methods and customer countries.
- Turn on the accounting schedule so new orders sync on their own.
- Look at your synced orders now and then to see that everything still comes through.
Support
For questions about fiscalisation and Croatian tax rules, contact KigoKasa support. For problems with the connection, your items, the PIN or a failed invoice, contact BrickInvoice support and include the error message.