Šajā tīmekļa vietnē tiek izmantotas sīkdatnes. Turpinot lietot šo vietni, jūs piekrītat sīkdatņu izmantošanai. Uzzināt vairāk.
Teksta versija
LEGAL ACTS OF THE REPUBLIC OF LATVIA
home
 
The translation of this document is outdated.
Translation validity: 13.01.2017.–21.12.2018.
Amendments not included: 18.12.2018.

Text consolidated by Valsts valodas centrs (State Language Centre) with amending regulations of:

23 December 2014 [shall come into force from 31 December 2014];
26 May 2015 [shall come into force from 29 May 2015];
15 December 2015 [shall come into force from 30 December 2015];
10 January 2017 [shall come into force from 13 January 2017].

If a whole or part of a paragraph has been amended, the date of the amending regulation appears in square brackets at the end of the paragraph. If a whole paragraph or sub-paragraph has been deleted, the date of the deletion appears in square brackets beside the deleted paragraph or sub-paragraph.

 

Republic of Latvia

Cabinet
Regulation No. 95
Adopted 11 February 2014

Regulations Regarding Technical Requirements for Electronic Devices and Equipment for the Registration of Taxes and Other Payments

Issued pursuant to
Section 28.1, Paragraph four of the law On Taxes and Duties

I. General Provisions

1. This Regulation prescribes the technical requirements for electronic devices and equipment for the registration of taxes and other payments.

2. Electronic devices and equipment for the registration of taxes and other payments - cash registers, hybrid cash registers, cash systems, specialised devices and equipment - shall be used to register the payment which has been received for transactions in cash, with payment cards, smart cards or by other means for the confirmation of payment (for example gift cards, cheques, vouchers) by drawing up documents in electronic form and by ensuring the calculation and accounting of taxes and other payments.

[15 December 2015]

3. Cash registers, hybrid cash registers, cash systems, specialised devices and equipment shall be used for the calculation and recording of taxes and other payments which ensure compliance with the technical requirements for fiscal surveillance specified in this Regulation and also the requirements which are specified in the laws and regulations regarding:

3.1. electrical safety of equipment;

3.2. electromagnetic compatibility of equipment;

3.3. metrological requirements for measuring instruments;

3.4. repeated verification of measuring instruments, verification certificates, and verification marks;

3.5. carriage of passengers with passenger taxis.

II. Mandatory Technical Requirements for Cash Registers, Hybrid Cash Registers, and Cash Systems

[15 December 2015]

4. A cash register is a specialised one-piece electronic device with a built-in program which ensures the registration of tax and other payment transactions and the saving and storing of the sums total of registered transactions in monetary terms in the non-volatile memory or fiscal memory module thereof, and also the printing out of documents and statements. Only the cash register software, which is protected against the introduction of changes therein, has access to these memories. The registered software of the cash register, which is submitted to the State Revenue Service, upon the registration of the model (modification) shall not be subject to any updates or changes, but shall be replaced entirely by opening the structure of the cash register and removing the numbered strict accounting seals received at the State Revenue Service (hereinafter - the seal) that is done either by the manufacturer or an authorised representative thereof.

[15 December 2015]

4.1 A cash register with an electronic control tape - a cash register with an electronic control tape corresponding to the definition referred to in Paragraph 4 of this Regulation.

[15 December 2015]

4.2 A cash register with a paper control tape - a cash register with a paper control tape corresponding to the definition referred to in Paragraph 4 of this Regulation.

[15 December 2015]

4.3 A cash register with an electronic control tape and a fiscal memory module - a cash register with an electronic control tape and a fiscal memory module that can be connected to a computer corresponding to the definition referred to in Paragraph 4 of this Regulation.

[15 December 2015]

4.4 A cash register with a paper control tape and a fiscal memory module - a cash register with a paper control tape and a fiscal memory module that can be connected to a computer corresponding to the definition referred to in Paragraph 4 of this Regulation.

[15 December 2015]

5. A hybrid cash register is a specialised computer system which ensures the registration and processing of tax and other payment transactions by using the built-in software which saves and stores this information in the non-volatile memory, ensuring the printing out of documents and statements and the saving of the sums total of the registered transactions in monetary terms in the non-volatile memory and fiscal memory module of the hybrid cash register.

[15 December 2015]

5.1 A hybrid cash register has a fiscal memory module and a non-volatile memory which saves the information recorded therein without supplying voltage input (electricity for such memory is necessary only in the recording, reading, or deletion process). The hybrid cash register has at least a USB (Type A) or Firewire 800/400, or RS232 port.

[15 December 2015]

6. A cash system is a specialised computer system which ensures the registration and processing of tax and other payment transactions by using the built-in software, ensuring the printout of documents and statements and also the saving of the sums total of the registered transactions in monetary terms and the storage thereof in its non-volatile memory and fiscal memory module.

[15 December 2015]

6.1 A cash system has a fiscal memory module and a non-volatile memory and also a USB (Type A) or Firewire 800/400, or RS232 port. The information saved in the non-volatile memory is readable (downloadable) in the external data medium by using a USB (Type A) or Firewire 800/400, or RS232 port.

[15 December 2015]

6.2 An integrated information system is an autonomously functioning information system which has its own data medium and functional tasks (a part of the system extracted from the cash system due to technical reasons is not an integrated information system):

6.2 1. in successive order prior to data processing (use) in a cash register by using the fiscal memory module, in a hybrid cash register and a cash system the data are prepared in another external system and they are sent to the cash register by using the fiscal memory module, to the hybrid cash register and to the cash system;

6.2 2. in the course of processing the transactions a cash register with the fiscal memory module, a hybrid cash register and a cash system send the data to another information system for processing and information purposes;

6.2 3. in successive order following the registration in a cash register with a fiscal memory module, in a hybrid cash register and in a cash system the data are sent to another information system.

[15 December 2015]

6.3 An integrated information system may be serviced by a user. The operation of an integrated information system shall be described in separate documentation and it shall be registered in the State Revenue Service prior to the integration and use of such integrated information system with a cash register with an electronic control tape and a fiscal memory module, a hybrid cash register and a cash system.

[15 December 2015]

7. Backup copies (hereinafter - backup data) shall be created for a hybrid cash register and a cash system. The backup data shall contain such information so that by using the data and the registered software submitted to the State Revenue Service it would be possible to restore completely a functional hybrid cash register or a cash system with data for which the particular backup copy was created. The information stored in the backup data shall be stored in full extent in a data medium. A backup copy may not be created for a program registered for a hybrid cash register and cash system which complies with Paragraph 12 of this Regulation.

[15 December 2015]

7.1 Backup data shall be created for the following information:

7.1 1. collected information (electronic control tape, control data, data on events in the system - in audit files);

7.1 2. software which complies with Sub-paragraph 12.2 of this Regulation;

7.1 3. database or data copies which comply with the software referred to in Sub-paragraph 12.2 of this Regulation and with the databases and parameter files of the registered program.

[15 December 2015]

7.2 Backup data for the collected information shall be created not less than once a day after the Z statement of the day (period) (hereinafter - the Z statement) has been prepared. Backup data shall be created for:

7.2 1. software or a new software version (if such is installed) which complies with Sub-paragraph 12.2 of this Regulation. A backup copy shall be created once within a period of one week after its installation in a way to ensure the possibility of restoring the functionality of the particular program (and the respective version thereof) from the backup copy;

7.2 2. database or data copies which comply with the software referred to in Sub-paragraph 12.2 of this Regulation and for the databases and parameter files of the registered program in compliance with the procedures determined by the user, but not less than once every three months.

[15 December 2015]

7.3 Backup data shall be stored:

7.3 1. for a period of three years;

7.3 2. outside the cash register, hybrid cash register or cash system in non-volatile data media located in the territory of Latvia, including in the servers of data centres (non-volatile data media) in the territory of Latvia.

[15 December 2015]

8. Any other computer hardware or software, which is not related to ensuring the cash register, hybrid cash register and cash system and the functionality whereof has not been described in the documentation of the cash register, hybrid cash register or cash system, must not be present in the cash register, hybrid cash register and cash system.

[15 December 2015]

8.1 The hybrid cash register and cash system shall ensure the following:

8.1 1. integrity of the information referred to in this Regulation (retention of complete and unchanged information) and also protection against unauthorised access;

8.1 2. authentication of the employees of the user;

8.1 3. prevention of either deliberate or accidental alteration or deletion of already registered information;

8.1 4. division of employees into roles and access rights thereof in the cash system or the hybrid cash register, ensuring the recording of audit trails in a separate audit file to all roles, by registering data on events in the system (name of the employee, time, the performed activity which is related to the creation or deletion of a new user "employee", "administrator", "virtualisation administrator" or "establishment administrator", granting of the rights or change of the rights and also the creation or change of the rights of objects (program files and catalogue)):

8.1 4.1. role "administrator" - a fully entitled employee of the support service for the cash system or the hybrid cash register;

8.1 4.2. role "virtualisation administrator" - an administrator of the virtualisation platform (hypervisor) - a fully entitled employee of the support service of the cash system or the hybrid cash register, if the virtualisation referred to in Paragraph 12.2 of this Regulation is used;

8.1 4.3. role "establishment administrator" - an establishment administrator of the user with the right to change the tax rates and add new users (operators) in the cash system or the hybrid cash register;

8.1 4.4. role "employee" - an employee of an establishment who is the operator of the cash system or the hybrid cash register;

8.1 5. authorisation of an employee;

8.1 6. roles "administrator", "virtualisation administrator", "establishment administrator", and "employee" with a protection system - a password of at least eight symbols (by including therein upper and lower case letters, digits, and special characters) which prevents arbitrary interference in the software (without the relevant permit or by using the rights granted to another person). If another type of identification is ensured to the role "employee", magnetic cards, smart cards or other means of identification may be used.

[15 December 2015]

9. The structure of a cash register, hybrid cash register and cash system ensures the reading of the installed registered software for the comparison thereof with the registered program submitted to the State Revenue Service (program version) and Hash SHA-256 checksum thereof.

[15 December 2015]

10. The fiscal memory module of the cash register, hybrid cash register and cash system shall comply with the following requirements:

10.1. it has been placed in the case as an autonomously functioning memory module for data storage which can be removed from the cash register, hybrid cash register and cash system and can be replaced with another one, if it is damaged or full;

10.2. it has a non-volatile data medium and a protection solution, and also one communication plugin. The module is created in one-piece structure, without a possibility to remove memories or any other micro-chip or component and without a possibility to connect to the contacts of these individual elements;

10.3. its data protection solution consists of a control scheme with software that technically is no longer possible to rewrite or exchange with another program;

10.4. it has a built-in unique read-only, mechanically and logically unchangeable at least 48 bit identification code;

10.5. its unique identifier is recorded on the fiscal memory module in an enduring form;

10.6. if the fiscal memory data medium is full or damaged, the protection solution of the fiscal memory module transmits a warning to the program of the cash register, hybrid cash register or cash system that the recording in the fiscal memory has failed or its content is damaged, or it is not possible to continue recording in the data medium;

10.7. only the information referred to in Sub-paragraphs 10.1 1, 10.1 2, and 10.1 3 of this Regulation shall be kept in the data medium with the capacity of ensuring data storage not less than for three years in compliance with the description specified in Annex 4 to this Regulation;

10.8. it is constructively protected with a protection solution against the deletion or overwriting of the content thereof by using the communication plugin available in the module. For the purpose of saving and reading information access to the fiscal memory module shall be available only from the program of the cash register, hybrid cash register and cash system;

