Skip to main content

Service Status: ftState

The country-specific code is made of the country's code value following the ISO-3166-1-ALPHA-2 standard, converted from ASCII into hex. For Montenegro (ME) this is 0x4D45, which results in 0x4D45000000000000 as the value for the "ready" status.

The table below describes its supported statuses for the ftState field following Montenegrin law. These codes can be added through the logic operator OR.

ValueDescriptionMiddleware version
0x4D45000000000002The security mechanism was not able to communicate with the central invoice register web service for at least one cycle. If this is the case, no more communication attempts are done to avoid long waiting times for each Receipt request/Receipt response sequence. To leave this state, a Zero-Receipt must be sent, which forces a communication retry towards the web service.
Receipts created in a state where no communication is possible with the central invoice register device are protected by the security mechanism of fiskaltrust and re-sent when the communication is restored with a zero receipt.
1.3.40-
0x4D45000000000003An error occurred when processing the request, see further details in ftStateData.1.3.40-
0x4D45000000000004CashDeposit missing! This receipt could not be processed, as the first receipt each day must be a cash-deposit according to Montenegrin law.1.3.40-
0x4D45000000000005Invoice already received! The field cbReceiptReference must be unique, but has already been used. Please make sure to use an unique cbReceiptReference for each receipt.1.3.40-