The RetailForce Fiscal Middleware sends each registered sale to the Financial Administration when the cash register stores the document. If the Financial Administration does not answer in time, the sale goes into a queue. The cash register can continue to sell.
Queue
- Response threshold: the middleware waits for the time in the configuration field "Response threshold (seconds)" (default 5 seconds). Without an answer in this time, the sale goes into the queue.
- Other reasons for the queue: no connection, a temporary error of the Financial Administration, an answer without a valid signature of the Financial Administration, or a cashier certificate that cannot be used.
- Receipt: a queued sale has the status line "OFFLINE – tržba bude zaevidována dodatečně" and no POK.
- Send again: the middleware sends the queued sales again after the next sale that the Financial Administration accepts, and at each client status call when the queue is not empty. It sends the oldest sale first, a maximum of 25 sales each time. A new sale never waits for the queue.
- Time limit: the Act gives 48 hours to register a queued sale. The middleware raises an alert in the client status when the oldest queued sale has been in the queue for 40 hours. The middleware also sends a sale that is older than 48 hours.
- Client status: "Online" is true when the queue is empty. The audit log records the start and the end of the offline mode.
Attention: Keep the RetailForce Fiscal Middleware running, also when the shop is closed. Only a running middleware can send the queued sales within 48 hours.
Answers of the Financial Administration
| Code | Meaning | What the middleware does |
|---|---|---|
| 0 | Verification message processed | Status Verified (no POK) |
| −1 and other negative codes | Temporary technical error | Keeps the sale in the queue and sends it again |
| 2 | The XML encoding is not valid | Status Rejected |
| 3 | The XML message does not agree with the schema | Status Rejected |
| 4 | The signature of the message is not valid (for example a revoked certificate) | Keeps the sale in the queue. Install a new cashier certificate; the middleware then sends the sale. |
| 6 | The EIČ has a wrong structure | Status Rejected |
| 7 | The data message is too large | Status Rejected |
| 8 | Technical error or data error | Keeps the sale in the queue and sends it again |
| Other positive codes | Critical error | Status Rejected |
The middleware does not send a rejected sale again. The field "errorDescription" then contains "Error {code}: {text}". Contact support and give the "TransactionId" from the fiscal response. Warnings of the Financial Administration are in the field "Warnings".
Messages for the cashier
The field "userMessage" of the fiscal response contains messages for the cashier, in Czech and English:
| Situation | Message (English part) |
|---|---|
| Sale queued | EET: the Financial Administration is not reachable, the sale will be registered later (within 48 hours). |
| Sale rejected | EET: the Financial Administration rejected the sale, contact support. |
| Certificate problem | The message of the certificate check, for example "The cashier certificate expires in N days (date); renew it in DIS+." See the article "EET cashier certificate Czech Republic". |
| The time of the document differs from the system time by more than 2 hours | The document time differs from the system time by N h (ahead/behind); check the POS clock, the Financial Administration may reject the sale. |
Validation messages in the portal
| Message | Cause | What to do |
|---|---|---|
| Company identification 'VatNumber' (DIČ) must be set: it is the EIČ. | The company has no DIČ | Enter the DIČ as "VAT Number" in the company identifications |
| Company identification 'VatNumber' (DIČ) must be 'CZ' followed by 8 to 10 digits: it is the EIČ. | The DIČ has a wrong format | Correct the DIČ (upper case "CZ") |
| RegisteredUnitId must be set (assigned by the tax portal when the registered unit is notified). | The registered unit id is empty | Enter the id from DIS+ |
| RegisteredUnitId {n} is not a number the tax portal assigns: at least two digits, the last one 1 to 4 (copy it from DIS+). | The id is not an id that DIS+ gives | Copy the id from DIS+ |
| The POS identifier '{x}' must consist of up to 20 ASCII letters, digits, '. , : ; / # - _' or spaces. | The POS device id has wrong characters or is too long | Correct the POS device id, or leave it empty |
| AuthorisingEic must differ from the reporting EIČ '{eic}': a taxpayer cannot authorise itself. | The authorising EIČ is the own EIČ | Clear the field for own sales |
| FiscalClient.CashRegister.CurrencyIsoCode must be CZK. | The cash register uses a different currency | Set the currency to CZK |
| Store number has invalid characters. / Terminal number has invalid characters. | Too long, or characters other than letters, digits and "_" | Store number max. 10, terminal number max. 9 characters |
| Missing external cashier certificate 'test' (CA EET) for the test client: upload it under this name. | No certificate (on a production terminal: 'Default') | Upload the certificate under this name |
| EET connection check failed: … | The verification message did not go through | Read the reason. Check the certificate, the DIČ and the connection. |
| Test company identification ('start with TEST_') is not allowed on productive system. | "TEST_" in the DIČ of a production terminal | Remove "TEST_" |
Messages of the middleware
| Message | Cause | What to do |
|---|---|---|
| Czech Republic only supported as test client - BETA version. | A production client during the BETA | Use a test terminal until production terminals are released |
| System must be initialized first. | The client has no cashier certificate | Upload the certificate and initialise the client |
| Sequence number '…' must consist of up to 25 allowed characters. | The document number is too long or has diacritics or other characters | Use a document number with max. 25 allowed characters |
| PaymentType Loyalty not supported for this country. | Payment type Loyalty | Use a different payment type |
| Business transaction type 'Discount' not supported. | Business transaction type Discount (also GrantGenuine, GrantUnreal) | Book the discount in the item price |
Comments
0 comments
Please sign in to leave a comment.