0% found this document useful (0 votes)
314 views

PM FBA-CommunicationProtocol v1

PM FBA-CommunicationProtocol v1

Uploaded by

Elvir Pestalic
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
314 views

PM FBA-CommunicationProtocol v1

PM FBA-CommunicationProtocol v1

Uploaded by

Elvir Pestalic
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 129

Communication protocol

version: 1.11

Programmer's
Manual

2021
The description implied that the reader has programming skills in one or several
programming languages, as well as is familiar with the equipment used, at least at the
level of the operator’s manual supplied with it.

Programmer's Manual
Document version: 1.11.1 / 25-Mar-2021
Contents
1. Introduction............................................................................................................................................................................................................... 1
2. Copyright................................................................................................................................................................................................................... 1
3. Low level protocol..................................................................................................................................................................................................... 1
3.1. Protocol type – Master (Host) / Slave................................................................................................................................................................ 1
3.2. Sequence of the messages.................................................................................................................................................................................. 1
3.3. Non-wrapped messages – time-out.................................................................................................................................................................... 1
3.4. Message composition, syntax and meanings...................................................................................................................................................... 3
3.5. Command explanations...................................................................................................................................................................................... 3
4. Commands................................................................................................................................................................................................................. 4
4.1. Command 33 (21h) Clears the external display.................................................................................................................................................4
4.2. Command 35 (23h) Displaying text on second line of the external display........................................................................................................5
4.3. Command 38 (26h) Opening a non-fiscal receipt...............................................................................................................................................6
4.4. Command 39 (27h) Closing a non-fiscal receipt................................................................................................................................................7
4.5. Command 42 (2Ah) Printing of a free non-fiscal text........................................................................................................................................8
4.6. Command 43 (2Bh) Opening of storno documents............................................................................................................................................9
4.7. Command 44 (2Ch) Paper feed........................................................................................................................................................................ 10
4.8. Command 45 (2Dh) Check for mode connection with PC...............................................................................................................................11
4.9. Command 46 (2Eh) Paper cutting.................................................................................................................................................................... 12
4.10. Command 47 (2Fh) Displaying text on upper line of the external display.....................................................................................................13
4.11. Command 48 (30h) Open fiscal receipt.......................................................................................................................................................... 14
4.12. Command 50 (32h) Return the active VAT rates or Read a VAT rates record from FM..................................................................................15
4.13. Command 51 (33h) Subtotal.......................................................................................................................................................................... 16
4.14. Command 52 (34h) Void an article................................................................................................................................................................. 17
4.15. Command 53 (35h) Payments and calculation of the total sum (TOTAL)......................................................................................................18
4.16. Command 54 (36h) Printing of a free fiscal text............................................................................................................................................19
4.17. Command 56 (38h) Close fiscal receipt........................................................................................................................................................ 20
4.18. Command 57 (39h) Enter invoice data ( client information).........................................................................................................................21
4.19. Command 58 (3Ah) Registering the sale of a programmed item...................................................................................................................22
4.20. Command 61 (3Dh) Set date and time.......................................................................................................................................................... 23
4.21. Command 62 (3Eh) Read date and time........................................................................................................................................................ 24
4.22. Command 63 (3Fh) Show current date and time on the external display......................................................................................................25
4.23. Command 64 (40h) Information on the last fiscal record..............................................................................................................................26
4.24. Command 65 (41h) Information on daily taxation........................................................................................................................................27
4.25. Command 68 (44h) Number of remaining entries for Z-reports in FM.........................................................................................................28
4.26. Command 69 (45h) Reports.......................................................................................................................................................................... 29
4.27. Command 70 (46h) Cash in and Cash out operations....................................................................................................................................32
4.28. Command 71 (47h) Print diagnostic information..........................................................................................................................................33
4.29. Command 72 (48h) Fiscalization.................................................................................................................................................................. 35
4.30. Command 74 (4Ah) Reading the Status........................................................................................................................................................ 36
4.31. Command 76 (4Ch) Status of current or last receipt.....................................................................................................................................37
4.32. Command 80 (50h) Play sound..................................................................................................................................................................... 38
4.33. Command 83 (53h) Programming of VAT rates............................................................................................................................................39
4.34. Command 84 (54h) Printing of barcode........................................................................................................................................................ 40
4.35. Command 86 (56h) Date of the last fiscal record..........................................................................................................................................41
4.36. Command 89 (59h) Test of the fiscal memory..............................................................................................................................................42
4.37. Command 90 (5Ah) Diagnostic information.................................................................................................................................................43
4.38. Command 91 (5Bh) Programming of Serial number.....................................................................................................................................45
4.39. Command 92 (5Ch) Printing of separating line.............................................................................................................................................46
4.40. Command 94 (5Еh) Fiscal memory report by dates......................................................................................................................................47
4.41. Command 95 (5Fh) Fiscal memory report by Z-reports numbers.................................................................................................................48
4.42. Command 96 (60h) Programming of IOSA number......................................................................................................................................49
4.43. Command 98 (62h) Programming of TAX number.......................................................................................................................................50
4.44. Command 99 (63h) Reading the programmed JIB and PIB numbers............................................................................................................51
4.45. Command 100 (64h) Reading the explanation of an error.............................................................................................................................52
4.46. Command 101 (65h) Set operator password.................................................................................................................................................53
4.47. Command 103 (67h) Information about VAT amounts in current fiscal receipt.............................................................................................54
4.48. Command 105 (69h) Operators report........................................................................................................................................................... 55
4.49. Command 106 (6Ah) Drawer opening.......................................................................................................................................................... 56
4.50. Command 107 (6Bh) Defining and reading items.........................................................................................................................................57
4.50.1. Item programming – option ‘P’ - Programming item...........................................................................................................................57
4.50.2. Item programming – option ‘I’ - Item information...............................................................................................................................58
4.50.3. Item programming – option ‘A’ - Change of the available quantity for item........................................................................................58
4.50.4. Item programming – option ‘D’ - Item deleting...................................................................................................................................59
4.50.5. Item programming – option ‘R’ - Reading item...................................................................................................................................60
4.50.6. Item programming – option ‘F’ - Data about the first found programmed item....................................................................................61
4.50.7. Item programming – option ‘L’ - Data about the last found programmed item.....................................................................................62
4.50.8. Item programming – option ‘N’ - Data for the next found programmed item.......................................................................................63
4.50.9. Item programming – option ‘f’ - Data about the first found item with sales on it.................................................................................64
4.50.10. Item programming – option ‘l’ - Data about the last found item with sales on it................................................................................65
4.50.11. Item programming – option ‘n’ - Data for the next found programmed item with sales on it.............................................................66
4.50.12. Item programming – option ‘X’ - Find the first not programmed item...............................................................................................67
4.50.13. Item programming – option ‘x’ - Find the last not programmed item.................................................................................................68
4.51. Command 110 (6Eh) Additional daily information.......................................................................................................................................69
4.52. Command 111 (65h) Print PLU report.......................................................................................................................................................... 72
4.53. Command 112 (70h) Information for operator..............................................................................................................................................73
4.54. Command 116 (74h) Reading FM................................................................................................................................................................. 74
4.55. Command 121 (79h) Read code memory block............................................................................................................................................75
4.56. Command 123 (7Bh) Device information..................................................................................................................................................... 76
4.57. Command 124 (7Ch) Search documents in EJ by date...................................................................................................................................80
4.58. Command 125 (7Dh) Information from EJ...................................................................................................................................................81
4.59. Command 127 (7Fh) Stamp operations (bitmap printing).............................................................................................................................85
4.60. Command 129 (81h) Exporting files............................................................................................................................................................. 86
4.61. Command 140 (8Ch) Defining and reading clients.......................................................................................................................................88
4.63.1. Clients programming – option ‘I’ - Clients information........................................................................................................................88
4.61.2. Clients programming – option ‘P’ - Programming clients.....................................................................................................................89
4.61.3. Clients programming – option ‘D’ - Client deleting..............................................................................................................................89
4.61.4. Clients programming – option ‘R’ - Reading client data.......................................................................................................................90
4.61.5. Clients programming – option ‘F’ - Data about the first found programmed client...............................................................................91
4.61.6. Clients programming – option ‘L’ - Data about the last found programmed client................................................................................92
4.61.7. Clients programming – option ‘N’ - Data for the next found programmed client..................................................................................93
4.61.8. Clients programming – option ‘T’ - Find a client by tax number..........................................................................................................94
4.61.9. Clients programming – option ‘X’ - Find the first not programmed client............................................................................................95
4.61.10. Clients programming – option ‘x’ - Find the last not programmed client............................................................................................96
4.62. Command 144 (90h) Tax terminal operations...............................................................................................................................................97
4.63. Command 202 (CAh) Customer graphic logo loading................................................................................................................................100
4.64. Command 203 (CAh) Stamp image loading................................................................................................................................................101
4.65. Command 253 (FDh) Service operations.................................................................................................................................................... 102
4.66. Command 255 (FFh) Programming............................................................................................................................................................ 104
4.66.1. Read parameters................................................................................................................................................................................. 104
4.66.2. Write parameters................................................................................................................................................................................ 104
4.66.3. Parameters description....................................................................................................................................................................... 105
5. Status bits............................................................................................................................................................................................................... 111
6. Error codes............................................................................................................................................................................................................. 113
Communication protocol
Programmers manual

1. Introduction
The communication protocol v.1 is intended for writing drivers of the following fiscal device's models:
Version for Federation of Bosnia and Herzegovina:
◦ DP-25X
◦ FP-60X
◦ FP-700X
The fiscal device operates under the control of an application program, with which it communicates via RS232 serial connection. The device
executes a previously set of wrapped commands, arranged according to the type of the operations which have to be executed. The application program
does not have a direct access to the resources of the fiscal device although it can detect data connected with the status of the fiscal device and the fiscal
control unit.

2. Copyright
This protocol is subject to the copyright of Datecs ltd. The protocol can be freely used only for writing the drivers of these fiscal devices and
connecting various devices with them. This exchange protocol cannot be used for implementation in other fiscal devices without the written consent of
Datecs ltd.

3. Low level protocol

3.1. Protocol type – Master (Host) / Slave


The fiscal device performs the commands sent by the Host and returns messages, which depend on the result. The fiscal device cannot
instigate asynchronous communications itself. Only responses to commands from the Host are sent to the Host. These messages are either wrapped or
single byte control codes. The fiscal device maintains the communication via the RS232 serial connection or USB at baud rates of 1200, 2400, 4800,
9600, 19200, 38400, 57600 and 115200 b/s, 8N1. For other types of interfaces, the speed can’t be configured.

3.2. Sequence of the messages


Host sends a wrapped message, containing a command for the fiscal device. Device executes the requested operation and response with a
wrapped message. Host has to wait for a response from the fiscal device before to send another message. The protocol uses non-wrapped messages
with a length one byte for processing of the necessary pauses and error conditions.

3.3. Non-wrapped messages – time-out


When the transmitting of messages from the Host is normal, Slave answers not later than 60 ms either with a wrapped message or with a 1
byte code. Host must have 500 ms of time-out for receiving a message from Slave. If there is no message during this period of time the Host will
transmit the message again with the same sequence number and the same command. After several unsuccessful attempts Host must indicate that there
is either no connection to the fiscal printer or there is a hardware fault.
Non-wrapped messages consist of one byte and they are:
• NAK 15H - this code is sent by Slave when an error in the control sum or the form of the received message is found. When Host receives a
NAK it must again send a message with the same sequence number.
• SYN 16H - this code is sent by Slave upon receiving a command which needs longer processing time. SYN is sent every 60 ms until the
wrapped message is not ready for transmitting.

1
Communication protocol
Programmers manual

Request from host to fiscal device


Field Length
Value Description
name in bytes
<PRE> 1 01h Preamble
Message length. Number of bytes from <PRE> preamble (excluded) to <PST> (included) plus the fixed offset
30303230h…
<LEN> 4 of 20h.
3F3F3F3Fh
ASCII-hex format is used. Each digit from the four bytes is sent after 30h is added to it.
Sequence number of the frame. The fiscal device saves the same <SEQ> in the return message. If the fiscal
<SEQ> 1 20h...FFh device gets a message with the same <SEQ> as the last message received it will not perform any operation, but
will repeat the last sent message.
The code of the command. The fiscal device saves the same <CMD> in the return message. If the fiscal device
30303230h… receives a non-existing code it returns a wrapped message with zero length in the data field and sets the
<CMD> 4
3F3F3F3Fh respective status bit.
ASCII-hex format is used. Each digit from the four bytes is sent after 30h is added to it.
Command data. The format and length of the field for storing data depends on the command. If the command
<DATA> 0...496 20h...FFh has no data the length of this field is zero. If there is a syntax error the respective status bit is established in the
data and a wrapped message is returned with zero field length.
<PST> 1 05h Postamble
30303030h… Control sum. The sum includes between <PRE> preamble (excluded) to <PST>.
<BCC> 4
3F3F3F3Fh ASCII-hex format is used. Each digit from the four bytes is sent after 30h is added to it.
<EOT> 1 03h Terminator

Answer from fiscal device to host


Field Length
Value Description
name in bytes
<PRE> 1 01h Preamble
Message length. Number of bytes from <PRE> preamble (excluded) to <PST> (included) plus the fixed offset
30303230h…
<LEN> 4 of 20h.
3F3F3F3Fh
ASCII-hex format is used. Each digit from the four bytes is sent after 30h is added to it.
Sequence number of the frame. The fiscal device saves the same <SEQ> in the return message. If the fiscal
<SEQ> 1 20h...FFh device gets a message with the same <SEQ> as the last message received it will not perform any operation, but
will repeat the last sent message.
The code of the command. The fiscal device saves the same <CMD> in the return message. If the fiscal device
30303230h… receives a non-existing code it returns a wrapped message with zero length in the data field and sets the
<CMD> 4
3F3F3F3Fh respective status bit.
ASCII-hex format is used. Each digit from the four bytes is sent after 30h is added to it.
Command data. The format and length of the field for storing data depends on the command. If the command
<DATA> 0...480 20h...FFh has no data the length of this field is zero. If there is a syntax error the respective status bit is established in the
data and a wrapped message is returned with zero field length.
<SEP> 1 04h Separator
80808080808
08080h...FFF
<STAT> 8 The field with the current status bits of the fiscal device
FFFFFFFFFF
FFF
<PST> 1 05h Postamble
30303030h… Control sum. The sum includes between <PRE> preamble (excluded) to <PST>.
<BCC> 4
3F3F3F3Fh ASCII-hex format is used. Each digit from the four bytes is sent after 30h is added to it.
<EOT> 1 03h Terminator

2
Communication protocol
Programmers manual

3.4. Message composition, syntax and meanings


• The data field depends on the command.
• The parameters sent to the fiscal device may be separated with a [\t] and/or may have a fixed length.
• The separator([\t]) between the parameters shows that it is mandatory.
• Some of the parameters are mandatory and others are optional. Optional parameters can be left empty, but after them must have separator ( [\
t] ).
• The symbols with ASCII codes under 32 (20H) have special meanings and their use is explained whenever necessary.

Example: when we write 255,ExchangeRate[\t][\t][\t] for the data field then in that field there will be 45 78 63 68 61 6E 67 65 52 61 74 65 09 09 09
where each hexadecimal digit is an ASCII value.

3.5. Command explanations


Example command syntax: {Parameter1}<SEP>{Parameter2}<SEP>{Parameter3}<SEP><DateTime><SEP>

<SEP> - this tag must be inserted after each parameter to separate different parameters.
Its value is '[\t]' (tab). It is the same for all commands.

Mandatory parameters:
• Parameter1 – This parameter is mandatory, it must be filled.
• Parameter3 – This parameter is mandatory, it must be filled.
• DateTime – Date and time format: DD-MM-YY hh:mm:ss.
◦ DD – Day
◦ MM – Month
◦ YY – Year
◦ hh – Hours
◦ mm – Minutes
◦ ss – Seconds
◦ DST – Text DST. If exist means that summer time is active.

Optional parameters:
• Parameter2 – This parameter is optional, it can be left blank, but separator must exist. Default: X.

If left blank, parameter will be used with value after "Default:" – in this case 'X'.
In some cases, blank parameter may change the meaning of the command, which will be explained for each command.

Answer(X) - This is the default answer of the command.


Under each command there will be a list with possible answers. The answer when command fails to execute is the same for all commands, so it will
not be explained after each command.
Answer when command fails to execute: {ErrorCode}<SEP>
• ErrorCode - Code of the error from list with errors;

3
Communication protocol
Programmers manual

4. Commands
4.1. Command 33 (21h) Clears the external display
Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 32 3A 24 30 30 32 31 05 30 31 3B 38 03
Answer 01 30 30 33 35 24 30 30 32 31 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 31 31 03
Human oriented log
Request
Answer 0[\t]

4
Communication protocol
Programmers manual

4.2. Command 35 (23h) Displaying text on second line of the external display
Request
Name Type Opt Value Description

1 Text char Up to 20 symbols Text to be sent directly to the external display.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 33 3F 61 30 30 32 33 54 65 78 74 20 64 69 73 70 6C 61 79 20 2D 20 74 65 73 74 21
Request
09 05 30 39 30 3F 03
Answer 01 30 30 33 35 61 30 30 32 33 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 35 30 03
Human oriented log
Request Test text display[\t]
Answer 0[\t]

5
Communication protocol
Programmers manual

4.3. Command 38 (26h) Opening a non-fiscal receipt


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 SlipNumber uint 1...9999999 Current slip number

Example
Binary log
Request 01 30 30 32 3A 2D 30 30 32 36 05 30 31 3C 36 03
01 30 30 33 3B 2D 30 30 32 36 30 09 31 36 34 39 35 09 04 80 80 A0 80 86 9A 80 80 05 30 37
Answer
35 37 03
Human oriented log
Request
Answer 0[\t]16495[\t]

6
Communication protocol
Programmers manual

4.4. Command 39 (27h) Closing a non-fiscal receipt


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 SlipNumber uint 1...9999999 Current slip number

Example
Binary log
Request 01 30 30 32 3A B4 30 30 32 37 05 30 32 34 3E 03
01 30 30 33 39 B4 30 30 32 37 30 09 31 38 38 09 04 80 80 82 80 86 9A 80 80 05 30 37 35 37
Answer
03
Human oriented log
Request
Answer 0[\t]188[\t]

7
Communication protocol
Programmers manual

4.5. Command 42 (2Ah) Printing of a free non-fiscal text


