Skip to content

When to create the invoice: at capture

Updated October 17, 2026about 3 min read

In this articleWhy capture is the right moment

In short

For B2C orders paid online, create the invoice when the payment is captured, with the flow Transform Fortnox orders to Invoices. By then the order has shipped and can't change, just like the invoice. Creating the invoice as soon as the order arrives locks it while the order can still change.

A booked invoice can't be changed. An order can, until it has shipped. So the invoice should be created when the order can no longer change. In a B2C shop where the customer pays online, that moment is when the payment is captured.

When should the invoice be created?

The same order twice: 1,250 kr, and the customer adds an item for 299 kr before it ships.

Capture usually happens when the order ships. A shipped order can't change, just like a booked invoice, so that is the right moment to invoice.

Why capture is the right moment

Capture is when the payment provider actually charges the customer. Most shops reserve (authorise) the payment at checkout and capture it when the order ships.

  • The order is final. A shipped order can't change, just like a booked invoice. The invoice gets the amount that was actually charged.

  • The date is right. The invoice is dated the day the payment was captured, the day the sale happened in your books.

  • Payouts match. A payout from the payment provider is made up of captured payments. When each invoice has the captured amount, Junipeer can match the payout and mark the invoices as paid.

If the invoice is instead created as soon as the order arrives:

  • It is booked before anything has shipped or been paid.

  • Changes after that, like an added item or a cancellation, can't reach it. The log says "Fortnox invoice (…) is already booked", and corrections need credit invoices.

  • The invoice is dated the order day, not the day you were paid.

Set it up: Shopify and Fortnox

  1. Stop invoicing new orders. On Configure → Settings, flow Export Orders to Fortnox, set Transform new orders to Invoice in Fortnox (in Invoice Settings) to No. Orders now stay orders in Fortnox and are updated when they change in Shopify.

  2. Turn on the invoice flow. On Get Started → Select flows, turn on Transform Fortnox orders to Invoices.

  3. Only invoice captured orders. Give that flow a filter on Payment Status = paid. In Shopify, paid means the payment has been captured. Without a filter, the flow invoices every order on its next run, captured or not.

  4. Run it after the order flow. On Configure → Scheduling, choose Trigger after another job so it starts after Export Orders to Fortnox, or give it its own schedule, for example every 15 minutes.

  5. Test one order. Use Export One on Transform Fortnox orders to Invoices with an order whose payment has been captured, and check the invoice in Fortnox.

In Shopify, Settings → Payments → Payment capture method decides when payments are captured. Automatically when the entire order is fulfilled gives an invoice when the order ships. If you capture at checkout, the invoice is still created at capture, but that is the order day, and changes after it need credit invoices.

Other systems

  • Centra → Fortnox and Svea → Fortnox have the same flow, Transform Fortnox orders to Invoices. In Centra, filter on the order status Completed (Shipped & Paid).

  • WooCommerce, Magento, Geins and Brink → Fortnox don't have the flow. The invoice can only be created when the order is sent, with Transform new orders to Invoice in Fortnox. Turn on Transform Only Paid Orders so only paid orders become invoices. Orders paid later stay orders, and you invoice them in Fortnox.

  • WooCommerce → Visma eEkonomi (Spiris) only has Transform new orders to Invoice in Visma.

Not sure what your integration has? Look for Transform Fortnox orders to Invoices under Get Started → Select flows, or ask support@junipeer.io.

When not to invoice at capture

  • B2B on invoice terms. There is no online payment to capture. Invoice when the order has shipped, with the filter Shipment Status = Fulfillment: Fulfilled on Transform Fortnox orders to Invoices.

  • Fortnox warehouse module. Fortnox only invoices orders that are marked as delivered. See Shipping from several stores.

Read also

Did this article help you?