10.9. the entire content of its data medium and also the protection solution program and the unique identifier must be readable (downloadable) in an external computer by using the program of the cash register, hybrid cash register and cash system and external ports. If such activity requires additional software, upon registering the cash register, hybrid cash register and cash system, it shall be submitted to the State Revenue Service along with the instructions for use. The solution, which provides a possibility to read the content of the fiscal memory module by using the port of the cash register, hybrid cash register and cash system, is protected against the option to make recordings in the fiscal memory module by using the external port of the cash register, hybrid cash register and cash system;

10.10. it has a built-in control which forbids to make recordings in its data medium with the date and time that is less than the last date and time saved in the data medium and also the Grand Total value which is less than the last one saved in the data medium. If the fiscal memory module has received document data where the date and time or Grand Total value is less than the last data and time or Grand Total value saved in the data medium, a warning is transmitted to the registered program of the cash register, hybrid cash register, cash system that the recording in the fiscal memory has failed and it is not possible to continue recording in the data medium.

[15 December 2015]

10.1 The following shall be recorded in the fiscal memory module of the cash register, hybrid cash register and cash system:

10.1 1. after each prepared document - the number of the relevant document, date and time, document checksum (SHA-1), Grand Total, for the document type "transaction" - transaction sum in monetary terms;

10.1 2. after printing out the Z statement - Z statement number, printout date and time, sum total of registered (positive) transaction "receipt" in the accounting period, sum total of repayment, sum total of cancellation, sum total of purchase in monetary terms, the rate of the applied value added tax, division of the sum taxable with value added tax according to the applied rates and the relevant tax sums, the checksum of the control tape calculated for the accounting period (SHA-1) and Grand Total;

10.1 3. prior to the use of the cash register - name, registration number or personal identity number of the user, chassis number of the cash register, hybrid cash register or cash system and also the date and time of recording.

[15 December 2015]

10.2 For the purpose of calculating the sum total of the transactions in the Z statement period, the registered program of the cash register, hybrid cash register and cash system shall use the information stored in the fiscal memory on positive transactions in the particular accounting period that are saved in the fiscal memory module.

[15 December 2015]

11. The non-volatile memory of the cash register, hybrid cash register and cash system shall comply with the following requirements:

11.1. it is located in the cash register, hybrid cash register or cash system and is protected against unauthorised access in compliance with Paragraph 20.1 of this Regulation;

11.2. in the event of an interruption in electricity supply or disruptions in electricity supply, the software shall save the necessary information in the non-volatile memory so that after the restoration of electricity supply the recovery data on all registered transactions would be a single unit without any lack or disruptions of information;

11.3. if the data medium of the non-volatile memory is full, the software shall block the operations of the equipment with regard to the drawing up of documents and statements and the recording of their information in the non-volatile memory;

11.4. the information obtained from the control data, audit trails and electronic control tape shall be stored separately in the non-volatile memory (data compression method may be applied for data storage, ensuring the possibility of access to the original data) by making sure that alteration and deletion rights for the stored information pack have been denied to the user. The administration rights of the referred to information pack are granted to the support service only, whereas the access rights - only to the registered program referred to in Paragraph 12 of this Regulation, thereby ensuring logical protection of the registered transaction data (protection of data or information resources which is implemented by the means of software by identifying the user of the information system, verifying the compliance of its authorisation for the relevant activities in the information system and protecting information from either deliberate or accidental alteration or deletion);

11.5. it ensures data storage not less than for three years.

[15 December 2015]

12. The registered program of the hybrid cash register and cash system shall comply with the following requirements:

12.1. it is modular, the calculation of Hash checksum is extracted from it in a separate module with an option to replace it with another module which implements another checksum calculation algorithm;

12.2. it ensures the saving of a document and statement in the electronic control tape and in the fiscal memory module (for the cash system - also in the control file) after each time the drawn up documents or statements are created in the non-volatile memory. The hybrid cash register creates a control file upon request of the State Revenue Service (for the last three years) or once a day;

12.3. it blocks the activities of the hybrid cash register and cash system that are related with information recording in the non-volatile memory, if the printing device for the printing of cash receipts has been disconnected or it (the software) cannot access the non-volatile memory;

12.4. it ensures at least the following functions:

12.4.1. performs the calculation of Hash checksum for document printouts and statements;

12.4.2. creates control data files and records them in the non-volatile memory;

12.4.3. creates the electronic control tape and ensures its recording in the non-volatile memory;

12.4.4. ensures the printout of all documents and sending of statements to the printing device after entries on the respective document have been made in the relevant files in the non-volatile memory;

12.4.5. performs the control of transaction tax calculation in compliance with the taxes in the set parameters;

12.4.6. ensures warnings of the hybrid cash register and cash system and blocking of the activity in cases provided by this Regulation.

[15 December 2015]

12.1 In addition to the provisions laid down in Paragraph 12 of this Regulation, the registered program of the cash register with the fiscal memory module, hybrid cash register and cash system shall comply with the following requirements:

12.1 1. it performs the control (verification) of the data to be saved in the fiscal memory module, allowing to save only an increasing value of Grand Total and to save only an increasing date and time upon making records in the fiscal memory;

12.1 2. it warns the employee, if there is left free space for 3000 or less entries in the fiscal memory module data medium;

12.1 3. it performs the calculation of Hash checksum for the control tape of the accounting period;

12.1 4. it automatically blocks the activity of the cash register, hybrid cash register and cash system, if the non-volatile memory or the fiscal memory module is disconnected or a program or memory error has been detected that prevents or hinders the performance of the provisions of this Regulation.

[15 December 2015]

12.2 Additional programs of the hybrid cash register and cash system:

12.2 1. are the functions which have not been specified in Sub-paragraph 12.4 of this Regulation, which have not been included in the registered program (sales management, preparation of statements and others) and functions which are not directly linked with cash operations that are necessary to the user for the sales process (accounting program and warehouse accounting program). Also the operating system with its utility programs may be separated in different additional programs;

12.2 2. conforms to the programs submitted in the description of the specific model or modification. Additional programs, including the data and databases of these programs, which are located in the hybrid cash register or cash system, are included in the mandatory backup copies, except for the operating system and its utility programs.

[15 December 2015]

12.3 The support service may create a virtual machine in the cash system and hybrid cash register and transfer it at the disposal of the user in such virtualisation platform which with its design architecture prevents the virtual machine from communicating with physical communication ports and the equipment physically connected thereto that is specified in Paragraph 16 of this Regulation. If the solution provides for data exchange between the basic machine and the virtual machine, the support service shall be responsible for such connection solution. The description of such solution shall be included in the documentation of the cash system or hybrid cash register and its functionality shall comply with the requirements of this Regulation.

[15 December 2015]

13. The support service, upon installation of a new cash register, hybrid cash register or cash system or also upon changing already installed registered program, shall make SHA-256 checksum calculations in compliance with Secure Hash Standard (SHS) (FIPS PUB 180-4) for the program of the cash register, hybrid cash register or cash system which is separated from data and parameters.

[15 December 2015]

13.1 The registered program of the cash register, hybrid cash register or cash system has been created in a way to ensure that the program does not change throughout the entire period of operation thereof. The data stored and the variable parameters of the program are kept separately from the program.

[15 December 2015]

13.2 The parameters of the registered program of the cash register, hybrid cash register or cash system must not be kept outside the relevant cash register, hybrid cash register or cash system.

[15 December 2015]

14. The non-volatile memory of a cash register shall comply with the following requirements:

14.1. [15 December 2015]

14.2. [15 December 2015]

14.3. its operation is ensured from an autonomous energy source, it is not deleted, if the supply of electricity from the electricity supply network is stopped and it ensures maintaining of the information recorded for at least 60 days;

14.4. memory storage capacity ensures data storage for not less than three years.

[15 December 2015]

15. A cash register shall be equipped with:

15.1. a cashier operator display and a customer display (mobile and also self-service cash registers may be equipped with one display) - for the indication of the price for goods and services, payment received and other information. The customer display shall be placed in such a way so that the customer may view the information indicated on the display;

15.2. a printing device with a paper tape - for the printing of documents and statements. The device is integrated or connected to any of external ports of a cash register, except for computer network connection;

15.3. a printing device - for the printing of a control tape (the printing device referred to in Sub-paragraph 15.2 of this Regulation may be used). This includes a paper control tape and its installation mechanism and a receiver mechanism or an electronic control tape;

15.4. input device (a keyboard or a touch-sensitive display);

15.5. a money box. If the design of a cash register does not provide for a money box, a separate money box shall be installed at the place of utilisation of the referred to cash register, but if there is non-cash payment settlement only, the money box is not necessary;

15.6. additional external devices - a scanner of goods, scales, printing device, magnetic or smart card reader, additional customer display and non-cash settlement terminal - attached to a cash register and the functionality whereof is described in the cash register documentation.

[15 December 2015]

15.1 The equipment of the cash register specified in Sub-paragraphs 15.1, 15.3, and 15.4 of this Regulation is located in the same case as its control block (processor and the entire aggregate of electronic devices).

[15 December 2015]

16. A hybrid cash register and cash system shall be equipped with:

16.1. a cashier operator display and a customer display - for indication of the price for goods and services, payment received and other information. The customer display shall be placed in such a way so that the customer may view the information indicated on the display. Mobile and also self-service hybrid cash registers and cash systems may be equipped with one display;

16.2. electronic control tape (a paper control tape may be used additionally);

16.3. a printing device with a paper tape - for the printing of documents and statements. The device is integrated or connected to any of external ports of a hybrid cash register or cash system, except for computer network connection;

16.4. input device (a keyboard or a touch-sensitive display);

16.5. a money box. If the design of a hybrid cash register or cash system does not provide for a money box, a separate money box shall be installed at the place of utilisation of the referred to devices, but if there is non-cash payment settlement only, the money box is not necessary;

16.6. additional external input-output devices which are connected to a hybrid cash register or cash system and whose functionality is described in the documentation of the device;

16.7. devices or peripheral devices that ensure the completion of the transaction registration and that the transaction would be saved in the non-volatile memory, if electricity supply is not ensured or if there are disruptions in electricity supply (if such functionality is not ensured by the structure of the cash system or hybrid cash register);

16.8. security solution which prevents the start of the operating system from another source that is different from the one set by the support service - non-volatile memory of the hybrid cash register or cash system after the start, restart and also throughout the entire period of its operation.

[15 December 2015]

17. In addition to the provisions specified in Paragraphs 15 and 16 of this Regulation, the cash register, hybrid cash register and cash system may be equipped with a mechanism for recording the nominal amount received in cash.

18. The cash register, hybrid cash register and cash system shall be connectible to an electricity supply network. Mobile cash registers, hybrid cash registers and cash systems may operate from an autonomous energy source.

[15 December 2015]

19. There is an indelible chassis number on the case of the cash register, hybrid cash register and cash system.

[15 December 2015]

20. Seals have been affixed in a way to prevent unauthorised access to the following components of the cash register, hybrid cash register and cash system:

20.1. processor and all electronic components which operate with the registered program;

20.2. Random Access Memory;

20.3. clock;

20.4. program memory;

20.5. external plugins that can be used to access RAM (Random Access Memory), non-volatile memory and other devices by circumventing the software.

[15 December 2015]

20.1 The seal shall be fixed on the fiscal memory module.

[15 December 2015]

20.2 A seal shall be affixed to the non-volatile memory, if no non-volatile memory identification (serial) number of the manufacturer has been assigned thereto.

