Skip to Content
Apps

Getting started

Install the app, connect KROS, pick the recommended first settings and issue a first trial invoice on a TEST sequence. In a few minutes you know everything works.

Before you start

  • Your company in KROS Fakturácia needs a license that allows API access. Without it KROS rejects the documents (error no valid license for API access).
  • Create a separate numbering sequence in KROS for trying things out, for example TEST (in KROS: Nastavenia → Číslovanie dokladov). Don't delete an issued invoice in KROS, credit it instead, so trial documents should not use up numbers of your live sequence.

Step by step

Install the app

Install KROS Fakturácia · Integration from the Shopify App Store, then open it from Apps in your Shopify admin. The Home page shows the Setup guide with the steps below.

Connect your KROS company

(Path) Settings → Connect KROS Fakturácia → Connect KROS

KROS opens in a new tab. Sign in as the company owner and approve access. While you approve, the app shows "Waiting for approval in KROS…" and the page refreshes itself once access is granted. If the tab did not open, use the Open KROS approval page link.

The approval has to be done within 15 minutes, otherwise the app says "The approval took longer than 15 minutes. Connect again." If you deny access, press Connect KROS once more.

Once connected, the KROS connection section shows your company name with the Connected badge.

Set up invoices

On the Settings page go through these fields and save them with the bar Shopify shows at the top. Each one is described under Settings.

SettingWhile trying things out
When to create invoicesPer payment method, by how you sell (recommended setup)
VAT status of your companyVAT payer (platiteľ DPH), Not a VAT payer (neplatiteľ DPH) or Registered under §7/7a
Numbering sequence (číselný rad)Your TEST sequence
Bank account on invoicesThe account to print on invoices paid by transfer

Without a bank account the Setup guide shows a warning: transfer invoices then show the KROS default account, or no IBAN.

Issue your first invoice

In Shopify create an order by hand and mark it as paid: Orders → Create order → Collect payment → Mark as paid. Such an order falls under the rule Other payment methods, which defaults to When the order is paid.

The invoice is created once the time in Wait before creating the invoice (minutes) has passed, 2 minutes by default. The KROS Fakturácia · Integration block on the order page then shows an invoice number from the TEST sequence.

Orders paid through the test gateway or in payment test mode are not invoiced until you switch on Invoice test orders. A real order created by hand is not affected.

Check the result

  • On the Documents page in the app the invoice has the status Done and its number in the KROS document column. If the payment was recorded too, there is a Payment row as well.
  • On the order page in Shopify the KROS Fakturácia · Integration block shows the invoice number, the status Paid once the payment is recorded, and the Download PDF and Open in KROS buttons.
  • In KROS Fakturácia the invoice is in the TEST sequence, with the order number as its variable symbol.

If a document has the status Failed, the Details column says why. The fix is in the Error catalog; then press Retry.

Get the documents to your customers

(Path) Settings → More settings → Invoice in customer emails → Link for the order (recommended)

Copy the code with Copy code and paste it into the Order confirmation and Shipping confirmation notifications above the line <table class="row footer">. The link opens whatever document the order has at that moment. Optionally add the Download invoice block to the customer account; the steps are on Home under Blocks in your store.

Optionally add the invoice link to the thank you page too: Checkout editor → Thank you page → Apps → add block. The app needs network access allowed in its settings for that.

Optional: emails through KROS

If you want KROS to email the invoice to the customer from your own sender, ask KROS to allow emails through the API, then switch on Email invoices to customers under Emails. If the link is already in your Shopify emails, leave it off, or the customer gets two emails.

When you are done testing

  1. In KROS, credit the trial invoices you don't want to keep. Don't delete them.
  2. Under Settings → Invoices change Numbering sequence (číselný rad) from TEST to your live sequence (or Default in KROS).
  3. If you switched on Invoice test orders, switch it off. Otherwise test orders would get live numbers.

Orders placed before the app was installed are not invoiced, not even when they are paid or fulfilled later: they stay with your previous invoicing. If one of them needs an invoice, create it by hand with the Create invoice button on the order page.

The rule for when to create the invoice is set per payment method. These combinations have worked well.

Card, PayPal, Apple Pay

When the order is paid. You have the money, the invoice exists right away and the customer finds it in the shipping email and in their account.

Cash on delivery

When the order is fulfilled. The invoice is created as you ship, so you can print it and put it in the parcel. The app records the payment in KROS when you mark the order as paid in Shopify (once the courier's money arrives).

Example: the customer orders on Monday, on Tuesday you pack and fulfil the order and the invoice is created. The courier delivers on Thursday, the money arrives on Friday and you mark the order paid: a payment appears in KROS.

Bank transfer

Proforma when placed, invoice when paid: the customer gets a proforma invoice with your account, the amount and the variable symbol (the order number). Once you mark the order paid in Shopify, the app records the payment against the proforma (by variable symbol) and the final invoice follows with the advance deducted. Put the document link into the order confirmation (Settings → Invoice in customer emails → Link for the order). Check the advance deduction and the receipt for the payment with your accountant.

When the order is placed, if you want a final invoice right away, due in 14 days. When the order is paid, if you wait for the money first and want the invoice only then.

Tip: under Settings → Invoices choose the bank account to print on invoices. Without a choice KROS uses the company's main account.

Point of sale (Shopify POS) and cash

When the order is paid, or Don't create invoices if your store issues receipts from another cash register. A POS order often has the customer's name and no address; the invoice is still created, with the name or the order number as the buyer.

While you try things out

Create a separate numbering sequence in KROS, for example TEST, and choose it under Settings → Invoices. Trial invoices then don't use up numbers of your live sequence. Don't delete an issued invoice in KROS; the right way is a credit note.

Shopify test orders (test gateway, payment test mode) are not invoiced until you switch on Invoice test orders. Switch it off again afterwards.

The Setup guide on Home

The guide on the Home page tracks these steps. What the app can see, it ticks itself; the rest you tick (Done? Tick it.).

StepDone when
Connect your KROS companyRight after connecting
Set up invoicesAfter the first save of the Settings page (or once an invoice exists)
Issue your first invoiceWhen the first invoice exists
Get the documents to your customersYou tick it; the app can't see your Shopify notifications
Email documents through KROS (Optional)When emailing invoices is on and KROS has not refused it

When the first four steps are done, the guide says "Everything needed is set up." You can hide it with Dismiss and bring it back with Show the setup guide.

On this page