5.10.1 13 - CLOSE SALE PERIOD (Z-Report)
This command is used to close the sale period, update the fiscal memory (when fiscal mode is set) and issue
the closure report (Z-Report).
5.10.1.1 Command Format
-----------------------------------------------------------------------
BYTE BIT
CONTENT
TYPE
LENGTH
0-1
1B66 - Cmd Prefix
hex
2
2
13 - Close Sale Period (Z-Report)
hex
1
3
Cmd. Extension
hex
1
7-0
Reserved (always =
′0
x00
′ )
-----------------------------------------------------------------------
5.10.1.2 Close Sale Period Calculations
•
The following operations are performed before printing the report and writing the fiscal memory:
Lif_N_Clos
=
Lif_N_Clos
+
1
Day_N_Fisc
=
Day_N_Fisc
+
1
Day_Tot
= ∑
vv
Day_Tot_v
(
vv
)
Day_V A T C _v
(
vv
) =
TRUNC
(
Day_Tot_v
(
vv
) ×
V A T _Rate
(
vv
)
100
+
V A T _Rate
(
vv
)
+
0.5
)
Day_V A T C
= ∑
vv
Day_V A T C _v
(
vv
)
−
IF NEW LIRA WAS NOT SET
Lif_Tot_OL
=
Lif_Tot_OL
+
Day_Tot
Lif_V A T C _OL
=
Lif_V A T C _OL
+
Day_V A T C
−
IF NEW LIRA WAS SET
Lif_Tot_N L
=
Lif_Tot_N L
+
Day_Tot
Lif_V A T C _N L
=
Lif_V A T C _N L
+
Day_V A T C
for values of vv ranging from 1 to the maximum values
−
In working area is generated a table sorted by TAX Rate with the following data:
Example:
-----------------------
* TAX
* vv * Day_Tot_v *
* Rate *
*
*
* ---- * -- * --------- *
* 10 * 01 *
20
*
* 10 * 02 *
30
*
* 10 * 05 *
40
*
*
8
* 04 *
50
*
*
6
* 03 *
70
*
*
4
* 08 *
15
*
*
4
* 06 *
10
*
*
4
* 10 *
5
*
*
2
* 07 *
40
*
*
2
* 09 *
25
*
-----------------------
Page 118 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmi
Содержание 4610 SureMark GR3
Страница 12: ...Page 12 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 14: ...Page 14 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 18: ...Page 18 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 26: ...Page 26 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 30: ...Page 30 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 44: ...Page 44 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 129: ...b The maximum number of ordinary lines in DI station EB cmd are 255 Command Set Reference Page 129 of 183...
Страница 154: ...Page 154 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...
Страница 178: ...Page 178 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...
Страница 182: ...Page 182 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...