HDM in Armenia: how fiscal cash registers work with restaurant software
Facts checked on 12.10.2026
HDM (ՀԴՄ, հսկիչ-դրամարկղային մեքենա, a control cash register machine) is the device through which a business in Armenia registers its sales with the tax authority and gives the customer a fiscal receipt. This guide explains, for restaurant and café owners, what the device does, what is on its receipt and how it is connected to restaurant software. It is based on the integration manual published by the State Revenue Committee and on the state services portal. It is a reference text, not legal or tax advice.
1.What an HDM is
An HDM records every sale as fiscal data, gives it a fiscal number and prints a receipt. The device is registered with the tax authority — the State Revenue Committee of the Republic of Armenia (SRC, ՀՀ ՊԵԿ) — and exchanges data with it.
According to the state services portal hartak.am, a device has to be registered after it is bought. The application is form No. 101 in the tax authority's electronic reporting system; it is signed with a digital signature, the service is free, and the device is registered and a certificate of use is issued within one working day. The form asks for the type of device: mobile (շրջիկ) or electronic (էլեկտրոնային).
The portal names Government Decision No. 1976-Ն of 3 December 2020 as the legal basis of the service and advises reading the current text on arlis.am. Who must use an HDM, in which cases and with what consequences is defined by the legislation, not by this guide: ask your accountant or the SRC.
2.What a fiscal receipt contains
When software prints a receipt through the device, the device returns the data that makes the receipt fiscal. The SRC manual lists these fields:
- the registration number of the HDM (ԳՀ) and its factory serial number;
- the taxpayer's TIN (ՀՎՀՀ), name and address;
- the sequence number of the receipt (ԿՀ) and the date and time it was registered;
- the fiscal number of the receipt;
- the total and the change;
- a string that has to be printed as a QR code, and a verification number of the receipt.
A slip that a restaurant system prints on its own — a pre-check or a guest receipt — carries none of these numbers and is not a fiscal receipt.
3.Standalone device or a device driven by software
The manual describes two states of the device. In the standard mode the cashier enters the sale on the HDM itself. In the integration mode the sale is entered in the commercial software, and the software sends the fiscal data to the device. The device works in one of the two modes at a time, not in both.
For a restaurant the difference is practical. With a standalone device a paid order is typed twice: once in the restaurant system and once on the HDM. That costs time at the cash desk and lets the two totals drift apart. With integration the order is entered once and the device registers exactly what the system sold.
4.How the integration works
The SRC publishes the protocol in the manual «ՀՍԿԻՉ-ԴՐԱՄԱՐԿՂԱՅԻՆ ՄԵՔԵՆԱՅԻ ԻՆՏԵԳՐՈՒՄԸ ԱՐՏԱՔԻՆ (ԱՌԵՎՏՐԱՅԻՆ) ԾՐԱԳՐԵՐԻ ՀԵՏ»; the version read for this guide is protocol v. 0.7.3. In short:
- The software and the device exchange data over the local network by TCP. The device is connected to the venue's internal network by Wi-Fi or by Ethernet (through a USB-to-Ethernet adapter).
- Integration is switched on at the device by an administrator. The settings are: the IP address of the computer the software runs on, a password generated on the device, and the IP address and port of the device.
- A request is a JSON object in UTF-8, sent after a 12-byte header, and may not be larger than 50 kilobytes. The answer comes back the same way.
- Requests are encrypted with 3DES. The first key is derived from the device password; the second is issued by the device when the operator logs in and is used for the rest of the session.
- Every request in a session carries a sequence number that must grow, so that a recorded request cannot be replayed.
The protocol has sixteen functions. The ones a restaurant system uses every day are operator login and logout, printing a receipt, printing a copy of the last receipt, getting the data of a receipt and printing a return receipt, and cash in and cash out. The rest serve the device: the list of operators and departments, reports, the header, footer and logo of the receipt, date and time, synchronisation, the list of payment systems on the device and the check of an eMark code.
5.What the software sends for a receipt
A receipt can be printed in three modes: a simple receipt (an amount for a department), a receipt with goods (a list of items) and a prepayment. For a restaurant bill the second mode is the natural one. A request contains:
- the amounts paid in cash and without cash, a partial payment amount and the amount of a prepayment that is being used — so one receipt can combine cash and card;
- optionally the buyer's TIN;
- for every item: its department, code and name (up to 50 characters each), its ԱՏԳ code (the commodity classification), the unit of measure, the quantity, the price, and a discount with its type;
- for goods that carry control marks, the eMark codes;
- whether the card payment is taken on a separate payment terminal or by the payment program of the device.
The manual sets the precision: money with at most two digits after the decimal point, quantities with at most three, and the result of any discount calculation rounded to two digits. Product data is expected in Armenian, Russian or English; other characters can break the operation.
Two printing options exist. Either the device prints the receipt on its own printer, or it only generates the fiscal data and the software prints the receipt on another printer. In the second case the manual requires the printed receipt to show the HDM registration number, the fiscal number, the sequence number, the date and time, and the total.
6.What this means for a restaurant system
The points below are conclusions from the protocol, not quotations from it.
- The device listens on the venue's local network and answers only the IP address entered in its settings (a connection from another address is refused with error 403). So the part of the system that talks to the HDM has to run inside the venue: on the cash desk computer or on a small local service. A system that lives only in the cloud needs such a bridge.
- Every dish in the menu needs the data the receipt requires: a name within 50 characters, a unit, an ԱՏԳ code and a department. It is worth filling them in when the menu is created, not on the day of connection.
- A refund is a separate operation: the software first gets the data of the original receipt and then prints a return receipt. Voiding an order in the restaurant system does not do it by itself.
- Cash put into or taken out of the drawer is registered on the device as well (the cash in / cash out function), so the cash shift in the system and on the device should be kept by the same events.
- The link can fail: Wi-Fi drops or the device is switched off. The staff need a rule for that moment, and the system needs to show clearly which paid orders have no fiscal receipt yet.
7.Electronic HDM
Besides the physical device there is the electronic HDM: the registration form on hartak.am offers it as a separate type, and the SRC publishes a separate user manual for registering an electronic HDM and integrating with its web service (dated December 2024). With it a sale is registered through a web service instead of a device in the venue. The manual describes the registration (the same form No. 101, with the real IP address of the requesting side and a certificate signing request) and the methods of the web service: activating the electronic HDM, setting up departments, getting the list of goods, printing a receipt and its copy, and printing a return receipt.
Commercial services are built on it. One example is ehdm.am (PayX+ LLC), which describes itself as an electronic HDM for online commerce — online stores, delivery, online services — with an API and published prices. It is named here as an illustration, not as a recommendation.
Whether an electronic HDM may be used for sales to guests inside a restaurant, and on what conditions, is a question for the SRC or your accountant. This guide does not answer it.
8.Questions to ask a software vendor
- Which devices and which version of the SRC protocol does the integration support, and is it working in a venue today or is it planned?
- Where does the component that talks to the device run — on our cash desk computer, on a separate box, in the cloud?
- Is the receipt printed by the device or by your printer, and does the printed receipt then show all the required fiscal data?
- How are a refund, a partial payment, a cash-plus-card payment and a prepayment registered?
- Where do we enter ԱՏԳ codes, units and departments for dishes, and what happens to a dish without them?
- What do the staff see and do when the device does not answer, and how are the unregistered sales found afterwards?
- Who sets up the device, and who do we call when a receipt is not printed on a Saturday evening?
9.Smart Restaurant and the HDM today
Smart Restaurant works with the HDM: after every cash or card payment the server prepares the receipt, and the «Smart Restaurant ՀԴՄ» program on a Windows computer in the restaurant network passes it to the device by the SRC protocol described above. If the device does not answer, the receipt waits in the queue and is never printed twice. The integration comes with every plan.
You connect it in the workspace: Integrations → Fiscal register (HDM), where the step-by-step guide is too. The device password and the cashier PIN are typed only in the program on the restaurant computer and are never sent to the server. Check your device model with our support before connecting.
10.Questions and answers
What does HDM (ՀԴՄ) stand for?
Հսկիչ-դրամարկղային մեքենա — a control cash register machine: the device that registers sales with the tax authority of Armenia and prints fiscal receipts.
Can restaurant software print the fiscal receipt on its own printer?
The SRC protocol allows it: the device generates the fiscal data and returns it, and the software prints the receipt on another printer. The receipt must then show the HDM registration number, the fiscal number, the sequence number, the date and time, and the total.
Can a cloud system connect to an HDM directly over the internet?
By the published protocol the device is reached over the venue's local network and answers one IP address set on the device. In practice a component inside the venue is needed between a cloud system and the device.
Does Smart Restaurant integrate with the HDM?
Yes: the «Smart Restaurant ՀԴՄ» program in the restaurant network prints a fiscal receipt on the HDM after every payment. The integration comes with every plan.
Where is the official description of the integration?
On the website of the State Revenue Committee, src.am: the manual on integrating the HDM with external (commercial) software. The link is in the sources below.
11.Sources
Everything on this page about other companies and about state rules was taken from the pages below and checked on 12.10.2026. Prices, plans and rules change: check the source before you decide.
- State Revenue Committee of Armenia — manual on integrating the HDM with external (commercial) software, protocol v. 0.7.3 (PDF, in Armenian)
- hartak.am, the state services portal — «Գրանցել հսկիչ դրամարկղային մեքենա (ՀԴՄ)»: registration of a device
- State Revenue Committee of Armenia — user manual for registering an electronic HDM and integrating with the web service, December 2024 (PDF, in Armenian)
- ehdm.am — an example of a commercial electronic HDM service (PayX+ LLC)
Smart Restaurant is developed by Smartify LLC, Patkanyan St, Vagharshapat, Armavir Province, Armenia. Contact: smartrestaurant.contact@gmail.com, +374 95 127200, Instagram, LinkedIn