Request (syntax #1)

Name Type Opt Value Description

XX depends on print columns:


1 Text char Up to XX symbols for FP-700X- XX = 36, 42 or 48;
for FP-60X, DP-25X- XX = 36 or 42.

Answer
NaTme Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 33 3C B6 30 30 32 3A 54 65 73 74 20 2D 20 70 72 69 6E 74 20 74 65 78 74 09 05 30 38
Request
37 3E 03
Answer 01 30 30 33 35 B6 30 30 32 3A 30 09 04 80 80 A2 80 86 9A 80 80 05 30 36 3C 3E 03
Human oriented log
Request Test - print text[\t]
Answer 0[\t]

Request (syntax #2)


Name Type Opt Value Description
XX depends on print columns:
1 Text char Up to XX symbols for FP-700X- XX = 36, 42 or 48;
for FP-60X, DP-25X- XX = 36 or 42.
2 Bold uint ● 0...1 1 = print bold text; empty field = normal text;
3 Italic uint ● 0...1 1 = print italic text; empty field = normal text;
0 = normal height, 1= double height, 2 = half height; empty field =
4 Hght uint ● 0...2
normal height text;
5 Underline uint ● 0...1 1 = print underlined text; empty field = normal text;
6 alignment uint ● 0...2 0 = left alignment, 1 = center, 2 = right; empty field = left alignment;

Answer
NaTme Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 34 32 B7 30 30 32 3A 54 65 73 74 20 2D 20 70 72 69 6E 74 20 74 65 78 74 09 31 09 09
Request
09 09 09 05 30 38 3D 34 03
Answer 01 30 30 33 35 B7 30 30 32 3A 30 09 04 80 80 A2 80 86 9A 80 80 05 30 36 3C 3F 03
Human oriented log
Request Test - print text[\t]1[\t][\t][\t][\t][\t]
Answer 0[\t]

8
Communication protocol
Programmers manual

4.6. Command 43 (2Bh) Opening of storno documents


Request
Name Type Opt Value Description
1 OpCode uint 1...30 Operator number.
2 OpPwd char 8 digits Operator password

3 TillNmb uint 1...99999 Number of point of sale.

4 DocNum uint 1...9999999 Number of the original document.


5 IOSA char 16 digits IOSA number

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 RFNumber uint 1...999999 Current storno receipt number

Example
Binary log
01 30 30 34 37 BC 30 30 32 3B 32 09 32 09 31 32 33 34 35 09 32 09 31 32 33 34 35 36 37 38 39
Request
30 31 32 33 34 35 36 09 05 30 37 35 3D 03
Answer 01 30 30 33 38 BC 30 30 32 3B 30 09 31 30 09 04 80 80 8A 80 86 9A 80 80 05 30 37 32 3A 03
Human oriented log
Request 2[\t]2[\t]12345[\t]2[\t]1234567890123456[\t]
Answer 0[\t]10[\t]

9
Communication protocol
Programmers manual

4.7. Command 44 (2Ch) Paper feed


Request

Name Type Opt Value Description

1 Lines uint ● 1...99 Number of lines to feed. Default: 1.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 32 3C 30 30 30 32 3C 34 09 05 30 32 30 3E 03
Answer 01 30 30 33 35 30 30 30 32 3C 30 09 04 80 80 88 80 86 9A 80 80 05 30 36 33 30 03
Human oriented log
Request 4[\t]
Answer 0[\t]

10
Communication protocol
Programmers manual

4.8. Command 45 (2Dh) Check for mode connection with PC


Request 1(no parameters)
Name Type Opt Value Description

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 1
Binary log
Request 01 30 30 32 3A 70 30 30 32 3D 05 30 32 31 30 03
Answer 01 30 30 33 35 70 30 30 32 3D 30 09 04 80 80 A0 80 86 9A 80 80 05 30 36 38 39 03
Human oriented log
Request
Answer 0[\t]

11
Communication protocol
Programmers manual

4.9. Command 46 (2Eh) Paper cutting


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 32 3A 23 30 30 32 3E 05 30 31 3C 34 03
Answer 01 30 30 33 35 23 30 30 32 3E 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 31 3D 03
Human oriented log
Request
Answer 0[\t]

The command is only used on FP-700X and FP-60X

12
Communication protocol
Programmers manual

4.10.Command 47 (2Fh) Displaying text on upper line of the external display


Request
Name Type Opt Value Description
1 Text char Up to 20 symbols Text to be sent directly to the external display.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 33 3C 24 30 30 32 3F 54 65 73 74 20 74 65 78 74 20 64 69 73 70 6C 61 79 09 05 30
Request
38 36 3D 03
Answer 01 30 30 33 35 24 30 30 32 3F 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 31 3F 03
Human oriented log
Request Test text display[\t]
Answer 0[\t]

13
Communication protocol
Programmers manual

4.11.Command 48 (30h) Open fiscal receipt


Request
Name Type Opt Value Description
1 OpCode uint 1...30 Operator number from 1...30.
2 OpPwd char 8 digits Operator password ( ASCII string of digits )
3 IOSA char 16 digits IOSA number
4 TillNmb uint 1...99999 Number of point of sale.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 BFNumber uint 1...999999 Current fiscal receipt number

Example
Binary log
01 30 30 34 32 C0 30 30 33 30 31 09 31 09 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36
Request
09 32 34 09 05 30 36 37 3C 03
Answer 01 30 30 33 38 C0 30 30 33 30 30 09 35 35 09 04 80 80 8A 80 86 9A 80 80 05 30 37 32 3D 03
Human oriented log
Request 1[\t]1[\t]1234567890123456[\t]24[\t]
Answer 0[\t]55[\t]

14
Communication protocol
Programmers manual

4.12.Command 50 (32h) Return the active VAT rates or Read a VAT rates record from FM
Request 1: Return the active VAT rates (no parameters)
Name Type Opt Value Description

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 nZreport uint 1...2000 Number of first Z report;
3 TaxA uint 0.00...100.0 Value of Tax A, 0.00...99.99 = enabled, 100.00= disabled
4 TaxE uint 0.00...100.00 Value of Tax E, 0.00...99.99 = enabled, 100.00= disabled
5 TaxJ uint 0.00...100.00 Value of Tax J, 0.00...99.99 = enabled, 100.00= disabled
6 TaxK uint 0.00...100.00 Value of Tax K, 0.00...99.99 = enabled, 100.00= disabled
7 TaxM uint 0.00...100.00 Value of Tax M, 0.00...99.99 = enabled, 100.00= disabled
8 EntryDate char 8 symbols Date of entry ( format "DD-MM-YY")

Example
Binary log
Request 01 30 30 32 3A 2D 30 30 33 32 05 30 31 3C 33 03
01 30 30 35 3E 2D 30 30 33 32 30 09 31 09 31 32 2E 35 34 09 31 37 2E 30 30 09 31 37 2E 34
Answer 35 09 32 30 2E 30 30 09 30 30 2E 35 30 09 31 35 2D 30 33 2D 32 31 09 04 80 80 82 80 86 9A
80 80 05 30 3C 3F 31 03
Human oriented log
Request
Answer 0[\t]1[\t]12.54[\t]17.00[\t]17.45[\t]20.00[\t]00.05[\t]15-03-21[\t]

15
Communication protocol
Programmers manual

4.13.Command 51 (33h) Subtotal


Request

Name Type Opt Value Description

1 Print uint ● 0 Print out: Not used - always 0

Show the subtotal on the external client display.


2 Display uint ● 0...1 • '0' - No display;
• '1' - The sum of the subtotal will appear on the display.

3 DiscountType uint ● 0 Type of discount: Not used - always 0

4 DiscountValue uint ● 0 Value of discount: Not used - always 0

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 SlipNumber uint 1...999999 Current fiscal/storno receipt number
3 Subtotal uint 0.00...99999999.99 Subtotal of the receipt.
4 TaxA uint 0.00...9999999.99 Receipts turnover by vat A.
5 TaxE uint 0.00...9999999.99 Receipts turnover by vat E.
6 TaxJ uint 0.00...9999999.99 Receipts turnover by vat J.
7 TaxK uint 0.00...9999999.99 Receipts turnover by vat K.
8 TaxM uint 0.00...9999999.99 Receipts turnover by vat M.

Example
Binary log
Request 01 30 30 33 30 57 30 30 33 33 31 09 31 09 09 09 05 30 32 36 3B 03
01 30 30 36 33 57 30 30 33 33 30 09 34 09 31 31 32 35 36 32 2E 31 34 09 31 32 2E 30 38 09
Answer 39 2E 34 38 09 32 30 2E 36 30 09 31 31 32 33 32 30 2E 30 30 09 31 39 39 2E 39 38 09 04 80
80 8A 80 86 9A 80 80 05 30 3E 34 34 03
Human oriented log
Request 1[\t]1[\t][\t][\t]
Answer 0[\t]4[\t]112562.14[\t]12.08[\t]9.48[\t]20.60[\t]112320.00[\t]199.98[\t]

16
Communication protocol
Programmers manual

4.14.Command 52 (34h) Void an article


Request
Name Type Opt Value Description
Which article to void; Default: '1';
1 Forward uint ● 0...1 • '0' – last;
• '1' – first;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 32 3C D4 30 30 33 34 31 09 05 30 32 3A 38 03
Answer 01 30 30 33 34 D4 30 30 33 34 30 04 80 80 8A 80 86 9A 80 80 05 30 36 3C 35 03
Human oriented log
Request 1[\t]
Answer 0[\t]

17
Communication protocol
Programmers manual

4.15.Command 53 (35h) Payments and calculation of the total sum (TOTAL)


Request 1
Name Type Opt Value Description
Type of payment:
• '0' – cash;
1 PaidMode uint 0...3 • '1' – check;
• '2' – debit card;
• '3' – virman;
2 Amount uint 0.00...99999999.99 Amount to pay.

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
'D' - Returned when the paid sum is less than or equal to the sum of the receipt. The
residual sum due for payment (may be equal to 0) is returned to Amount;
2 Status char ‘D’ or ‘R’
'R' - Returned when the paid sum is greater than the sum of the receipt. The change
is returned to Amount;
3 Amount uint 0.00...99999999.99 The sum tendered.

Example 1
Binary log
Request 01 30 30 32 3D D5 30 30 33 35 30 09 09 05 30 32 3B 33 03
01 30 30 33 3C 64 30 30 33 35 30 09 44 09 30 2E 30 30 09 04 80 80 8A 80 86 9A 80 80 05 30
Answer
37 37 3B 03
Human oriented log
Request 0[\t][\t]
Answer 0[\t]D[\t]0.00[\t]

18
Communication protocol
Programmers manual

4.16.Command 54 (36h) Printing of a free fiscal text


Request (syntax #1)

Name Type Opt Value Description

XX depends on print columns.


1 Text char Up to XX symbols for FP-700X- XX = 40 or 46;
for FP-60X, DP-25X- XX = 40.

Answer
NaTme Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 33 3C AB 30 30 33 36 54 65 73 74 20 2D 20 70 72 69 6E 74 20 74 65 78 74 09 05 30
Request
38 37 30 03
Answer 01 30 30 33 35 AB 30 30 33 36 30 09 04 80 80 88 80 86 9A 80 80 05 30 36 3A 36 03
Human oriented log
Request Test - print text[\t]
Answer 0[\t]

Request (syntax #2)


Name Type Opt Value Description
XX depends on print columns.
1 Text char Up to XX symbols for FP-700X- XX = 40 or 46;
for FP-60X, DP-25X- XX = 40.
2 Bold uint ● 0...1 1 = print bold text; empty field = normal text;
3 Italic uint ● 0...1 1 = print italic text; empty field = normal text;
0 = normal height, 1= double height, 2 = half height; empty field =
4 Height uint ● 0...2
normal height text;
5 Underline uint ● 0...1 1 = print underlined text; empty field = normal text;
6 alignment uint ● 0...2 0 = left alignment, 1 = center, 2 = right; empty field = left alignment;

Answer
NaTme Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 34 33 AC 30 30 33 36 54 65 73 74 20 2D 20 70 72 69 6E 74 20 74 65 78 74 09 31 09
Request
31 09 09 09 09 05 30 38 3F 38 03
Answer 01 30 30 33 35 AC 30 30 33 36 30 09 04 80 80 88 80 86 9A 80 80 05 30 36 3A 37 03
Human oriented log
Request Test - print text[\t]1[\t]1[\t][\t][\t][\t]
Answer 0[\t]

19
Communication protocol
Programmers manual

4.17. Command 56 (38h) Close fiscal receipt


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 SlipNumber uint 1...999999 Current fiscal receipt number

Example
Binary log
Request 01 30 30 32 3A DD 30 30 33 38 05 30 32 37 39 03
Answer 01 30 30 33 38 DD 30 30 33 38 30 09 35 35 09 04 80 84 82 80 86 9A 80 80 05 30 37 34 3E 03
Human oriented log
Request
Answer 0[\t]55[\t]

20
Communication protocol
Programmers manual

4.18. Command 57 (39h) Enter invoice data ( client information)


Request 1
Name Type Opt Value Description
1 ClientIBK char 13 digits Client's IBK number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 1
Binary log
Request 01 30 30 33 38 E3 30 30 33 39 31 32 33 34 35 36 37 38 39 30 31 32 33 09 05 30 35 32 3B 03
Answer 01 30 30 33 35 E3 30 30 33 39 30 09 04 80 80 8A 80 86 9A 80 80 05 30 36 3E 33 03
Human oriented log
Request 1234567890123[\t]
Answer 0[\t]

Request 2
Name Type Opt Value Description
1 Index 0...15 Index of the line
XX depends on print columns.
2 Text char Up to XX symbols for FP-700X - XX = 36, 42 or 48;
for FP-60X, DP-25X - XX = 36 or 42.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 2
Binary log
01 30 30 33 39 E4 30 30 33 39 30 09 54 65 78 74 2D 69 6E 76 6F 69 63 65 09 05 30 37 38 32
Request
03
Answer 01 30 30 33 39 35 30 30 33 39 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 3C 3C 03
Human oriented log
Request 0[\t]Text-invoice[\t]
Answer 0[\t]

ClientIBK must be entered before executing Request 2 !

21
Communication protocol
Programmers manual

4.19. Command 58 (3Ah) Registering the sale of a programmed item


Request

Name Type Opt Value Description

The code of the item.


Note:
1 PluCode uint 1...100000 Void operations are made by placing '-' before PluCode ! In order to
make void operation the Price parameter must be the same as the price
at which the item was sold.
Quantity of the product (default: 1.000).
2 Quantity uint ● up to 999999.999
Note: Max value of Price * Quantity is *9999999.99.
Default: programmed price of the item.
Note:
3 Price char ● 0.00...9999999.99 -Max value of Price * Quantity is *9999999.99.
-In order to make void operation the Price parameter must be the same
as the price at which the item was sold.
Type of discount:
• '0' or empty – no discount;
4 DiscountType uint ● 0...2
• '1' – surcharge by percentage;
• '2' – discount by percentage;
Value of discount.
0.01...100.00 Note:
5 DiscountValue uint ●
If {DiscountType} is non zero, {DiscountValue} must contain value.
If {DiscountType} is zero or empty, {DiscountValue} must be empty

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 SlipNumber uint 1...999999 Current fiscal receipt number.

Example
Binary log
Request 01 30 30 33 35 FD 30 30 33 3A 33 09 31 30 09 33 09 31 09 31 09 05 30 33 3E 3D 03
Answer 01 30 30 33 38 FD 30 30 33 3A 30 09 35 38 09 04 80 80 8A 80 86 9A 80 80 05 30 37 37 37 03
Human oriented log
Request 3[\t]10[\t]3[\t]1[\t]1[\t]
Answer 0[\t]58[\t]

22
Communication protocol
Programmers manual

4.20. Command 61 (3Dh) Set date and time


Request
Name Type Opt Value Description
Date and time in format:
"DD-MM-YY hh:mm:ss DST" (for Summer time);
1 DateTime char ● 17 or 21 symbols "DD-MM-YY hh:mm:ss"(for Winter time);
If DateTime is empty, device will synchronize date and time using NTP
settings.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 33 3C 23 30 30 33 3D 30 32 2D 31 32 2D 32 30 20 31 31 3A 33 33 3A 30 30 09 05 30
Request
35 30 3D 03
Answer 01 30 30 33 35 23 30 30 33 3D 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 31 3F 03
Human oriented log
Request 02-12-20 11:33:00[\t]
Answer 0[\t]

23
Communication protocol
Programmers manual

4.21. Command 62 (3Eh) Read date and time


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Date and time in format:
2 DateTime char 17 or 21 symbols "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);

Example
Binary log
Request 01 30 30 32 3A 24 30 30 33 3E 05 30 31 3C 36 03
01 30 30 34 37 24 30 30 33 3E 30 09 30 32 2D 31 32 2D 32 30 20 31 31 3A 33 38 3A 35 34 09
Answer
04 80 80 82 80 86 9A 80 80 05 30 39 37 38 03
Human oriented log
Request
Answer 0[\t]02-12-20 11:38:54[\t]

24
Communication protocol
Programmers manual

4.22. Command 63 (3Fh) Show current date and time on the external display
Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Date and time in format:
2 DateTime char 17 or 21 symbols "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);

Example
Binary log
Request 01 30 30 32 3A 2A 30 30 33 3F 05 30 31 3C 3D 03
01 30 30 34 37 2A 30 30 33 3F 30 09 32 31 2D 31 30 2D 32 30 20 31 37 3A 31 32 3A 33 31 09
Answer
04 80 80 80 80 86 9A 80 80 05 30 39 37 35 03
Human oriented log
Request
Answer 0[\t]21-10-20 17:12:31[\t]

25
Communication protocol
Programmers manual

4.23. Command 64 (40h) Information on the last fiscal record


Request

Name Type Opt Value Description

Type of returned data. Default: 0


'0' - Turnover on TAX group;
1 Type uint 0 ... 3 '1' - Amount on TAX group;
'2' - Storno turnover on TAX group;
'3' - Storno amount on TAX group;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 nRep uint 1...2000 Number of report
3 SumA uint 0.00...999999999.99 Depend on Type.
4 SumE uint 0.00... 999999999.99 Depend on Type.
5 SumJ uint 0.00... 999999999.99 Depend on Type.
6 SumK uint 0.00... 999999999.99 Depend on Type.
7 SumM uint 0.00... 999999999.99 Depend on Type.
8 Date char 8 symbols Date of fiscal record in format DD-MM-YY

Example
Binary log
Request 01 30 30 32 3C 8E 30 30 34 30 31 09 05 30 32 35 3F 03
01 30 30 35 3E 8E 30 30 34 30 30 09 32 09 32 2E 37 30 09 33 2E 34 34 09 31 32 2E 32 34 09
Answer 37 34 38 38 30 2E 30 30 09 31 2E 39 39 09 31 36 2D 30 33 2D 32 31 09 04 80 80 82 80 86 9A
80 80 05 30 3D 37 32 03
Human oriented log
Request 1[\t]
Answer 0[\t]2[\t]2.70[\t]3.44[\t]12.24[\t]74880.00[\t]1.99[\t]16-03-21[\t]

26
Communication protocol
Programmers manual

4.24. Command 65 (41h) Information on daily taxation


Request
Name Type Opt Value Description
Type of returned data. Default: 0
'0' - Turnover on TAX group;
1 Type uint 0 ... 3 '1' - Amount on TAX group;
'2' - Storno turnover on TAX group;
'3' - Storno amount on TAX group;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 nRep uint 1...2000 Number of report
3 SumA uint 0.00... 999999999.99 Depend on Type.
4 SumE uint 0.00... 999999999.99 Depend on Type.
5 SumJ uint 0.00... 999999999.99 Depend on Type.
6 SumK uint 0.00... 999999999.99 Depend on Type.
7 SumM uint 0.00... 999999999.99 Depend on Type.

Example
Binary log
Request 01 30 30 32 3C 6C 30 30 34 31 30 09 05 30 32 33 3D 03
01 30 30 35 30 8F 30 30 34 31 30 09 33 09 30 2E 30 30 09 30 2E 30 30 09 30 2E 30 30 09 30
Answer
2E 30 30 09 30 2E 30 30 09 04 80 80 82 80 86 9A 80 80 05 30 3A 39 3C 03
Human oriented log
Request 0[\t]
Answer 0[\t]3[\t]0.00[\t]0.00[\t]0.00[\t]0.00[\t]0.00[\t]

27
Communication protocol
Programmers manual

4.25. Command 68 (44h) Number of remaining entries for Z-reports in FM


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 ReportsLeft uint 1...2000 The number of remaining entries for Z-reports in FM

Example
Binary log
Request 01 30 30 32 3A 6D 30 30 34 34 05 30 32 30 36 03
01 30 30 33 3A 6D 30 30 34 34 30 09 31 39 38 30 09 04 80 80 82 80 86 9A 80 80 05 30 37 34
Answer
31 03
Human oriented log
Request
Answer 0[\t]1980[\t]

28
Communication protocol
Programmers manual

4.26. Command 69 (45h) Reports


Request 1
Name Type Opt Value Description
Report type:
1 ReportType char X or Z • 'X' – X-report;
• 'Z' – Z-report

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 nRep uint 1...2000 Number of report.
3 TotA uint 0.00... 999999999.99 Total sum accumulated by TAX group A - sell operations
4 TotE uint 0.00... 999999999.99 Total sum accumulated by TAX group E - sell operations
5 TotJ uint 0.00... 999999999.99 Total sum accumulated by TAX group J - sell operations
6 TotK uint 0.00... 999999999.99 Total sum accumulated by TAX group K - sell operations
7 TotM uint 0.00... 999999999.99 Total sum accumulated by TAX group M - sell operations
8 StorA uint 0.00... 999999999.99 Total sum accumulated by TAX group A - storno operations
9 StorE uint 0.00... 999999999.99 Total sum accumulated by TAX group E - storno operations
10 StorJ uint 0.00... 999999999.99 Total sum accumulated by TAX group J - storno operations
11 StorK uint 0.00... 999999999.99 Total sum accumulated by TAX group K - storno operations
12 StorM uint 0.00... 999999999.99 Total sum accumulated by TAX group M - storno operations

Example 1
Binary log
Request 01 30 30 32 3C 84 30 30 34 35 58 09 05 30 32 38 31 03
01 30 30 37 30 A5 30 30 34 35 30 09 33 09 34 2E 30 34 09 39 2E 34 38 09 34 31 2E 32 30 09 32
Answer 32 34 36 34 30 2E 30 30 09 39 39 2E 39 39 09 30 2E 30 30 09 30 2E 30 30 09 30 2E 30 30 09 30
2E 30 30 09 30 2E 30 30 09 04 80 80 82 80 86 9A 80 80 05 31 30 34 35 03
Human oriented log
Request X[\t]
0[\t]3[\t]4.04[\t]9.48[\t]41.20[\t]224640.00[\t]99.99[\t]0.00[\t]0.00[\t]0.00[\t]0.00[\
Answer
t]0.00[\t]

29
Communication protocol
Programmers manual

Request 2
Name Type Opt Value Description

Report type:
1 ReportType char D or G • 'D' – Departments report;
• 'G' - Item groups report;

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 2
Binary log
Request 01 30 30 32 3C 85 30 30 34 35 44 09 05 30 32 36 3E 03
Answer 01 30 30 33 35 85 30 30 34 35 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 37 3A 03
Human oriented log
Request D[\t]
Answer 0[\t]

Request 3 – Print periodical report


Name Type Opt Value Description
Report type:
1 ReportType char P • 'P' - Periodic report;
Type of period report;
'1' - Period report "Payments";
2 PeriodType uint 1...3
'2' - Period report "Departments";
'3' - Period report "PLU items";
Period report start date in format: "DD-MM-YY".
3 StartDate char ● 8 symbols
Default: Date of fiscalization;
Period report end date in format: "DD-MM-YY".
4 EndDate char ● 8 symbols
Default: Current date;

Answer 3
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 3
Binary log
01 30 30 34 30 5C 30 30 34 35 50 09 33 09 31 30 2D 31 32 2D 32 30 09 31 31 2D 31 32 2D 32 30
Request
09 05 30 35 39 36 03
Answer 01 30 30 33 35 5C 30 30 34 35 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 35 31 03
Human oriented log
Request P[\t]3[\t]10-12-20[\t]11-12-20[\t]
Answer 0[\t]

30
Communication protocol
Programmers manual

Request 4 – Print periodical report PLU items


Name Type Opt Value Description
Report type:
1 ReportType char P
'P' - Periodic report;
Type of period report:
2 PeriodType uint 3
'3' - Period report "PLU items";
Period report start date in format: "DD-MM-YY".
3 StartDate char ● 8 symbols
Default: Date of fiscalization;
Period report end date in format: "DD-MM-YY".
4 EndDate char ● 8 symbols
Default: Current date;
Type of period "PLU items" report:
'1' - By PLU code;
5 SubType uint 1...3
'2' - By PLU department;
'3' - By PLU group;
Period PLU report from number. Depend of SubType:
1...100000 SubType '1' - From PLU code. Default: 1;
6 From uint ●
1...99 SubType '2' - From PLU department. Default: 1;
1...99 SubType '3' - From PLU group. Default: 1;
Period PLU report to number. Depend of SubType:
1...100000 SubType '1' - To PLU code. Default: 100000;
7 To ●
1...99 SubType '2' - To PLU department. Default: 99;
1...99 SubType '3' - To PLU group. Default: 99;

Answer 4
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 4
Binary log
01 30 30 34 37 5D 30 30 34 35 50 09 33 09 31 30 2D 31 32 2D 32 30 09 31 31 2D 31 32 2D 32 30
Request
09 31 09 31 09 31 30 09 05 30 36 37 3C 03
Answer 01 30 30 33 35 5D 30 30 34 35 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 35 32 03
Human oriented log
Request 69,P[\t]3[\t]10-12-20[\t]11-12-20[\t]1[\t]1[\t]10[\t]
Answer 0[\t]

31
Communication protocol
Programmers manual

4.27. Command 70 (46h) Cash in and Cash out operations


Request
Name Type Opt Value Description
Type of operation:
1 Type uint 0, 1 • '0' – cash in;
• '1' – cash out;
The sum.
2 Amount uint 0.00... 999999999.99
If Amount=0, the only Answer is returned, and receipt does not print.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 CashSum uint 0.00... 999999999.99 Cash in safe sum.
3 CashIn uint 0.00... 999999999.99 Total sum of cash in operations.
4 CashOut uint 0.00... 999999999.99 Total sum of cash out operations.

Example
Binary log
Request 01 30 30 33 31 AA 30 30 34 36 30 09 31 31 31 31 09 05 30 33 34 33 03
01 30 30 34 3C AA 30 30 34 36 30 09 32 32 35 38 31 35 2E 37 31 09 31 31 31 31 2E 30 30 09 30
Answer
2E 30 30 09 04 80 80 82 80 86 9A 80 80 05 30 3A 3A 30 03
Human oriented log
Request 0[\t]1111[\t]
Answer 0[\t]225815.71[\t]1111.00[\t]0.00[\t]

32
Communication protocol
Programmers manual

4.28. Command 71 (47h) Print diagnostic information


Request 1
Name Type Opt Value Description
Type of the information printed. Default: 0;
• '0' – general diagnostic information about the device;
• '1' – test of the modem;
• '4' – print information about tax terminal;
1 InfoType uint ● 0, 1, 4, 5, 6, 8, 9 and 10 • '5' – test of the LAN interface if present;
• '6' – test of the SD card performance;
• '8' – test SAM module;
• '9' – test of the Ble module ( if present );
• '10' – test of the modem without PPP connection;

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 1
Binary log
Request 01 30 30 32 3C 87 30 30 34 37 30 09 05 30 32 35 3E 03
Answer 01 30 30 33 35 87 30 30 34 37 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 37 3E 03
Human oriented log
Request 0[\t]
Answer 0[\t]

Request 2
Name Type Opt Value Description

1 InfoType uint 2 '2' - general information about tax terminal's connection with FTP server;

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Last connection to the server. Date and time in format:
2 LastDate char 19 or 23 symbols "DD-MM-YYYY hh:mm:ss DST" (for Summer time);
"DD-MM-YYYY hh:mm:ss"(for Winter time);
Next connection to the server. Date and time in format:
3 NextDate char 19 or 23 symbols "DD-MM-YYYY hh:mm:ss DST" (for Summer time);
"DD-MM-YYYY hh:mm:ss"(for Winter time);
4 SeqSale uint 0...99999 Last sequence number successfuly sent to the server of type "SALE";
5 SeqReset uint 0...999 Last sequence number successfuly sent to the server of type "RESET";
6 SeqServ uint 0...999 Last sequence number successfuly sent to the server of type "SERV";
7 SeqTax uint 0...999 Last sequence number successfuly sent to the server of type "TAX";
8 SeqInvoice uint 0...99999 Last sequence number successfuly sent to the server of type "INVOICE";

33
Communication protocol
Programmers manual

Example 2
Binary log
Request 01 30 30 32 3C 88 30 30 34 37 32 09 05 30 32 36 31 03
01 30 30 36 37 88 30 30 34 37 30 09 30 32 2D 31 32 2D 32 30 32 30 20 31 33 3A 35 32 3A 30
Answer 30 09 30 33 2D 31 32 2D 32 30 32 30 20 31 33 3A 34 37 3A 35 38 09 30 09 30 09 30 09 30 09
30 09 04 80 80 82 80 86 9A 80 80 05 30 3F 30 39 03
Human oriented log
Request 2[\t]
Answer 0[\t]02-12-2020 13:52:00[\t]03-12-2020 13:47:58[\t]0[\t]0[\t]0[\t]0[\t]0[\t]

Request 3
Name Type Opt Value Description

1 InfoType uint 3 '3' – general information about tax terminal's configuration and tasks;

Answer 3
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Period uint 0...1 Command PERIOD received (0 - not active; 1 - active );
3 All uint 0...1 Command ALL received (0 - not active; 1 - active);
4 Last uint 0...1 Command LAST received (0 - not active; 1 - active);
Command SALE received (0 - not active; 1 - active, not completed; 2 - active,
5 Sale uint 0...2
completed);
Command RESET received (0 - not active; 1 - active, not completed; 2 -
6 Reset uint 0...2
active, completed);
Command SERV received (0 - not active; 1 - active, not completed; 2 - active,
7 Serv uint 0...2
completed);
Command TAX received (0 - not active; 1 - active, not completed; 2 - active,
8 Tax uint 0...2
completed);
Command INVOICE received (0 - not active; 1 - active, not completed; 2 -
9 Invoice uint 0...2
active, completed);
First Z that falls into the date range received from commands
10 FirstZ uint 1…2000
PERIOD/ALL/LAST;
Last Z that falls into the date range received from commands
11 LastZ uint 1…2000
PERIOD/ALL/LAST;

Example 3
Binary log
Request 01 30 30 32 3C 89 30 30 34 37 33 09 05 30 32 36 33 03
01 30 30 34 39 89 30 30 34 37 30 09 30 09 31 09 30 09 30 09 31 09 31 09 31 09 31 09 30 09
Answer
30 09 04 80 80 82 80 86 9A 80 80 05 30 38 3C 34 03
Human oriented log
Request 3[\t]
Answer 0[\t]0[\t]1[\t]0[\t]0[\t]1[\t]1[\t]1[\t]1[\t]0[\t]0[\t]

34
Communication protocol
Programmers manual

4.29. Command 72 (48h) Fiscalization


Request
Name Type Opt Value Description
Two letters and six digits:
1 SerialNumber char Serial Number of the device
XX123450
2 JIBnumber 13 digits JIB number
3 PIBnumber 12 digits PIB number

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 34 3E 60 30 30 34 38 41 42 31 32 33 34 38 30 09 31 32 33 34 35 36 37 38 39 30 31
Request
38 30 09 31 32 33 34 35 36 37 38 39 30 38 30 09 05 30 38 3E 3E 03
01 30 30 33 3B 60 30 30 34 38 2D 31 31 30 31 30 35 09 04 80 80 82 80 86 9A 80 80 05 30 37
Answer
38 33 03
Human oriented log
Request 72,AB123480[\t]1234567890180[\t]123456789080[\t]
Answer -110105[\t]

35
Communication protocol
Programmers manual

4.30. Command 74 (4Ah) Reading the Status


Request
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 StatusBytes uint 80h...FFh Status Bytes (See the description of the status bytes).

Example
Binary log
Request 01 30 30 32 3A 8A 30 30 34 3A 05 30 32 32 39 03
01 30 30 33 3E 8A 30 30 34 3A 30 09 80 80 82 80 86 9A 80 80 09 04 80 80 82 80 86 9A 80 80
Answer
05 30 3A 3B 38 03
Human oriented log
Request
Answer 0[\t]ЂЂ,Ђ†љЂЂ[\t]

36
Communication protocol
Programmers manual

4.31. Command 76 (4Ch) Status of current or last receipt


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Status of current or last receipt;
• '0' – Receipt is closed;
• '1' – Fiscal receipt is open,
2 IsOpen uint 0...5 • '2' – Storno receipt is open
• '3' – Non fiscal receipt is open;
• '4' – Fiscal receipt invoice;
• '5' – Storno receipt invoice;
3 Number uint 1...9999999 The number of the current or the last receipt
4 BFNumber uint 1...999999 The number of the current or the last fiscal receipt
5 RFNumber uint 1...999999 The number of the current or the last storno receipt
6 Items uint 1...9999999 Number of sales registered on the current or the last fiscal receipt.
7 Amount uint 0.00...9999999.99 The sum from the current or the last fiscal receipt.
8 Payed uint 0.00...9999999.99 The sum paid in current or the last fiscal receipt.

Example
Binary log
Request 01 30 30 32 3A BE 30 30 34 3C 05 30 32 35 3F 03
01 30 30 34 3A BE 30 30 34 3C 30 09 30 09 33 35 09 36 09 31 09 30 09 30 2E 30 30 09 30 2E
Answer
30 30 09 04 80 80 82 80 86 9A 80 80 05 30 39 3A 3A 03
Human oriented log
Request
Answer 0[\t]0[\t]35[\t]6[\t]1[\t]0[\t]0.00[\t]0.00[\t]

37
Communication protocol
Programmers manual

4.32. Command 80 (50h) Play sound


Request
Name Type Opt Value Description
1 Hz uint 0...65535 Frequency
2 mSec uint 0...65535 Time in milliseconds

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 33 33 41 30 30 35 30 32 35 30 09 31 31 35 30 09 05 30 33 34 31 03
Answer 01 30 30 33 35 41 30 30 35 30 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 33 30 03
Human oriented log
Request 250[\t]1150[\t]
Answer 0[\t]

38
Communication protocol
Programmers manual

4.33. Command 83 (53h) Programming of VAT rates


Request
Name Type Opt Value Description
1 TaxA uint 0.00...100.00 Value of Tax A, 0.00...99.99 = enabled; 100.00 = disabled
2 TaxE uint 0.00...100.00 Value of Tax E, 0.00...99.99 = enabled; 100.00 = disabled
3 TaxJ uint 0.00...100.00 Value of Tax J, 0.00...99.99 = enabled; 100.00 = disabled
4 TaxK uint 0.00...100.00 Value of Tax K, 0.00...99.99 = enabled; 100.00 = disabled
5 TaxM uint 0.00...100.00 Value of Tax M, 0.00...99.99 = enabled; 100.00 = disabled

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 RemainingChanges uint 0...30 Number of remaining changes

Example
Binary log
01 30 30 34 36 C8 30 30 35 33 32 30 2E 30 30 09 32 30 2E 30 30 09 32 30 2E 30 30 09 30 2E
Request
30 35 09 30 2E 30 31 09 05 30 36 3D 3E 03
Answer 01 30 30 33 38 C8 30 30 35 33 30 09 32 39 09 04 80 80 82 80 86 9A 80 80 05 30 37 33 33 03
Human oriented log
Request 20.00[\t]20.00[\t]20.00[\t]0.05[\t]0.01[\t]
Answer 0[\t]29[\t]

39
Communication protocol
Programmers manual

4.34. Command 84 (54h) Printing of barcode


Request
Name Type Opt Value Description
Type of barcode:
• '1' - EAN8 barcode. Data must contain only 8 digits;
• ‘2' - EAN13 barcode. Data must contain only 13 digits;
• '3' - Code128 barcode. Data must contain symbols with ASCII codes
between 32 and 127. Data length is between 3 and 31 symbols;
• '4' - QR code. Data must contain symbols with ASCII codes between 32
1 Type uint 1...7 and 127. Data length is between 3 and 279 symbols;
• '5' - Interleave 2of5 barcode. Data must contain only digits, from 3 to 22
chars;
• '6' - PDF417 truncated Data must contain symbols with ASCII codes
between 32 and 127. Data length is between 3 and 400 symbols;
• '7' - PDF417 normal Data must contain symbols with ASCII codes
between 32 and 127. Data length is between 3 and 400 symbols;
2 Data char Up to 400 symbols Data of the barcode. Length of Data depends on the type of the barcode.
3 QRcodeSize uint ● 3...10 Dots multiplier for QR barcodes and PDF417 barcodes. Default: 4;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0

Example
Binary log
Request 01 30 30 33 35 46 30 30 35 34 31 09 31 32 33 34 35 36 37 38 09 05 30 33 3C 33 03
Answer 01 30 30 33 35 46 30 30 35 34 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 33 39 03
Human oriented log
Request 1[\t]12345678[\t]
Answer 0[\t]

40
Communication protocol
Programmers manual

4.35. Command 86 (56h) Date of the last fiscal record


Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
The date and the time of the last fiscal record ( format "DD-MM-YYYY
2 DateTime char 19 symbols
hh:mm:ss" );

Example
Binary log
Request 01 30 30 32 3A D5 30 30 35 36 05 30 32 37 31 03
01 30 30 34 39 D5 30 30 35 36 30 09 30 32 2D 31 32 2D 32 30 32 30 20 31 34 3A 30 36 3A 35
Answer
31 09 04 80 80 82 80 86 9A 80 80 05 30 3A 38 32 03
Human oriented log
Request
Answer 0[\t]02-12-2020 14:06:51[\t]

41
Communication protocol
Programmers manual

4.36. Command 89 (59h) Test of the fiscal memory


Request
Name Type Opt Value Default Description
• '0' - Read test;
1 Write uint ● 0...1 0
• '1' - Write and read test;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Records uint 0...16 Number of records left.

Example
Binary log
Request 01 30 30 32 3C D7 30 30 35 39 30 09 05 30 32 3B 31 03
01 30 30 33 3A D7 30 30 35 39 30 09 30 30 31 36 09 04 80 80 82 80 86 9A 80 80 05 30 37 3A
Answer
36 03
Human oriented log
Request 0[\t]
Answer 0[\t]0016[\t]

42
Communication protocol
Programmers manual

4.37. Command 90 (5Ah) Diagnostic information


Request 1(Diagnostic information without firmware checksum )
Name Type Opt Value Description
1 Param char ● empty

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 DevName char Up to 32 symbols Device name.
3 FwVer char 6 symbols Firmware version.
4 FwDate char 7 symbols; Firmware date (format DDMmmYY).
5 FwTime char 4 symbols Firmware time (hhmm).
6 Checksum char 4 symbols Always FFFF.
7 Sw char 8 symbols Switch from Sw1 to Sw8. Not used in this device, always 00000000;
Two letters and six digits:
8 SerialNumber char Serial Number
XX123456
Two letters and six digits:
9 FMNumber char Fiscal Number
XX123456

Example 1
Binary log
Request 01 30 30 32 3B DC 30 30 35 3A 09 05 30 32 38 36 03
01 30 30 37 30 DC 30 30 35 3A 30 09 44 50 2D 32 35 58 09 32 32 31 36 30 35 09 30 33 44 65
Answer 63 32 30 09 31 30 33 30 09 46 46 46 46 09 30 30 30 30 30 30 30 30 09 44 54 30 32 30 30 31
30 09 44 54 30 32 30 30 31 30 09 04 80 84 82 80 86 9A 80 80 05 31 32 37 35 03
Human oriented log
Request [\t]
Answer 0[\t]DP-25X[\t]221605[\t]03Dec20[\t]1030[\t]FFFF[\t]00000000[\t]DT020010[\t]DT020010[\t]

Request 2
Name Type Opt Value Description
1 Param char 1 Diagnostic information with firmware checksum;

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 DevName char Up to 32 symbols Device name.
3 FwVer char 6 symbols Firmware version.
4 FwDate char 7 symbols; Firmware date (format DDMmmYY).
5 FwTime char 4 symbols Firmware time (hhmm).
6 Checksum char 4 symbols Firmware checksum.
7 Sw char 8 symbols Switch from Sw1 to Sw8. Not used in this device, always 00000000;
Two letters and six digits:
8 SerialNumber char Serial Number
XX123456
Two letters and six digits:
9 FMNumber char Fiscal Number
XX123456

43
Communication protocol
Programmers manual

Example 2
Binary log
Request 01 30 30 32 3C DD 30 30 35 3A 31 09 05 30 32 3B 39 03
01 30 30 37 30 DD 30 30 35 3A 30 09 44 50 2D 32 35 58 09 32 32 31 36 30 35 09 30 33 44 65
Answer 63 32 30 09 31 30 33 30 09 37 31 37 39 09 30 30 30 30 30 30 30 30 09 44 54 30 32 30 30 31
30 09 44 54 30 32 30 30 31 30 09 04 80 84 82 80 86 9A 80 80 05 31 32 33 36 03
Human oriented log
Request 1[\t]
Answer 0[\t]DP-25X[\t]221605[\t]03Dec20[\t]1030[\t]7179[\t]00000000[\t]DT020010[\t]DT020010[\t]

44
Communication protocol
Programmers manual

4.38. Command 91 (5Bh) Programming of Serial number


Request
Name Type Opt Value Description
Two letters and six digits:
1 SerialNumber char Serial Number "IBFU"
XX123450
Two letters and six digits:
2 FMnumber char Fiscal Memory Number "IBFM"
XX123451

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Country char Up to 32 symbols Name of the country FBiH.

Example
Binary log
01 30 30 33 3C 28 30 30 35 3B 41 42 31 32 33 34 38 30 09 41 42 31 32 33 34 38 31 09 05 30
Request
35 34 39 03
01 30 30 33 3A 28 30 30 35 3B 30 09 46 42 69 48 09 04 80 80 82 80 86 9A 80 80 05 30 37 36
Answer
3B 03
Human oriented log
Request AB123480[\t]AB123481[\t]
Answer 0[\t]FBiH[\t]

45
Communication protocol
Programmers manual

4.39. Command 92 (5Ch) Printing of separating line


Request
Name Type Opt Value Description
Type of the separating line:
• '1' - Separating line with the symbol '-';
1 Type uint 1...3
• '2' - Separating line with the symbols '-' and ' ';
• '3' - Separating line with the symbol '=';

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 32 3C 9F 30 30 35 3C 31 09 05 30 32 37 3D 03
Answer 01 30 30 33 35 9F 30 30 35 3C 30 09 04 80 80 A0 80 86 9A 80 80 05 30 36 3B 3A 03
Human oriented log
Request 1[\t]
Answer 0[\t]

46
Communication protocol
Programmers manual

4.40. Command 94 (5Еh) Fiscal memory report by dates


Request
Name Type Opt Value Default Description
Start date and time in format:
1 Start char 17 or 21 symbols Date and time of fiscalization; "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
End date and time in format:
2 End char 17 or 21 symbols Current date and time; "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0

Example
Binary log
01 30 30 34 3E DF 30 30 35 3E 30 33 2D 31 32 2D 32 30 20 30 30 3A 30 30 3A 30 30 09 30 33
Request
2D 31 32 2D 32 30 20 31 36 3A 30 30 3A 30 30 09 05 30 39 30 3E 03
Answer 01 30 30 33 35 DF 30 30 35 3E 30 09 04 80 84 82 80 86 9A 80 80 05 30 36 3E 32 03
Human oriented log
Request 03-12-20 00:00:00[\t]03-12-20 16:00:00[\t]
Answer 0[\t]

47
Communication protocol
Programmers manual

4.41. Command 95 (5Fh) Fiscal memory report by Z-reports numbers


Request
Name Type Opt Value Default Description
2 First uint ● 1..2000 1 First Z-report in the period.
3 Last uint ● 1..2000 Number of last Z-report Last Z-report in the period.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 32 3E E1 30 30 35 3F 35 09 36 09 05 30 33 30 37 03
Answer 01 30 30 33 35 E1 30 30 35 3F 30 09 04 80 84 82 80 86 9A 80 80 05 30 36 3E 35 03
Human oriented log
Request 5[\t]6[\t]
Answer 0[\t]

48
Communication protocol
Programmers manual

4.42. Command 96 (60h) Programming of IOSA number


Request
Name Type Opt Value Default Description
1 IOSANumber char 16 digits IOSA Number

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 33 3B E3 30 30 36 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 09 05 30 35
Request
3C 37 03
Answer 01 30 30 33 35 E3 30 30 36 30 30 09 04 80 84 82 80 86 9A 80 80 05 30 36 3D 39 03
Human oriented log
Request 1234567890123456[\t]
Answer 0[\t]

49
Communication protocol
Programmers manual

4.43. Command 98 (62h) Programming of TAX number


Request
Name Type Opt Value Default Description
1 JIBnumber char 13 digits JIB Number
2 PIBnumber char 12 digits PIB Number

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 34 35 2B 30 30 36 32 31 32 33 34 35 36 37 38 39 30 31 31 31 09 31 32 33 34 35 36
Request
37 38 39 30 32 32 09 05 30 36 3E 34 03
01 30 30 33 3B 2B 30 30 36 32 2D 31 30 30 31 30 38 09 04 80 80 82 80 A7 9A 80 80 05 30 37
Answer
36 3D 03
Human oriented log
Request 98,1234567890111[\t]123456789022[\t]
Answer -100108[\t]

50
Communication protocol
Programmers manual

4.44. Command 99 (63h) Reading the programmed JIB and PIB numbers
Request
Name Type Opt Value Default Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 JIBnumber char Up to 13 digits JIB Number
3 PIBnumber char Up to 12 digits PIB Number

Example
Binary log
Request 01 30 30 32 3A E4 30 30 36 33 05 30 32 37 3E 03
01 30 30 35 30 E4 30 30 36 33 30 09 30 30 30 30 30 30 30 30 30 30 31 32 33 09 30 30 30 30
Answer
30 30 30 30 31 32 33 34 09 04 80 84 82 80 86 9A 80 80 05 30 3B 3A 3C 03
Human oriented log
Request
Answer 0[\t]0000000000123[\t]000000001234[\t]

51
Communication protocol
Programmers manual

4.45. Command 100 (64h) Reading the explanation of an error


Request
Name Type Opt Value Description
1 Code int Negative number Code of the error.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Code int -999999...0 Code of the error, to be explained.
3 ErrorMessage char Explanation of the error in Code.

Example
Binary log
Request 01 30 30 33 32 E5 30 30 36 34 2D 31 31 31 30 31 36 09 05 30 33 3D 39 03
01 30 30 34 3D E5 30 30 36 34 30 09 2D 31 31 31 30 31 36 09 5A 61 74 76 6F 72 65 6E 20 72 61
Answer
E8 75 6E 21 09 04 80 84 82 80 86 9A 80 80 05 30 3E 38 39 03
Human oriented log
Request -111016[\t]
Answer 0[\t]-111016[\t]Zatvoren račun[\t]

52
Communication protocol
Programmers manual

4.46. Command 101 (65h) Set operator password


Request
Name Type Opt Value Description
1 OpCode uint 1...30 Operator number from.
Operator old password or administrator (oper28, oper29 or oper30)
2 OldPwd char ● 1...8
password. Can be blank if service jumper is on;
3 NewPwd char 1...8 Operator new password ( ASCII string of digits, length 1...8 );

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 33 37 5F 30 30 36 35 31 09 31 09 31 32 33 34 35 36 37 38 09 05 30 34 31 3A 03
Answer 01 30 30 33 35 5F 30 30 36 35 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 35 34 03
Human oriented log
Request 1[\t]1[\t]12345678[\t]
Answer 0[\t]

53
Communication protocol
Programmers manual

4.47. Command 103 (67h) Information about VAT amounts in current fiscal receipt
Request (no parameters)
Name Type Opt Value Description

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 SumVATA uint 0.00...9999999.99 The current accumulated sum on VATA
3 SumVATE uint 0.00...9999999.99 The current accumulated sum on VATE
4 SumVATJ uint 0.00...9999999.99 The current accumulated sum on VATJ
5 SumVATK uint 0.00...9999999.99 The current accumulated sum on VATK
6 SumVATM uint 0.00...9999999.99 The current accumulated sum on VATM
'1' if it is invoice receipt;
7 Inv 0 or 1
'0' if it is normal receipt;
'1' if a storno receipt is open;
8 fStorno 0 or 1
'0' if it is normal receipt;

Example
Binary log
Request 01 30 30 32 3A EA 30 30 36 37 05 30 32 38 38 03
01 30 30 35 32 30 30 30 36 37 30 09 34 2E 30 34 09 34 2E 37 34 09 30 2E 30 30 09 30 2E 30 30
Answer
09 30 2E 30 30 09 30 09 30 09 04 80 80 8A 80 86 9A 80 80 05 30 3A 39 3C 03
Human oriented log
Request
Answer 0[\t]4.04[\t]4.74[\t]0.00[\t]0.00[\t]0.00[\t]0[\t]0[\t]

54
Communication protocol
Programmers manual

4.48. Command 105 (69h) Operators report


Request
Name Type Opt Value Default Description
1 FirstOper uint ● 1...30 1 First operator.

2 LastOper uint ● 1...30 Maximum operator number Last operator.

Clear registers for operators:


3 Clear uint ● 0...1 0 • '0' - Does not clear registers for operators;
• '1' - Clear registers for operators;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0

Example
Binary log
Request 01 30 30 33 30 74 30 30 36 39 31 09 31 09 30 09 05 30 32 3B 38 03
Answer 01 30 30 33 35 74 30 30 36 39 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 36 3D 03
Human oriented log
Request 1[\t]1[\t]0[\t]
Answer 0[\t]

55
Communication protocol
Programmers manual

4.49. Command 106 (6Ah) Drawer opening


Request
Name Type Opt Value Description
1 mSec uint ● 0...65535 The length of the impulse in milliseconds.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 32 3C 3C 30 30 36 3A 30 09 05 30 32 31 38 03 16
Answer 01 30 30 33 35 3C 30 30 36 3A 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 33 36 03
Human oriented log
Request 0[\t]
Answer 0[\t]

56
Communication protocol
Programmers manual

4.50. Command 107 (6Bh) Defining and reading items


4.50.1. Item programming – option ‘P’ - Programming item
Request
Name Type Opt Value Description
1 Option char P Operation type.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1…5 VAT group.
4 Dep uint 0...99 Department number.
5 Group uint 1...99 Item group number.
Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.
8 AddQty char ● Byte with value 'A' Change of the available quantity for item
9 Quantity uint 0.001...99999.999 Stock quantity.
10 Bar1 char ● Up to 14 digits Barcode 1.
11 Bar2 char ● Up to 14 digits Barcode 2.
12 Bar3 char ● Up to 14 digits Barcode 3.
13 Bar4 char ● Up to 14 digits Barcode 4.
14 Name char Up to 72 symbols Item name.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 36 39 3E 30 30 36 3B 50 09 33 09 33 09 33 09 33 09 31 09 31 2E 38 30 09 41 09 31
Request 30 30 30 09 31 30 30 30 30 30 36 09 32 30 30 30 30 30 36 09 33 30 30 30 30 30 36 09 34 30
30 30 30 30 36 09 49 74 65 6D 20 33 09 05 30 3C 3B 3B 03
Answer 01 30 30 33 35 3E 30 30 36 3B 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 33 3B 03
Human oriented log
P[\t]3[\t]3[\t]3[\t]3[\t]1[\t]1.80[\t]A[\t]1000[\t]1000006[\t]2000006[\t]3000006[\
Request
t]4000006[\t]Item 3[\t]
Answer 0[\t]

57
Communication protocol
Programmers manual

4.50.2. Item programming – option ‘I’ - Item information


Request
Name Type Opt Value Description
1 Operation char I Information for item.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Total uint 1...100000 Total count of the programmable items.
3 Prog uint 1...100000 Total count of the programmed items.
4 NameLen uint 72 Maximum length of item name.

Example
Binary log
Request 01 30 30 32 3C 35 30 30 36 3B 49 09 05 30 32 32 3B 03
01 30 30 34 31 35 30 30 36 3B 30 09 31 30 30 30 30 30 09 30 09 37 32 09 04 80 80 82 80 86
Answer
9A 80 80 05 30 38 30 34 03
Human oriented log
Request I[\t]
Answer 0[\t]100000[\t]0[\t]72[\t]

4.50.3. Item programming – option ‘A’ - Change of the available quantity for item
Request

Name Type Opt Value Description

1 Operation char A Change of the available quantity for item.


2 PLU uint 1...100000 Item number.
3 Quantity uint 0.001...99999.999 Stock quantity.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 33 33 96 30 30 36 3B 41 09 31 30 09 31 32 35 09 05 30 33 38 37 03
Answer 01 30 30 33 35 96 30 30 36 3B 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 39 31 03
Human oriented log
Request A[\t]10[\t]125[\t]
Answer 0[\t]

58
Communication protocol
Programmers manual

4.50.4. Item programming – option ‘D’ - Item deleting


Request
Name Type Opt Value Description
1 Operation char D Item deleting.
First item number to delete.
2 firstPLU uint 1...100000 If this parameter has value 'A', all items will be deleted (parameter
lastPLU must be empty).

3 lastPLU uint ● 1...100000 Last item number to delete. Default: firstPLU.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0

Example
Binary log
Request 01 30 30 33 34 A5 30 30 36 3B 44 09 32 32 32 09 32 33 30 09 05 30 33 3C 3C 03
Answer 01 30 30 33 35 A5 30 30 36 3B 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 3A 30 03
Human oriented log
Request D[\t]222[\t]230[\t]
Answer 0[\t]

59
Communication protocol
Programmers manual

4.50.5. Item programming – option ‘R’ - Reading item


Request

Name Type Opt Value Description

1 Operation char R Reading item data.

2 PLU uint 1...100000 Item number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1...5 VAT group.

4 Dep uint 0...99 Department number.


5 Group uint 1...99 Item group number.
Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.

8 Turnover uint 0.00...9999999.99 Accumulated sum of the item


9 SoldQty uint 0.001...99999.999 Sold out quantity

10 StockQty 0.001...99999.999 Current quantity


11 Bar1 uint Up to 13 digits Barcode 1.

12 Bar2 char Up to 13 digits Barcode 2.


13 Bar3 char Up to 13 digits Barcode 3.

14 Bar4 char Up to 13 digits Barcode 4.


15 Name char Up to 72 symbols Item name.

Example
Binary log
Request 01 30 30 33 30 EF 30 30 36 3B 52 09 31 32 30 09 05 30 33 37 3F 03
01 30 30 37 3F 53 30 30 36 3B 30 09 33 09 33 09 33 09 33 09 31 09 31 2E 38 30 09 30 2E 30
30 09 30 2E 30 30 30 09 32 31 30 30 2E 30 30 30 09 31 30 30 30 30 30 36 09 32 30 30 30 30
Answer
30 36 09 33 30 30 30 30 30 36 09 34 30 30 30 30 30 36 09 49 74 65 6D 20 33 09 04 80 80 80
80 86 9A 80 80 05 31 33 30 3F 03
Human oriented log
Request R[\t]3[\t]
0[\t]3[\t]3[\t]3[\t]3[\t]1[\t]1.80[\t]0.00[\t]0.000[\t]2100.000[\t]1000006[\t]2000006[\
Answer
t]3000006[\t]4000006[\t]Item 3[\t]

60
Communication protocol
Programmers manual

4.50.6. Item programming – option ‘F’ - Data about the first found programmed item

Request

Name Type Opt Value Description

1 Operation char F Returns data about the first found programmed item.
2 PLU uint ● 1...100000 Item number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1...5 VAT group.

4 Dep uint 0...99 Department number.


5 Group uint 1...99 Item group number.
Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.

8 Turnover uint 0.00...9999999.99 Accumulated sum of the item


9 SoldQty uint 0.001...99999.999 Sold out quantity

10 StockQty 0.001...99999.999 Current quantity


11 Bar1 uint Up to 13 digits Barcode 1.

12 Bar2 char Up to 13 digits Barcode 2.


13 Bar3 char Up to 13 digits Barcode 3.

14 Bar4 char Up to 13 digits Barcode 4.


15 Name char Up to 72 symbols Item name.

Example
Binary log
Request 01 30 30 33 30 F0 30 30 36 3B 46 09 31 32 30 09 05 30 33 37 34 03
01 30 30 38 30 54 30 30 36 3B 30 09 31 31 34 09 34 09 38 09 38 09 32 09 31 31 34 2E 30 30
09 30 2E 30 30 09 30 2E 30 30 30 09 31 30 30 2E 30 30 30 09 31 31 34 31 31 34 31 31 34 31
Answer
31 34 09 30 09 30 09 30 09 4E 61 7A 69 76 20 61 72 74 69 63 6C 61 20 31 31 34 09 04 80 80
80 80 86 9A 80 80 05 31 34 3F 3E 03
Human oriented log
Request F[\t]3[\t]
0[\t]3[\t]3[\t]3[\t]3[\t]1[\t]1.80[\t]0.00[\t]0.000[\t]2100.000[\t]1000006[\t]2000006[\
Answer
t]3000006[\t]4000006[\t]Item 3[\t]

61
Communication protocol
Programmers manual

4.50.7. Item programming – option ‘L’ - Data about the last found programmed item
Request

Name Type Opt Value Description

1 Operation char L Returns data about the last found programmed item.
2 PLU uint ● 1...100000 Item number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1...5 VAT group.
4 Dep uint 0...99 Department number.

5 Group uint 1...99 Item group number.


Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.
8 Turnover uint 0.00...9999999.99 Accumulated sum of the item

9 SoldQty uint 0.001...99999.999 Sold out quantity


10 StockQty 0.001...99999.999 Current quantity

11 Bar1 uint Up to 13 digits Barcode 1.


12 Bar2 char Up to 13 digits Barcode 2.

13 Bar3 char Up to 13 digits Barcode 3.


14 Bar4 char Up to 13 digits Barcode 4.

15 Name char Up to 72 symbols Item name.

Example
Binary log
Request 01 30 30 32 3D F2 30 30 36 3B 4C 09 09 05 30 32 3F 35 03
01 30 30 38 30 54 30 30 36 3B 30 09 31 31 34 09 34 09 38 09 38 09 32 09 31 31 34 2E 30 30
09 30 2E 30 30 09 30 2E 30 30 30 09 31 30 30 2E 30 30 30 09 31 31 34 31 31 34 31 31 34 31
Answer
31 34 09 30 09 30 09 30 09 4E 61 7A 69 76 20 61 72 74 69 63 6C 61 20 31 31 34 09 04 80 80
80 80 86 9A 80 80 05 31 34 3F 3E 03
Human oriented log
Request L[\t][\t]
0[\t]114[\t]4[\t]8[\t]8[\t]2[\t]114.00[\t]0.00[\t]0.000[\t]100.000[\t]114114114114[\t]0[\
Answer
t]0[\t]0[\t]Naziv articla 114[\t]

62
Communication protocol
Programmers manual

4.50.8. Item programming – option ‘N’ - Data for the next found programmed item
Request
Name Type Opt Value Description
1 Operation char N Returns data for the next\previous found programmed item;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1...5 VAT group.

4 Dep uint 0...99 Department number.


5 Group uint 1...99 Item group number.
Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.

8 Turnover uint 0.00...9999999.99 Accumulated sum of the item


9 SoldQty uint 0.001...99999.999 Sold out quantity

10 StockQty 0.001...99999.999 Current quantity


11 Bar1 uint Up to 13 digits Barcode 1.

12 Bar2 char Up to 13 digits Barcode 2.


13 Bar3 char Up to 13 digits Barcode 3.

14 Bar4 char Up to 13 digits Barcode 4.


15 Name char Up to 72 symbols Item name.

The same command with option 'F' or 'L' must be executed first. This determines whether to get next('F') or previous ('L') item.

Example
Binary log
Request 01 30 30 32 3C F3 30 30 36 3B 4E 09 05 30 32 3E 3E 03
01 30 30 38 30 56 30 30 36 3B 30 09 34 09 34 09 34 09 34 09 31 09 39 2E 32 30 09 31 38 2E
34 30 09 32 2E 30 30 30 09 31 39 39 38 2E 30 30 30 09 31 30 30 30 30 30 37 09 32 30 30 30
Answer
30 30 37 09 33 30 30 30 30 30 37 09 34 30 30 30 30 30 37 09 49 74 65 6D 20 34 09 04 80 80
80 80 86 9A 80 80 05 31 33 36 36 03
Human oriented log
Request N[\t]
0[\t]4[\t]4[\t]4[\t]4[\t]1[\t]9.20[\t]18.40[\t]2.000[\t]1998.000[\t]1000007[\t]2000007[\
Answer
t]3000007[\t]4000007[\t]Item 4[\t]

63
Communication protocol
Programmers manual

4.50.9. Item programming – option ‘f’ - Data about the first found item with sales on it
Request

Name Type Opt Value Description

1 Operation char f Returns data about the first found item with sales on it;
2 PLU uint ● 1...100000 Item number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1...5 VAT group.
4 Dep uint 0...99 Department number.

5 Group uint 1...99 Item group number.


Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.
8 Turnover uint 0.00...9999999.99 Accumulated sum of the item

9 SoldQty uint 0.001...99999.999 Sold out quantity


10 StockQty 0.001...99999.999 Current quantity

11 Bar1 uint Up to 13 digits Barcode 1.


12 Bar2 char Up to 13 digits Barcode 2.

13 Bar3 char Up to 13 digits Barcode 3.


14 Bar4 char Up to 13 digits Barcode 4.

15 Name char Up to 72 symbols Item name.

Example
Binary log
Request 01 30 30 32 3E F5 30 30 36 3B 66 09 31 09 05 30 33 34 34 03
01 30 30 37 3F 57 30 30 36 3B 30 09 32 09 32 09 32 09 32 09 31 09 31 2E 31 32 09 31 2E 31
32 09 31 2E 30 30 30 09 31 39 39 39 2E 30 30 30 09 31 30 30 30 30 30 35 09 32 30 30 30 30
Answer
30 35 09 33 30 30 30 30 30 35 09 34 30 30 30 30 30 35 09 49 74 65 6D 20 32 09 04 80 80 80
80 86 9A 80 80 05 31 33 32 33 03
Human oriented log
Request f[\t]2[\t]
0[\t]2[\t]2[\t]2[\t]2[\t]1[\t]1.12[\t]1.12[\t]1.000[\t]1999.000[\t]1000005[\t]2000005[\
Answer
t]3000005[\t]4000005[\t]Item 2[\t]

64
Communication protocol
Programmers manual

4.50.10. Item programming – option ‘l’ - Data about the last found item with sales on it
Request

Name Type Opt Value Description

1 Operation char l Returns data about the last found item with sales on it;
2 PLU uint ● 1...100000 Item number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1...5 VAT group.
4 Dep uint 0...99 Department number.

5 Group uint 1...99 Item group number.


Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.
8 Turnover uint 0.00...9999999.99 Accumulated sum of the item

9 SoldQty uint 0.001...99999.999 Sold out quantity


10 StockQty 0.001...99999.999 Current quantity

11 Bar1 uint Up to 13 digits Barcode 1.


12 Bar2 char Up to 13 digits Barcode 2.

13 Bar3 char Up to 13 digits Barcode 3.


14 Bar4 char Up to 13 digits Barcode 4.

15 Name char Up to 72 symbols Item name.

Example
Binary log
Request 01 30 30 32 3E F6 30 30 36 3B 6C 09 31 09 05 30 33 34 3B 03
01 30 30 37 3F 59 30 30 36 3B 30 09 32 09 32 09 32 09 32 09 31 09 31 2E 31 32 09 31 2E 31
32 09 31 2E 30 30 30 09 31 39 39 39 2E 30 30 30 09 31 30 30 30 30 30 35 09 32 30 30 30 30
Answer
30 35 09 33 30 30 30 30 30 35 09 34 30 30 30 30 30 35 09 49 74 65 6D 20 32 09 04 80 80 80
80 86 9A 80 80 05 31 33 32 35 03
Human oriented log
Request l[\t]2[\t]
0[\t]2[\t]2[\t]2[\t]2[\t]1[\t]1.12[\t]1.12[\t]1.000[\t]1999.000[\t]1000005[\t]2000005[\
Answer
t]3000005[\t]4000005[\t]Item 2[\t]

65
Communication protocol
Programmers manual

4.50.11. Item programming – option ‘n’ - Data for the next found programmed item with sales on it
Request

Name Type Opt Value Description

Returns data for the next found programmed item with sales on it.
1 Operation char n The same command with option 'f' or 'l' must be executed first. This
determines whether to get next('f') or previous ('l') item.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.
3 TaxGr char 1...5 VAT group.
4 Dep uint 0...99 Department number.

5 Group uint 1...99 Item group number.


Price type:
• '0' - fixed price;
6 PriceType uint 0...2
• '1' - free price;
• '2' - max price;
7 Price uint 0.00...9999999.99 Item price.
8 Turnover uint 0.00...9999999.99 Accumulated sum of the item

9 SoldQty uint 0.001...99999.999 Sold out quantity


10 StockQty 0.001...99999.999 Current quantity

11 Bar1 uint Up to 13 digits Barcode 1.


12 Bar2 char Up to 13 digits Barcode 2.

13 Bar3 char Up to 13 digits Barcode 3.


14 Bar4 char Up to 13 digits Barcode 4.

15 Name char Up to 72 symbols Item name.

Example
Binary log
Request 01 30 30 32 3C F9 30 30 36 3B 6E 09 05 30 33 31 34 03
01 30 30 38 30 58 30 30 36 3B 30 09 34 09 34 09 34 09 34 09 31 09 39 2E 32 30 09 31 38 2E
34 30 09 32 2E 30 30 30 09 31 39 39 38 2E 30 30 30 09 31 30 30 30 30 30 37 09 32 30 30 30
Answer
30 30 37 09 33 30 30 30 30 30 37 09 34 30 30 30 30 30 37 09 49 74 65 6D 20 34 09 04 80 80
80 80 86 9A 80 80 05 31 33 36 38 03
Human oriented log
Request n[\t]
0[\t]4[\t]4[\t]4[\t]4[\t]1[\t]9.20[\t]18.40[\t]2.000[\t]1998.000[\t]1000005[\t]2000005[\
Answer
t]3000005[\t]4000005[\t]Item 4[\t]

66
Communication protocol
Programmers manual

4.50.12. Item programming – option ‘X’ - Find the first not programmed item
Request

Name Type Opt Value Description

1 Operation char X Returns data about the first found programmed item.
2 PLU uint ● 1...100000 Item number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number.

Example
Binary log
Request 01 30 30 32 3E FA 30 30 36 3B 58 09 31 09 05 30 33 33 3B 03
Answer 01 30 30 33 37 FA 30 30 36 3B 30 09 38 09 04 80 80 82 80 86 9A 80 80 05 30 37 33 3A 03
Human oriented log
Request X[\t]1[\t]
Answer 0[\t]8[\t]

67
Communication protocol
Programmers manual

4.50.13. Item programming – option ‘x’ - Find the last not programmed item
Request
Name Type Opt Value Description
1 Operation char x Find the last not programmed item.
2 PLU uint ● 1...100000 Starting Item number

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 PLU uint 1...100000 Item number found.

Example
Binary log
Request 01 30 30 33 30 FC 30 30 36 3B 78 09 31 30 30 09 05 30 33 3B 30 03
Answer 01 30 30 33 38 FC 30 30 36 3B 30 09 39 39 09 04 80 80 82 80 86 9A 80 80 05 30 37 37 37 03
Human oriented log
Request x[\t]100[\t]
Answer 0[\t]99[\t]

68
Communication protocol
Programmers manual

4.51. Command 110 (6Eh) Additional daily information


Request 1

Name Type Opt Value Default Description

Type of information:
1 Type uint 0 0
'0' - Payments (sell operations);

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0
2 Pay1 uint 0.00...999999999.99 Value payed by payment 1
3 Pay2 uint 0.00...999999999.99 Value payed by payment 2
4 Pay3 uint 0.00...999999999.99 Value payed by payment 3
5 Pay4 uint 0.00...999999999.99 Value payed by payment 4

Example 1
Binary log
Request 01 30 30 32 3C 55 30 30 36 3E 30 09 05 30 32 33 35 03
01 30 30 34 3A 55 30 30 36 3E 30 09 31 32 2E 33 33 09 30 2E 30 30 09 30 2E 30 30 09 30 2E
Answer
30 30 09 04 80 80 82 80 86 9A 80 80 05 30 39 3B 30 03
Human oriented log
Request 0[\t]
Answer 0[\t]12.33[\t]0.00[\t]0.00[\t]0.00[\t]

Request 2

Name Type Opt Value Default Description

Type of information:
1 Type uint 1 0
'1' - Payments (storno operations);

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0
2 Pay1 uint 0.00...999999999.99 Value payed by payment 1
3 Pay2 uint 0.00...999999999.99 Value payed by payment 2
4 Pay3 uint 0.00...999999999.99 Value payed by payment 3
5 Pay4 uint 0.00...999999999.99 Value payed by payment 4

Example 2
Binary log
Request 01 30 30 32 3C 56 30 30 36 3E 31 09 05 30 32 33 37 03
01 30 30 34 39 56 30 30 36 3E 30 09 30 2E 30 30 09 30 2E 30 30 09 30 2E 30 30 09 30 2E 30
Answer
30 09 04 80 80 82 80 86 9A 80 80 05 30 39 37 37 03
Human oriented log
Request 1[\t]
Answer 0[\t]0.00[\t]0.00[\t]0.00[\t]0.00[\t]

69
Communication protocol
Programmers manual

Request 3

Name Type Opt Value Default Description

Type of information:
1 Type uint 2 0
'2' - number, sum of sells and number, sum of storno;

Answer 3
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0
2 Num uint 0...999999 Number of clients
3 Sum uint 0.00...999999999.99 Sum of the sells
4 NumStorno uint 0...999999 Number of storno
5 SumStorno uint 0.00...999999999.99 Sum of storno

Example 3
Binary log
Request 01 30 30 32 3C 59 30 30 36 3E 32 09 05 30 32 33 3B 03
01 30 30 34 34 57 30 30 36 3E 30 09 34 09 31 32 2E 33 33 09 30 09 30 2E 30 30 09 04 80 80
Answer
82 80 86 9A 80 80 05 30 38 39 34 03
Human oriented log
Request 2[\t]
Answer 0[\t]4[\t]12.33[\t]0[\t]0.00[\t]

Request 4

Name Type Opt Value Default Description

Type of information:
1 Type uint 3 0
'3' - Number and sum of discounts and surcharges;

Answer 4
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0
2 qSur uint 0...999999 Number of surcharges;
3 sSur uint 0.00...999999999.99 Sum of surcharges;
4 qDis uint 0...999999 Number of discounts;
5 sDis uint 0.00...999999999.99 Sum of discounts;

Example 4
Binary log
Request 01 30 30 32 3C 5A 30 30 36 3E 33 09 05 30 32 33 3D 03
01 30 30 34 34 58 30 30 36 3E 30 09 31 09 30 2E 30 34 09 31 09 2D 30 2E 31 30 09 04 80 80
Answer
82 80 86 9A 80 80 05 30 38 38 3C 03
Human oriented log
Request 3[\t]
Answer 0[\t]1[\t]0.04[\t]1[\t]-0.10[\t]

70
Communication protocol
Programmers manual

Request 5

Name Type Opt Value Default Description

Type of information:
1 Type uint 4 0
'4' - Number and sum of corrections in sells and storno;

Answer 5
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0
2 qVoid uint 0...999999 Number of corrections
3 sVoid uint 0.00...999999999.99 Sum of corrections
4 qVoidStorno uint 0...999999 Number of corrections (storno)
5 sVoidStorno uint 0.00...999999999.99 Sum of corrections (storno)

Example 5
Binary log
Request 01 30 30 32 3C 68 30 30 36 3E 34 09 05 30 32 34 3C 03
01 30 30 34 33 59 30 30 36 3E 30 09 30 09 30 2E 30 30 09 30 09 30 2E 30 30 09 04 80 80 82
Answer
80 86 9A 80 80 05 30 38 35 38 03
Human oriented log
Request 4[\t]
Answer 0[\t]0[\t]0.00[\t]0[\t]0.00[\t]

Request 6

Name Type Opt Value Default Description

Type of information:
1 Type uint 5 0
'5' - Number and sum of cash in and cash out operations;

Answer 6
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0
2 qCashIn1 uint 0...999999 Number of cash in operations
3 sCashIn1 uint 0.00...999999999.99 Sum of cash in operations
4 qCashOut1 uint 0...999999 Number of cash out operations
5 sCashOut1 uint 0.00...999999999.99 Sum of cash out operations

Example 6
Binary log
Request 01 30 30 32 3C 69 30 30 36 3E 35 09 05 30 32 34 3E 03
01 30 30 34 33 5A 30 30 36 3E 30 09 30 09 30 2E 30 30 09 30 09 30 2E 30 30 09 04 80 80 82
Answer
80 86 9A 80 80 05 30 38 35 39 03
Human oriented log
Request 5[\t]
Answer 0[\t]0[\t]0.00[\t]0[\t]0.00[\t]

71
Communication protocol
Programmers manual

4.52. Command 111 (65h) Print PLU report


Request

Name Type Opt Value Description

Type of report:
• '0' - PLU turnovers;
1 Type uint 0...3 • '1' - PLU turnovers with clearing;
• '2' - PLU parameters;
• '3' - PLU stock;
2 FirstPLU uint ● 1...100000 First PLU.
3 LastPLU uint ● 1...100000 Last PLU.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 33 31 2E 30 30 36 3F 30 09 35 09 32 35 09 05 30 32 3B 33 03
Answer 01 30 30 33 35 2E 30 30 36 3F 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 32 3D 03
Human oriented log
Request 0[\t]5[\t]25[\t]
Answer 0[\t]

72
Communication protocol
Programmers manual

4.53. Command 112 (70h) Information for operator


Request
Name Type Opt Value Description
1 Operator uint 1...30 Number of operator.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Receipts uint 0...999999 Number of fiscal receipts, issued by the operator.
3 Total uint 0.00...99999999.99 Total accumulated sum.
4 SReceipts uint 0...999999 Number of storno receipts.
5 STotal uint 0.00...99999999.99 Total accumulated sum from storno operations.
6 nDiscount uint 0...999999 Number of discounts.
7 Discount uint 0.00...99999999.99 Total accumulated sum of discounts with sign.
8 nSurcharge uint 0...999999 Number of surcharges.
9 Surcharge uint 0.00...99999999.99 Total accumulated sum of surcharges with sign.
10 nVoid uint 0...999999 Number of corrections.
11 Void uint 0.00...99999999.99 Total accumulated sum of corrections with sign.
12 nVoidStorno uint 0...999999 Number of storno corrections
13 VoidStorno uint 0.00...99999999.99 Total accumulated sum of storno corrections with sign

Example
Binary log
Request 01 30 30 32 3C 6B 30 30 37 30 31 09 05 30 32 33 3F 03
01 30 30 36 31 5B 30 30 37 30 30 09 34 09 31 32 2E 33 33 09 30 09 30 2E 30 30 09 31 09 2D
Answer 30 2E 31 30 09 31 09 30 2E 30 34 09 30 09 30 2E 30 30 09 30 09 30 2E 30 30 09 04 80 80 82
80 86 9A 80 80 05 30 3C 3B 3E 03
Human oriented log
Request 1[\t]
Answer 0[\t]4[\t]12.33[\t]0[\t]0.00[\t]1[\t]-0.10[\t]1[\t]0.04[\t]0[\t]0.00[\t]0[\t]0.00[\t]

73
Communication protocol
Programmers manual

4.54. Command 116 (74h) Reading FM


Request
Name Type Opt Value Description
1 Operation uint 0 Type of operation.
2 Address char 0...FFFFFF Start address 0...FFFFFF (format ASCII-hex).
3 nBytes uint 1...238 Number of bytes.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Data read. Number of bytes is equal to nBytes requested multiplied by
1 Data char
2. Data in format ASCII-hex.

Example
Binary log
Request 01 30 30 33 33 29 30 30 37 34 30 09 31 30 31 09 31 36 09 05 30 33 30 33 03
01 30 30 35 36 29 30 30 37 34 30 09 30 37 30 39 31 35 30 46 33 42 33 41 30 30 33 30 33 31
Answer
33 30 33 32 33 30 33 33 33 30 33 34 33 30 09 04 80 80 80 80 86 9A 80 80 05 30 3C 3A 34 03
Human oriented log
Request 0[\t]101[\t]16[\t]
Answer 0[\t]0709150F3B3A00303130323033303430[\t]

74
Communication protocol
Programmers manual

4.55. Command 121 (79h) Read code memory block


Request 1 – Get size of memory block.
Name Type Opt Value Description
1 Address char 0...FFFFFF Start address 0...FFFFFF (format ASCII-hex).
2 nBytes uint 0 Number of bytes.

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
1 SizeOfData 0...2097152 Size of code memory.

Example 1
Binary log
Request 01 30 30 32 3E 6E 30 30 37 39 31 09 30 09 05 30 32 38 36 03
01 30 30 33 3D 6E 30 30 37 39 30 09 31 30 36 37 35 34 30 09 04 80 80 82 80 86 9A 80 80 05
Answer
30 37 3E 32 03
Human oriented log
Request 1[\t]0[\t]
Answer 0[\t]1067540[\t]

Request 2 – Read data.


Name Type Opt Value Description
1 Address char 0...FFFFFF Start address 0...FFFFFF (format ASCII-hex).
2 nBytes uint 1...64 Number of bytes.

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
The data, read from the code memory in hexadecimal form (2 symbols
1 Data nBytes
for each data byte).

Example 2
Binary log
Request 01 30 30 32 3F 6F 30 30 37 39 31 09 36 34 09 05 30 32 3C 32 03
01 30 30 3B 36 6F 30 30 37 39 30 09 32 31 45 46 34 30 45 32 43 41 31 32 33 34 41 44 35 42
38 37 45 38 39 33 35 44 36 42 36 39 42 35 42 31 33 36 41 35 39 43 45 33 31 44 36 46 33 45
39 46 44 35 30 37 33 33 45 30 31 46 42 35 41 37 37 42 38 33 37 33 30 37 38 45 37 46 37 37
Answer
46 35 37 34 39 38 33 39 43 46 34 39 39 31 42 30 33 30 42 32 31 36 31 45 37 38 46 36 44 45
30 44 43 46 43 34 34 31 31 36 37 43 43 36 44 39 36 42 42 35 09 04 80 80 82 80 86 9A 80 80
05 32 33 38 37 03
Human oriented log
Request 0[\t]64[\t]
0[\t]21EF40E2CA1234AD5B87E8935D6B69B5B136A59CE31D6F3E9FD50733E01FB5A77B8373078E7F77F574983
Answer
9CF4991B030B2161E78F6DE0DCFC441167CC6D96BB5[\t]

75
Communication protocol
Programmers manual

4.56. Command 123 (7Bh) Device information


Request (1)

Name Type Opt Value Description

1 Option uint 1 Type of information to return: Serial number, TAX numbers, Header

Answer (1)
Name Type Value Description
Indicates an error code. If command passed, ErrorCode is
1 ErrorCode int -999999...0
0.
2 SerialNumber char 8 symbols Serial Number of the device;
3 FiscalNumber char 8 symbols FMemory number;
5 JIBnumber 13 symbols
4 PIBnumber 12 symbols
5 Headerline1 char Supposed to contain Company name
6 Headerline2 char Supposed to contain name of the business premises
7 Headerline3 char Supposed to contain address of the business premises

8 Headerline4 char

Example (1)
Binary log
Request 01 30 30 32 3C 7A 30 30 37 3B 31 09 05 30 32 35 39 03
01 30 30 38 3A 7A 30 30 37 3B 30 09 44 54 30 32 30 30 31 30 09 44 54 30 32 30 30 31 30 09
30 30 30 30 30 30 30 30 30 30 31 32 33 09 30 30 30 30 30 30 30 30 31 32 33 34 09 4E 41 5A
Answer
49 56 20 46 49 52 4D 45 09 4E 41 5A 49 56 20 52 41 44 4E 4A 45 09 41 44 52 45 53 41 20 52
41 44 4E 4A 45 09 09 04 80 84 82 80 86 9A 80 80 05 31 38 3F 3F 03
Human oriented log
Request 1[\t]
0[\t]DT020010[\t]DT020010[\t]0000000000123[\t]000000001234[\t]NAZIV FIRME[\t]NAZIV RADNJE[\
Answer
t]ADRESA RADNJE[\t][\t]

76
Communication protocol
Programmers manual

Request (2)

Name Type Opt Value Description

1 Option uint 2 Type of information to return:Battery and GSM signal status;

Answer (2)
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0;
2 MainBattery 0...24000 Main Battery level in mV;
3 RamBattery 0...4400 Ram Battery level in mV;
4 Signal 0...100 GSM Signal level in percentage;
5 Network 0...1 GSM network;

Example (2)
Binary log
Request 01 30 30 32 3C 83 30 30 37 3B 32 09 05 30 32 36 33 03
01 30 30 34 33 83 30 30 37 3B 30 09 38 35 39 36 09 34 32 32 31 09 30 09 30 09 04 80 84 82
Answer
80 86 9A 80 80 05 30 38 3A 3D 03
Human oriented log
Request 2[\t]
Answer 0[\t]8596[\t]4221[\t]0[\t]0[\t]

77
Communication protocol
Programmers manual

Request (3)

Name Type Opt Value Description

1 Option uint 3 Type of information to return:Last receipts;

Answer (3)
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 BonFiscal uint 1...999999 Number of last sales receipt
Date and time of last return of sales receipt. Format:
3 DateBonFiscal char 19 symbols
"DD-MM-YYYY hh:mm:ss"
4 BonStorno uint 1...999999 Number of last storno receipt
Date and time of last storno receipt. Format:
5 DateBonStorno 19 symbols
"DD-MM-YYYY hh:mm:ss"
6 Znumber 1...2000 Number of last Z-report
7 Zdate 19 symbols Date of last of Z-report. Format: "DD-MM-YYYY hh:mm:ss"

Example (3)
Binary log
Request 01 30 30 32 3C 7C 30 30 37 3B 33 09 05 30 32 35 3D 03
01 30 30 37 3A 7C 30 30 37 3B 30 09 37 31 09 30 34 2D 31 32 2D 32 30 32 30 20 31 35 3A 31
39 3A 31 33 09 31 32 09 30 34 2D 31 32 2D 32 30 32 30 20 31 35 3A 32 30 3A 32 31 09 32 33
Answer
09 30 34 2D 31 32 2D 32 30 32 30 20 31 33 3A 35 35 3A 30 30 09 04 80 84 82 80 86 9A 80 80
05 31 32 3E 35 03
Human oriented log
Request 3[\t]
0[\t]71[\t]04-12-2020 15:19:13[\t]12[\t]04-12-2020 15:20:21[\t]23[\t]04-12-2020 13:55:00[\
Answer
t]

78
Communication protocol
Programmers manual

Request (4)

Name Type Opt Value Description

1 Option uint 4 Type of information to return:Full EJ verify

Answer (4)
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0;

Example (4)
Binary log
Request 01 30 30 32 3C 8D 30 30 37 3B 34 09 05 30 32 36 3F 03
Answer 01 30 30 33 35 8D 30 30 37 3B 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 38 39 03
Human oriented log
Request 4[\t]
Answer 0[\t]

79
Communication protocol
Programmers manual

4.57.Command 124 (7Ch) Search documents in EJ by date


Request

Name Type Opt Value Default Description

Start date and time for searching:


"DD-MM-YY hh:mm:ss DST" (for Summer time);
1 StartDate char ● 17 or 19 symbols Date and time of first document
"DD-MM-YY hh:mm:ss"(for Winter time);
Default: Date and time of first document;
End date and time for searching:
2 EndDate char ● 17 or 19 symbols Date and time of last document "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
Default: Date and time of last document;
Type of document:
• '0' - fiscal receipts;
• '1' - storno receipts;
• '2' - daily X reports;
• '3' - daily Z reports;
3 DocType uint 0...8 0
• '4' - periodical reports;
• '5' – all fiscal receipts;
• '6' - non fiscal receipts;
• '7' - copy of fiscal receipt;
• '8' - all receipts;

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Start date for searching in format:
2 StartDate char 17 or 19 symbols "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
End date for searching in format:
3 EndDate char 17 or 19 symbols "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
4 FirstDoc uint 1...9999999 Number of first document of Type in the period
5 LastDoc uint 1...9999999 Number of last document of Type in the period

Example
Binary log

01 30 30 35 30 B5 30 30 37 3C 30 37 2D 31 32 2D 32 30 20 30 30 3A 32 37 3A 30 30 09 30 37
Request
2D 31 32 2D 32 30 20 31 36 3A 32 38 3A 30 30 09 30 09 05 30 39 32 3B 03

01 30 30 35 3F B5 30 30 37 3C 30 09 30 37 2D 31 32 2D 32 30 20 30 30 3A 32 37 3A 30 30 09
Answer 30 37 2D 31 32 2D 32 30 20 31 36 3A 32 38 3A 30 30 09 37 32 09 38 30 09 04 80 80 82 80 86
9A 80 80 05 30 3E 34 33 03
Human oriented log
Request 07-12-20 00:27:00[\t]07-12-20 16:28:00[\t]0[\t]
Answer 0[\t]07-12-20 00:27:00[\t]07-12-20 16:28:00[\t]72[\t]80[\t]

80
Communication protocol
Programmers manual

4.58. Command 125 (7Dh) Information from EJ


Request 1
Name Type Opt Value Description

1 Option uint 0 Set document to read

2 DocNum uint 1...9999999 Number of document.


Type of document:
• '0' - fiscal receipts;
• '1' - storno receipts;
• '2' - daily X reports;
• '3' - daily Z reports;
3 RecType uint 0...8
• '4' - periodical reports;
• '5' – all fiscal receipts;
• '6' - non fiscal receipts;
• '7' - copy of fiscal receipt;
• '8' - all receipts;

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

2 DocNumber uint 1...9999999 Global number of document.

3 RecNumber uint 1...9999999 Number of document depending on Type


Date of document format:
4 Date char 17 or 19 symbols "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
Type of document:
• '0' - fiscal receipts;
• '1' - storno receipts;
• '2' - daily X reports;
5 Type uint 0...8
• '3' - daily Z reports;
• '4' - periodical reports;
• '6' - non fiscal receipts;
• '7' - copy of fiscal receipt.
6 Znumber uint 1...2000 Number of Z report.

Example 1
Binary log
Request 01 30 30 33 31 B6 30 30 37 3D 30 09 37 31 09 30 09 05 30 33 33 36 03
01 30 30 35 33 B6 30 30 37 3D 30 09 32 34 33 09 37 31 09 30 34 2D 31 32 2D 32 30 20 31 35
Answer
3A 31 39 3A 31 33 09 30 09 32 34 09 04 80 80 82 80 86 9A 80 80 05 30 3B 3C 35 03
Human oriented log
Request 0[\t]71[\t]0[\t]
Answer 0[\t]243[\t]71[\t]04-12-20 15:19:13[\t]0[\t]24[\t]

81
Communication protocol
Programmers manual

Request 2
Name Type Opt Value Description
Read one line as text. Must be called multiple times to read the
1 Option uint 1
whole document.
2 DocNum uint ● 1...9999999 This parameter can be empty.

3 RecType uint ● 0...8 This parameter can be empty.

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
for FP-700X- 36, 42 or 48 symbols Document text
2 TextData char
for FP-60X, DP-25X- 36 or 42 symbols

Example 2
Binary log
Request 01 30 30 32 3E 40 30 30 37 3D 31 09 09 09 05 30 32 33 35 03
01 30 30 36 30 40 30 30 37 3D 30 09 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D
Answer 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 09 04 80 80 82 80
86 9A 80 80 05 31 30 34 39 03
Human oriented log
Request 1[\t][\t][\t]
Answer 0[\t]==========================================[\t]

82
Communication protocol
Programmers manual

Request 3
Name Type Opt Value Description
1 Option uint 2 Read as data. Must be called multiple times to read the whole document
2 DocNum uint ● 1...9999999 This parameter can be empty.
3 RecType uint ● 0...8 This parameter can be empty.

Answer 3
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Document data, structured information in base64 format. Detailed
2 Data char
information in other document.

Example 3
Binary log
Request 01 30 30 33 31 BA 30 30 37 3D 32 09 37 31 09 30 09 05 30 33 33 3C 03
01 30 30 3D 36 BA 30 30 37 3D 30 09 5A 51 41 42 41 41 49 41 41 41 41 41 41 41 41 41 41 41
41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 4F 51 48 44 41 51 50 45 77 30 41
41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41
Answer 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41
41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41
41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 09 04 80 80 82 80 86 9A
80 80 05 33 30 31 30 03
Human oriented log
Request 2[\t]71[\t]0[\t]
0[\
Answer t]ZQABAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOQHDAQPEw0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA[\t]

83
Communication protocol
Programmers manual

Request 4
Name Type Opt Value Description

1 Option uint 3 Print document

2 DocNum uint 1...9999999 Number of document.


Type of document:
• '0' - fiscal receipts;
• '1' - storno receipts;
3 RecType uint 0...5 • '2' - daily X reports;
• '3' - daily Z reports;
• '4' - periodical reports;
• '5' – all fiscal receipts;

Answer 4
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 3
Binary log
Request 01 30 30 33 31 BB 30 30 37 3D 33 09 37 31 09 30 09 05 30 33 33 3E 03
Answer 01 30 30 33 35 BB 30 30 37 3D 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 3B 3B 03
Human oriented log
Request 3[\t]71[\t]0[\t]
Answer 0[\t]

84
Communication protocol
Programmers manual

4.59. Command 127 (7Fh) Stamp operations (bitmap printing)


Request
Name Type Opt Value Description
Type of operation:
1 Type uint 0...1 • '0' - Print stamp;
• '1' - Rename loaded stamp with command 203;
2 Name char Up to 12 symbols Name of stamp as filename in format 8.3

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 33 30 26 30 30 37 3F 30 09 73 73 73 09 05 30 33 35 3F 03
01 30 30 33 3B 26 30 30 37 3F 2D 31 30 30 30 30 34 09 04 80 80 80 80 86 9A 80 80 05 30 37
Answer
34 3E 03
Human oriented log
Request 0[\t]sss[\t]
Answer -100004[\t]

85
Communication protocol
Programmers manual

4.60. Command 129 (81h) Exporting files


Request 1
Name Type Opt Value Description
1 Option uint 0 Open file (set file to read)
2 FileName  char path and file name for export.

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Request 2
Name Type Opt Value Description
Read data from file. Must be called multiple times to read the whole
1 Option uint 1
document;

Answer 2 - file information before sending the data (at the first call after option 0);
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Filename char Name of the selected file;
3 nBytes  Size of the selected file;
4 B64 Size of the selected file after base64 encoding;

Request 3
Name Type Opt Value Description
Read data from file. Must be called multiple times to read the whole
1 Option uint 1
document;
2 SeekPos char seek position.

Answer 3- return data after file info (Must be called multiple times);
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Data Document data in base64 format.

Request 4
Name Type Opt Value Description
1 Option uint 2 Close file.

Answer 4 - file information before sending the data (at the first call after option 0);
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Request 5
Name Type Opt Value Description
1 Option uint 3 Read a password;

86
Communication protocol
Programmers manual

Answer 5
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Pass Password.

Request 6
Name Type Opt Value Description
1 Option uint 3 Entering a password
2 Pass char Password.

Answer 6- return data after file info (Must be called multiple times);
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

87
Communication protocol
Programmers manual

4.61. Command 140 (8Ch) Defining and reading clients


4.63.1. Clients programming – option ‘I’ - Clients information
Request

Name Type Opt Value Description

1 Option char I Clients information.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 Total uint 1000 Total count of the programmable clients.
3 Prog uint 1...1000 Total count of the programmed clients.
4 NameLen uint 42 Maximum length of client name.

Example
Binary log
Request 01 30 30 32 3C BC 30 30 38 3C 49 09 05 30 32 3B 35 03
01 30 30 33 3F BC 30 30 38 3C 30 09 31 30 30 30 09 35 09 34 32 09 04 80 80 82 80 86 9A 80
Answer
80 05 30 38 33 3D 03
Human oriented log
Request I[\t]
Answer 0[\t]1000[\t]5[\t]42[\t]

88
Communication protocol
Programmers manual

4.61.2. Clients programming – option ‘P’ - Programming clients


Request

Name Type Opt Value Description

1 Option char P Clients programming.


2 FIRM uint 1...1000 Client number, index of record.
3 Name char Up to 42 symbols Client's name.
4 TAXN char 13 digits Client's tax number.
5 Name_2 char Up to 42 symbols Name - second part
6 Addr1 char Up to 42 symbols Client's address – street and number
7 Addr2 char Up to 42 symbols Client's address –postal code and city

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 3A 35 44 30 30 38 3C 50 09 31 09 4E 61 7A 69 76 20 63 6C 69 6A 65 6E 74 61 09 31
32 33 34 35 36 37 38 39 30 30 30 31 09 4E 61 7A 69 76 20 73 6A 65 64 69 9A 74 61 09 41 64
Request 72 65 73 20 73 6A 65 64 69 9A 74 61 20 6B 6C 69 65 6E 74 61 20 75 6C 69 63 61 2C 20 6E 6F
6D 65 72 09 50 6F 9A 74 61 6E 73 6B 69 20 62 72 6F 6A 20 69 20 6E 61 7A 69 76 20 6D 6A 65
73 74 61 20 73 6A 65 64 69 9A 74 61 09 05 32 3C 35 35 03
Answer 01 30 30 33 35 44 30 30 38 3C 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 34 34 03
Human oriented log
P[\t]1[\t]Naziv clijenta[\t]1234567890001[\t]Naziv sjedišta[\t]Adres sjedišta klienta
Request
ulica, nomer[\t]Poštanski broj i naziv mjesta sjedišta[\t]
Answer 0[\t]

4.61.3. Clients programming – option ‘D’ - Client deleting


Request
Name Type Opt Value Description
1 Option char D Client deleting.
First client to delete. If this parameter has value 'A', all clients will be
2 firstFIRM uint 1...1000
deleted (lastFIRM must be empty).
3 lastFIRM uint ● 1...1000 Last client to delete.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
Request 01 30 30 33 30 C3 30 30 38 3C 44 09 32 09 33 09 05 30 33 32 33 03
Answer 01 30 30 33 35 C3 30 30 38 3C 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 3C 33 03
Human oriented log
Request D[\t]2[\t]3[\t]
Answer 0[\t]

89
Communication protocol
Programmers manual

4.61.4. Clients programming – option ‘R’ - Reading client data


Request
Name Type Opt Value Description
1 Option char R Reading client data.
2 FIRM uint 1...1000 Client number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FIRM uint 1...1000 Client number, index of record.
3 Name char Up to 42 symbols Client's name.
4 TAXN char 13 symbols Client's tax number.
5 Name 2 char Up to 42 symbols Name - second part
6 Addr1 char Up to 42 symbols Client's address – line 1.
7 Addr2 char Up to 42 symbols Client's address – line 2.

Example
Binary log
Request 01 30 30 32 3E 45 30 30 38 3C 52 09 31 09 05 30 32 38 33 03
01 30 30 3A 3E 45 30 30 38 3C 30 09 31 09 31 32 33 34 35 36 37 38 39 30 30 30 31 09 4E 61
7A 69 76 20 63 6C 69 6A 65 6E 74 61 09 4E 61 7A 69 76 20 73 6A 65 64 69 9A 74 61 09 41 64
Answer 72 65 73 20 73 6A 65 64 69 9A 74 61 20 6B 6C 69 65 6E 74 61 20 75 6C 69 63 61 2C 20 6E 6F
6D 65 72 09 50 6F 9A 74 61 6E 73 6B 69 20 62 72 6F 6A 20 69 20 6E 61 7A 69 76 20 6D 6A 65
73 74 61 20 73 6A 65 64 69 9A 74 61 09 04 80 80 82 80 86 9A 80 80 05 33 30 36 35 03
Human oriented log
Request R[\t]1[\t]
0[\t]1[\t]1234567890001[\t]Naziv clijenta[\t]Naziv sjedišta[\t]Adres sjedišta klienta
Answer
ulica, nomer[\t]Poštanski broj i naziv mjesta sjedišta[\t]

90
Communication protocol
Programmers manual

4.61.5. Clients programming – option ‘F’ - Data about the first found programmed client
Request
Name Type Opt Value Description
1 Option char I Returns data about the first found programmed client.
2 FIRM uint ● 1...1000 Seek from given client number (Default : 1)

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FIRM uint 1...1000 Client number, index of record.
3 Name char Up to 42 symbols Client's name.
4 TAXN char 13 symbols Client's tax number.
5 Name 2 char Up to 42 symbols Name - second part
6 Addr1 char Up to 42 symbols Client's address – line 1.
7 Addr2 char Up to 42 symbols Client's address – line 2.

Example
Binary log
Request 01 30 30 32 3E C8 30 30 38 3C 46 09 36 09 05 30 32 3F 3F 03
01 30 30 36 3E C8 30 30 38 3C 30 09 37 09 32 32 33 34 35 36 37 38 39 31 31 32 33 09 44 61
Answer 74 65 63 73 09 53 74 61 6E 6B 61 20 50 65 6E 65 76 61 09 41 64 64 72 65 73 73 20 31 09 41
64 64 72 65 73 73 20 32 09 04 80 80 82 80 86 9A 80 80 05 31 37 34 3A 03
Human oriented log
Request F[\t]6[\t]
Answer 0[\t]7[\t]2234567891123[\t]Datecs[\t][\t]Stanka Peneva[\t]Address 1[\t]Address 2[\t]

91
Communication protocol
Programmers manual

4.61.6. Clients programming – option ‘L’ - Data about the last found programmed client
Request

Name Type Opt Value Description

1 Option char L Returns data about the last found programmed client.
2 FIRM uint ● 1...1000 Seek from given client number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FIRM uint 1...1000 Client number, index of record.
3 Name char Up to 42 symbols Client's name.
4 TAXN char 13 symbols Client's tax number.
5 Name 2 char Up to 42 symbols Name - second part
6 Addr1 char Up to 42 symbols Client's address – line 1.
7 Addr2 char Up to 42 symbols Client's address – line 2.

Example
Binary log
Request 01 30 30 32 3E CA 30 30 38 3C 4C 09 37 09 05 30 33 30 38 03
01 30 30 36 3E CA 30 30 38 3C 30 09 37 09 32 32 33 34 35 36 37 38 39 31 31 32 33 09 44 61
Answer 74 65 63 73 09 53 74 61 6E 6B 61 20 50 65 6E 65 76 61 09 41 64 64 72 65 73 73 20 31 09 41
64 64 72 65 73 73 20 32 09 04 80 80 82 80 86 9A 80 80 05 31 37 34 3C 03
Human oriented log
Request L[\t]7[\t]
Answer 0[\t]7[\t]2234567891123[\t]Datecs[\t][\t]Stanka Peneva[\t]Address 1[\t]Address 2[\t]

92
Communication protocol
Programmers manual

4.61.7. Clients programming – option ‘N’ - Data for the next found programmed client
Request
Name Type Opt Value Description
The same command with option 'F' or 'L' must be executed first. This
1 Option char N
determines whether to get next('F') or previous ('L') client.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FIRM uint 1...1000 Client number, index of record.
3 Name char Up to 42 symbols Client's name.
4 TAXN char 13 symbols Client's tax number.
5 Name 2 char Up to 42 symbols Name - second part
6 Addr1 char Up to 42 symbols Client's address – line 1.
7 Addr2 char Up to 42 symbols Client's address – line 2.

Example
Binary log
Request 01 30 30 32 3C DA 30 30 38 3C 4E 09 05 30 32 3D 38 03
01 30 30 38 3B DA 30 30 38 3C 30 09 38 09 32 32 33 34 35 36 37 38 39 31 32 32 33 09 44 61
74 65 63 73 2D 74 65 73 74 20 73 74 6F 72 65 09 4A 6F 68 6E 20 41 74 61 6E 61 73 6F 76 09
Answer
41 64 64 72 65 73 73 20 31 20 2D 20 44 61 74 65 63 73 09 41 64 64 72 65 73 73 20 32 20 2D
20 44 61 74 65 63 73 09 04 80 80 82 80 86 9A 80 80 05 32 31 32 34 03
Human oriented log
Request N[\t]
0[\t]8[\t]2234567891223[\t]Datecs-test store[\t]John Atanasov[\t]Address 1 - Datecs[\
Answer
t]Address 2 - Datecs[\t]

The same command with option 'F' or 'L' must be executed first. This determines whether to get next('F') or previous ('L') client.

93
Communication protocol
Programmers manual

4.61.8. Clients programming – option ‘T’ - Find a client by tax number

Request
Name Type Opt Value Description
1 Option char T Find a client by tax number.
2 TAXN char 13 Client's tax number.

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FIRM uint 1...1000 Client number, index of record.
3 Name char Up to 42 symbols Client's name.
4 TAXN char 13 symbols Client's tax number.
5 Name 2 char Up to 42 symbols Name - second part
6 Addr1 char Up to 42 symbols Client's address – line 1.
7 Addr2 char Up to 42 symbols Client's address – line 2.

Example
Binary log
01 30 30 33 3A DB 30 30 38 3C 54 09 32 32 33 34 35 36 37 38 39 31 32 32 33 09 05 30 35 38
Request
3D 03
01 30 30 38 3B DB 30 30 38 3C 30 09 38 09 32 32 33 34 35 36 37 38 39 31 32 32 33 09 44 61
74 65 63 73 2D 74 65 73 74 20 73 74 6F 72 65 09 4A 6F 68 6E 20 41 74 61 6E 61 73 6F 76 09
Answer
41 64 64 72 65 73 73 20 31 20 2D 20 44 61 74 65 63 73 09 41 64 64 72 65 73 73 20 32 20 2D
20 44 61 74 65 63 73 09 04 80 80 82 80 86 9A 80 80 05 32 31 32 35 03
Human oriented log
Request T[\t]2234567891223[\t]
0[\t]8[\t]2234567891223[\t]Datecs-test store[\t]John Atanasov[\t]Address 1 - Datecs[\
Answer
t]Address 2 - Datecs[\t]

94
Communication protocol
Programmers manual

4.61.9. Clients programming – option ‘X’ - Find the first not programmed client
Request
Name Type Opt Value Description
1 Option char X Find the first not programmed client.
2 FIRM uint ● 1...1000 Seek from given client number. (Default : 1)

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FIRM uint 1...1000 Client number.

Example
Binary log
Request 01 30 30 32 3E DE 30 30 38 3C 58 09 37 09 05 30 33 32 38 03
Answer 01 30 30 33 37 DE 30 30 38 3C 30 09 39 09 04 80 80 82 80 86 9A 80 80 05 30 37 32 32 03
Human oriented log
Request X[\t]7[\t]
Answer 0[\t]9[\t]

95
Communication protocol
Programmers manual

4.61.10. Clients programming – option ‘x’ - Find the last not programmed client
Request
Name Type Opt Value Description
1 Option char x Operation type.
2 FIRM uint ● 1...1000 Seek from given client number.(Default : 1)

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FIRM uint 1...1000 Client number.

Example
Binary log
Request 01 30 30 32 3D E0 30 30 38 3C 78 09 09 05 30 33 31 32 03
01 30 30 33 3A E0 30 30 38 3C 30 09 31 30 30 30 09 04 80 80 82 80 86 9A 80 80 05 30 37 3A
Answer
3F 03
Human oriented log
Request x[\t][\t]
Answer 0[\t]1000[\t]

96
Communication protocol
Programmers manual

4.62. Command 144 (90h) Tax terminal operations


Request 1
Name Type Opt Value Description
'0' - Reset the terminal data.
1 OperationType char 0 or 1 '1' - Delete the current command file and download a new from the
server.

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Request 2
Name Type Opt Value Description
1 OperationType char 2 '2' - Read status FIRST INSTALL

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Status of first install;
2 FirstInstal uint 0...1 '0' – NO;
'1' - YES;

Request 3
Name Type Opt Value Description
'3' - Read Last send Z report number.
1 OperationType char 3 or 4
'4' - Read Last Z report number;

Answer 3
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 nReport uint 0...2000 Number of Z report.

Request 4
Name Type Opt Value Description
1 OperationType char 5 '5' - Read Last downloaded command file

Answer 4
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 FileContent char Last downloaded command file content as text;

97
Communication protocol
Programmers manual

Example 4
Binary log
Request 01 30 30 32 3C 49 30 30 39 30 35 09 05 30 32 32 33 03
01 30 30 37 33 49 30 30 39 30 30 09 4C 41 53 54 5C 72 5C 6E 49 4E 56 4F 49 43 45 5C 72 5C
Answer 6E 52 45 53 45 54 5C 72 5C 6E 54 41 58 5C 72 5C 6E 53 45 52 56 5C 72 5C 6E 53 45 4E 44 20
30 31 20 31 35 30 35 34 39 5C 72 5C 6E 09 04 80 80 82 80 86 9A 80 80 05 31 39 3C 3D 03
Human oriented log
Request 144,5[\t]
Answer 0[\t]LAST\r\nINVOICE\r\nRESET\r\nTAX\r\nSERV\r\nSEND 01 150549\r\n[\t]

Request 5
Name Type Opt Value Description
'6' - Read Last successful connection date and time;
1 OperationType char 6 or 8
'8' - Read Next connection date and time.

Answer 5
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Date and time in format:
2 DateTime char 17 or 21 "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);

Request 6
Name Type Opt Value Description
1 OperationType char 7 '7' - Read Last connection date and time

Answer 6
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Date and time in format:
2 DateTime char 17 or 21 "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
Status of connection:
3 Status uint 0...1 '0' - Failed;
'1' - Succeded;

98
Communication protocol
Programmers manual

Request 8
Name Type Opt Value Description
1 OperationType char 9 '9' - Read Modem info;

Answer 8
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
Status of connection:
'0' – SIM Ok;
2 SIMStatus uint 0...1
'1' - Wrong PIN;
'2' - SIM Error;
3 IMSI char 16 symbols IMSI of SIM card.
4 Operator char Mobile operator name.
5 SignalLevel uint 0...100 Mobile signal level in percent.

Request 9
Name Type Opt Value Description
1 OperationType char 10 '10' - Force current command sending;

Answer 9
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Request 10
Name Type Opt Value Description
'11' - Force receipt sending (in case of REZOLUCIJA command is
1 OperationType char 11
active only!);

Answer 10
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

99
Communication protocol
Programmers manual

4.63. Command 202 (CAh) Customer graphic logo loading.


Request 1

Name Type Opt Value Description

Parameter:
‘START’
START - Preparation for data loading;
1 Parameter char ‘POWEROFF’
POWEROFF - Shutting down the device;
‘RESTART’
RESTART - Restarting the device;

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 1
Binary log
Request 01 30 30 33 32 25 30 30 3C 3A 52 45 53 54 41 52 54 09 05 30 33 3F 33 03
Answer 01 30 30 33 35 25 30 30 3C 3A 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 32 35 03
Human oriented log
Request RESTART[\t]
Answer 0[\t]

Request 2

Name Type Opt Value Description

Parameter:
‘STOPP’
1 Parameter STOPP - end of data.
‘YmFzZTY0ZGF0YQ==’
YmFzZTY0ZGF0YQ== - base64 coded data of the graphic logo.

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 ChechSum char Sum of decoded base64 data.

Example 2
Binary log
Request 01 30 30 33 30 86 30 30 3C 3B 53 54 4F 50 50 09 05 30 33 3C 34 03
01 30 30 33 3D 86 30 30 3C 3B 30 09 30 30 34 30 33 46 37 30 04 80 80 80 80 86 9A 80 80 05
Answer
30 38 33 33 03
Human oriented log
Request STOPP[\t]
Answer 0[\t]00403F70[\t]

100
Communication protocol
Programmers manual

4.64. Command 203 (CAh) Stamp image loading


Request 1

Name Type Opt Value Description

1 Parameter char ‘START’ Preparation for data loading;

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 1
Binary log
Request 01 30 30 33 30 C3 30 30 3C 3B 53 54 41 52 54 09 05 30 33 3F 39 03
Answer 01 30 30 33 35 C3 30 30 3C 3B 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 3C 34 03
Human oriented log
Request START[\t]
Answer 0[\t]

Request 2

Name Type Opt Value Description

‘STOPP’ STOPP - end of data;


1 Parameter char
‘YmFzZTY0ZGF0YQ==’ YmFzZTY0ZGF0YQ== - base64 coded data of the stamp image;

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
2 ChechSum char Sum of decoded base64 data.

Example 2
Binary log
Request 01 30 30 33 30 86 30 30 3C 3B 53 54 4F 50 50 09 05 30 33 3C 34 03
01 30 30 33 3D 86 30 30 3C 3B 30 09 30 30 34 30 33 46 37 30 04 80 80 80 80 86 9A 80 80 05
Answer
30 38 33 33 03
Human oriented log
Request STOPP[\t]
Answer 0[\t]00403F70[\t]

101
Communication protocol
Programmers manual

4.65. Command 253 (FDh) Service operations


Request 1

Name Type Opt Value Description

Type of operation’:
'0' - Entering service password (Password of the Service man);
Entering of the service password makes possible changing of some parameters
with command 255 (including changing of the service password itself).
Reading of the service password with command 255 is also possible only after
1 Option char ‘0’, ‘2’, ‘3’ or ‘4’ entering of the service password.
If service jumper is on, entering of the service password is not necessary;
'2' - Close current EJ. Service jumper is needed. Other parameters in
command line are ignored;
'3' - Factory settings. Other parameters in command line are ignored;
'4' - RAM reset. Other parameters in command line are ignored;
For Type = 0: Service password (Password of the Service man). Text up to 8
symbols. The default password is "30";
2 Value char 8 digits For Type = 2: Empty!
For Type = 3: Empty!
For Type = 4: Empty!

Answer 1
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 1
Binary log
Request 01 30 30 32 3F E1 30 30 3F 3D 30 09 33 30 09 05 30 33 33 38 03
Answer 01 30 30 33 35 E1 30 30 3F 3D 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 3E 39 03
Human oriented log
Request 0[\t]30[\t]
Answer 0[\t]

102
Communication protocol
Programmers manual

Request 2

Name Type Opt Value Description

Type of operation:
'1' - Programming of service password.
Note: Entering of the service password makes possible changing of some
1 Option char ‘1’ parameters with command 255 (including changing of the service password
itself). Reading of the service password with command 255 is also possible
only after entering of the service password. If service jumper is on, entering of
the service password is not necessary;
2 OldPasw char 1...8 digits Value of the old password. The default password is "30";
3 NewPasw 1...8 digits Value of the new password.

Answer 2
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 2
Binary log
Request 01 30 30 33 32 E2 30 30 3F 3D 31 09 33 30 09 33 31 09 05 30 33 39 3B 03
Answer 01 30 30 33 35 E2 30 30 3F 3D 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 3E 3A 03
Human oriented log
Request 1[\t]30[\t]31[\t]
Answer 0[\t]

Request 3

Name Type Opt Value Description

Type of operation:
1 Option char ‘5’
'5' -Entering service operation.
Starting date and time of service operation in format:
2 Begin char 17 or 21 symbols "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
End date and time of service operation in format:
3 End char 17 or 21 symbols "DD-MM-YY hh:mm:ss DST" (for Summer time);
"DD-MM-YY hh:mm:ss"(for Winter time);
'N', 'T', 'B', 'P', 'F', 'O', 'K',
4 Type char Type of service operation.
'M' or 'I';

Answer 3
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example 3
Binary log
01 30 30 35 32 4C 30 30 3F 3D 35 09 31 35 2D 31 32 2D 32 30 20 30 39 3A 30 30 3A 30 30 09
Request
31 35 2D 31 32 2D 32 30 20 30 39 3A 31 30 3A 30 30 09 4E 09 05 30 39 32 30 03
Answer 01 30 30 33 35 4C 30 30 3F 3D 30 09 04 80 80 82 80 86 9A 80 80 05 30 36 35 34 03
Human oriented log
Request 253,5[\t]15-12-20 09:00:00[\t]15-12-20 09:10:00[\t]N[\t]
Answer 0[\t]

103
Communication protocol
Programmers manual

4.66. Command 255 (FFh) Programming


4.66.1. Read parameters
Request

Name Type Opt Value Description

1 Name char Up to 72 symbols Parameter name.

Used for index if variable is array. For variable that is not array can be
2 Index uint 0...9999
left blank. Default: 0;
char/
3 Value uint/ According parameter This parameter is blank.
int

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.
char/uint/
2 Value According parameter Current value of the variable.
int

Example
Binary log
01 30 30 33 39 28 30 30 3F 3F 41 75 74 6F 50 6F 77 65 72 4F 66 66 09 09 09 05 30 36 3B 33
Request
03
Answer 01 30 30 33 37 28 30 30 3F 3F 30 09 31 09 04 80 80 80 80 86 9A 80 80 05 30 36 36 3C 03
Human oriented log
Request AutoPowerOff[\t][\t][\t]
Answer 0[\t]1[\t]

4.66.2. Write parameters


Request

Name Type Opt Value Description

1 Name char Up to 72 symbols Parameter name.

Used for index if variable is array. For variable that is not array can be
2 Index uint 0...9999
left blank. Default: 0;
char/
3 Value uint/ According parameter The value to be set.
int

Answer
Name Type Value Description
1 ErrorCode int -999999...0 Indicates an error code. If command passed, ErrorCode is 0.

Example
Binary log
01 30 30 33 3A 2F 30 30 3F 3F 41 75 74 6F 50 6F 77 65 72 4F 66 66 09 09 32 09 05 30 36 3E
Request
3D 03
Answer 01 30 30 33 35 2F 30 30 3F 3F 30 09 04 80 80 80 80 86 9A 80 80 05 30 36 33 37 03
Human oriented log
Request AutoPowerOff[\t][\t]2[\t]

104
Communication protocol
Programmers manual

Answer 0[\t]

4.66.3. Parameters description


Parameters description
Read
Name Type Value Default Index Description
only
Number of COM port for communication with PC .
0 – disable;
1 - COM1-RS232;
2 - COM2-RS232;
FpComPort uint 0...5 1 N N 3 – USB;
4 - Bluetooth;
5 - LAN
For fiscal printers, this parameter is read-only ( see
MainInterfaceType parameter );
Assign peripheral device to COM port:
0 - none;
1 - Barcode;
2 - scale;
ComPortDevice uint 0...5 0 0...1 N
3 - external display.
4 – reserved
5 - Pinpad
Number of COM port is determined by "Index".
Baud rate of COM port that has peripheral device assigned.( from 0
ComPortBaudRate uint 0...9 0 0...1 N
to 999999 ) Number of COM port is determined by "Index".
Protocol for communication with peripheral device assigned COM
ComPortProtocol uint 0...2 0 0...1 N port. ( from 0 to 9 ), if device is scale; Number of COM port is
determined by "Index".
DaylightSavingMinutes uint 0 or 60 60 N N Daylight saving minutes.

FpComBaudRate uint 0...9 9 N N Baud rate of COM port for communication with PC.
Permission/rejection of the automatic cutting of paper after each
receipt:
AutoPaperCutting uint 0...1 1 N N • '0' – rejected;
• '1' – permitted;
Note: FP700X and FP60X only;
Paper cutting type:
• '1' – full;
PaperCuttingType uint 0...1 0 N N
• '0' – partial;
Note: FP700X and FP60X only;
BarCodeHeight uint 1...10 1 N N Barcode height from '1' (7mm) to '10' (70mm).
Enable/Disable printing of the barcode data:
BarcodeName uint 0...1 1 N N • '0' – disabled;
• '1' – enabled;
Assign peripheral device to COM port:
ComPortDevice uint 0...3 0 0...1 N • Index=0 – COM1;
• Index=1 – COM2;
PC interface type:
• '0' - auto select;
• '1' – RS232;
MainInterfaceType uint 0...4 0 N N
• '2' – BLUETOOTH;
• '3' – USB;
• '4' – LAN;
1...9999999 Time out between commands before start auto print (in
TimeOutBeforePrintFlush uint 200 N N
99 milliseconds).
Device works with battery on main supply:
WorkBatteryIncluded uint 0..1 0 N N • '0' - disable;
• '1' - enable;
Decrease the space between text lines.
Dec2xLineSpacing uint 0...5 3 N N
Greater values causes less line spacing.
According
FooterEmptyLines uint 0...10 device N N Number of blank lines for proper paper cutting.
model

105
Communication protocol
Programmers manual

According
HeaderMinLines uint 0...10 device N N Minimum number of lines from the header after printing the footer.
model
Print the logo after rows to push the paper:
LogoPrintAfterFooter uint 0...1 0 N N • '0' – no;
• '1' – yes;
Handling of near paper end:
EnableNearPaperEnd
uint 0...1 1 N N • '0' –no handling;
• '1' - handling;
Synchronize date/time from the NTP server:
DateFromNAPServDisable uint 0...1 0 N N • '0' – sync;
• '1' - does not sync;
Minutes to automatically turn off device if it is idle and working on
battery:
AutoPowerOff uint 0...15 10 N N
• '0' – disable;
• from 1 minute to 15 minutes
Minutes to automatically turn off backlight of the display if device is
idle and working on battery:
BkLight_AutoOff uint 0...15 1 N N
• '0' – disable;
• from 1 minute to 15 minutes
Turn on/off Bluetooth module:
BthEnable uint 0...1 0 N N • '0' - off;
• '1' - on;
Turn on/off Bluetooth device discoverability:
BthDiscoverability uint 0...1 0 N N • '0' - non-discoverable;
• '1' - discoverable;
Bluetooth pairing type:
• '0' – unsecure;
BthPairing uint 0...2 0 N N
• '1' – reset and save;
• '2' – reset;
Up to 16
BthPinCode char 0000 N N Pin code for Bluetooth pairing.
symbols
According
Up to 16
BthVersion char device N Y Version of the Bluetooth module.
symbols
model
According
Up to 16
BthAddress char device N Y Bluetooth module address.
symbols
model
EcrLogNumber uint 1...99999 1 N N Logical number in the workplace.
Work without passwords:
EcrWithoutPasswords uint 0...1 0 N N • '0' - disable;
• '1' - enable;
Require password after each receipt:
EcrAskForPassword uint 0...1 0 N N • '0' – disable;
• '1’ - enable;
Require password for void operations:
EcrAskForVoidPassword uint 0...1 0 N N • '0' - disable;
• '1' - enable;
When making Z-report, automatically make "Operator report".
EcrConnectedOperReport uint 0...1 0 N N • '0' – disable;
• '1' – enable;
When making Z-report, automatically make "Report by
Departments":
EcrConnectedDeptReport uint 0...1 0 N N
• '0' – disable;
• '1' – enable;
When making Z-report, automatically make "Report by PLU with
EcrConnectedPluSalesRep turnovers":
uint 0...1 0 N N
ort • '0' – disable;
• '1' – enable;
When making Z-report, automatically make "Group report":
EcrConnectedGroupsRepo
uint 0...1 0 N N • '0' - disable;
rt
• '1' - enable;
EcrUserPeriodReports uint 0...1 0 N N Periodic reports:

106
Communication protocol
Programmers manual

• '0' - disable;
• '1' - enable;
uint 0...1 0 N N When making Z-report, automatically clear PLU turnovers:
EcrPluDailyClearing • '0' – disable;
• '1' – enable;
uint 0...1 0 N N Open drawer on every total:
EcrSafeOpening • '0' - disable;
• '1' - enable;
char 0 N N Text up to 10 symbols. If second number of the weight barcode not
Up to 10
EcrScaleBarMask match any of the symbols in this string, barcode will be interpreted as
symbols
normal barcode.
EcrNumberBarcode uint 1...4 1 N N Count of used barcodes for each programmed article.
1...21474836
RegModeOnIdle uint 10000 N N Time to clear display after last receipt in milliseconds.
47
FlushAtEndOnly uint 0...1 0 N N The receipt is printed after last payment.
Up to XX An array of header lines. Index 0 is for line 1, Index 9 is for line 10.
symbols XX depends on print columns:
Header char 0...9 N
for FP-700X- XX = 36, 42 or 48;
for FP-60X, DP-25X- XX = 36 or 42.
Up to XX An array of footer lines. Index 0 is for line 1, Index 9 is for line 10.
symbols XX depends on print columns.
Footer char Empty 0...9 N
for FP-700X- XX = 36, 42 or 48;
for FP-60X, DP-25X- XX = 36 or 42.
OperName char ‘IME 0...29 N
Up to 32 An array of operator names. Index 0 is for operator 1, Index 29 is for
OPERATER
symbols operator 30.
A’
Up to 8 DP-25X:
symbols ‘1’…‘30’
An array of operator passwords. Index 0 is for operator 1, Index 29 is
OperPasw char (digits only) FP-60X, FP- 0...29 N
for operator 30.
700X:
‘0000’
Up to 16
PayName char 0...3 Y An array of payment names.
symbols
Payment_forbidden uint 0...1 0 0...3 N Forbid the payment:
• '0' - not forbidden;
• '1' - forbidden;
Payment shortcut (from 1 to 6);
PYxx_Pgm uint 1...4 1...4 0...3 N
Note: for DP-25X only
Number of PLU assigned to shortcut key:
• '0' - Key is disabled;
DPxx_PluCode uint 0...99999 0 0...7 N
• '1-99999' - assigning PLU;
Note: for DP-25X only
Percentage for percentage surcharge.
KeyNDB_percentage uint 0... 9999 0 N N
Value is in hundredths (0.01) of a percent
Percentage for percentage discount.
KeyOTS_percentage uint 0...9999 0 N N
Value is in hundredths (0.01) of a percent.
KeyNDB_forbidden uint 0...1 0 N N Forbid the surcharge key:
• '0' – not forbidden;
• '1' - forbidden;
KeyOTS_forbidden uint 0...1 0 N N Forbid the discount key:
• '0' – not forbidden;
• '1' - forbidden;
Up to 8
ServPasw char 30 N N Password of the Service man. Require Service jumper
symbols
An array of text lines. Index 0 is for line 1, Index 9 is for line 10.
Up to XX
Message that will be printed when "ServDate" is reached.
ServMessage char symbols empty 0...9 N
for FP-700X- XX = 36, 42 or 48;
for FP-60X, DP-25X- XX = 36 or 42.
ServiceDate char empty N N Service date in format:
17 or 21
"DD-MM-YY hh:mm:ss DST" (for Summer time);
symbols
"DD-MM-YY hh:mm:ss"(for Winter time);
PrnQuality uint 0...20 10 N N Contrast of Printing.

107
Communication protocol
Programmers manual

42-FP-60X, Number of printer columns.


PrintColumns uint DP-25X N N for FP-700X- XX = 36, 42 or 48;
XX
48-FP700X for FP-60X, DP-25X- XX = 36 or 42.
Print TOTAL line in fiscal receipts with double height:
DblHeigh_totalinreg uint 0...1 0 N N • '0' - disable;
• '1' - enable;
Print receipt dublicate:
DublReceipts uint 0...1 0 N N • '0' - disable;
• '1' - enable;
Print the logo in the receipt:
LogoPrint uint 0...1 0 N N • '0' - disable;
• '1' - enable;
Print receipt number on non fiscal receipt:
NFNumberPrint uint 0...1 0 N N • '0' - disable;
• '1' - enable;
Print date on non fiscal receipt:
NFDatePrint uint 0...1 0 N N • '0' - disable;
• '1' - enable;
Disable Z report generating from the keyboard:
• '0' - enabled;
DsblKeyZreport uint 0...1 0 N N
• '1' – disabled;
Note: for FP-60X and FP-700X only
Disable X report generating from the keyboard:
• '0' - enabled;
DsblKeyXreport uint 0...1 0 N N
• '1' – disabled;
Note: for FP-60X and FP-700X only
Disable diagnostic info:
• '0' - enabled;
DsblKeyDiagnostics uint 0...1 0 N N
• '1' – disabled;
Note: for FP-60X and FP-700X only
Disable fiscal memory reports:
• '0' - enabled;
DsblKeyFmReports uint 0...1 0 N N
• '1' – disabled;
Note: for FP-60X and FP-700X only
Disable electronic journal menu:
• '0' - enabled
DsblKeyJournal uint 0...1 0 N N
• '1' – disabled
Note: for FP-60X and FP-700X only
Disable changing the date and time:
• '0' - enabled;
DsblKeyDateTime uint 0...1 0 N N
• '1' – disabled;
Note: for FP-60X and FP-700X only
Disable manually closing of the receipt:
• '0' - enabled;
DsblKeyCloseReceipt uint 0...1 0 N N
• '1' – disabled;
Note: for FP-60X and FP-700X only
Disable manually cancellation of the receipt:
DsblKeyCancelReceipt uint 0...1 0 N N • '0' - enabled;
• '1' – disabled;
Model of the modem:
According • '0' - Quectel M72;
ModemModel uint 0...3 device N N • '1' - Quectel UC20;
model • '2' - Quectel M66;
• '3' - Quectel UG96;
Up to 16
SimPin char empty N N PIN code of SIM card.
symbols
Up to 64
APN char empty 0...1 N Access Point Name.
symbols
Up to 32
APN_User char empty 0...1 N APN Username.
symbols
Up to 32
APN_Pass char empty 0...1 N APN Password.
symbols
Up to 31
SimICCID char empty N Y ICC number of the SIM card.
symbols

108
Communication protocol
Programmers manual

Up to 16
SimIMSI char empty N Y IMSI number of the SIM card.
symbols
Up to 16
SimTelNumber char empty N Y MSISDN number of the SIM card.
symbols
Up to 16
IMEI char empty N Y IMEI of the modem.
symbols
Up to 12
LanMAC char empty N N MAC address of the LAN controller.
symbols
Enable use of DHCP:
DHCPenable uint 0...1 1 N N • '0' - disabled;
• '1' - enabled;
Up to 15
LAN_IP char empty N N IP address when DHCP is disabled.
symbols
Up to 15
LAN_NetMask char empty N N Net mask when DHCP is disabled.
symbols
Up to 15
LAN_Gateway char empty N N Default gateway when DHCP is disabled.
symbols
Up to 15
LAN_PriDNS char empty N N Primary DNS when DHCP is disabled.
symbols
Up to 15
LAN_SecDNS char empty N N Second DNS when DHCP is disabled.
symbols
The number of listening port for PC connection (only for devices
LANport_fpCommands uint 1...99999 4999 N N
with LAN).
up to 128 Address of the FTP server; Number of DtServerAddress is
DtServerAddress char empty 0...2 N
symbols determined by "Index";
Port of the FTP server; Number of DtServerPort is determined by
DtServerPort uint 0...65 535 0 0...2 N
"Index";
DtUseServer uint 0...2 0 N N Current server index, used from NRA terminal.
up to 128
DtServerUserName char empty N N User name for the FTP server;
symbols
up to 128
DtServerUserPsw char empty N N Password for the FTP server;
symbols
up to 128
DtServerReportPath char empty N N Directory where the device will upload its files to the FTP server;
symbols
up to 128 Directory from where the device will download its command files
DtServerCommandPath char empty N N
symbols from the FTP server;
0...99999999 131072
DtMaxFileLen uint N N File size limit for invoice files (size in bytes). 0 - no limitation.
9 (128k)
up to 128
TimeServerAddress char empty N N NTP server address;
symbols
TimeZone int -4..+4 +2 N N Time zone
Print receipt and daily Z report after fiscalization
PrintTestReceip uint 0...1 1 N N 1 – enable;
0 - disable;
nZreport uint 1...2000 1 N Y Number of current Z-report.
nReset uint 0...200 0 N Y Number of current memory failure.
nVatChanges uint 0...30 0 N Y Number of current VAT change.
Number of current SN changes:
nIDnumberChanges uint 0...1 0 N Y • '0' - not programmed;
• '1' - programmed;
Number of current FM number changes:
nFMnumberChanges uint 0...1 0 N Y • '0' - not programmed;
• '1' - programmed;
Number of current TAX number changes:
nTAXnumberChanges uint 0...1 0 N Y • '0' - not programmed;
• '1' - programmed;
valVat uint 0...9999 – 0 0...4 Y Current value of VAT:
vat enabled • Index=0 – vat rate A;
10000 – vat • Index=1 – vat rate E;
disabled • Index=2 – vat rate J;
• Index=3 – vat rate K;

109
Communication protocol
Programmers manual

• Index=4 – vat rate M;


FMDeviceID uint 0...255 0 0...3 Y ID of the fiscal memory.
2 letters and
IDnumber char empty N Y Serial number of the ECR.
6 digits
FMnumber char 8 digits empty N Y Number of FM.
TAXnumber char 13 digits empty N Y JIB number;
PIBnumber char 12 digits empty N Y PIB number;
DD-MM-
FmWriteDateTime char YY empty N Y Date and time of last for writing block in FM.
HH:MM:SS
DD-MM-
LastValiddate char YY empty N Y Last valid date (written on FM or EJ).
HH:MM:SS
Up to 10
TAXlabel char “JIB:” N Y TAX number label.
symbols
Flag that shows if device is fiscalized:
Fiscalized uint 0...1 0 N Y • '0' - not fiscalized;
• '1' - fiscalized;
Shows if fiscal receipt is issued after last Z-report:
DFR_needed uint 0...1 0 N Y • '0' - Z-report is not needed;
• '1' - Z-report is needed;
DecimalPoint uint 0 or 2 2 N Y Number of symbols after decimal point.
nBon uint 1...9999999 1 N Y Global number of next receipt.
nFBon uint 1...999999 1 N Y Global number of next fiscal receipt.
nRBon uint 1...999999 1 N Y Global number of storno receipts;
nLastFiscalDoc uint 1...9999999 1 N Y Last number of fiscal receipt.
CurrClerk uint 1...30 1 N Y Number of current operator.
EJNumber uint 0...20 0 N Y Number of current EJ.
Up to 32 “GRUPA
ItemGroups_name char 0...99 N Name of item group.
symbols nn”
Up to 72
Dept_name char “DP nn” 0...99 N Name of department.
symbols

110
Communication protocol
Programmers manual

5. Status bits
The current status of the device is coded in field 8 bytes long which is sent within each message of the fiscal
printer. Description of each byte in this field:
Status byte 0: General purpose
Name Number Mark Description
Byte 0 Bit 7 0.7 Always 1
Byte 0 Bit 6 0.6 # Cover is open
Byte 0 Bit 5 0.5 General error - this is OR of all errors marked with #
Byte 0 Bit 4 0.4 Failure in printing mechanism.
Byte 0 Bit 3 0.3 No client display connected.
Byte 0 Bit 2 0.2 The real time clock is not synchronized
Byte 0 Bit 1 0.1 # Command code is invalid
Byte 0 Bit 0 0.0 # Syntax error
Status byte 1: General purpose
Name Number Mark Description
Byte 1 Bit 7 1.7 Always 1
Byte 1 Bit 6 1.6 Always 0
Byte 1 Bit 5 1.5 Always 0
Byte 1 Bit 4 1.4 Always 0
Byte 1 Bit 3 1.3 Always 0
Byte 1 Bit 2 1.2 More than 24 hours after day opening.
Byte 1 Bit 1 1.1 # Command is not permitted
Byte 1 Bit 0 1.0 # Overflow during command execution
Status byte 2: General purpose
Name Number Mark Description
Byte 2 Bit 7 2.7 Always 1
Byte 2 Bit 6 2.6 Always 0
Byte 2 Bit 5 2.5 Non-fiscal receipt is open
Byte 2 Bit 4 2.4 EJ nearly full
Byte 2 Bit 3 2.3 Fiscal receipt is open
Byte 2 Bit 2 2.2 EJ is full
Byte 2 Bit 1 2.1 Near paper end
Byte 2 Bit 0 2.0 # End of paper
Status byte 3: Not used
Name Number Mark Description
Byte 3 Bit 7 3.7 Always 1
Byte 3 Bit 6 3.6 Always 0
Byte 3 Bit 5 3.5 Always 0
Byte 3 Bit 4 3.4 Always 0
Byte 3 Bit 3 3.3 Always 0
Byte 3 Bit 2 3.2 Always 0
Byte 3 Bit 1 3.1 Always 0
Byte 3 Bit 0 3.0 Always 0

111
Communication protocol
Programmers manual

Status byte 4: Fiscal memory


Name Number Mark Description
Byte 4 Bit 7 4.7 Always 1
Byte 4 Bit 6 4.6 Fiscal memory is not found or damaged
Byte 4 Bit 5 4.5 OR of all errors marked with ‘*’ from Bytes 4 и 5
Byte 4 Bit 4 4.4 * Fiscal memory is full
Byte 4 Bit 3 4.3 There is space for less then 60 reports in Fiscal memory
Byte 4 Bit 2 4.2 Serial number and number of FM are set
Byte 4 Bit 1 4.1 Tax number is set
Byte 4 Bit 0 4.0 * Error when trying to access data stored in the FM

Status byte 5: General purpose


Name Number Mark Description
Byte 5 Bit 7 5.7 Always 1
Byte 5 Bit 6 5.6 Always 0
Byte 5 Bit 5 5.5 Always 0
Byte 5 Bit 4 5.4 VAT are set at least once
Byte 5 Bit 3 5.3 Device is fiscalized
Byte 5 Bit 2 5.2 Always 0
Byte 5 Bit 1 5.1 FM is formatted
Byte 5 Bit 0 5.0 Always 0

Status byte 6: Not used


Name Number Mark Description
Byte 6 Bit 7 6.7 Always 1
Byte 6 Bit 6 6.6 Always 0
Byte 6 Bit 5 6.5 Always 0
Byte 6 Bit 4 6.4 Always 0
Byte 6 Bit 3 6.3 Always 0
Byte 6 Bit 2 6.2 Always 0
Byte 6 Bit 1 6.1 Always 0
Byte 6 Bit 0 6.0 Always 0

Status byte 7: Not used


Name Number Mark Description
Byte 7 Bit 7 7.7 Always 1
Byte 7 Bit 6 7.6 Always 0
Byte 7 Bit 5 7.5 Always 0
Byte 7 Bit 4 7.4 Always 0
Byte 7 Bit 3 7.3 Always 0
Byte 7 Bit 2 7.2 Always 0
Byte 7 Bit 1 7.1 Always 0
Byte 7 Bit 0 7.0 Always 0

112
Communication protocol
Programmers manual

6. Error codes
Error code Error name Description
(100000 – 100100) GENERIC ERRORS – FISCAL DEVICES
-100001 ERR_IO General error in fiscal device: In – out error (cannot read or write).
-100002 ERR_CHECKSUM General error in fiscal device: Wrong checksum.
-100003 ERR_END_OF_DATA General error in fiscal device: No more data.
-100004 ERR_NOTFOUND General error in fiscal device: The element is not found.
-100005 ERR_NO_RECORDS General error in fiscal device: There are no records found.
-100006 ERR_ABORTED General error in fiscal device: The operation is aborted.
-100007 ERR_WRONG_MODE Wrong mode(standard, training...) is selected.
-100008 ERR_NOT_READY General error in fiscal device: Device is not ready.
-100009 ERR_NOTHING_TO_PRINT General error in fiscal device: Nothing to print.
(100100 – 100254) FISCAL MEMORIES
-100100 ERR_FM_BUSY Fiscal memory error: Fiscal memory is busy.
-100101 ERR_FM_FAILURE Fiscal memory error: Fiscal memory failure. Could not read or write.
-100102 ERR_FM_WRITE_PROTECTED Fiscal memory error: Forbidden write in fiscal memory.
-100103 ERR_FM_WRONG_ADDRESS Fiscal memory error: Wrong address in fiscal memory.
-100104 ERR_FM_WRONG_SIZE Fiscal memory error: Wrong size in fiscal memory.
-100105 ERR_FM_NOT_CONNECTED Fiscal memory error: Fiscal memory is not connected.
-100106 ERR_FM_WRONG_CHECK_SUM Fiscal memory error: Wrong checksum in fiscal memory(invalid data).
-100107 ERR_FM_BLOCK_IS_EMPTY Fiscal memory error: Empty block in fiscal memory.
-100108 ERR_FM_MAX_NUMBER Fiscal memory error: Maximum number of block in fiscal memory.
-100109 ERR_FM_WRONG_RANGE Fiscal memory error: Wrong range in fiscal memory.
-100110 ERR_FM_EMPTY_RANGE Fiscal memory error: Empty range in fiscal memory.
-100111 ERR_FM_NEW_MODULE Fiscal memory error: New module in fiscal memory.
-100112 ERR_FM_NOT_EMPTY Fiscal memory error: Fiscal memory is not empty.
-100113 ERR_FM_NOT_EQUAL Fiscal memory error: Fiscal memory is not equal.
-100114 ERR_FM_FULL Fiscal memory error: Fiscal memory is full.
-100115 ERR_FM_NEED_UPDATE Fiscal memory error: Fiscal memory needs update.
-100116 ERR_FM_BLOCKED Fiscal memory error: Fiscal memory is blocked.
(100400 – 100499) PRINTER DRIVER ERRORS
-100400 ERR_LTP_VCCERR Line thermal printer mechanism error: Power supply error (3,3 V).
-100401 ERR_LTP_SVPERR Line thermal printer mechanism error: Power supply error (24V or 8V).
-100402 ERR_LTP_STHERR Line thermal printer mechanism error: Head overheating.
-100403 ERR_LTP_PESENS Line thermal printer mechanism error: Paper end.
-100404 ERR_LTP_HDSENS Line thermal printer mechanism error: Cover is open.
-100405 ERR_LTP_NESENS Line thermal printer mechanism error: Near paper end.
-100406 ERR_LTP_MKSENS Line thermal printer mechanism error: Mark sensor – not used.
-100407 ERR_LTP_CUTERR Line thermal printer mechanism error: Cutter error.
-100408 ERR_LTP_PR_ERR Line thermal printer mechanism error: Not used.
-100409 ERR_LTP_PR_BUSY Line thermal printer mechanism error: Not used.
-100410 ERR_LTP_BZLPDEC Line thermal printer mechanism error: Not used.
-100411 ERR_LTP_BZLCLMP Line thermal printer mechanism error: Not used.
-100412 ERR_LTP_CHARGE_MODE Line thermal printer mechanism error: Not used.

113
Communication protocol
Programmers manual

-100413 ERR_LTP_INZERR_MODE Line thermal printer mechanism error: Not used.


-100414 ERR_LTP_MOTOR_OVERRUN Printer on time is overrun.
(100500 – 100999) SYSTEM ERRORS
-100500 ERR_PROGRAM_SELF_CHECK_ERROR System error: Memory structure error.
-100501 ERR_SRAM_ERROR System error: Error in RAM.
-100502 ERR_FLASH_ERROR System error: Flash memory error.
-100503 ERR_SDCARD_ERROR System error: SD card error.
-100504 ERR_INVALID_MSG_FILE System error: Invalid message file.
-100505 ERR_FM_ERROR System error: Fiscal memory error (could not write or read).
-100506 ERR_NO_RAM_BATTERY System error: No RAM battery.
-100507 ERR_SAM_ERROR System error: SAM module error.
-100508 ERR_RTC_ERROR System error: Real time clock error.
-100509 ERR_PROGRAM_EXRAM_CHECK_ERROR System error: Memory error.
-100510 ERR_SDCARD_WRONG_SIZE System error: The size of SD card is wrong.
-100511 ERR_TPM_ERROR System error: TPM module error.
(101000 – 101499) COMMON LOGICAL ERRORS
-101000 ERR_NO_HEAP_MEMORY Common logical error: No heap memory (cannot allocate memory for
operation).
-101001 ERR_FILE_MANIPULATE Common logical error: File manipulate error.
-101003 ERR_REJECTED Common logical error: Operation is rejected.
-101004 ERR_BAD_INPUT Common logical error: Bad input. Some of the data or parameters are incorrect.
-101005 ERR_IAP Common logical error: In Application Programming error.
-101006 ERR_NOT_POSSIBLE Common logical error: The execution of the operation is not possible.
-101007 ERR_TMOUT Common logical error: Timeout. The time for waiting execution is out.
-101007 ERR_TIMEOUT Common logical error: Timeout. The time for waiting execution is out.
-101008 ERR_INVALID_TIME Common logical error: Invalid time.
-101009 ERR_CANCELLED Common logical error: The operation is cancelled.
-101010 ERR_INVALID_FORMAT Common logical error: Invalid format.
-101011 ERR_INVALID_DATA Common logical error: Invalid data.
-101012 ERR_PARSE_ERROR Common logical error: Data parsing error.
-101013 ERR_HARDWARE_CONFIGURATION Common logical error: Hardware configuration error.
-101014 ERR_ACCESS_DENIED ERR_ACCESS_DENIED
-101015 ERR_BAD_DATA_LENGTH Wrong data length.
-101016 ERR_VERIFY_Z Error during verification of Z reports.
-101017 ERR_NO_PERMISSION Common logical error: No permission.
(101500 – 101999) UPDATE ERRORS
-101500 ERR_NO_UPDATE Update error: No update. The device is up to date.
-101501 ERR_UPDATE_IN_PROGRESS Update error: Update is already in progress.
(102000 – 102999) GENERAL ERRORS
-102000 ERR_LOW_BATTERY Battery error: Low battery.
-102001 ERR_LOW_BATTERY_WARNING Battery error: Low battery warning.
-102002 ERR_OPER_WRONG_PASSWORD Operator error: Wrong operator password.
-102003 ERR_IDNUMBER_IS_EMPTY ECR error: ID number is empty.
-102004 ERR_NOT_FOUND_BLUETOOTH Bluetooth error: Bluetooth is not found.
-102005 ERR_DISPLAY_DISCONNECTED Display error: Display is not connected.

114
Communication protocol
Programmers manual

-102006 ERR_PRINTER_DISCONNECTED Printer error: Printer is not connected.


-102007 ERR_SD_NOT_PRESENT SD card error: SD card not present.
-102008 ERR_SD2_NOT_PRESENT SD card error: SD2 card not present.
-102009 ERR_VAT_RATES_ARE_EMPTY ECR error: VAT rates is not set.
-102010 ERR_HEADER_IS_EMPTY ECR error: Header lines are empty.
-102011 ERR_ZDDS_NUM_IS_EMPTY User is registered by VAT, but number of the user is not entered.
-102012 ERR_FMNUMBER_IS_EMPTY ECR error: FM number is empty.
-102013 ERR_SERVICEMAN_NAME_IS_EMPTY ECR error: Serviceman name is empty.
-102014 ERR_SERVICEMAN_ID_IS_EMPTY ECR error: Serviceman ID is empty.
-102015 ERR_TAXOFFICE_ID_IS_EMPTY ECR error: Tax office ID is empty!.
-102016 ERR_WRONG_FORMAT ECR error: Wrong format.
-102017 ERR_TAXNUMBER_IS_EMPTY ECR error: TAX number is empty.
-102018 ERR_WRONG_IDNUMBER ECR error: ID number is wrong.
-102019 ERR_DATETIME_EARLIER_THAN_PREV_Z ECR error: Date and time are earlier than date and time of previous Z report.
-102020 ERR_NEED_SOFTWARE_PASSWORD ECR error: The software password is not entered.
-102021 ERR_IOSANUMBER_IS_EMPTY ECR error: IOSA number is empty.
(103000 – 103999) PLU DATABASE
-103000 ERR_PLUDB_NOT_FOUND PLU database error: PLU database is not found.
-103001 ERR_PLUDB_PLUCODE_EXISTS PLU database error: PLU code already exists.
-103002 ERR_PLUDB_BARCODE_EXISTS PLU database error: Barcode already exists.
-103003 ERR_PLUDB_FULL PLU database error: PLU database is full.
-103004 ERR_P_HAVE_TURNOVER PLU database error: PLU has turnover.
-103005 ERR_PLUDB_NAME_EXISTS PLU database error: In the PLU base has an article with same name.
-103006 ERR_PLUDB_NAMES_NOT_UNIQUE PLU database error: PLU name is not unique.
-103007 ERR_PLUDB_FORMAT_INCOMPATIBLE PLU database error: Database format is not compatible.
-103008 ERR_PLUDB_CAN_NOT_OPEN Can't open the PLU database file.
(104000 – 104999) SERVICE OPERATIONS
-104000 ERR_NEED_Z_REPORT Service operation error: Z report is needed for this operation.
-104001 ERR_NEED_SERVICE_JUMPER Service operation error: Service jumper is needed for this operation.
-104002 ERR_NEED_SERVICE_PASSWORD Service operation error: Service password is needed for this. operation

-104003 ERR_FORBIDEN Service operation error: The operation is forbidden.


-104004 ERR_NEED_SERVICE_INTERVENTION Service operation error: Service intervention is needed.
-104005 ERR_NEED_ALL_CLEARING_REPORTS Service operation error: All clearing report is needed.
-104006 ERR_Z_REPORT_CLOSED Service operation error: Z report closed.
-104007 ERR_NEED_MONTH_REPORT Service operation error: Monthly report needed.
-104008 ERR_NEED_YEAR_REPORT Service operation error: Year report needed.
-104009 ERR_NEED_BACKUP Service operation error: Backup needed.
-104010 ERR_NEED_ALL_PAIDOUT ERR_NEED_ALL_PAIDOUT
-104011 ERR_NEED_OPERATOR_Z_REPORT Clearing report for operator is needed.
-104012 ERR_NEED_GROUP_Z_REPORT Clearing report for item group is needed.
-104013 ERR_NEED_VAT_CHANGES VAT changes is needed.
(105000 – 105999) EJ – ERRORS
-105000 ERR_EJ_NO_RECORDS EJ error: No records in EJ.
-105001 ERR_CANNOT_ADD_TO_EJ EJ error: Cannot add to EJ.
-105002 ERR_EJ_WRONG_MAC_RECORD EJ error: SAM module signature error.

115
Communication protocol
Programmers manual

-105003 ERR_EJ_IMMPOSSIBLE_TO_CHK_MAC_RECORD EJ error: Signature key version is changed -> impossible check.
-105004 ERR_EJ_BAD_RECORDS EJ error: Bad record in EJ.
-105005 ERR_EJ_CAN_NOT_GENERATE_MAC EJ error: Generate signature error(cannot generate signature).
-105006 ERR_EJ_WRONG_TYPE_TO_SIGN EJ error: Wrong type of document to sign.
-105007 ERR_EJ_ALREADY_SIGNED EJ error: Document is already signed.
-105008 ERR_EJ_NOT_FROM_THIS_DEVICE EJ error: EJ is not from this device.
-105009 ERR_EJ_NEAR_FULL EJ error: EJ is almost full.
-105010 ERR_EJ_FULL EJ error: EJ is full.
-105011 ERR_EJ_WRONG_FORMAT EJ error: Wrong format of EJ.
-105012 ERR_EJ_NOT_READY The electronic journal is not ready.
-105013 ERR_EJ_NEED_NEW Error in EJ structure. Create new one.
(106000 – 106999) CLIENTS DATABASE ERRORS
-106000 ERR_R_FIRM_NOTEXIST Client database error: Firm does not exist.
-106001 ERR_FIRMDB_FIRMCODE_EXISTS Client database error: Firmcode already exists.
-106002 ERR_FIRMDB_EIK_EXISTS Client database error: EIK already exists.
-106003 ERR_FIRMDB_FULL Client database error: Firm database is full.
-106004 ERR_FIRMDB_NOT_FOUND Client database error: Firm database is not found.
(107000 – 107499) CERTIFICATE STORE
-107001 ERR_INVALID_CERTIFICATE Invalid certificate.
-107002 ERR_VALID_CERT_EXISTS Certificate exist.
-107003 ERR_CERT_UNPACKING_FAILED Certificate unpack failed.
-107004 ERR_CERT_WRONG_PASSWORD Wrong certificate password.
-107005 ERR_CERT_FILE_WRITE File write error.
-107006 ERR_CERT_FILE_READ File read error.
-107007 ERR_CERT_NOT_FOUND Certificate not found.

(109000 – 109999) SMARTCARD ERRORS


-109981 ERR_SMARTCARD_NOT_PRESENT Smartcard error: No card in the holder.
-109982 ERR_SMARTCARD_CONFIG Smartcard error: Configuration failed.
-109983 ERR_SMARTCARD_COMMUNICATION Smartcard error: SmartCard communication error.
-109984 ERR_SMARTCARD_CARD_FAULT Smartcard error: Supply voltage drop, a VCC over-current detection or
overheating.
-109985 ERR_SMARTCARD_MODULE_ERROR Smartcard error: Unexpected response from the applet.
-109986 ERR_SMARTCARD_WRONG_ID The ID of the smart card does not match the ID stored in the fiscal memory.
(110000 – 110099) SAM MODULE ERRORS
-110000 ERR_SAM_INIT SAM error: Init error.
-110001 ERR_SAM_OPEN_ID_DEV SAM error: Error opening SAM with the programmed serial number.
-110002 ERR_SAM_OPEN_EMPTY_ID_DEV SAM error: SAM opening with empty ID.
-110003 ERR_SAM_SELECT_FILE SAM error: Error SAM module during file selection.
-110004 ERR_SAM_INIT_TELEGRAM SAM error: Error SAM module during telegram init.
-110005 ERR_SAM_ALREADY_OPEN SAM error: SAM already started.
-110006 ERR_SAM_COMMUNICATION_ERROR SAM error: Error with SAM communication.
-110010 ERR_SAM_BAD_OPERATION SAM error: Unsuccessful operation in SAM.
-110011 ERR_SAM_BAD_GET_TRANS SAM error: Unsuccessful extraction of last transaction in SAM.
-110012 ERR_SAM_BAD_PUT_TRANS SAM error: Unsuccessful registration of transaction in SAM.
-110013 ERR_SAM_BAD_GET_BATCH SAM error: Unsuccessful extraction of Z report from SAM.

116
Communication protocol
Programmers manual

-110014 ERR_SAM_BAD_CLOSE_BATCH SAM error: Unsuccessful registration of Z report in SAM.


-110021 ERR_SAM_TRANS_ALREADY_CLOSED SAM error: Transaction is closed in SAM → closing needed.
-110022 ERR_SAM_BATCH_ALREADY_CLOSED SAM error: Z report is closed in SAM → Z report needed.
-110023 ERR_SAM_UNSENT_Z_OVF SAM error: Unsent Z reports → communication needed.
-110024 ERR_SAM_OPENED_Z_OVF SAM error: Daily registers are full → Z report needed.
-110025 ERR_SAM_NOT_OPENED_Z SAM error: Unopened (empty) Z report → Z report impossible.
(110100 – 110199) EXT FISCAL DEVICE ERRORS
-110100 ERR_DEVICE_COMM_ERROR Device error: Communication error.
-110101 ERR_DEVICE_WRONG_STRUCT Device error: Wrong struct format.
-110102 ERR_DEVICE_STFLAG_ACTIVE Device error: ST flag is active.
-110103 ERR_DEVICE_INVALID_DATA Device error: Invalid data.
-110104 ERR_DEVICE_NOT_FISCALIZED Device error: Device is not fiscalized.
-110105 ERR_DEVICE_ALREADY_FISCALIZED Device error: Device is already fiscalized.
-110106 ERR_DEVICE_IN_SERVICE_MODE Device error: Device is in service mode.
-110107 ERR_DEVICE_PASSED_SERVICE_DATE Device error: Service date is passed.
-110108 ERR_DEVICE_DAY_IS_OPEN Device error: Day (shift) is open.
-110109 ERR_DEVICE_DAY_IS_CLOSED Device error: Day (shift) is closed.
-110110 ERR_DEVICE_WRONG_NUMBERS Device error: Z-report number and shift number are not equal.
-110111 ERR_DEVICE_ADMIN_ONLY Device error: Only admin has permission.
-110112 ERR_DEVICE_UNFISCALIZED Device error: Fiscal memory is closed.
(110200 – 110299) NAP SERVER ERRORS
-110200 ERR_NAP_OPEN_SESSION NAP server error: Error open session.
-110201 ERR_NAP_PREPARE_DATA NAP server error: Error preparing data for server.
-110202 ERR_NAP_SEND_DATA NAP server error: There is unsent data.
-110203 ERR_NAP_RECV_DATA NAP server error: Receiving data error.
-110204 ERR_NAP_EMPTY_DATA NAP server error: Empty data.
-110205 ERR_NAP_NEGATIVE_ANSWER NAP server error: Server negative answer.
-110206 ERR_NAP_WRONG_ANSWER_FORMAT NAP server error: Wrong answer format.
-110207 ERR_NAP_HOSTDI_ZERRO NAP server error: Server HOSTDI is zero.
-110208 ERR_NAP_EXCEPTION NAP server error: Server exception.
-110209 ERR_NAP_NOTPERSONALIZED NAP server error: Not registered on server.

-110209 ERR_NAP_NOTREGISTERED NAP server error: Not registered on server.


-110210 ERR_NAP_BLOCKED_72H NAP server error: Communication with NAP server is blocked.
-110211 ERR_NAP_BLOCKED_NO_MODEM_LAN NAP server error: Modem error.
-110212 ERR_NAP_BUSY NAP server error: NAP is busy.
-110213 ERR_NAP_REGISTERED NAP server error: Already registered.
-110214 ERR_NAP_WRONG_PSTYPE NAP server error: Wrong PS type.
-110215 ERR_NAP_DEREG_ON_SERVER NAP server error: Deregistered in NAP.
-110216 ERR_NAP_WRONG_IMSI NAP server error: Wrong IMSI number.
-110217 ERR_NAP_BLOCKED_MAX_ZERRORS NAP server error: Device is blocked (maximum Z-reports).
-110218 ERR_NAP_WRONG_FDTYPE NAP server error: Wrong FD (Fiscal device) type.
-110219 ERR_NAP_BLOCKED_BY_SERVER NAP server error: The ECR is blocked by server.
-110220 ERR_NAP_BLOCKED_ERROR_FROM_SERVER NAP server error: The ECR is blocked – server error.
-110221 ERR_NAP_NO_SERVER_ADDRESS NAP server error: No server address.
-110222 ERR_NAP_NO_REGISTRATIONS_POSSIBLE NAP server error: Max. registrations reached.

117
Communication protocol
Programmers manual

-110223 ERR_NAP_INVALID_OPERATOR_INN Invalid INN of the cashier.


-110224 ERR_NAP_INVALID_SERVER_INN Invalid INN of the server.
-110225 ERR_NAP_BLOCKED_MAX_SELLERRORS NAP server error: Device is blocked (unsent sales documents).
-110226 ERR_NAP_BLOCKED_24H NAP server error: Communication with NAP server is blocked. More than 24
hours from last sent receipt.
(110300 – 110399) WORK_INVALID
-110300 ERR_WORK_INVALID_FILE Working error: Invalid file.
-110301 ERR_WORK_INVALID_PARAM Working error: Invalid parameters.
(110400 – 110499) NRA_CONNECTION ERRORS
-110400 ERR_CONNECTION_INIT Connection error: Error initializing connection.
-110401 ERR_CONNECTION_WRONG_PARAMS Connection error: Wrong parameters.
-110402 ERR_CONNECTION_NO_GPRS Connection error: No GPRS.
-110403 ERR_CONNECTION_INIT_REPOSITORY Connection error: Error initializing connection with NRA server.
-110404 ERR_CONNECTION_WRONG_ANSWER_FORMAT Connection error: Wrong response format from server.
-110405 ERR_CONNECTION_WRONG_CONFIG Connection error: Wrong configuration.
-110410 ERR_NRA_PROCEDURE_I01_NEEDED Connection error: Procedure I01 is needed.
-110411 ERR_NRA_PROCEDURE_I02_NEEDED Connection error: Procedure I02 is needed.
-110412 ERR_NRA_PROCEDURE_I03_NEEDED Connection error: Procedure I03 is needed.
-110413 ERR_NRA_PROCEDURE_I04_NEEDED Connection error: Procedure I04 is needed.
-110414 ERR_NRA_PROCEDURE_I05_NEEDED Connection error: Procedure I05 is needed.
-110415 ERR_NRA_PROCEDURE_I06_NEEDED Connection error: Procedure I06 is needed.
-110416 ERR_NRA_PROCEDURE_I07_NEEDED Connection error: Procedure I07 is needed.
-110417 ERR_NRA_PROCEDURE_I08_NEEDED Connection error: Procedure I08 is needed.
-110418 ERR_NRA_MAX_UNSENТ_Z_REPORTS Maximum number of unsent Z reports reached!
-110419 ERR_NRA_NOTHING_TO_SEND Connection error: Nothing to send.
-110420 ERR_NRA_NEGATIVE_ANSWER Connection error: Negative answer from server.
-110481 ERR_NRA_WRONG_ANSWER_PARAM_1 Connection error: Wrong NRA server answer in parameter 1.
-110482 ERR_NRA_WRONG_ANSWER_PARAM_2 Connection error: Wrong NRA server answer in parameter 2.
-110483 ERR_NRA_WRONG_ANSWER_PARAM_3 Connection error: Wrong NRA server answer in parameter 3.
-110484 ERR_NRA_WRONG_ANSWER_PARAM_4 Connection error: Wrong NRA server answer in parameter 4.
-110485 ERR_NRA_WRONG_ANSWER_PARAM_5 Connection error: Wrong NRA server answer in parameter 5.
-110486 ERR_NRA_WRONG_ANSWER_PARAM_6 Connection error: Wrong NRA server answer in parameter 6.
-110487 ERR_NRA_WRONG_ANSWER_PARAM_7 Connection error: Wrong NRA server answer in parameter 7.
-110488 ERR_NRA_WRONG_ANSWER_PARAM_8 Connection error: Wrong NRA server answer in parameter 8.
-110489 ERR_NRA_WRONG_ANSWER_PARAM_9 Connection error: Wrong NRA server answer in parameter 9.
-110490 ERR_NRA_WRONG_ANSWER_PARAM_10 Connection error: Wrong NRA server answer in parameter 10.
-110491 ERR_NRA_WRONG_ANSWER_PARAM_11 Connection error: Wrong NRA server answer in parameter 11.
-110492 ERR_NRA_WRONG_ANSWER_PARAM_12 Connection error: Wrong NRA server answer in parameter 12.
-110493 ERR_NRA_WRONG_ANSWER_PARAM_13 Connection error: Wrong NRA server answer in parameter 13.
-110494 ERR_NRA_WRONG_ANSWER_PARAM_14 Connection error: Wrong NRA server answer in parameter 14.
-110495 ERR_NRA_WRONG_ANSWER_PARAM_15 Connection error: Wrong NRA server answer in parameter 15.
-110496 ERR_NRA_WRONG_ANSWER_PARAM_16 Connection error: Wrong NRA server answer in parameter 16.
(110500 – 110599) MODEM ERRORS
-110500 ERR_MODEM_CTRL Modem error: error in communication between device and modem.
-110501 ERR_MODEM_NO_SIM Modem error: No SIM card.

118
Communication protocol
Programmers manual

-110502 ERR_MODEM_PIN Modem error: Wrong PIN of SIM.


-110503 ERR_MODEM_ATTACH Modem error: Cannot register to mobile network.
-110504 ERR_MODEM_PPP Modem error: No PPP connection (cannot connect).
-110505 ERR_MODEM_CONFIG Modem error: Wrong modem configuration (for example – no programmed
APN).
-110506 ERR_MODEM_WAIT_INIT Modem error: Modem initializing.
-110507 ERR_MODEM_NOTREADY Modem error: Modem is not ready.
-110508 ERR_MODEM_REMOVE_SIM Modem error: Remove SIM card.
-110509 ERR_MODEM_CELL_FOUND Modem error: Modem found a cell.
-110510 ERR_MODEM_CELL_NOTFOUND Modem error: Modem does not find a cell.
-110511 ERR_MODEM_LOT_DAYS_FAIL Modem error: Failed lot days.
-110512 ERR_MODEM_PPP_DIFFERENT_APN Modem error: Already connected to different APN when PPP connection is
started.
(110600 – 110699) WI-FI ERRORS
-110601 ERR_MODEM_CONNECT_AP Modem error: Device is not connected to AP (access point).
(110700 – 110799) NETWORK ERRORS
-110700 ERR_NET_DNS_RESOLVE Network error: Cannot resolve address.
-110701 ERR_NET_SOCKET Network error: Cannot open socket for communication with server.
-110702 ERR_NET_CONNECTION Network error: Connection error (cannot connect to a server).
-110703 ERR_NET_CONFIG Network error: Config error (for example: no server address).
-110704 ERR_NET_SOCKET_CONNECTED Network error: Connection socket is already opened.
-110705 ERR_NET_SSL_ERROR Network error: SSL communication error (something went wrong in
cryptographic protocol).
-110706 ERR_NET_HTTP_ERROR Network error: HTTP communication error (something went wrong in http
protocol).
(110800 – 110899) TAX_TERMINAL_ERRORS
-110800 ERR_DT_OK Tax terminal error: No error.
-110801 ERR_DT_UNKNOWN_ID Tax terminal error: Unknown ID.
-110802 ERR_DT_INVALID_TOKEN Tax terminal error: Invalid token (key from the server).
-110803 ERR_DT_PROTOCOL_ERROR Tax terminal error: Protocol error.
-110804 ERR_DT_UNKNOWN_COMMAND Tax terminal error: The command is unknown.
-110805 ERR_DT_UNSUPPORTED_COMMAND Tax terminal error: The command is not supported.
-110806 ERR_DT_INVALID_CONFIGURATION Tax terminal error: Invalid configuration.
-110807 ERR_DT_SSL_IS_NOT_ALLOWED Tax terminal error: SSL is not allowed.
-110808 ERR_DT_INVALID_REQUEST_NUMBER Tax terminal error: Invalid request number.
-110809 ERR_DT_INVALID_RETRY_REQUEST Tax terminal error: Invalid retry request.
-110810 ERR_DT_CANT_CANCEL_TICKET Tax terminal error: Cannot cancel ticket.
-110811 ERR_DT_OPEN_SHIFT_TIMEOUT_EXPIRED Tax terminal error: More than 24 hours from shift opening.
-110812 ERR_DT_INVALID_LOGIN_PASSWORD Tax terminal error: Invalid login name or password.
-110813 ERR_DT_INCORRECT_REQUEST_DATA Tax terminal error: Incorrect request data.
-110814 ERR_DT_NOT_ENOUGH_CASH Tax terminal error: Not enough cash.
-110815 ERR_DT_BLOCKED Tax terminal error: Blocked from server.
-110854 ERR_DT_SERVICE_TEMPORARILY_UNAVAILABL Tax terminal error: Service temporarily unavailable.
E
-110855 ERR_DT_UNKNOWN_ERROR Tax terminal error: Unknown error.
(111000 – 111499) REGMODE ERRORS
-111000 ERR_R_CLEAR Registration mode error: Common error, followed by deleting all data for the

119
Communication protocol
Programmers manual

command.
-111001 ERR_R_NOCLEAR Registration mode error: Common error, followed by partly deleting data for the
command.
-111002 ERR_R_SYNTAX Registration mode error: Syntax error. Check the parameters of the command.
-111003 ERR_R_NPOSSIBLE Registration mode error: Cannot do operation.
-111004 ERR_R_PLU_NOTEXIST Registration mode error: PLU code was not found.
-111005 ERR_R_PLU_VAT_DISABLE Registration mode error: Forbidden VAT.
-111006 ERR_R_PLU_QTY_PRC Registration mode error: Overflow in multiplication of quantity and price.
-111007 ERR_R_PLU_NO_PRC Registration mode error: PLU has no price.
-111008 ERR_R_PLU_GRP_RANGE Registration mode error: Group is not in range.
-111009 ERR_R_PLU_DEP_RANGE Registration mode error: Department is not in range.
-111010 ERR_R_BAR_NOTEXIST Registration mode error: BAR code does not exist.
-111011 ERR_R_OVF_TOTAL Registration mode error: Overflow of the PLU turnover.
-111012 ERR_R_OVF_QTY Registration mode error: Overflow of the PLU quantity.
-111013 ERR_R_ECR_OVR Registration mode error: ECR daily registers overflow.
-111014 ERR_R_BILL_TL_OVR Registration mode error: Bill total register overflow.
-111015 ERR_R_OPEN_BON Registration mode error: Receipt is opened.
-111016 ERR_R_CLOSED_BON Registration mode error: Receipt is closed.
-111017 ERR_R_PAY_NOCASH Registration mode error: No cash in ECR.
-111018 ERR_R_PAY_STARTED Registration mode error: Payment is initiated.
-111019 ERR_R_OVF_TRZ_BUFF Registration mode error: Maximum number of sales in receipt.
-111020 ERR_R_NO_TRANSACTIONS Registration mode error: No transactions.
-111021 ERR_R_NEGATIVE_SUMVAT Registration mode error: Possible negative turnover.
-111022 ERR_R_PYFOREIGN_HAVERESTO Registration mode error: Foreign payment has change.
-111023 ERR_R_TRZ_NOT_EXIST Registration mode error: Transaction is not found in the receipt.
-111024 ERR_R_END_OF_24_HOUR_PERIOD Registration mode error: End of 24 hour blocking.
-111025 ERR_R_NO_VALID_INVOICE Registration mode error: Invalid invoice range.
-111026 ERR_R_POS_TERM_CANCELED Registration mode error: Operation is cancelled by operator.
-111027 ERR_R_POS_TERM_APPROVED Registration mode error: Operation approved by POS.
-111028 ERR_R_POS_TERM_NOT_APPROVED Registration mode error: Operation is not approved by POS.
-111029 ERR_R_POS_TERM_CONN_ERR Registration mode error: POS terminal communication error.
-111030 ERR_R_PLU_QTY_PRC_TOO_LOW Registration mode error: Multiplication of quantity and price is 0.
-111031 ERR_R_VALUE_TOO_BIG Registration mode error: Value is too big.
-111032 ERR_R_VALUE_BAD Registration mode error: Value is bad.
-111033 ERR_R_PRICE_TOO_BIG Registration mode error: Price is too big.
-111034 ERR_R_PRICE_BAD Registration mode error: Price is bad.
-111035 ERR_R_ALL_VOID_SELECTED Registration mode error: Operation all void is selected to be executed.
-111036 ERR_R_ONLY_ALL_VOID_IS_POSSIBLE Registration mode error: Only all void operation is permitted.
-111040 ERR_R_REST_NOFREESPC_SELLS Registration mode error: Restaurant: There is no free space for other purchases.
-111041 ERR_R_REST_NOFREESPCFORNEWACNT Registration mode error: Restaurant: There is no free space for new account.
-111042 ERR_R_REST_ACCOUNT_IS_OPENED Registration mode error: Restaurant: Account is already opened.
-111043 ERR_R_REST_WRONG_INDEX Registration mode error: Restaurant: Wrong index.
-111044 ERR_R_REST_ACNT_IS_NOTFOUND Registration mode error: Restaurant: Account is not found.
-111045 ERR_R_REST_NOT_PERMITTED Registration mode error: Restaurant: Not permitted (only for admins).
-111046 ERR_R_OPEN_NONFISCALBON Registration mode error: non-fiscal receipt is opened.

120
Communication protocol
Programmers manual

-111047 ERR_R_OPEN_FISCALBON Registration mode error: fiscal receipt is opened.


-111048 ERR_R_BUYERS_TIN_IS_ENTERED Registration mode error: Buyers TIN is already entered.
-111049 ERR_R_BUYERS_TIN_IS_NOT_ENTERED Registration mode error: Buyers TIN is not entered.
-111050 ERR_R_PAY_NOT_STARTED Registration mode error: Payment is not initiated.
-111051 ERR_R_BON_TYPE_MISMATCH Registration mode error: Receipt type mismatch.
-111052 ERR_R_REACH_BON_TL_LIMIT Registration mode error: Receipt total limit is reached.
-111053 ERR_R_CASH_NO_MULT_MIN_COIN Registration mode error: Sum cannot be divided by the minimum coin.
-111054 ERR_R_PAY_BIG_AMOUNT Registration mode error: Sum must be <= payment amount.
-111055 ERR_R_PAY_VOUCHER_NEED_INPUT_SUM Registration mode error: Sum of voucher must be entered when paying with
voucher.
-111056 ERR_R_PAY_VOUCHER_NEED_SURCHARGE Registration mode error: Value surcharge of the difference between voucher sum
and total must be done when paying with voucher and sum > total.
-111057 ERR_R_PAY_FOREIGN_DISABLED Registration mode error: Payment with foreign currency is disabled.
-111058 ERR_R_PAY_FOREIGN_IMPOSSIBLE Registration mode error: Payment with foreign currency is impossible.
-111059 ERR_R_PAY_FOREIGN_SMALL_AMOUNT Registration mode error: Sum must be bigger or equal to payment amount.
-111060 ERR_R_SAFE_OPEN_DISABLED Registration mode error: Safe opening is disabled.
-111061 ERR_R_PAY_FORBIDDEN Registration mode error: Forbidden payment.
-111062 ERR_R_PERC_KEY_FORBIDDEN Registration mode error: Forbidden key for surcharge/discount.
-111063 ERR_R_AMOUNT_BIGGER_BILLAMOUNT Registration mode error: Entered sum is bigger than receipt sum.
-111064 ERR_R_AMOUNT_SMALLER_BILLAMOUNT Registration mode error: Entered sum is smaller than receipt sum.
-111065 ERR_R_ZERO_BILLAMOUNT Registration mode error: Fiscal printer: Sum of receipt is 0. Operation 'void' is
needed.
-111066 ERR_R_ALL_VOID_EXECUTED Registration mode error: Fiscal printer: Operation 'void' is executed. Close
receipt is needed.
-111067 ERR_R_OPEN_STORNOBON Registration mode error: Storno receipt is opened.
-111068 ERR_R_PAY_ZERO_AMOUNT Registration mode error: Sum is not entered.
-111069 ERR_R_PLU_PRICETYPE_RANGE Registration mode error: Price type is invalid.
-111070 ERR_R_PLU_PRICETYPE_LINKED Registration mode error: Linked surcharge is forbidden.
-111071 ERR_R_PLU_PRICETYPE_NEGATIVE Registration mode error: Negative price is forbidden.
-111072 ERR_R_MORE_THAN_ONE_VAT Registration mode error: More than 1 VAT in one receipt is not allowed.
-111073 ERR_R_PINPAD Registration mode error: Pinpad error.
-111074 ERR_R_WRONG_BUYERS_DATA Registration mode error: Buyer data is wrong.
-111075 ERR_R_VAT_SYSTEM_DISABLE Registration mode error: Vat system disable.
-111076 ERR_R_OPER_NOT_LOGGED_IN Operator not logged in.
-111077 ERR_R_WRONG_DATE_FM The receipt date is early on last date in fiscal memory.
-111078 ERR_R_CORR_DATA_NOT_ENTERED Correction receipt data is not entered!
-111079 ERR_R_FRACTIONAL_QTY Fractional quantity!
-111080 ERR_R_OUT_OF_STOCK Registration mode error: Registration mode error: Out of stock.
-111081 ERR_R_STL_NEEDED Registration mode error: Must pushing of the STL before TL.
-111082 ERR_R_PACK_NOTEXIST Package does not exist.
-111083 ERR_R_PLU_UNIT_NOTEXIST Measuring unit not found.
-111084 ERR_R_PLU_CATEGORY_NOTEXIST Category not found in the data base.
-111085 ERR_R_DEP_WRONG_NAME Invalid department name.
-111086 ERR_R_BANK_TERM_NOT_CONFIGURED Bank terminal not configured.
-111087 ERR_R_SIGN_PAY_INCORECT Disallowed 'признак расчета' (Russia).
-111088 ERR_R_SIGN_INCORRECT Forbidden признак товара.

121
Communication protocol
Programmers manual

-111089 ERR_R_PLU_OVER_MAX_PRC Entered price is bigger than the programmed.


-111090 ERR_R_PLU_FIX_PRC Fix PLU's price.
-111091 ERR_R_SIGN_AGENT_INCORECT Incorrect sign agent.
-111092 ERR_R_PAY_VOUCHER_RESTO Voucher payment cannot have change.
-111093 ERR_R_PAY_ADVANCE_BIG Sum for advance payment is bigger than the sum of article.
-111094 ERR_R_PAY_STORNO_RESTO Payment in storno can not have change.
-111095 ERR_R_NOT_EXCISE_PLU_WITH_EXCISE_STAMP Invalid parameter – PLU is not defined as excise PLU.
-111096 ERR_R_EXCISE_PLU_WITHOUT_EXCISE_STAMP Excise stamp of an excise PLU is not entered.
-111097 ERR_R_EXCISE_PLU_FORBIDDEN SALE FORBIDDEN (excise stamp is not valid).
(111500 – 111799) PINPAD ERRORS
-111500 ERR_PINPAD_NONE Pinpad error: No error from pinpad.
-111501 ERR_PINPAD_GENERAL Pinpad error: General unicreditbulbank icon error.
-111502 ERR_PINPAD_INVALID_COMMAND Pinpad error: Not valid command or sub command code.
-111503 ERR_PINPAD_INVALID_PARAM Pinpad error: Invalid parameter.
-111504 ERR_PINPAD_INVALID_ADDRESS Pinpad error: The address is outside limits.
-111505 ERR_PINPAD_INVALID_VALUE Pinpad error: The value is outside limits.
-111506 ERR_PINPAD_INVALID_LENGTH Pinpad error: The length is outside limits.
-111507 ERR_PINPAD_NOT_PERMIT Pinpad error: The action is not permitted in current state.
-111508 ERR_PINPAD_NO_DATA Pinpad error: There is no data to be returned.
-111509 ERR_PINPAD_TIMEOUT Pinpad error: Timeout occurs.
-111510 ERR_PINPAD_INVALID_KEY_NUMBER Pinpad error: Invalid key number.
-111511 ERR_PINPAD_INVALID_KEY_ATTRIBUTES Pinpad error: Invalid key attributes(usage).
-111512 ERR_PINPAD_INVALID_DEVICE Pinpad error: Calling of non-existing device.
-111513 ERR_PINPAD_NOT_SUPPORT Pinpad error: (Not used in this FW version).
-111514 ERR_PINPAD_PIN_LIMIT Pinpad error: Pin entering limit exceed.
-111515 ERR_PINPAD_FLASH Pinpad error: General error in flash commands.
-111516 ERR_PINPAD_HARDWARE Pinpad error: General hardware unicreditbulbank error.
-111517 ERR_PINPAD_INVALID_CRC Pinpad error: Invalid code check (Not used in this FW version).
-111518 ERR_PINPAD_CANCEL Pinpad error: The button 'CANCEL' is pressed.
-111519 ERR_PINPAD_INVALID_SIGNATURE Pinpad error: Invalid signature.
-111520 ERR_PINPAD_INVALID_HEADER Pinpad error: Invalid data in header.
-111521 ERR_PINPAD_INVALID_PASSWORD Pinpad error: Incorrect password.
-111522 ERR_PINPAD_INVALID_KEY_FORMAT Pinpad error: Invalid key format.
-111523 ERR_PINPAD_SCR Pinpad error: General unicreditbulbank error in smart card reader.
-111524 ERR_PINPAD_HAL Pinpad error: Error code returned from HAL functions.
-111525 ERR_PINPAD_INVALID_KEY Pinpad error: Invalid key (may not be present).
-111526 ERR_PINPAD_NO_PIN_DATA Pinpad error: The PIN length is less than 4 or bigger than 12.
-111527 ERR_PINPAD_INVALID_REMINDER Pinpad error: Issuer or ICC key invalid remainder length.
-111528 ERR_PINPAD_NOT_INIT Pinpad error: Not initialized (Not used in this FW version).
-111529 ERR_PINPAD_LIMIT Pinpad error: Limit is reached (Not used in this FW version).
-111530 ERR_PINPAD_INVALID_SEQUENCE Pinpad error: Invalid sequence (Not used in this FW version).
-111531 ERR_PINPAD_NO_PERMITION Pinpad error: The action is not permitted.
-111532 ERR_PINPAD_NO_TMK Pinpad error: TMK is not loaded. The action cannot be executed.
-111533 ERR_PINPAD_INVALID_KEK Pinpad error: Wrong key format.
-111534 ERR_PINPAD_DUPLICATE_KEY Pinpad error: Duplicated key.

122
Communication protocol
Programmers manual

-111535 ERR_PINPAD_KEYBOARD Pinpad error: General keyboard error.


-111536 ERR_PINPAD_KEYBOARD_NOT_CALIBRATED Pinpad error: The keyboard is no calibrated.
-111537 ERR_PINPAD_KEYBOARD_FAILED Pinpad error: Keyboard bug detected.
-111538 ERR_PINPAD_DEVICE_BUSY Pinpad error: The device is busy, try again.
-111539 ERR_PINPAD_TAMPERED Pinpad error: Device is tampered.
-111540 ERR_PINPAD_EMSR Pinpad error: Error in encrypted head.
-111541 ERR_PINPAD_ACCEPT Pinpad error: The button 'OK' is pressed.
-111542 ERR_PINPAD_INVALID_PAN Pinpad error: Wrong PAN.
-111543 ERR_PINPAD_NOT_ENOUGH_MEMORY Pinpad error: Out of memory.
-111544 ERR_PINPAD_EMV Pinpad error: EMV error.
-111545 ERR_PINPAD_CRYPTOGRAPHY Pinpad error: Cryptographic error.
-111546 ERR_PINPAD_COMMUNICATION Pinpad error: Communication error.
-111547 ERR_PINPAD_INVALID_VERSION Pinpad error: Invalid firmware version.
-111548 ERR_PINPAD_NOPAPER Pinpad error: Printer is out of paper.
-111549 ERR_PINPAD_OVERHEATED Pinpad error: Printer is overheated.
-111550 ERR_PINPAD_NOT_CONNECTED Pinpad error: Device is not connected.
-111551 ERR_PINPAD_USE_CHIP Pinpad error: Use the chip reader.
-111552 ERR_PINPAD_END_DAY Pinpad error: End the day first.
-111554 ERR_PINPAD_BOR_ERR Pinpad error: Error from Borica.
-111555 ERR_PINPAD_NO_CONN Pinpad error: No connection with pinpad.
-111556 ERR_PINPAD_ECR Pinpad error: Success in pinpad, unsuccess in ECR.
-111557 ERR_PINPAD_NOT_CONF Pinpad error: Not configured connection between fiscal device and PinPad.
-111558 ERR_PINPAD_SAME_TRANS Pinpad error: The last transactions are equals or connection is interrupted – try
again.
-111559 ERR_PINPAD_RECEIPT Pinpad error: Payment type: debit/credit card via PinPad. In the fiscal receipt is
allowed only one payment with such type.
-111560 ERR_PINPAD_FP_TRANS Pinpad error: Unknown result of the transaction between fiscal device and
PinPad.
-111561 ERR_PINPAD_NOT_CONF_TYPE Pinpad error: Pinpad type not configured.
-111700 ERR_PINPAD_INV_AMOUNT Pinpad error: Invalid amount.
-111701 ERR_PINPAD_TRN_NOT_FOUND Pinpad error: Transaction not found.
-111702 ERR_PINPAD_FILE_EMPTY Pinpad error: The file is empty.
-111703 ERR_PINPAD_MAX_CASHBACK Entered cashback is bigger than cashback limit.
(111800 – 111899) SCALE REMOTE CONTROL
-111800 ERR_SCALE_NOT_RESPOND ERR_SCALE_NOT_RESPOND
-111801 ERR_SCALE_NOT_CALCULATED ERR_SCALE_NOT_CALCULATED
-111802 ERR_SCALE_WRONG_RESPONSE ERR_SCALE_WRONG_RESPONSE
-111803 ERR_SCALE_ZERO_WEIGHT ERR_SCALE_ZERO_WEIGHT
-111804 ERR_SCALE_NEGATIVE_WEIGHT ERR_SCALE_NEGATIVE_WEIGHT
-111805 ERR_SCALE_T_WRONG_INTF ERR_SCALE_T_WRONG_INTF
-111806 ERR_SCALE_T_CONNECT ERR_SCALE_T_CONNECT
-111807 ERR_SCALE_SEND ERR_SCALE_SEND
-111808 ERR_SCALE_RECEIVE ERR_SCALE_RECEIVE
-111809 ERR_SCALE_FILE_GENERATE ERR_SCALE_FILE_GENERATE
-111810 ERR_SCALE_NOT_CONFIG ERR_SCALE_NOT_CONFIG
(111900 – 111999) NTP SERVER ERRORS

123
Communication protocol
Programmers manual

-111900 ERR_NTP_NO_COMM Communication error with NTP server: Cannot make communication.
-111901 ERR_NTP_EARLIER_DATETIME Communication error with NTP server: The date and time is earlier than the last
saved in the fiscal memory.
-111902 ERR_NTP_WRONG_IP Communication error with NTP server: Wrong IP address.
(112000 – 112099) FP_MODE ERRORS
-112000 ERR_FP_INVALID_COMMAND Fiscal printer error: Fiscal printer invalid command.
-112001 ERR_FP_INVALID_SYNTAX Fiscal printer error: Fiscal printer command invalid syntax.
-112002 ERR_FP_COMMAND_NOT_PERMITTED Fiscal printer error: Command is not permitted.
-112003 ERR_FP_OVERFLOW Fiscal printer error: Register overflow.
-112004 ERR_FP_WRONG_DATE_TIME Fiscal printer error: Wrong date/time.
-112005 ERR_FP_NEEDED_MODE_PC Fiscal printer error: PC mode is needed.
-112006 ERR_FP_NO_PAPER Fiscal printer error: No paper.
-112007 ERR_FP_COVER_IS_OPEN Fiscal printer error: Cover is open.
-112008 ERR_FP_PRINTER_FAILURE Fiscal printer error: Printing mechanism error.
(112100 – 112199) FP_MODE ERRORS BY SYNTAX
-112100 _ERR_FP_SYNTAX_PARAM_BEGIN _ERR_FP_SYNTAX_PARAM_BEGIN
-112101 ERR_FP_SYNTAX_PARAM_1 Invalid syntax of parameter 1.
-112102 ERR_FP_SYNTAX_PARAM_2 Invalid syntax of parameter 2.
-112103 ERR_FP_SYNTAX_PARAM_3 Invalid syntax of parameter 3.
-112104 ERR_FP_SYNTAX_PARAM_4 Invalid syntax of parameter 4.
-112105 ERR_FP_SYNTAX_PARAM_5 Invalid syntax of parameter 5.
-112106 ERR_FP_SYNTAX_PARAM_6 Invalid syntax of parameter 6.
-112107 ERR_FP_SYNTAX_PARAM_7 Invalid syntax of parameter 7.
-112108 ERR_FP_SYNTAX_PARAM_8 Invalid syntax of parameter 8.
-112109 ERR_FP_SYNTAX_PARAM_9 Invalid syntax of parameter 9.
-112110 ERR_FP_SYNTAX_PARAM_10 Invalid syntax of parameter 10.
-112111 ERR_FP_SYNTAX_PARAM_11 Invalid syntax of parameter 11.
-112112 ERR_FP_SYNTAX_PARAM_12 Invalid syntax of parameter 12.
-112113 ERR_FP_SYNTAX_PARAM_13 Invalid syntax of parameter 13.
-112114 ERR_FP_SYNTAX_PARAM_14 Invalid syntax of parameter 14.
-112115 ERR_FP_SYNTAX_PARAM_15 Invalid syntax of parameter 15.
-112116 ERR_FP_SYNTAX_PARAM_16 Invalid syntax of parameter 16.
-112199 _ERR_FP_SYNTAX_PARAM_END _ERR_FP_SYNTAX_PARAM_END
(112200 – 112299) FP_MODE ERRORS BY VALUE
-112200 _ERR_FP_BAD_PARAM_BEGIN _ERR_FP_BAD_PARAM_BEGIN
-112201 ERR_FP_BAD_PARAM_1 Bad value of parameter 1.
-112202 ERR_FP_BAD_PARAM_2 Bad value of parameter 2.
-112203 ERR_FP_BAD_PARAM_3 Bad value of parameter 3.
-112204 ERR_FP_BAD_PARAM_4 Bad value of parameter 4.
-112205 ERR_FP_BAD_PARAM_5 Bad value of parameter 5.
-112206 ERR_FP_BAD_PARAM_6 Bad value of parameter 6.
-112207 ERR_FP_BAD_PARAM_7 Bad value of parameter 7.
-112208 ERR_FP_BAD_PARAM_8 Bad value of parameter 8.
-112209 ERR_FP_BAD_PARAM_9 Bad value of parameter 9.
-112210 ERR_FP_BAD_PARAM_10 Bad value of parameter 10.

124
Communication protocol
Programmers manual

-112211 ERR_FP_BAD_PARAM_11 Bad value of parameter 11.


-112212 ERR_FP_BAD_PARAM_12 Bad value of parameter 12.
-112213 ERR_FP_BAD_PARAM_13 Bad value of parameter 13.
-112214 ERR_FP_BAD_PARAM_14 Bad value of parameter 14.
-112215 ERR_FP_BAD_PARAM_15 Bad value of parameter 15.
-112216 ERR_FP_BAD_PARAM_16 Bad value of parameter 16.
-112299 _ERR_FP_BAD_PARAM_END _ERR_FP_BAD_PARAM_END
(113000 – 113999) FLASH_MEMORY ERRORS
-113000 ERR_FLASH_WRONG_ID Flash memory error: Reading ID error.
-113001 ERR_FLASH_WRONG_SIZE Flash memory error: Sector size error.
(114000 – 114997) POS TERMINAL ERRORS
-114000 ERR_POS_TERM_CHAN_CLOSED POS- terminal error: Communication channel is closed.
(114998 – 117999) CRYPTO MODULE
-114998 ERR_CM_WRONG_ID_NUMBERS Crypto module error: Wrong ID number.
-114999 ERR_CM_UNEXPECTED_RESPONSE Crypto module error: Unexpected response.
-115000 ERR_CM_DISCONNECTED Crypto module error: CM not connected.
-115001 ERR_CM_COM_ERROR Crypto module error: Error in communication.
-115002 ERR_CM_COM_TIMEOUT Crypto module error: Timeout.
-116000 _ERR_RANGE_CM_BEGIN Crypto module error: Error range in CM begin.
-117999 _ERR_RANGE_CM_END Crypto module error: Error range in CM end.
(120000 – 120999) PROGRAMMING ERROR
-120000 ERR_PGM_NAME_NOT_UNIQUE Programming: Name is not unique!
-120001 ERR_PGM_OPER_PASS_NOT_UNIQUE Programming: Operator password is not unique!
-120002 ERR_PGM_DATETIME_OUT_OF_RANGE_MIN Programming: Date and time is under the range.
-120003 ERR_PGM_DATETIME_OUT_OF_RANGE_MAX Programming: Date and time is under the range.
(121000 – 121099) COURIER ERRORS
-121000 ERR_SCANNER_GENERAL Barcode scanner reading error!
-121001 ERR_COURIER_EIK_INVALID Invalid EIK/EGN number!

125

You might also like