Skip to Content
Apps

Credit notes and order changes

What the app creates in KROS when you refund, edit or cancel an order in Shopify, and how pickup points map onto the invoice.

The app never changes or deletes an invoice once it is issued in KROS. Every later change becomes a new document: a credit note (dobropis) against the original invoice, or a supplementary invoice. On the app's Documents page they appear under these names:

Name in the appCreated when
Credit noteYou refund money in Shopify
Credit note (cancelled order)You cancel an invoiced order without refunding it
Credit note (order edit)An order edit after the invoice removes items, with Credit note for removed items, extra invoice for added items
Invoice (order edit)An order edit after the invoice adds items, with Credit note for removed items, extra invoice for added items
Proforma invoiceThe rule Proforma when placed, invoice when paid applies

The texts the app writes onto a document follow the document's language: Slovak, English or German (KROS has no Czech, so Czech orders get Slovak documents). Below they are quoted in English with the Slovak version in parentheses.

What you do in Shopify and what appears in KROS

In ShopifyIn KROS
Refund items at their priceCredit note with the same items at negative prices
Refund shipping with themA line named after the shipping method in the same credit note, with tax
Refund shipping onlyCredit note with one shipping line
Refund an amount other than the price of the returned itemsCredit note with one line, Refund (Vrátenie platby), for the amount returned
Refund an amount only, no itemsCredit note with one line, Refund (Vrátenie platby)
Return items without money (a refund of 0)Nothing, the credit note shows as Skipped under Documents
Cancel the order before its invoice existsNothing new. Documents still in the queue show as Skipped. A proforma already in KROS stays there
Cancel an invoiced order without refundingAfter 10 minutes, Credit note (cancelled order) built from the order as it is at cancellation
Cancel an invoiced order and refund itOnly the refund's credit note
Edit the order before its invoice existsNothing extra, the invoice is built from the order as it is when sent
Edit the order after its invoice existsDepending on the setting: nothing, or a credit note and a supplementary invoice
Mark an order with a proforma as paidPayment against the proforma and an invoice with the advance deducted

Each row is explained below.

Refunds

Every refund in Shopify creates one credit note in KROS against the order's invoice. The credit note always equals the money actually returned to the customer.

  • Items refunded at their price: the credit note lists the same items in the same quantity at negative prices, with the VAT rate and product code (SKU) of the invoice.
  • Refunded shipping: the credit note has a line named after the order's shipping method, with tax.
  • An amount other than the items' price (a restocking fee, a partial goodwill refund), or an amount without items: the credit note has a single line, Refund (Vrátenie platby), for the amount returned. Its VAT rate is the rate of the order's first line item. If the order had items at different rates, check such a credit note with your accountant.
  • A refund of 0 (items returned without money, an exchange): no credit note is created; it shows as Skipped under Documents.

The credit note carries the text "Credit note for invoice" ("Dobropis k faktúre") with the original invoice number. Its issue date, delivery date and due date are all the day of the refund in Shopify. The note you wrote on the refund in Shopify goes into the credit note's internal note.

Restocking

Whether you restock the returned items in Shopify does not change the credit note. A refund's credit note sends no stock card to KROS.

When the credit note is sent

A credit note needs the invoice number, so it waits until the invoice exists in KROS (Done under Documents). If the invoice is not created within 14 days, the credit note fails with The order has no invoice to credit or to pay.

If the order has no invoice yet, not even queued, at the time of the refund (cash on delivery before fulfilment, for example), no credit note is created and the invoice is later built from the order as it is when sent. So refund once the invoice shows Done under Documents. If you refunded earlier, check the invoice in KROS.

A refund on an order older than 60 days can fail with Order … was not found.

Numbering sequence and email

(Path) Settings → Invoices → Numbering sequence for credit notes (dobropisy)

With Same as invoices, credit notes use the invoice sequence. KROS recommends a separate sequence.

(Path) Settings → Emails → Email credit notes to customers

When on, KROS emails the credit note to the customer right after it is created. Otherwise print it from KROS and send it yourself. A credit note to an e-invoice goes as an e-invoice too.

Cancellation

  • Before the invoice exists: the invoice, proforma and payment still in the queue are not issued and show as Skipped under Documents. This includes an invoice still waiting out the delay set in Wait before creating the invoice (minutes). A proforma already sent to KROS stays there.
  • After the invoice exists, without a refund (an uncollected cash-on-delivery parcel, a transfer that never came): the app waits 10 minutes and issues Credit note (cancelled order), line by line. It is built from the order as it is at cancellation, the same way as the invoice. It carries the text "Credit note for invoice … (cancelled order)" ("Dobropis k faktúre … (zrušená objednávka)") and the cancellation date. When Warehouse code is filled in, it sends stock cards to KROS the same way as the invoice.
  • After the invoice exists, with a refund: the refund's credit note is enough, no second one is created. The 10 minutes are there so the app sees a refund you made together with the cancellation.

