Dinero
Connect Dinero, set up how your orders become invoices, and register PayPal and Stripe payments with their fees.
Dinero is Danish cloud accounting software. This page covers connecting your Dinero account to BrickInvoice, setting up how your orders end up there, and registering your Stripe and PayPal payments.
Table of Contents
- Before you start
- Connecting Dinero
- Configuring Dinero
- How orders end up in Dinero
- Payment registration
- Troubleshooting
- Disconnecting Dinero
- Tips for your setup
- Next steps
- Support
Before you start
You need:
- a Dinero Pro subscription, because Dinero only gives API access to Pro
- admin access to your Dinero account
- your settings filled in
- your BrickLink or Brick Owl store connected
- the Products you want on your invoices created in Dinero (see Tips for your setup)
Connecting Dinero
Connect with Visma Connect
Dinero uses Visma Connect to log in, so you do not create an API key yourself.
- Go to Accounting → Connect (
/home/accounting/connect). - Choose Dinero under Accounting package.
- Click Connect to Dinero.
- Log in to Dinero when Visma Connect asks, and give BrickInvoice access.
- Dinero sends you back to BrickInvoice.
Choose your organization
Go to Accounting → Configuration (/home/accounting/config) and choose your Dinero organization under Organization. The list only shows organizations with a Pro subscription. BrickInvoice books everything in the organization you choose.
Your login stays safe
BrickInvoice encrypts the login it gets from Dinero before storing it, never shares it, and renews it when it expires. You can withdraw the access at any time in your Dinero account settings.
Configuring Dinero
Go to Accounting → Configuration to choose how your orders are booked.
General settings
Invoice template is optional. The list shows the templates in your Dinero account, and the one Dinero uses by default is marked "(Default)".
Book invoice: when ticked, BrickInvoice books each invoice in Dinero as soon as it syncs. A booked invoice gets its official number and cannot be changed or undone. When not ticked, invoices stay drafts that you can still edit in Dinero.
Description template is an optional text on the invoice. 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} - {payment_method}" becomes "Order 123456 - PayPal".
Comment template is an optional remark on the invoice. It takes the same placeholders.
Differentiate BrickLink and Brick Owl: tick this to choose separate Products for BrickLink and Brick Owl orders. See Platform differentiation.
Contact sync options
- Sync email addresses: adds the buyer's email address to the contact in Dinero. Turn it on if you send invoices from Dinero by email. Leave it off if you would rather not keep buyers' email addresses in your accounting.
- Update existing contacts: when on, an existing contact is updated with the data from the new order. When off, existing contacts are never changed.
Products per line
Each order becomes an invoice with a line for each kind of revenue. Dinero books every line on a Product, so you choose a Product from your Dinero account for each kind of line and region. The Product's tax code sets the VAT on the line.
Product line items, for goods with normal VAT:
- Domestic product: customers in Denmark, such as "LEGO Parts - Denmark 25%"
- EU product: customers in other EU countries, such as "LEGO Parts - EU 25%"
- Export product: customers outside the EU, such as "LEGO Parts - Export 0%"
Margin scheme line items, for second-hand goods under the margin scheme, have the same three: Domestic margin product, EU margin product and Export margin product.
Shipping line items has Shipping product (with VAT), such as "Forsendelse 25%", and Shipping product (no VAT), such as "Forsendelse 0%".
Other line items (handling fees), for handling fees, has Handling fees (with VAT) and Handling fees (no VAT), such as "Ekspeditionsgebyr 25%" and "Ekspeditionsgebyr 0%".
If you do not want to split domestic and EU sales, choose the same Product for both.
If you turned on B2B VAT exempt in your settings, each card also has a B2B field: Product (B2B), Margin product (B2B), Shipping product (B2B) and Handling fees (B2B). For an order where the VAT is reversed, BrickInvoice uses that Product instead of the domestic, EU or export one. Give the B2B Products a 0% tax code in Dinero.
How orders end up in Dinero
Contacts
BrickInvoice looks for a contact by its external reference: BL_ followed by the BrickLink username, or BO_ followed by the Brick Owl username. If it finds one, it uses that contact, and updates it if Update existing contacts is on. If not, it creates a new contact, with the billing address and its country code.
Invoices
BrickInvoice creates an invoice in Dinero for each order. Without Book invoice it stays a draft: you can change it in Dinero, and it gets a number once you book it. With Book invoice it is booked straight away and gets its official number.
Line amounts on the invoice include VAT. That way the invoice total matches the order total.
After creating the invoice, BrickInvoice fetches it again and compares its total, including VAT, with the order. If they differ, for example through rounding of the VAT, you get a warning in the app. You can then correct the invoice in Dinero before you book it.
BrickInvoice keeps a link to each invoice, so you can open it in Dinero straight from BrickInvoice.
Payment registration
Dinero can register the payments of your Stripe and PayPal orders on the invoice, on the deposit account you choose.
What payment registration needs
- Book invoice: Dinero only registers payments on booked invoices. When you turn on payment sync, Book invoice turns on as well and stays on.
- At least one deposit account in Dinero.
- To deduct fees, a connected PayPal or Stripe account under Connections → Payments.
Turn it on
Go to Accounting → Configuration (
/home/accounting/config).Under Payment registration, tick Enable payment sync.
Optionally, fill in Payment description template. You can use:
{order_id}: the order number{invoice_number}: the Dinero invoice number{source}: the store, bricklink or brickowl{payment_method}: the payment method
Payment {source}_{order_id}becomesPayment bricklink_12345678.Turn on Stripe, PayPal or both, and choose a deposit account for each store: BrickLink Stripe deposit account, Brick Owl Stripe deposit account, BrickLink PayPal deposit account and Brick Owl PayPal deposit account.
The deposit accounts come from your Dinero organization. They are the bank or payment accounts the money arrives on. A separate account per store keeps your reports clear.
Fee handling
Dinero handles fees in its own way. BrickInvoice does not create a separate expense for the fee. It registers the payment minus the fee, and Dinero books the difference as a fee. Dinero calls this RemainderIsFee. It keeps each payment to a single transaction and works for PayPal and Stripe fees.
Take an invoice of 150 DKK with a PayPal fee of 20 DKK. BrickInvoice registers a payment of 130 DKK, and Dinero books the remaining 20 DKK as a fee.
To turn it on:
- Turn on PayPal, Stripe or both under Payment registration.
- Tick Include payment fees. That one checkbox covers PayPal and Stripe fees.
- Connect your PayPal account, your Stripe account or both under Connections → Payments.
When the fee is not available yet, BrickInvoice waits with the payment and looks again automatically: for PayPal up to 9 hours, for Stripe up to 7 days, because Brick Owl sometimes collects a Stripe payment days after the buyer paid. The order shows Looking for fee in Selling → Orders in the meantime, and you get no notification. Once the fee is found, the payment is registered. Only when the last attempt fails do you get a notification and an e-mail, so you can register the payment in Dinero yourself. See When a fee is not there yet.
Buyers paying in another currency
The payment is always registered in the currency of the invoice. When a buyer pays in another currency, for example in EUR on your DKK invoice, BrickInvoice converts the fee at the exchange rate BrickLink used for that order. A Stripe fee is already in the currency of your Stripe balance and is used as it is. For US orders, BrickLink takes back the sales tax it collects through the Stripe fee. That tax is not booked as a fee.
If the fee cannot be converted, or does not fit the invoice (for example a fee of more than half the invoice total), BrickInvoice skips the payment and you get a notification so you can register it yourself.
Fees above 250 DKK
Dinero only books a fee as the rest of a payment up to 250 DKK. For larger fees, choose a Fee account (fees above 250 DKK) under Include payment fees. BrickInvoice then registers the payment without the fee, and books the fee on that account through a ledger entry (kassekladde) that pays off the rest of the invoice. Dinero books such entries in the background, which can take a few minutes.
This works for invoices in DKK. Without a fee account, or for an invoice in another currency, BrickInvoice skips these payments and sends you a notification.
Bank Transfer and IBAN orders paid via Stripe
Some buyers choose Bank Transfer or IBAN and then pay you through a link from your own Stripe account, for example with iDEAL. For those orders, tick Bank transfer orders, IBAN orders or both under Stripe, separately for BrickLink and Brick Owl. BrickInvoice then registers them as Stripe payments on your Stripe deposit account.
With Include payment fees on, BrickInvoice only registers the payment once it has found the matching Stripe payment, so it can deduct the fee. It keeps looking for up to three days. How it finds the payment is in Bank Transfer and IBAN Orders Paid via Stripe.
Troubleshooting
Connecting fails
Connect again through Connect to Dinero, because your login may have expired. Also check that your Dinero subscription is active, and look at Dinero's service status.
No Pro organization is found
Dinero only gives API access to Pro subscriptions. Upgrade your Dinero account to Pro, or check that you logged in to the right Dinero account.
Login fails
BrickInvoice renews your login with Dinero on its own. If it still fails, connect again. Also check that you did not withdraw BrickInvoice's access in your Dinero settings and that your Dinero account is still active.
Products do not load
Check that Dinero is still connected, that an organization is chosen, and that you created Products in Dinero. Then reload the configuration page.
An invoice is not created
Check that every required Product is chosen in the configuration and that each Product has a valid tax code in Dinero. A missing name or address on the order can also stop the invoice.
A payment is not registered
- Payments can only be registered on booked invoices, so Book invoice must be on.
- Check that a deposit account is chosen for the payment method and the store.
- To deduct a fee, the payment currency has to match the currency of your Dinero organization.
A PayPal or Stripe fee is not found
BrickInvoice first keeps looking: up to 9 hours for PayPal, up to 7 days for Stripe. The order shows Looking for fee until then. If the last attempt fails too, the order shows Fee not found and you get a notification and an e-mail, so you can register the payment in Dinero yourself. Common causes:
- The payment provider is not connected under Connections → Payments.
- The money was not collected yet. Brick Owl sometimes collects a Stripe payment days after the buyer paid; the fee only exists from then on.
- No transaction matches the order date and amount. BrickInvoice looks for a transaction on both.
Disconnecting Dinero
- Go to Accounting → Connect.
- Click Disconnect Dinero.
- Click Yes, disconnect in the dialog.
BrickInvoice removes the connection, deletes the login it got from Dinero and clears your accounting configuration, so after reconnecting you set it up again. The access itself stays in Dinero until you withdraw it in your Dinero account settings. Invoices and customers already in Dinero stay where they are. To renew the connection without losing your settings, use Change connection and click Reauthorize instead. See Changing or disconnecting your package.
Tips for your setup
VAT for a Danish business
Normal sales in Denmark and to the EU carry 25% moms. Export sales outside the EU and goods under the margin scheme use 0%.
Products in Dinero
Create the Products under Products in Dinero 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 25%" make them easy to find in BrickInvoice and in your reports. For example:
Products in Dinero: ├── LEGO Parts - Domestic (25% VAT) ├── LEGO Parts - EU (25% VAT) ├── LEGO Parts - Export (0% VAT) ├── Margin - Domestic (0% Margin) ├── Margin - EU (0% Margin) ├── Margin - Export (0% Margin) ├── Forsendelse med moms (25% VAT) ├── Forsendelse uden moms (0% VAT) ├── Ekspeditionsgebyr med moms (25% VAT) └── Ekspeditionsgebyr uden moms (0% VAT)
Draft or booked
Keep invoices as drafts while you want to check them before booking. Once you trust the setup, tick Book invoice so they are booked straight away. Payment registration only works with booked invoices.
Payments
A deposit account per store keeps your reports clear, and Include payment fees lets Dinero book the PayPal and Stripe fees for you. A payment description makes each payment easy to spot in Dinero.
Next steps
- Sync a few orders as drafts and check the invoices in Dinero.
- Check that each line has the right tax code for the customer's country.
- Turn on payment registration for Stripe and PayPal.
- Turn on the accounting schedule so new orders sync on their own.
Support
If something goes wrong with Dinero, reach us through the contact form.