The current RetailForce implementation for the Federation of Bosnia & Herzegovina is based on fiscal printers. RetailForce, resp. the FLink driver manages the document printing also, the document layout cannot be changed as it is defined in the printer.
This article provides an overview of the rules that the RetailForce fiscalisation service checks before a receipt is printed.
Also, rules for returns are provided
1. Client data
- JIB is mandatory: 13 digits, starts with 4,
- JIB must be set as Company Identification of type "Business Identification Number" in the RetailForce Portal.
- PDV broj is optional: the JIB without its first digit (Vat Number).
- Test clients skip the format checks.
2. VAT and tax letters
| VatIdentification | VAT rate | Tax letter | Use |
| 1 | 17% | E | Client with a PDV broj |
| 2 | 0 % (exempt) | K | Client with a PDV broj |
| 3 | 0 % (not VAT registered) | A | Client without a PDV broj (all lines) |
3. Sale lines
- Maximum 250 sale lines on one receipt.
- Every line needs a name, maximum 32 characters.
- Quantity has a maximum of 3 decimals.
- After a discount, the unit price must stay at 0.10 KM or more.
- A free item prints as quantity × 0.00.
- To keep the quantity and the line total, the middleware can move the printed unit price by up to 0.50 KM from the shelf price. If this is not possible, it refuses the line and tells the POS to change the price or split the line.
4. Payments
A redeemed voucher is a payment (MultiPurposeVoucher or SinglePurposeVoucher), not a negative position.
5. Returns
- A receipt is a sale or a return. It cannot be both ("fiscalCountryProperties": "ReturnAndSalesBehaviour").
- A return is a cancellation with a reference to the original receipt ("DocumentReference").
- The middleware gets the original receipt number from the reference. If it is not there, the middleware finds it in its storage (up to 365 days back).
- A return is paid out in cash, by cheque/voucher or by bank transfer. Card refunds are not possible on the device.
6. Not supported in the beta
The middleware refuses the the following documents
- Sales to businesses (B2B receipts - where "Parter.IsBusiness": true).
- Receipt rounding ("rounding" property in Total Position).
- A receipt of 0.00 with no payment.
7. Reprint
The POS can ask for a copy of a receipt.
The middleware reprints a receipt that it stored itself. Send the stored document (with its "DocumentGuid") to the reprint.
8. Pay-in and pay-out
Supported.
9. Daily closing every 24 hours
The printer allows sales for at most 24 hours after the last daily report (Z report). After that it refuses every receipt (error -111024) until a daily closing runs. Run the daily closing at least once each business day.
10. Refused receipts
If the printer does not print a receipt, the middleware returns an error and does not store the document. The POS can send the same receipt again after the cause is removed.
11. Article codes on Datecs devices
The device sells by programmed article. Each sale line needs an item ID (`ItemId`), also voucher lines; without it the device refuses the receipt ("Missing article code"). Between two daily closings, keep the same name and VAT rate for each item ID. Only the price can change. Every item name must be unique. If a name changes, the device prints the old name and price (seen on 24.11.2026).
12. Return numbers on Datecs devices
The device prints the return, but F-Link reports no return receipt number. The middleware stores the return with fiscal document number 0.
Comments
0 comments
Please sign in to leave a comment.