Partly refunded order

If the order was already partly refunded when you cancelled it, the app issues only the credit note for the refunded amount. It does not credit the rest of the invoice; issue that credit note in KROS yourself.

Order edited after its invoice

If you edited the order after its invoice with Keep the invoice as it is, Credit note (cancelled order) can differ from the invoice: items added by the edit are credited although they were never invoiced, items removed without a refund are missing, and a later shipping change shows up too. Compare such a credit note with the invoice in KROS.

A proforma already in KROS is left as it is when the order is cancelled. The document link in Shopify's emails no longer offers it to the customer once the order is cancelled.

Order edits

An edit before the invoice exists creates nothing extra: the invoice is built from the order as it is when sent.

What happens on an edit after the invoice exists depends on this setting:

(Path) Settings → Order changes and EU VAT → When an order is edited after its invoice exists

Keep the invoice as it is (default)
(Setting)
When an order is edited after its invoice exists: Keep the invoice as it is
(Document)
The edit creates nothing in KROS. If you refund the customer, the refund gets its credit note.

Added items stay uninvoiced; invoice them in KROS yourself.

Credit note and supplementary invoice
(Setting)
When an order is edited after its invoice exists: Credit note for removed items, extra invoice for added items
(Document)
Removed items: Credit note (order edit). Added items: Invoice (order edit).

With Credit note for removed items, extra invoice for added items:

  • A removed item or a lower quantity: a credit note against the original invoice for the removed quantity at the price after discounts, with the text "Credit note for invoice … (order edit)" ("Dobropis k faktúre … (úprava objednávky)"), in the credit note sequence.
  • An added item or a higher quantity: a new invoice for the added quantity with the text "Supplement to invoice … (order edit)" ("Doplnok k faktúre … (úprava objednávky)"), in the invoice sequence. KROS emails it when emailing invoices is on.
  • Both are created only once the original invoice has been sent to KROS. Their issue date is the day the app creates them.
  • An edit that changes only the shipping creates neither.

Editing a paid order, then refunding

When you remove items from a paid order, Shopify records a refund of 0 and you return the money in a separate refund. The refund of 0 creates no credit note. With Keep the invoice as it is, the credit note comes with the money refund. With Credit note for removed items, extra invoice for added items, the edit's credit note already covers the items, so a later amount-only refund (no items, no shipping) on that order creates no further credit note and the amount is not credited twice.

Proforma and advance deduction

With the rule Proforma when placed, invoice when paid, a proforma invoice is created right after the order. Once you mark the order paid in Shopify, the app records the payment against the proforma and issues the invoice with the advance deducted, so nothing is left to pay on it.

  • If the proforma failed or was skipped, the invoice is for the full amount and the payment is matched to it.
  • An invoice created by hand for an order that is still unpaid is for the full amount, without a deduction.
  • A later refund is credited against the invoice, not the proforma.

Check the advance deduction and the receipt for the payment with your accountant.

Pickup points and local pickup

The invoice takes addresses and shipping from the order as it is when the app sends it:

  • The buyer is the billing address. Without one, the shipping address is used.
  • The delivery address is printed only when it differs from the billing address. If a pickup-point app writes the pickup point into the order's shipping address, the invoice shows it as the delivery address. An order without a shipping address shows only the buyer.
  • Shipping is a line named after the shipping method as it is in Shopify (the pickup point or the carrier, for example). Shipping at 0, such as free local pickup, does not appear on the invoice.

Some pickup-point apps remove the original shipping line right after checkout and add a new one. The app handles this:

  • The invoice carries only the shipping line still on the order.
  • The payment in KROS is what the customer actually paid, so shipping is not counted twice.
  • The empty refund Shopify records for such a swap creates no credit note and does not stop the credit note when the order is cancelled later.

If the shipping changes after the invoice exists, the invoice stays as it was. Settle a shipping difference with a refund (it gets a credit note) or with a document made in KROS.

What cannot be changed

  • The app never deletes or overwrites an issued document. In the books it is cancelled by a credit note, which the app creates on a refund, a cancellation and an order edit. Any other credit note you issue in KROS directly.
  • An unpaid invoice can be deleted in KROS Fakturácia itself. The app notices on the next PDF download and marks the document with The invoice was deleted in KROS. It issues a new invoice only when you press Retry.
  • The app cannot take a credit note back. If one was created by mistake, correct it in KROS with another document.
  • A shipping change after the invoice exists is not carried to KROS, and with Keep the invoice as it is, neither are added items.

On this page