[15 December 2015]

21. The program and structure of the cash register, hybrid cash register and cash system shall ensure the following:

21.1. the printing out of the following documents and preparation of the following types of statements in the official language: "initialisation" - the start of a registered program, "transaction" - sale, purchase and repayment, "cash" - insetting, collection, pay-out, and small coinage, "control financial report" (hereinafter - X statement"), "Z statement", "non-fiscal document" - preparation of various informative documents. It is forbidden to make other types of document printouts and statements;

21.2. any document printout or statement that is planned to be created or printed out complies with any of the types of document printouts or statements referred to in Sub-paragraph 21.1 of this Regulation;

21.3. the word "receipt" or its combination with other words, symbols or characters would not be depicted or represented in such types of document printouts as "initialisation", "cash" and "non-fiscal document";

21.4. administering of the value added tax and other tax rate classifiers in compliance with the economic activity;

21.5. the printing out of cash receipts, repayment receipts, cancellation receipts, purchase receipts - "transaction" type documents - that certify the registration of a transaction in the cash register, hybrid cash register or cash system;

21.6. that it is not possible to prepare the non-fiscal document "receipt copy" or another type of non-fiscal document where the sum total of the transaction in monetary terms, division according to applicable value added tax rates and the relevant tax values are specified;

21.7. printing out the X and Z statements;

21.8. simultaneous and precise indication of the details of all printed out documents, X statement and Z statement (except for the details referred to in Sub-paragraphs 22.1 and 23.1 of this Regulation) in the electronic control tape of the cash register, hybrid cash register, and cash system or in the paper control tape of the cash register, except for the cases when a unique code or password is printed out on the document. If a unique code or password is printed out on the document and Hash checksum is calculated, each character of the code may be replaced with the sequence of the same type of symbols and in such case the replaced (covered) information of the code is included in Hash checksum calculation;

21.9. simultaneous and precise indication of the details of all printed out documents, X statement and Z statement in the control tape;

21.10. document printout and printing out of statements in a technically enduring form so that the information contained therein would not disappear during the entire storage period;

21.11. for the hybrid cash register - the recording of control data, electronic control tape and audit trail data in a data medium upon request of the State Revenue Service;

21.12. for the cash system - the recording of control data, audit trail and electronic control tape data in a data medium upon request of the State Revenue Service;

21.13. indication of the initialisation and exclusion date (YYYY-MM-DD) (the initial four digits shall specify the year, the next two - the month, whereas the final two - the day) and time (hh:mm:ss (optional for the cash register with the electronic control tape) (the initial two digits shall specify the hours, the next two - the minutes, whereas the final two - the seconds)) of the program of the cash register, hybrid cash register and cash system in the electronic control tape, X statement and Z statement;

21.14. that a uniform consecutive numbering in ascending order is used for cash registers with the electronic control tape, hybrid cash register and cash system document printouts and statements (including document printouts not related to the registration of a transaction). It must not repeat at least within one calendar year;

21.15. that the user cannot delete or alter the data of registered transactions;

21.16. only the use of the production environment for the registration of transactions and saving of the sum total of the registered transactions in monetary terms, without allowing the use of a training, test or another environment for the registration of transactions.

[15 December 2015]

22. The software and structure of the cash register, hybrid cash register or cash system shall ensure the indication of the following details in the X statement and Z statement:

22.1. the name of the user of a cash register, hybrid cash register or cash system (for a private individual - given name and surname), the taxpayer registration code (for a person subject to value-added tax - the number of the person subject to value added tax assigned by the State Revenue Service) and the legal address (for a private individual - the address of the place of residence);

22.2. the type of statement (X statement or Z statement), the date and time of electronically created information, the sequential number of the document, the unique identification code of the fiscal memory module and statement number;

22.3. the sum total in monetary terms of the transactions registered during the day (period);

22.4. the division of sum total of the registered transactions in monetary terms according to the goods (service) sections;

22.5. the division of the sum total of the registered transactions of the day (period) according to the type of account (in cash, in non-cash payments with other confirmations of the settlement of accounts). If accounts are settled in a foreign currency, an equivalent thereof in monetary units of the Republic of Latvia shall be specified;

22.6. the division of the sum total of the registered transactions in monetary terms according to applicable value added tax rates and the sum total of the registered transactions which are not subject to the application of the value added tax;

22.7. the amount of the calculated value added tax in breakdown by the rates applied;

22.8. small coinage - the amount of money registered in the cash register, hybrid cash register or cash system for ensuring the registration of transactions;

22.9. [15 December 2015]

22.10. [15 December 2015]

22.11. collected money - the amount of money withdrawn, which is registered in the cash register, hybrid cash register or cash system, and paid in the cashier's office or bank or transferred to the collector;

22.12. the amount of cash in the money box of the cash register, hybrid cash register or cash system at the time of printing out of a statement;

22.13. sum total in monetary terms (Grand Total) of all registered transactions for which the type of document "receipt" has been issued, starting from the moment of commencing the use, that is increased by sum total of each such transaction:

22.13.1. sum total in monetary terms of all repaid transactions at the moment of creating the X statement or Z statement;

22.13.2. sum total in monetary terms of all cancelled transactions at the moment of creating the X statement or Z statement and sum total in monetary terms of all corrected goods or services registered during the drawing up of the document;

22.13.3. sum for each type of cash pay-out in a separate counter at the moment of creating the X statement or Z statement;

22.14. [15 December 2015]

22.15. for cash registers, hybrid cash registers and cash systems which have been equipped with a money box - the number of times the money box has been opened;

22.16. if the user registers foreign currency purchase and sale transactions in the cash register, hybrid cash register or cash system, the following shall be indicated additionally:

22.16.1. the amount of all foreign currencies purchased during the day (period) recalculated in the monetary units of the Republic of Latvia;

22.16.2. the amount of all foreign currencies sold during the day (period) recalculated in the monetary units of the Republic of Latvia;

22.16.3. the result of foreign currency purchase and sale transactions during the day (period);

22.17. only for the Z statement - the checksum (SHA-1) of the electronic control tape in the accounting period.

[15 December 2015]

22.1 The type of document printout "non-fiscal document", if it is intended as an intermediate bill that is issued to the client for the provided services or goods for information purposes prior to the transaction, shall be registered in compliance with Annex 1 to this Regulation by specifying the sum total thereof in monetary terms and the sum total in monetary terms of all intermediate bills issued during the Z statement period shall be included in the Z statement.

[15 December 2015]

23. The structure and software of a cash register, hybrid cash register and cash system shall ensure the indication of the following details on the cash receipt:

23.1. the name of the user of a cash register, hybrid cash register or cash system (for a private individual - given name and surname), the taxpayer registration code (for a person subject to value-added tax - the number of the person subject to value added tax assigned by the State Revenue Service) and the legal address (for a private individual - the address of the declared place of residence);

23.2. document name "receipt", the sequential number of the document, the unique identification code of the fiscal memory module and the date and time of electronically created information;

23.3. [15 December 2015]

23.4. the name of the goods (service) or the name of the section and value added tax indication (a digit, letter or another sign which indicates that the relevant goods (service) or the section thereof is subject to a certain rate of tax or not subject to tax) and also the quantity (including if the quantity is equal to "1") and price;

23.5. the applied value added tax rates;

23.6. the amount of the registered goods (services) in monetary terms (separately by the applied value added tax rates) excluding the value added tax;

23.7. the amount of value added tax (separately according to the applied value added tax rates);

23.8. the sum total of the registered goods (services) in monetary terms;

23.9. the discounts granted in monetary terms, if any;

23.10. the type of payment;

23.11. the amount of money received upon payment;

23.12. the amount in cash changed upon payment (balance);

23.13. complete chassis number of the cash register, hybrid cash register or cash system;

23.14. Hash SHA-1 checksum calculated for each document of the cash register with a fiscal memory module, cash register with an electronic control tape, hybrid cash register and cash system by indicating Hash SHA-1 checksum of the previous (in the printed out document) and current document. Hash SHA-1 checksum of the document shall be calculated from the total amount of information contained in the document (including non-fiscal documents).

[15 December 2015]

23.1 If a payment, which is not a payment for the goods or service (for example, remuneration for activities specified in laws and regulations) is registered in the cash register, hybrid cash register or cash system, it shall be indicated in the cash receipt in the place of the goods (service) for what the payment is registered.

[15 December 2015]

24. The following information shall be specified in all documents that have been prepared and printed out by the cash register, hybrid cash register and cash system:

24.1. name, number and date of the document;

24.2. details referred to in Sub-paragraph 23.1 of this Regulation;

24.3. document checksum (SHA-1) that is calculated in compliance with the description referred to in Paragraph 31.1 of this Regulation and SHA-1 checksum specified in the previous printed out document.

[15 December 2015]

25. The cash register, hybrid cash register and cash system shall ensure separate accounting for each type of cash settlement.

[15 December 2015]

26. Upon performing cash receipt cancellation operations, the cash register, hybrid cash register and cash system shall ensure the printout of the cancellation cash receipt. The details referred to in Paragraph 23 of this Regulation (except for Sub-paragraphs 23.7, 23.8, 23.10, and 23.11) shall be specified in the printout of the cancellation cash receipt. The document name "the cancellation cash receipt" shall be specified in this document in addition to the information specified in Sub-paragraph 23.2 of this Regulation.

[15 December 2015]

26.1 The cash register, hybrid cash register and cash system which perform cash cancellation operations shall ensure the printout of the repayment receipt. The details referred to in Paragraph 23 of this Regulation shall be indicated on the receipt printout. Instead of the document name "receipt" referred to in Sub-paragraph 23.2 of this Regulation, the document name "repayment receipt" shall be specified.

[15 December 2015]

27. [15 December 2015]

28. [15 December 2015]

29. A software, which ensures the electronic handling of a hybrid cash register, cash system, specialised device or equipment log, shall comply with the requirements specified in laws and regulations regarding accounting and organisation thereof and ensures the indication of the information stored in the memory in the computerised log.

30. Due to cash register, hybrid cash register and cash system safety reasons an additional money box may be installed at a certain place of use of a cash register, hybrid cash register or cash system.

[15 December 2015]

31. The structure and software of the hybrid cash register and cash system shall ensure the saving of control data in chronological order in electronic form (in the form of XML or CSV files) for each created document and statement (in compliance with the procedures referred to in Annexes 1, 2, and 3 to this Regulation), ensuring a possibility to record control data in a data medium. The description of fields for XML and CSV control file is specified in Annexes 1, 2, and 3 to this Regulation.

[15 December 2015]

31.1 In all control files the calculated Hash SHA-1 or SHA-256 checksums of all document printouts and statements shall form an uninterrupted chain of Hash checksums and the disruption of the chain is not permissible. Hash SHA-1 or SHA-256 checksum shall be calculated for each document and statement printout of the cash register, hybrid cash register and cash system that comply with Paragraphs 4.1, 4.3, and 4.4 of this Regulation in accordance with Secure Hash Standard (SHS) (FIPS PUB 180-4) by including in the calculation Hash SHA-1 or SHA-256 checksum of the previous document. SHA-1 or SHA-256 checksum shall be calculated from the aggregate of information of data fields specified in Annex 1 to this Regulation or from the entire information contained in the document (statement) by including in the calculation SHA-1 or SHA-256 checksum specified in the previous printed out document (statement). A precise Hash checksum calculation algorithm shall be submitted upon registering the cash register, hybrid cash register or cash system that is to be verified and repeated.

[15 December 2015]

32. Control data shall be stored according to data groups in compliance with Annex 1 to this Regulation. The line of each group shall start with the following assigned identification code: "Cash system document data" - 0, "Cash system control file" - 1, "Link to the initialisation document of the included fuelling cash control file" - 2, "Link to the document of the included fuelling cash control file" - 3, "Information on the document client (customer)" - 4, "Description of all goods/services in the receipt" - 5, "Cash operations" - 6, "Information of the sum total of receipt purchases" - 7, "Information of Z statement" - 8, "Additional information of the user on the document which is not recorded in the separate data fields" - 9, "Document Hash" - 10, "Electronic signature" - 11. The control file shall be supplemented each time the cash system creates (prints out) a document or a statement.

[15 December 2015]

32.1 If control data in the hybrid cash register and cash system have been created in compliance with the format specified in Annex 3 to this Regulation, data conversion shall be ensured in accordance with the format specified in Annex 2 to this Regulation upon request of an official of the State Revenue Service for the period of time necessary for verification.

[15 December 2015]

32.2 The control file shall be concluded along with the closing of the accounting period by printing out the Z statement.

[15 December 2015]

33. [15 December 2015]

34. [15 December 2015]

35. [15 December 2015]

36. If the cash system is connected in a network with other cash systems, the user thereof shall ensure separate accounting of control data for each cash system connected in the network.

[15 December 2015]

III. Special Technical Requirements for Cash Systems Used in the Retail Trade of Fuel

37. The cash system of a filling station shall comply with the technical requirements specified in Chapter II and this Chapter of this Regulation and also with the laws and regulations regarding the procedures for the circulation of excise goods and laws and regulations regarding the metrological requirements for liquid measuring systems, except for water.

38. The structure and software of the cash system of the filling station shall ensure the registration of transactions and also recording of the fuel stock at the filling station and the automatic process of fuel dispensing with the devices and equipment connected in a single system.

39. The cash system of an automatic filling station (a closed cash system of the filling station) shall ensure fuel dispensing and the registration of the payment without the assistance of a cashier operator.

40. The cash system of a filling station shall have the following additional equipment:

40.1. software which ensures centralised control of the cash system of the filling station;

40.2. automatic fuelling machines to which a number in the cash system of the filling station is granted and the connection cables of which, connecting them with the cash system of the filling station, shall be affixed with a seal. An automatic fuelling machine is a fuelling device the self-service facility of which controls the authorised dispensing of fuel the basis of which is the operation of a customer;

40.3. the cash system program of a filling station which ensures the turning on of the fuelling machine concurrently with the registration of the transaction in the cash system of the filling station and also printing out a cash receipt;

40.4. programmes which ensure that the change of rates of value added tax, fuel price and also the configuration of the automatic fuelling machines set up in the cash system of the filling station may be performed only after the printout of the Z statement prior to resuming transactions. The price for one litre of fuel may be changed without printing out the Z statement in automatic filling stations and filling stations which indicate in the Z statement all prices for one litre of fuel that are applied in the period by specifying the period from which (date, time) until which (date, time) the price was effective;

40.5. control mechanism which automatically blocks the printing out of cash receipt and statements, if the paper tape referred to in Sub-paragraph 15.2 of this Regulation has run out. Control mechanism shall be created in such a way that a cashier operator or other persons may not arbitrarily switch off this mechanism.

[15 December 2015]

41. The cash system of an automatic filling station shall be equipped with one of the displays referred to in Sub-paragraph 15.1 of this Regulation.

42. In addition, the cash system of a filling station shall ensure the following:

42.1. the accounting of the received fuel and automatically dispensed fuel separately from the accounting of other goods and services (a combination of letters and numbers in accordance with ASCII or UTF-8 encoding, it is forbidden to use other symbols, space is used as a separator of words and digits (ASCII code 32));

42.2. configuration in which the compliance of the automatic fuelling machine number with the type of fuel to be sold, price for one litre of fuel and number of pulses on one litre of fuel shall be ensured, if the cash system of the filling station works in the pulse read-out mode;

42.3. turning on of a fuelling machine and dispensing of fuel simultaneously with the registration of the transaction in the cash system of the filling station and also the printing out of a cash receipt from the work place of the operator of the cash system of the filling station;

42.4. blocking of all fuelling machines and interruption of fuel dispensing, if the operation of the cash system of the filling station is interfered with or any of the stages of the operation of the cash system of the filling station is disconnected, and also if unauthorised interference in the program of the cash system of the filling station has occurred;

42.5. a special procedure in a program which controls saving of the data registered in the cash system of the filling station each time the cash system of the filling station is turned on, after each finished operation, and also in the case of the current voltage emergency decline. If the data saving is interfered with, the cash system of the filling station shall be automatically blocked;

42.6. saving of information specified for the Z statement in the non-volatile memory, if during the operation of the cash system of the filling station the supply of electricity is stopped unexpectedly;

42.7. information on the change of fuel prices on the control tape (except for the cash system for an automatic filling station);

42.8. information on the resupply of fuel on the electronic control tape;

42.9. that data regarding software change or modification would be registered in the cash system of the filling station or in XML format in the control data medium of an automatic filling station (Annexes 1 and 2);

42.10. printout of the changes in the configuration parameters specified in Sub-paragraph 42.2 of this Regulation on the cash receipt, X statement, Z statement, and electronic control tape;

42.11. the compliance of the information indicated on cash receipts, electronic control tapes and statements with the actual amount of fuel dispensed and registered in the cash system of the filling station and with prices;

42.12. operation in the advance or cash on delivery mode;

42.13. additional types of cash system - autonomous, central or integrated - are determined upon compiling control data in compliance with Sub-paragraph 1.5.3 in the second column of the table in Annex 1 to this Regulation. Depending on whether the filling cash system consists of one or multiple cash systems, one of the cash systems shall be set as the central cash system. For each cash receipt (transaction) along with the creation and saving thereof in the control file the integrated cash system shall also save the information referred to in Sub-paragraphs 3.1, 3.2, 3.3, and 3.4 in the second column of the table in Annex 1 to this Regulation.

[15 December 2015]

43. The cash system of a filling station, operating in the advance payment mode, shall ensure the following:

43.1. turning on of the automatic fuelling machine and issue of fuel in accordance with the amount of fuel ordered by a customer and registered (ordered) in the cash system of the filling station;

43.2. calculation of the amount of fuel issued automatically after the cashier operator (automatic fuelling machine of the cash system of the automatic filling station) has registered the number of the automatic fuelling machine and the amount of money received or the calculation of the value of fuel issued after the cashier operator (automatic fuelling machine of the cash system of the automatic filling station) has registered the number of the automatic fuelling machine, the price and amount of fuel;

43.3. cancellation of a registered transaction (cash receipt printed out originally) by the simultaneous printout of a cash receipt regarding the actual amount of fuel issued, if a customer cannot receive the amount of fuel ordered (except for the cash systems of an automatic filling station).

44. If in the cash system of a filling station there is an automatic fuelling machine with an independent programme, the cash system of the filling station shall ensure the control and registration of the actual amount of fuel issued by this automatic fuelling machine.

45. The cash system of a filling station shall ensure the indication of the following additional details in the X statement, Z statement and the non-volatile memory:

45.1. the name and address of the filling station;

45.2. the balance of each type of fuel in litres at the beginning of the Z statement period;

45.3. supplement of each type of fuel stock and also any changes (corrections) in the amount during the Z statement period at the time of the X statement or Z statement printout respectively;

45.4. the balance of each type of fuel in litres at the time of the printout of the X statement or Z statement respectively;

45.5. the sum total of fuel sold (dispensed) in monetary terms;

45.6. the value of each type of fuel sold (dispensed) in monetary terms and the amount in litres by types of payment and also the sum total of the registered transactions in monetary terms regarding each type of payment;

45.7. the sum total in monetary terms of the registered transactions for the goods sold and services provided (except for fuel), if the provision of other goods and services in the filling station is registered by using several integrated cash systems.

[15 December 2015]

46. The cash system of a filling station shall ensure the indication of the following additional details on the cash receipt:

46.1. the name and address of the filling station;

46.2. the automatic fuelling machine number;

46.3. the name, amount of fuel sold and the price per unit.

47. The cash system of an automatic filling station shall ensure the issue of a cash receipt to a customer upon his or her request. The cash system of an automatic filling station shall ensure the indication of the details to be included in the cash receipt, X statement and Z statement in the electronic control tape regardless of whether a customer has received a cash receipt. The cash system of an automatic filling station in addition to the requirements specified for the cash systems of filling stations shall ensure also record of face values received in cash.

48. [15 December 2015]

IV. Special Technical Requirements for Cash Registers, Hybrid Cash Registers and Cash Systems to be Used in Passenger Vehicles

49. Cash registers, hybrid cash registers and cash systems which comply with the provisions specified in Chapter II of this Regulation (optional application of Paragraph 31) and the following technical requirements shall be used in passenger vehicles, except for passenger taxis:

49.1. the document name "ticket" shall be specified instead of the document name "receipt" referred to in Sub-paragraph 23.2 of this Regulation;

49.2. ensure the indication of mandatory details in the ticket that are specified in the laws and regulations governing the field;

49.3. the details referred to in Sub-paragraphs 22.7 and 23.7 of this Regulation may not be indicated separately in the ticket, X statement and Z statement, but shall be included in the sum of a transaction, if it is determined by the laws and regulations governing the value added tax.

V. Technical Requirements for Specialised Devices and Equipment

50. A specialised device or equipment (electronic device or equipment) shall ensure the registration of a taxable transaction in separate types of economic activities and also the registration of taxes and other payments.

51. A specialised device or equipment to ensure fiscal surveillance - a taximeter - shall comply with the requirements specified in the laws and regulations regarding metrological requirements for measuring instruments and the procedures for the metrological control thereof, regarding passenger transportation with passenger taxis, regarding the verification of measuring instruments, verification certificates and verification marks, and shall be included in the State Register of Measuring Instruments (if a national type approval procedure has been performed for the taximeter).

52. An automatic vending machine shall ensure the selling of goods or the provision of services and the registration of a payment without the participation of a cashier operator. An automatic vending machine and the counter of income inserted therein or attached thereto shall comply with the requirements specified in this Regulation.

53. There shall be the following types of automatic vending machines:

53.1. automatic vending machines of piece-goods - automatic machines which issue piece-goods or pre-packaged goods for charge;

53.2. automatic vending machines of portions - automatic machines which issue for charge non-packed food product portions;

53.3. automatic vending machines for the provision of services - automatic machines which provide services for charge.

54. An automatic vending machine shall have the following accessories:

54.1. at least one of the counters of income referred to in Paragraph 55 of this Regulation which complies with the requirements specified in Paragraphs 56 and 57 of this Regulation;

54.2. a display for the indication of the price for goods and services, the payment received and other information. A display shall be placed in such a way so that the customer (recipient of a service) may view the information indicated on the display;

54.3. a key with which the return of money balance is ensured to a customer, if the counter of income placed in the automatic vending machine operates with cash face values;

54.4. a programme which ensures the retaining of information registered in the counter of income, which is placed in the automatic vending machine or attached thereto, in the summary memory.

55. There are the following types of counters of income of automatic vending machines:

55.1. counters of income of coins and tokens;

55.2. counters of income of notes;

55.3. counters of income of magnetic stripe cards;

55.4. counters of income of smart cards;

55.5. other counters of income of non-cash payments.

56. The counter of income of an automatic vending machine shall be equipped with a mechanism which ensures the issue of a cash balance, if the counter of income operates with two or more cash face values.

57. The counter of income of an automatic vending machine shall ensure:

57.1. the storage of the following information in the summary memory, if the counter of income operates with two or more face values:

57.1.1. a sum total of payments received during the whole day (period) (aggregate) - in 99,999.99 money units of the Republic of Latvia;

57.1.2. a sum total regarding each type of goods sold (services provided) during a day (period) - in 99,999.99 money units of the Republic of Latvia;

57.1.3. the total summary memory indicator - in 99,999.99 money units of the Republic of Latvia;

57.2. the storage of the following information in the summary memory, if the counter of income operates with one face value:

57.2.1. the total number of units sold (services provided) during a day (period) - 999,999 pieces;

57.2.2. one reference value;

57.2.3. the total summary memory indicator - 999,999 pieces;

57.3. appropriate record of all goods issued (services provided) in a summary memory, if the counter of income records the units sold;

57.4. an appropriate record of all payments received in a summary memory, if the counter of income records the sum total of payments received;

57.5. identification of the payment instrument;

57.6. irrevocability and indelibility of indicators without the damaging of seals;

57.7. a special procedure for the control of data saving in a summary memory each time an automatic vending machine (automatic machine for the provision of a service) is switched on after the current voltage emergency decline.

58. A specialised device or equipment shall ensure the reading of data stored in a summary memory of the income counter from the display of an automatic vending machine or printout thereof (if it is provided for in the design thereof).

59. A specialised device or equipment (if it is provided for in a design) shall print out a cash receipt in which the details referred to in Paragraph 23 of this Regulation, except for the details referred to in Sub-paragraphs 23.11 and 23.12, are indicated. A taximeter shall print out the cash ticket, ensuring the indication of details specified in the laws and regulations regarding passenger transportation with passenger taxis.

60. The seals shall be placed on an automatic vending machine in such a way that it is not possible to arbitrarily change the design of the automatic vending machine and to make unauthorised adjustments of the counter of income and they have been attached to:

60.1. the counter of income;

60.2. all junctures with the counter of income.

61. The seals shall be placed on a taximeter in such a way that it is not possible to arbitrarily change the design thereof and perform unauthorised adjustment of the counter.

62. There shall be an indelible chassis number on the counter of income of an automatic vending machine assigned by the manufacturer or a number assigned by a maintenance service, if it has not been assigned by the manufacturer.

63. An indelible chassis number shall be on the case of a specialised device or equipment.

VI. Technical Requirements for Electronic Control Tape

[15 December 2015]

64. The data of the electronic control tape shall be stored in the non-volatile memory of the cash register, hybrid cash register or cash system.

[15 December 2015]

64.1 The name of the electronic control tape file shall be formed according to the formation date of the checksum of the electronic control tape and it shall consist of eight digits (the initial four digits shall specify the year, the next two - the month, whereas the final two - the day) and the number of the Z statement.

[15 December 2015]

65. The electronic control tape of the cash register, hybrid cash register and cash system shall ensure the following:

65.1. precise indication and recording, saving and storage of all created and printed out documents and events, including cash receipts, X statements and Z statements, on the electronic control tape simultaneously with the creation of cash receipts, X statement and Z statement and other documents;

65.2. the capacity of data medium with regard to the storage of information on the electronic control tape for at least three years;

65.3. an option to create a copy of the electronic control tape data recorded in the equipment, and also to display this information on a computer screen (display) and to print out in text format in accordance with the printed out documents upon request of an official of the State Revenue Service for the period of time necessary for verification.

[15 December 2015]

66. There shall be the following requirements for a cash register:

66.1. the electronic control tape shall be kept in the non-volatile data medium of the cash register that is located in the cash register with an electronic control tape;

66.2. the backup copy of the electronic control tape for the accounting period shall be created at least once a day after the printing out of the Z statement;

66.3. the structure shall ensure the saving of the data of the electronic control tape saved and stored in its non-volatile memory on the data medium by using a USB (Type A) or Firewire 800/400, or RS232 port or on the computer connected to the cash register. If the cash register with an electronic control tape has a RS232 port, it shall be ensured that upon connecting a computer it would be possible to copy the information stored in the cash register with an electronic control tape and also to display this information on a computer screen (display) and to print out in standard text format upon request of an official of the State Revenue Service for the period of time necessary for verification.

[15 December 2015]

67. The precise recording, saving and storage of all printed out cash receipts, X statements and Z statements on the electronic control tape of the cash register, hybrid cash register and cash system shall be ensured simultaneously with the printing out of cash receipts, X statements and Z statements.

68. The data on the electronic control tape shall be saved in at least two respective autonomous data storage media of electronic information:

68.1. the non-volatile electronic control tape memory of the cash register, hybrid cash register and cash system;

68.2. the external non-volatile memory device which is located outside the cash register and hybrid cash register, whereas for the cash system - on a backup copy on the non-volatile memory outside the cash system.

69. [15 December 2015]

70. The backup copy of the electronic control tape (on the external non-volatile memory) shall ensure the following to the cash registers, hybrid cash registers and cash systems:

70.1. saving of the reproduction of the printed out documents in text format in order to ensure a possibility to verify the conformity of SHA-1 checksum calculated for documents and statements from the saved information of the control tape;

70.2. calculation of Hash SHA-1 checksum of each document and statement of the saved electronic control tape by using the Hash calculator, display of data on a computer screen (display) and making of copies and printing out in text format upon request of an official of the State Revenue Service for the period of time necessary for verification.

[15 December 2015]

71. The operations of the cash register with an electronic control tape, hybrid cash register and cash system shall be automatically blocked, if:

71.1. the function which ensures the saving of the control tape data in the non-volatile memory has been deactivated or a technical problem has occurred and it is not possible to save the data in the electronic control tape data medium;

71.2. the non-volatile memory is completely full.

[15 December 2015]

VII. Closing Provisions

72. Cabinet Regulation No. 133 of 20 February 2007, Regulations Regarding Technical Requirements for Electronic Devices and Equipment for the Registration of Taxes and Other Payments (Latvijas Vēstnesis, 2007, No. 33; 2009, No. 133; 2012, No. 106; 2013, No. 198), is repealed.

73. The use of cash registers, hybrid cash registers or cash systems in accordance with the requirements specified in this Regulation shall be started not later than from 1 January 2017.

[15 December 2015]

73.1 The use of cash registers, hybrid cash registers or cash systems in accordance with the requirements specified in this Regulation in passenger transport vehicles (except for passenger taxis) and ticket marketplaces and also by the participants of the In-depth Cooperation Programme shall be started not later than from 1 January 2019.

[10 January 2017]

74. Cash registers and cash systems which comply with the requirements specified in Cabinet Regulation No. 133 of 20 February 2007, Regulations Regarding Technical Requirements for Electronic Devices and Equipment for the Registration of Taxes and Other Payments, may be registered at the State Revenue Service and used by 31 December 2016, except for the case referred to in Paragraphs 74.1 and 74.2 of this Regulation.

[15 December 2015; 10 January 2017]

74.1 The participants of the In-depth Cooperation Programme may register cash registers and cash systems which comply with the requirements specified in Cabinet Regulation No. 133 of 20 February 2007, Regulations Regarding Technical Requirements for Electronic Devices and Equipment for the Registration of Taxes and Other Payments, at the State Revenue Service and use them by 31 December 2018.

[15 December 2015; 10 January 2017]

74.2 Cash registers and cash systems for the registration of transactions in passenger transport vehicles (except for passenger taxis) and ticket marketplaces which comply with the requirements specified in Cabinet Regulation No. 133 of 20 February 2007, Regulations Regarding Technical Requirements for Electronic Devices and Equipment for the Registration of Taxes and Other Payments, may be registered at the State Revenue Service and used by 31 December 2018.

[10 January 2017]

75. [15 December 2015]

76. A user may use the cash registers with a paper control tape referred to in Paragraph 4.2 of this Regulation that comply with the requirements specified in this Regulation and that are registered in the unified database (register) of the State Revenue Service by 31 December 2016.

[15 December 2015]

Informative Reference to European Union Directives

The legal norms have been coordinated with the European Commission and European Union Member States in accordance with Directive 98/34/EC of the European Parliament and of the Council of 22 June 1998 laying down a procedure for the provision of information in the field of technical standards and regulations and Directive 98/48/EC of the European Parliament and of the Council of 20 July 1998 amending Directive 98/34/EC laying down a procedure for the provision of information in the field of technical standards and regulations.

Prime Minister Laimdota Straujuma

Minister for Finance Andris Vilks

 

Revised by the Ministry of Finance

Annex 1
Cabinet Regulation No. 95
11 February 2014

Description of Control Data Fields by Using UNICODE UTF-8 Encoding

[15 December 2015]

1. The control file shall be created in accordance with the table (see the table below) in one of the following formats: XML or CSV.

2. The possible types of documents are as follows: initialisation, transaction, cash, Z statement, X statement, non-fiscal document.

3. The file shall be always created by using the document "initialisation" which is created after closing the previous file, taking Hash and the entry number of the last document. The file shall be closed after Z statement is prepared. The file name shall be formed in accordance with the eight digits of the creation date of the file (the initial four digits shall specify the year, the next two - the month, whereas the final two - the day) and the number of Z statement.

4. The file shall be supplemented every time the cash system creates (prints out) a document printout or a statement (documents of other type cannot be created, any document or printout which is intended to be created or printed out must comply with any of the specified document printout or statement types).

5. Hash calculation for the document printout and statement shall be made from all fields linked with the relevant document and specified in the field SHA of the table, and additionally from the fields of the first section from 1.4 to 1.5.3 and 8.1 (the calculations shall be made in ascending sequence of the field numbers of Annex 1) or also from the total volume of the entire information included in the document (in such case, upon registering the cash system, it is necessary to submit a precise Hash calculation algorithm which must be verifiable and repeatable and also Hash calculation shall be made in accordance with this algorithm).

6. Additional cash system types have been determined for filling stations - autonomous, central or integrated. Depending on whether the filling cash system consists of one or multiple cash systems, one of the cash systems shall be set as the "central" cash system. For each cash receipt (transaction) an integrated cash system along with the creation and saving thereof in the control file shall send additionally the information specified in sub-paragraphs 3.1 to 3.4 of the fields in the third section to the cash system which has been set as the "central" cash system.

7. In all control files, Hash of all document printouts and statements shall form an uninterrupted Hash chain which cannot be disrupted.

Description for Saving Control Data in CSV Format

1. The information shall be stored in files. An individual file shall be created for each accounting period.

2. Data stored in files shall be arranged in lines.

3. The end of the line shall be indicated by using the control code 10 (LF) or 13 and 10 (LF CR) of the ASCII table.

4. Each line shall consist of a single entry.

5. Each entry shall consist of multiple data fields separated by a comma (ASCII code 44).

6. If the data field contains quotation marks (ASCII code 34), they shall be replaced with double quotation marks (ASCII code 34 twice).

7. If the information of the data field contains a comma (ASCII code 44), the entire content of this field shall be inserted in quotation marks (ASCII code 34).

8. The value of each data field byte cannot be placed outside the range of ASCII codes 32 and 255.

9. The zero position of each entry shall contain and entry identification number followed by data fields in the subsequent fields in accordance with the position specified in line "ID No. / Entry position" of the table.

10. Upon initiating the drawing up (printing out) of a document by a cash system, the completion of the file is started with an entry with an identification number equal to zero (0). Upon concluding the drawing up (printing out) of a document, an entry with an identification number equal to ten (10) shall be made in the file.

11. All entries between entries with the identification number zero (0) and ten (10) must be positioned in accordance with the sequence specified in the table.

#

No. ID No. / Entry position Description Field Format Possible values Mandatory nature SHA
1 0.   Data of a cash system document dokuments - - Mandatory, 1-... copies  
2 0.1. 0 / 1 Sequential number of a cash system control file document ieraksta_nr positiveInteger   Mandatory X
3 0.2. 0 / 2 Date and time of drawing up the document dok_laiks dateTime   Mandatory X
4 0.3. 0 / 3 Type of document: initialisation, cash, transaction, non-fiscal document, X statement or Z statement dok_veids string(16) "inicializācija" | "nauda"

| "darījums" | "nefiskāls"

| "Z pārskats" | "X pārskats"

Mandatory X
5 0.4. 0 / 4 Title of the document which is printed out in the header of the receipt. May coincide with the document operation. dok_nosaukums string(25)   Mandatory X
6 0.5. 0 / 5 Activity name depending on the type of document, in the case of "non-fiscal" if it is determined by the user, if the type is "cash", the activity name shall be "insetting", "collection", "pay-out" or "small coinage", if the type is "transaction", respectively "sale" or "repayment" dok_operacija string(16) ja dok_veids="Z pārskats"

vai "X pārskats": <vērtība netiek norādīta>

ja dok_veids="inicializācija": "patstāvīga"|"galvenā"|"iekļautā"|

"ks_ieslēgšana"|"ks_izslēgšana"

ja dok_veids="nefiskāls":

"starprēķins"|<*>

ja dok_veids="nauda": "ielikšana"|"inkasācija"|"izmaksa"

|"maiņas nauda"

ja dok_veids="darījums": "pārdošana"|"atgriešana"

Mandatory X
7 0.6. 0 / 6 Document (initialisation, cash, transaction, X statement, Z statement or non-fiscal document) number dok_numurs positiveInteger   Mandatory X
8 1.   Cash system control file kases_sistema - - ja dok_veids="inicializācija" & dok_operacija=

"patstāvīga"| "galvenā" - Mandatory, 1 copy, first document.

 
9 1.1. 1 / 1 The file name shall be formed after saving the previous cash system file after the Z statement is included therein, identifier, date of eight digits (the initial four digits shall specify the year, the next two - the month, whereas the final two - the day) and the number of Z statement datnes_nosaukums string(16)   Mandatory X
10 1.2. 1 / 2 Date and time of creating the file datnes_datums dateTime   Mandatory X
11 1.3. 1 / 3 Name (code) of the currency of the Republic of Latvia in ISO format uzskaites_valuta string(3)   Mandatory X
12 1.4.   Information on the user lietotajs -   Mandatory, 1 copy  
13 1.4.1. 1 / 4 Taxpayer registration code of the user reg_numurs string(11)   Mandatory X
14 1.4.2. 1 / 5 The number of a person taxable with value added tax assigned to the user by the State Revenue Service, if such has been assigned nod_numurs string(13)   Mandatory X
15 1.4.3. 1 / 6 The name of the user (for a private individual - given name, surname) uzn_nosaukums string(256)   Mandatory X
16 1.4.4.   Information on the addresses of the user adreses -   Mandatory, 1 copy  
17 1.4.4.1. 1 / 7 Legal address of the user (declared place of residence for a private individual) reg_adrese string(256)   Mandatory X
18 1.4.4.2. 1 / 8 The address of the place of trade or provision of a service of the user, name of the filling station veikala_adrese string(256)   Mandatory X
19 1.5.   Data of a cash system kases_dati - - Mandatory, 1 copy  
20 1.5.1. 1 / 9 Name of a cash system determined by the user kases_nosaukums string(16)   Mandatory  
21 1.5.2. 1 / 10 Cash system identification code kases_sistemas_nr string(25)   Mandatory X
22 1.5.3. 1 / 11 Type of cash system: The type to be specified for a filling station cash system may be autonomous, central or integrated, in all other cases - autonomous kases_veids string(16) "patstāvīga" |"galvenā"|"iekļautā" Mandatory X
23 1.5.4.   Information on software kases_sistemprogr -   Mandatory, 1 copy  
24 1.5.4.1. 1 / 12 Name of the software progr string(256)   Mandatory X
25 1.5.4.2. 1 / 13 Name of the software developer prog_autors string(256)   Mandatory  
26 1.5.4.3. 1 / 14 Software version modif string(16)   Mandatory X
27 1.5.4.4. 1 / 15 Date and time of software installation or modification prog_modif_datums dateTime   Mandatory X
28 1.5.4.5. 1 / 16 SHA-256 checksum of software prog_SHA hexBinary(64)   Mandatory  
29 2.   Link to the initialisation document of the integrated filling station cash control file ieklauta_sistema_init -   ja dok_veids="inicializācija" &dok_operacija="iekļauta"

- Not mandatory, 1 copy

 
30 2.1. 2 / 1 Sequential number of the initialisation document of the integrated filling station cash control file (Sequential number of the relevant cash file No. 0.1 respectively) iekl_datnes_nr positiveInteger   Mandatory X
31 2.2. 2 / 2 Name of the integrated file datnes_nosaukums string(256)   Mandatory X
32 2.3. 2 / 3 Identifier of the integrated filling station cash system assigned by the user iekl_kases_nosaukums string(16)   Mandatory X
33 2.4. 2 / 4 Hash of integrated cash initialisation document iekl_SHA hexBinary(64)   Mandatory X
34 3.   Link to the document of the integrated filling station cash control file ieklauta_sistema_dok -   Not mandatory, 1-... copies  
35 3.1. 3 / 1 Sequential number of the initialisation document of the integrated filling station cash control file (Sequential number of the relevant cash file No. 0.1 respectively) init_saite_ieraksta_nr positiveInteger   Mandatory X
36 3.2. 3 / 2 Sequential number of the document of the integrated filling station cash control file iekl_ieraksta_nr positiveInteger   Mandatory X
37 3.3. 3 / 3 Document sum summa decimal(15.2)   Mandatory X
38 3.4. 3 / 4 Integrated document Hash iekl_SHA hexBinary(64)   Mandatory X
39 4.   Information on the document client (customer) klients -   ja dok_veids="nauda"| "darījums" vai

dok_operacija="starprēķins"

- Not mandatory, 1 copy

 
40 4.1. 4 / 1 Taxpayer registration code of the client reg_numurs string(11)   Mandatory X
41 4.2. 4 / 2 The number of a person taxable with value added tax assigned to the client by the State Revenue Service, if such has been assigned nod_numurs string(13)   Mandatory X
42 4.3. 4 / 3 Name of the establishment of the client (for a private individual - given name, surname) klient_nosaukums string(256)   Mandatory X
43 4.4. 4 / 4 Legal address of the establishment of the client (for a private individual - declared place of residence) klient_adrese string(256)   Mandatory X
44 5.   Description of all goods/services in the receipt ceka_preces - - ja dok_veids="darījums" vai

dok_operacija="starprēķins"

- Mandatory, 1 copy

 
45 5.1.   Goods/service (information on each) prece - - Mandatory, 1... copy  
46 5.1.1. 5 / 1 Name of the remuneration for goods/service or position for the activities specified in laws and regulations preces_nosaukums string(250)   Mandatory X
47 5.1.2. 5 / 2 Goods/service code, if such is used preces_kods string(25)   Not mandatory X
48 5.1.3. 5 / 3 Section number or name to which the relevant goods/service applies to nodala string(25) - Mandatory X
49 5.1.4. 5 / 4 Price per unit cena decimal(15.4)   Mandatory X
50 5.1.5. 5 / 5 Quantity of items daudzums decimal(15.4)   Mandatory X
51 5.1.6. 5 / 6 Name of the quantitative unit (unit of measurement) mervieniba string(5)   Mandatory X
52 5.1.7. 5 / 7 Multiplication of the quantity and price of goods/service preces_summa decimal(15.2)   Mandatory X
53 5.1.8. 5 / 8 The discounts granted in monetary terms to goods/service, if any atlaide decimal(15.2)   Not mandatory X
54 5.1.9. 5 / 9 In accordance with the requirements specified in Section 18, Paragraph five, Clause 5 of the Value Added Tax Law the discounts granted in monetary terms, if any. akcize decimal(15.2)   Not mandatory X
55 5.1.10.   VAT of goods/service pvn - - Not mandatory  
56 5.1.10.1. 5 / 10 The mark of the value added tax (number, letter or other attribute indicating that the relevant goods (service) or a group of goods (services) are subject to the certain rate of tax or not subject to tax) pvn_nosaukums string(1)   Mandatory X
57 5.1.10.2. 5 / 11 The applied value added tax rate pvn_likme decimal(15.2)   Mandatory X
58 5.2. 5 / 12 Additional data defined by the user about the relevant goods/service that are printed out on the receipt, which in the case of a filling station cash system is the pump number and other information specified by the user according to the discretion of the user, if there is such information preces_parametri - - Not mandatory, 1 copy X
59 6.   Cash operations dok_valutas - - ja dok_veids="nauda" - Mandatory, 1 copy  
60 6.1.   Cash operation dok_valuta -   Mandatory, 1... copy  
61 6.1.1. 6 / 1 Cash operation sum summa decimal(15.2)   Mandatory X
62 6.1.2. 6 / 2 Currency name (code) in ISO format valutas_kods string(3)   Mandatory X
63 7.   Information of the sum total of receipt purchases ceka_kopsumma - - ja dok_veids="darījums" vai

dok_operacija="starprēķins"

- Mandatory, 1 copy

 
64 7.1. 7 / 1 GrandTotal counter condition by including the value of the specific transaction grand_total decimal(15.2)   Mandatory X
65 7.2. 7 / 2 Sum total of discounts atlaide decimal(15.2)   Not mandatory X
66 7.3. 7 / 3 The amount in cash changed upon payment (currency of the Republic of Latvia) ceka_atlikums decimal(15.2)   Not mandatory X
67 7.4. 7 / 4 Sum total of the transaction ceka_summa decimal(15.2)   Mandatory X
68 7.5.   Taxes nodokli - - Mandatory, 1 copy  
69 7.5.1.   VAT (for each rate) pvn - - Not mandatory, 1-... copies  
70 7.5.1.1. 75 / 1 The mark of the value added tax (number, letter or other attribute indicating that the relevant goods (service) or a group of goods (services) are subject to the certain rate of tax or not subject to tax) pvn_nosaukums string(1)   Mandatory X
71 7.5.1.2. 75 / 2 The applied value added tax rate pvn_likme decimal(15.2)   Mandatory X
72 7.5.1.3. 75 / 3 Sum total of all value added tax amounts (goods, service) registered in a single transaction in monetary terms pvn_summa decimal(15.2)   Mandatory X
73 7.6.   Types of payment of the transaction ceka_norekinu_veidi - - Mandatory, 1 copy  
74 7.6.1.   Type of payment of the transaction ceka_norekinu_veids - - Mandatory, 1-... copies  
75 7.6.1.1 76 / 1 Type of payment: in cash or in non-cash payments ceka_norekinu_veids string(16) "skaidra"|"bezskaidra" Mandatory X
76 7.6.1.2. 76 / 2 Name of the type of payment defined by the user apmaksas_nosaukums string(16)   Mandatory X
77 7.6.1.3.   Information on the currency of the transaction ceka_valuta - - Mandatory, 1 copy  
78 7.6.1.3.1. 76 / 3 Currency sum of the purchase transaction for the given payment type valutas_summa decimal(15.2)   Mandatory X
79 7.6.1.3.2. 76 / 4 Currency name (code) in ISO format valutas_kods string(3)   Mandatory X
80 7.6.1.3.3. 76 / 5 Currency rate valutas_kurss decimal(15.6)   Not mandatory, 1 copy  
81 7.6.1.3.4. 76 / 6 sum total of an equivalent of the currency in the monetary units of the Republic of Latvia valutas_ekv decimal(15.2)   Mandatory, 1 copy X
82 8.   Z statement information z_parskats - - ja dok_veids="Z pārskats" - Mandatory, 1 copy  
83 8.1. 8 / 1 Grand Total of the saved and registered payment from the moment the use of the cash system was started, which is supplemented after each transaction (receipt), except for repayment transactions and the annulment of receipts grand_total decimal(15.2)   Mandatory X
84 8.2. 8 / 2 Sum total of discounts atlaides decimal(15.2)   Mandatory X
85 8.3. 8 / 3 Sum total of repayment transactions atgriezts decimal(15.2)   Mandatory X
86 8.4. 8 / 4 Sum total of annulled transactions, including the money returned for the annulled transactions anulets decimal(15.2)   Mandatory X
87 8.5. 8 / 5 Sum total of the issued intermediate bills starprekini decimal(15.2)   Mandatory X
88 8.6. 8 / 6 The number of times the money box has been opened naudas_kastes_atv_reiz_sk positiveInteger   Mandatory  
89 8.7   Taxes nodokli - - Mandatory, 1 copy  
90 8.7.1   VAT (for each rate) pvn - - Not mandatory, 1... copy  
91 8.7.1.1. 87 / 1 The mark of the value added tax (number, letter or other attribute indicating that the relevant goods (service) or a group of goods (services) are subject to the certain rate of tax or not subject to tax) pvn_nosaukums string(1)   Mandatory X
92 8.7.1.2. 87 / 2 The applied value added tax rate pvn_likme decimal(15.2)   Mandatory X
93 8.7.1.3. 87 / 3 VAT sum pvn_summa decimal(15.2)   Mandatory X
94 8.7.1.4. 87 / 4 VAT taxable sum pvn_apliek_summa decimal(15.2)   Mandatory X
95 8.8.   Information on currencies valutas - - Mandatory, 1 copy  
96 8.8.1.   Information on the specific currency (for each currency) valuta - - Not mandatory, 1... copy  
97 8.8.1.1. 88 / 1 Currency name valutas_kods string(3)   Mandatory X
98 8.8.1.2.   Cash operations naudas_operacijas - - Mandatory, 1 copy  
99 8.8.1.2.1. 88 / 2 total input small coinage during the Z period that is not received from the settled transactions, but is intended for ensuring the registration of transactions mainas_nauda decimal(15.2)   Mandatory X
100 8.8.1.2.2. 88 / 3 total encashment money amount during the Z statement period that is paid into the cash register of the establishment or that is transferred to the account of the establishment in a credit institution, or transferred to the collector inkas_nauda decimal(15.2)   Mandatory X
101 8.8.1.2.3. 88 / 4 total input money during the Z period that is not received from the settled transactions, excluding small coinage ielikts decimal(15.2)   Mandatory X
102 8.8.1.2.4. 88 / 5 total amount paid out during the Z statement period, if any izmaksa decimal(15.2)   Mandatory X
103 8.9.   Information on Z statement payment types z_norekinu_veidi - - Mandatory, 1 copy  
104 8.9.1.   Z statement payment types (for each type) z_norekinu_veids - - Mandatory, 1... copy  
105 8.9.1.1. 891 / 1 Type of payment: in cash or in non-cash payments z_norekinu_veids string(16) "skaidra"|"bezskaidra" Mandatory X
106 8.9.1.2. 891 / 2 Name of the payment type z_apmaksa_nosauk string(16)   Mandatory X
107 8.9.1.3. 891 / 3 Sum total of the transactions registered in the respective payment type kopsumma decimal(15.2) - Mandatory, 1 copy X
108 8.9.1.4.   The division of sum total of the registered transactions in monetary terms according to sections z_nodalas - - Not mandatory, 1... copy  
109 8.9.1.4.1. 892 / 1 section number or name z_nodala string(25)   Mandatory X
110 8.9.1.4.2. 892 / 2 Sum total of the registered transactions in monetary terms in the relevant section kopsumma decimal(15.2) - Mandatory X
111 8.10.   Additional information for fuel systems degvielas - - Not mandatory, 1 copy  
112 8.10.1. 810 / 1 Configuration in which the compliance of the automatic fuelling machine number with the type of fuel to be sold, price for one litre of fuel and number of pulses on one litre of fuel shall be ensured, if the cash system of the filling station works in the pulse read-out mode degv_aut_konf string(256)   Mandatory X
113 8.10.2.   Information on the relevant fuel type for each fuel type degviela - - Mandatory, 1... copy  
114 8.10.2.1. 8102 / 1 Name of fuel degv_nosaukums string(5)   Mandatory X
115 8.10.2.2. 8102 / 2 the balance of the type of fuel in litres at the beginning of the Z statement period degv_sakums decimal(15.2)   Mandatory X
116 8.10.2.3. 8102 / 3 the balance of the type of fuel in litres at the moment of printing out the Z statement degv_beigas decimal(15.2)   Mandatory X
117 8.10.2.4. 8102 / 4 supplement of the type of fuel stock and also any changes (corrections) in the amount during the Z statement period in litres degv_korekcija decimal(15.2)   Mandatory X
118 8.10.2.5.   Price periods cenas_periodi -   Mandatory, 1 copy  
119 8.10.2.5.1.   Price period cenas_periods -   Mandatory, 1... copy  
120 8.10.2.5.1.1. 81025 / 1 Date and time of the start of the price period laiks_no dateTime   Mandatory X
121 8.10.2.5.1.2. 81025 / 2 Date and time of the end of the price period laiks_lidz dateTime   Mandatory X
122 8.10.2.5.1.3. 81025 / 3 Fuel price degv_cena decimal(15.4)   Mandatory X
123 8.10.2.6.   Information on payment types norekinu_veidi - - Not mandatory, 1 copy  
124 8.10.2.6.1.   Payment types (for each payment type) norekinu_veids - - Mandatory, 1... copy  
125 8.10.2.6.1.1. 81026 / 1 Type of payment: in cash or in non-cash payments norekinu_veids string(16) "skaidra"|"bezskaidra" Mandatory X
126 8.10.2.6.1.2. 81026 / 2 Name of the payment type apmaks_nosaukums string(16)   Mandatory X
127 8.10.2.6.1.3.   Fuel throughput z_apgrozijums - - Mandatory, 1 copy  
128 8.10.2.6.1.3.1. 81026 / 3 The value of the type of fuel sold (dispensed) in monetary terms z_summa decimal(15.2)   Mandatory X
129 8.10.2.6.1.3.2. 81026 / 4 Quantity of the type of fuel sold (dispensed) in litres z_apjoms decimal(15.2)   Mandatory X
130 8.10.2.7. 8102 / 5 Discounts in monetary terms z_akcize decimal(15.2)   Not mandatory, 1 copy X
131 8.11.   Accounting of returned receipts atgrieztie_ceki -   Not mandatory, 1 copy  
132 8.11.1.   Returned receipt atgriezts_ceks -   Mandatory, 1... copy  
133 8.11.1.1. 811 / 1 Returned receipt number dok_numurs positiveInteger   Mandatory X
134 8.12.   Accounting of annulled receipts anuleti_ceki -   Not mandatory, 1 copy  
135 8.12.1.   Annulled receipt anulets_ceks -   Mandatory, 1... copy  
136 8.12.1.1. 812 / 1 Annulled receipt number dok_numurs positiveInteger   Mandatory X
137 8.12.1.2. 812 / 2 Annulment date and time anul_laiks dateTime   Mandatory X
138 8.13.   Accounting of receipt forms issued for receipts cekam_kvits -   Not mandatory, 1 copy  
139 8.13.1.   Receipt form issued to for a receipt ceka_kvits -   Mandatory, 1... copy  
140 8.13.1.1. 813 / 1 receipt number for which a receipt form has been issued dok_numurs positiveInteger   Mandatory X
141 8.13.1.2. 813 / 2 Date and time of the issuing of the receipt form kvits_laiks dateTime   Mandatory X
142 8.14.   Currency purchase and sale transactions valutas_darijumi     Not mandatory, 1 copy  
143 8.14.1. 814 / 1 The sum of all currencies purchased during the Z statement period recalculated in the monetary units of the Republic of Latvia pirk_ekv decimal(15.2)   Mandatory X
144 8.14.2. 814 / 2 The sum of all currencies sold during the Z statement period recalculated in the monetary units of the Republic of Latvia pard_ekv decimal(15.2)   Mandatory X
145 8.14.3. 814 / 3 The result of currency purchase and sale transactions dienas_rez decimal(15.2)   Mandatory X
146 8.15.   System initialisation accounting init_dokumenti -   Mandatory, 1 copy  
147 8.15.1.   Initialisation document init_dokuments -   Mandatory, 1... copy  
148 8.15.1.1. 815 / 1 Initialisation document number dok_numurs positiveInteger   Mandatory X
149 8.15.1.2. 815 / 2 Date and time of the initialisation document init_laiks dateTime   Mandatory X
150 9. 9 / 1 Additional information of the user on the document that is not specified in the separate data fields. parametri - - Not mandatory, 1 copy

Mandatory, 1 copy ja dok_veids=

"nefiskālais dokuments"|"X pārskats"

X
151 10.   Document Hash dokumenta_SHA -   Mandatory, 1 copy  
152 10.1. 10 / 1 Previous document Hash iepr_dok_SHA hexBinary(64)   Mandatory, 1 copy X
153 10.1.1. 10 / 2 Entry number of the previous document iepr_ieraksta_nr positiveInteger   Mandatory X
154 10.2. 10 / 3 Document Hash dok_SHA hexBinary(64)   Mandatory, 1 copy  
155 11.   Electronic signature e_paraksts -   Not mandatory.

(Mandatory after

a specialised device issued by the State Revenue Service is placed in the cash system (smart card module)).

 

Revised by the Ministry of Finance

 

Annex 2
Cabinet Regulation No. 95
11 February 2014

[15 December 2015]

Revised by the Ministry of Finance

 

Annex 3
Cabinet Regulation No. 95
11 February 2014

[15 December 2015]

0,<ieraksta_nr>,<dok_laiks>,<dok_veids>,<dok_nosaukums>,<dok_operacija>,<dok_numurs>

1,<datnes_nosaukums>,<datnes_datums>,<uzskaites_valuta>,<reg_numurs>,<nod_numurs>,<uzn_nosaukums>,<reg_adrese>,<veikala_adrese>,<kases_nosaukums>,<kases_sistemas_nr>,<kases_veids>,<progr>,<prog_autors>,<modif>,<prog_modif_datums>,<prog_SHA>

2,<iekl_datnes_nr>,<datnes_nosaukums>,<iekl_kases_nosaukums>,<iekl_SHA>

3,<init_saite_ieraksta_nr>,<iekl_ieraksta_nr>,<summa>,<iekl_SHA>

4,<reg_numurs>,<nod_numurs>,<klient_nosaukums>,<klient_adrese>

5,<preces_nosaukums>,<preces_kods>,<nodala>,<cena>,<daudzums>,<mervieniba>,<preces_summa>,<atlaide>,<akcize>,<pvn_nosaukums>,<pvn_likme>,<preces_parametri>

6,<summa>,<valutas_kods>

7,<grand_total>,<atlaide>,<ceka_atlikums>,<ceka_summa>

75,<pvn_nosaukums>,<pvn_likme>,<pvn_summa>

76,<ceka_norekinu_veids>,<apmaksas_nosaukums>,<valutas_summa>,<valutas_kods>,<valutas_kurss>,<valutas_ekv>

8,<grand_total>,<atlaides>,<atgriezts>,<anulets>,<starprekini>,<naudas_kastes_atv_reiz_sk>

87,<pvn_nosaukums>,<pvn_likme>,<pvn_summa>,<pvn_apliek_summa>

88,<valutas_kods>,<mainas_nauda>,<inkas_nauda>,<ielikts>,<izmaksa>

891,<z_norekinu_veids>,<z_apmaksa_nosauk>,<kopsumma>

892,<z_nodala>,<kopsumma>

810,<degv_aut_konf>

8102,<degv_nosaukums>,<degv_sakums>,<degv_beigas>,<degv_korekcija>,<z_akcize>

81025,<laiks_no>,<laiks_lidz>,<degv_cena>

81026,<norekinu_veids>,<apmaks_nosaukums>,<z_summa>,<z_apjoms>

811,<dok_numurs>

812,<dok_numurs>,<anul_laiks>

813,<dok_numurs>,<kvits_laiks>

814,<pirk_ekv>,<pard_ekv>,<dienas_rez>

815,<dok_numurs>,<init_laiks>

9,<parametri>

10,<iepr_dok_SHA>,<iepr_ieraksta_nr>,<dok_SHA>

Example:

Initialisation

==========

0,1,07.01.2015 08:09:12,inicializācija,init,patstāvīga,1

1,201501071,07.01.2015 08:09:12,EUR,4000054321,4000054321,SIA MICRO,"Rīga, Smilšu iela",Smilšu iela 16,POS,1234567890,patstāvīga,POS,SIA,1.0.0,12.12.2014 10:23:52,123456ABCDEF1234

10,0000000000000000,0,1111111111111111

Pirkums 1

==========

0,2,07.01.2015 09:27:20,darījums,čeks,pārdošana,1

4,4000012345,4000012345,SIA ABC,"Rīga, Dārzu 320"

5,Prece Test 1,1111,1,1.00,2,gab,2.00,0.00,0.00,A,21.00,

5,Prece Test 2,2222,1,1.23,1,gab,1.23,0.00,0.00,B,12.00,

7,0.00,0.00,1.77,3.23

75,A,21.00,0.35

75,B,12.00,0.13

76,skaidra,Cash,5.00,EUR,1.00000,5.00

10,1111111111111111,1,0123456789ABCDEF

Pirkums 2

==========

0,3,07.01.2015 09:41:20,darījums,čeks,pārdošana,2

5,Prece Test 3,3333,1,2.00,1,gab,2.00,0.00,0.00,A,21.00,

7,3.23,0.00,0.00,2.00

75,A,21.00,0.35

76,skaidra,Cash,2.00,EUR,1.00000,2.00

10,0123456789ABCDEF,2,FEDCBA9876543210

Z-pārskats

==========

0,4,07.01.2015 10:03:12,Z pārskats,Z1,,1

8,5.23,0.00,0.00,0.00,0.00,2

87,A,21.00,0.70,4.00

87,B,12.00,0.13,1.23

891,skaidra,Cash,5.23

10,FEDCBA9876543210,3,FEDCBA1111111111

Revised by the Ministry of Finance

 

Annex 4
Cabinet Regulation No. 95
11 February 2014

[15 December 2015]

Address Entry Bytes Number of entries Total number of bytes Explanation
  Initialisation        
0 version of the fiscal memory module structure (for example, 0x0001) 2     for example, version 0x0001 shall be stored in the memory as follows: 0x01, 0x00
  initialisation date/time (YYMMDDHHMMSS) 6     0xYY, 0xMM, 0xDD, 0xHH, 0xMM, 0xSS
  name, registration No. and other information of the fiscal memory module owner 116     name, registration code (personal identity number) of the user, chassis number of the cash register, hybrid cash register, cash system
    124 1 124  
           
  Status        
7C status - the module has been fiscalised 1     0xFF -> 0x00, indication of the fiscal memory module initialisation
  status - Z statement table of the day is full 1     0xFF -> 0x00, indication of completing the last free Z statement entry
  status - receipt table is full 1     0xFF -> 0x00, indication of completing the data of the last free document
  status - device error 1     0xFF -> 0x00, indication of a typing error which causes the problem of data integrity
    4 1 4  
           
80 Reserved (for example, for factory quality control tests or for the verification of module functionality) 128      
    128 1 128  
           
  Z statement entry        
100 checksum (XOR from other Z entry bytes) 1     0x?? XOR 0x?? XOR … XOR 0x?? is checksum of the entry
  Date/time (YYMMDDHHMMSS) 6     0xYY, 0xMM, 0xDD, 0xHH, 0xMM, 0xSS
  Z counter (positive value only) 2     for example, Z 0027 shall be stored in the memory as follows: 0x1B, 0x00
  tax 1; rate (2 bytes) (positive value only) 2     tax rate in per cent; for example, 15.00 % shall be stored in the memory as follows: 0xDC 0x05
  tax 1; taxable value (6 bytes) (positive value only) 6     sum in EUR and cents: for example, € 2700.18 shall be stored in the memory as follows: 0xC2 0x1E, 0x04, 0x00, 0x00, 0x00
  tax 1; amount of tax (6 bytes) (positive value only) 6     sum in EUR and cents
  tax 2; rate (2 bytes) (positive value only) 2     tax rate in per cent
  tax 2; taxable value (6 bytes) (positive value only) 6     sum in EUR and cents
  tax 2; amount of tax (6 bytes) (positive value only) 6     sum in EUR and cents
  tax 3; rate (2 bytes) (positive value only) 2     tax rate in per cent
  tax 3; taxable value (6 bytes) (positive value only) 6     sum in EUR and cents
  tax 3; amount of tax (6 bytes) (positive value only) 6     sum in EUR and cents
  tax 4; rate (2 bytes) (positive value only) 2     tax rate in per cent
  tax 4; taxable value (6 bytes) (positive value only) 6     sum in EUR and cents
  tax 4; amount of tax (6 bytes) (positive value only) 6     sum in EUR and cents
  sum excluding tax (positive value only) 6     sum in EUR and cents
  number of repayments (positive value only) 4     for example, if 12 repayment transactions have been recorded during a day, 12 shall be stored in the memory as follows: 0x0C, 0x00, 0x00, 0x00
  repayment sum (negative value) 6     sum in EUR and cents with a sign; MSB 0 - "+", 1 - "-"
  number of annulments (positive value only) 4     see the explanatory note next to the field "number of repayments"
  annulment sum (negative value) 6     sum in EUR and cents with a sign. For example, € -2700.18 shall be stored in the memory as follows: 0xC2 0x1E, 0x04, 0x00, 0x00, 0x80
  number of purchases (positive value only) 4     see the explanatory note next to the field "number of repayments"
  purchase sum (negative value) 6     sum in EUR and cents with a sign. For example, € -2700.18 shall be stored in the memory as follows: 0xC2 0x1E, 0x04, 0x00, 0x00, 0x80
  number of pay-outs (positive value only) 4     see the explanatory note next to the field "number of repayments"
  pay-out sum (negative value) 6     sum in EUR and cents with a sign
  sum of positive transactions (positive value only) 6     sum in EUR and cents
  Grand Total (positive value only) 6     sum in EUR and cents
  SHA-1 or SHA-256 20     SHA-1 occupies 20 bytes, SHA-256 occupies 32 bytes; if SHA-1, the first 20 bytes of the field shall be completed respectively
    143 1096 156728 1096 Z statement (366+365+365)
           
  Receipt entry        
20F98 checksum (XOR from other receipt entry bytes) 1     0x?? XOR 0x?? XOR … XOR 0x?? is checksum of the entry
  Date/time (YYMMDDHHMMSS) 6     0xYY, 0xMM, 0xDD, 0xHH, 0xMM, 0xSS
  receipt number (positive value only) 4     for example, receipt number 125798 shall be saved in the memory as follows 0x66, 0xEB, 0x01, 0x00
  receipt sum (positive value only) 6     sum in EUR and cents
  Grand Total (positive value only) 6     sum in EUR and cents
  SHA-1 or SHA-256 32     SHA-1 occupies 20 bytes, SHA-256 occupies 32 bytes; if SHA-1, the first 20 bytes of the field shall be completed respectively
    55 1096000 60280000 1096000 document ((366+365+365)*1000
           
           
  Total     60436856 Memory capacity for three years (1000 documents per day)

 


Translation © 2018 Valsts valodas centrs (State Language Centre)

 
Document information
Status:
In force
in force
Issuer: Cabinet of Ministers Type: regulation Document number: 95Adoption: 11.02.2014.Entry into force: 09.04.2014.Publication: Latvijas Vēstnesis, 70 (5130), 08.04.2014. OP number: 2014/70.3
Language:
Related documents
  • Amendments
  • Changes legal status of
  • Issued pursuant to
  • Annotation / draft legal act
  • Other related documents
265486
{"selected":{"value":"22.12.2018","content":"<font class='s-1'>22.12.2018.-...<\/font> <font class='s-3'>Sp\u0113k\u0101 eso\u0161\u0101<\/font>"},"data":[{"value":"22.12.2018","iso_value":"2018\/12\/22","content":"<font class='s-1'>22.12.2018.-...<\/font> <font class='s-3'>Sp\u0113k\u0101 eso\u0161\u0101<\/font>"},{"value":"13.01.2017","iso_value":"2017\/01\/13","content":"<font class='s-1'>13.01.2017.-21.12.2018.<\/font> <font class='s-2'>V\u0113sturisk\u0101<\/font>"},{"value":"30.12.2015","iso_value":"2015\/12\/30","content":"<font class='s-1'>30.12.2015.-12.01.2017.<\/font> <font class='s-2'>V\u0113sturisk\u0101<\/font>"},{"value":"29.05.2015","iso_value":"2015\/05\/29","content":"<font class='s-1'>29.05.2015.-29.12.2015.<\/font> <font class='s-2'>V\u0113sturisk\u0101<\/font>"},{"value":"31.12.2014","iso_value":"2014\/12\/31","content":"<font class='s-1'>31.12.2014.-28.05.2015.<\/font> <font class='s-2'>V\u0113sturisk\u0101<\/font>"},{"value":"09.04.2014","iso_value":"2014\/04\/09","content":"<font class='s-1'>09.04.2014.-30.12.2014.<\/font> <font class='s-2'>Pamata<\/font>"}]}
22.12.2018
87
0
  • Twitter
  • Facebook
  • Draugiem.lv
 
0
Vēstnesim 100 About Likumi.lv
News archive
Useful links
Contacts
For feedback
Terms of service
Privacy policy
Cookies
RSS logo
Latvijas Vēstnesis "Everyone has the right to know about his or her rights."
Article 90 of the Constitution of the Republic of Latvia
© Official publisher "Latvijas Vēstnesis"
ISO 9001:2008 (quality management system)
ISO 27001:2013 (information security) Kvalitātes balva