Error catalog
What an error on a document means, how to fix it, and how to send the document again without creating it twice in KROS.
Where errors show up
- Documents, column Details: a row with the status Failed shows the error text and a What to do link to the explanation in the app's help.
- The Shopify order gets the tag
KROS: error(KROS: chybawhen the app language is Slovak or Czech) and keeps it while at least one of its documents has failed. Filter the order list by that tag to find them. - Email: at most once an hour, a summary of documents that could not be issued goes to the store email set in Shopify. Turn it off under Settings, section Emails, Email me when a document can't be issued.
- Banners in the app: when KROS refuses the app's access, Home shows The KROS connection no longer works and Settings shows KROS access no longer works.
How to send a document again
Fix the cause
Find the error text in the list below and do what its "What to do" part says. Sometimes nothing is needed: after a rate limit, for example, the app carries on by itself.
Press Retry
On the Documents page choose Failed in the Status filter and press Retry on the document. The button appears only on rows with the status Failed.
Check the result
For an invoice, a credit note or a proforma invoice, the app first asks KROS whether the document it sent already exists. If it does, the app records its number and does not create a second one. If it is missing, the app sends it again. If KROS cannot be asked at that moment, the document stays Failed and nothing is sent; try again shortly.
The app cannot look up a payment in KROS: before you press Retry, open the invoice in KROS and check that it is not already paid.
Credit notes and payments need their invoice. Once the invoice exists, the documents waiting for it are sent by themselves. Likewise, after you connect again (Reconnect), the app sends the documents that were waiting for valid access; documents already marked Failed are sent with Retry.
A Skipped row is not an error: one of your rules left the order out, and the reason is in the Details column. If you want the invoice anyway, first remove the tag or turn off the exception, then press Create invoice in the KROS Fakturácia block on the order page. An order placed before the app was installed can be invoiced with the button right away.
Did you create the invoice by hand in KROS in the meantime?
Then do not press Retry. The app looks in KROS only for the document it sent itself. It would not find the invoice you created by hand and would create a second one.
These texts appear on the Invoices page in the Details column. Each says what happened and what to do. After fixing it press Retry: the app first asks KROS whether the document already exists and sends it only when it is missing.
KROS rejected the document
KROS did not accept the data. After the colon come the field and the reason, for example partner.vatId: invalid VAT ID format, or items[0].vatRate: rate not allowed.
What to do: correct the value in Shopify (the customer's address, company IDs in the order attributes) or in Settings (VAT status, rates) and press Retry. If the reason is unclear, send us the error text and the order number.
The numbering sequence is used up or invalid
KROS can't assign the next number: the sequence has an end set, belongs to another year or was deleted.
What to do: in KROS Fakturácia open Nastavenia → Číslovanie dokladov, extend the sequence or create a new one, then choose the right one under Settings → Invoices in the app and retry the documents.
The KROS API token is invalid or was reset
The app's access to your KROS company no longer works: someone revoked it in KROS, or the user who created it changed.
What to do: Settings → Reconnect. Then retry the documents that failed in the meantime.
The KROS company has no valid license for API access
KROS Fakturácia allows API access only in some plans, or the licence has just expired.
What to do: check the licence in your KROS account or contact KROS. Retry the documents once it is renewed.
The stored KROS token can't be read
The app has the access saved but can't decrypt it. This follows a change on the app's side, not anything you did.
What to do: Settings → Reconnect. Nothing in KROS is lost.
KROS accepted the document but it has not appeared in 30 minutes
KROS acknowledged the request, but the app got no message that the document exists and didn't find it in KROS either. Either KROS silently rejected it or processing is taking longer than usual.
What to do: look in KROS whether the order's invoice exists (search by order number). If it does, press Retry: the app finds it and won't create a second one. If it doesn't, Retry creates it.
Sending the payment was interrupted
The connection dropped while the payment was being recorded, and there is no way to tell whether KROS saved it. Payments can't be looked up in KROS, so the decision is yours.
What to do: open the invoice in KROS. If it is paid, do nothing. If not, press Retry.
Order … was not found
Shopify did not give the order to the app. Usually it is older than 60 days (Shopify limits access to older orders) or was deleted.
What to do: for an older order, issue the document directly in KROS. For a fresh order, try Retry in a few minutes.
The order has no invoice to credit or to pay
A credit note and a payment need an existing invoice. This order's invoice was never created (rule Don't create invoices, skip tag, test order) or failed.
What to do: if the invoice should exist, create it with Create invoice on the order page; the credit note or payment then goes out by itself. If it shouldn't exist, ignore the error.
KROS is not connected
The document was due while KROS was disconnected or sending was paused.
What to do: connect KROS in Settings and switch on Send new orders to KROS, then retry the documents.
KROS rate limit reached
KROS allows 10 requests per second and 300 per minute. A bulk run exceeds that for a moment.
What to do: nothing. The app waits and carries on; such a wait doesn't count as a failed attempt.
App was uninstalled
The document was waiting in the queue when the app was uninstalled. Old records are not revived after reinstalling.
What to do: create the invoice again from the order page.
The invoice was deleted in KROS
Someone deleted the document in KROS Fakturácia. The download link is gone from the order and from the customer's account; what happened to its payment and credit notes you can see in KROS.
What to do: if you want the invoice, press Retry and a new one is created with the next number. If it was deleted on purpose, leave the error as it is.
KROS could not create the document
KROS took the request but rejected it while processing. The text carries KROS's reason, for example a duplicate document number or missing company data.
What to do: fix the data in KROS (company settings, the sequence) or in Shopify as the reason says, then press Retry.
An error that is not listed
Write to help@apps.metinas.com with the text from the Details column exactly as shown (select it and copy it with Ctrl + C (⌘ + C)), the order number and the store domain. What else helps is on the Contact page.