Skip to main content

Fiscal Requirements

Implementation Slovenian Fiscal Rules

Minimum Requirement for the Cash Register Application

After finishing positions and payment entry, the cash register application sends transaction data to the EFR and prints the sales slip, which includes the fiscal signature received in the response and the provided Code in Fis.Code (in the form of a QR-code, PDF417 or Code128).
Access to the configuration to respectively control functions of the EFR is to be provided via web-browser, either locally http://localhost:5618/config or from a back-office PC.

Non-fiscal Transactions

In addition to revenues, all other non-fiscal postings like operator log in / log out, cash deposits / withdrawals, closure and so on may be registered using the EFR, marked by NF=. Thus, the journal kept in combination with cloud storage fulfills the requirements for consistent and coextensive archiving. Representation in XML is formless, but it is recommended to use predefined tags like <Pay> for payments / withdrawals nonetheless.

Functions of the EFR

The EFR fulfills the following functions:

  • Fiscal message generation upon ESR data delivered
  • Local message signature using the Fiscal Certificate
  • Request to the fiscal system FURS
  • Response to the cash register application
  • Transaction protocol
  • Protocol of Grand Totals per tax group
  • Retry handling according to regulations in case of network failure
  • Tamper-proof archiving (encrypted cloud-storage)

Registration Business Premises

Before starting to report to the fiscal system, the company has to register the business premises.

premise

The location of the store(s) has to be entered and the message to the Fiscal System needs to refer to the corresponding Business premises ID with ESR.TL (Transaction Location) field.

Use [Poslji podatke / Send Data] Button to save and send the data to FURS. The data was sent correctly if the green OK bar is shown.

Fields

NameRequiredType / Format
TaxNumberYesNumber(8)
BusinessPremiseIDYesVarchar(20)
CadastralNumberYes, if available*Number(4)
BuildingNumberYes, if available*Number(5)
BuildingSectionNumberYes, if available*Number(4)
StreetYes, if available*Varchar(100)
HouseNumberYes, if available*Varchar(10)
HouseNumberAdditionalYes, if available*Varchar(10)
CommunityYes, if available*Varchar(100)
CityYes, if available*Varchar(40)
PostalCodeYes, if available*Varchar(4)
PremiseTypeYes, if no address is available (webshop, mobile shop, etc...)Varchar(1)
ValidityDateYesFormat: DD.MM.YYYY
ClosingTagYes, in cases of closurePossible Value: Z
TaxNumber.2Yes, if software provider is in SloveniaNumber(8)
NameForeignYes, if software provider is not in SloveniaVarchar(1000)
SpecialNotesNoVarchar(1000)

* If PremiseType has a value, these fields have to be empty

ESR Format

Transaction data is sent to EFR as XML or JSON web request. See ESR – "efsta Simple Receipt" Format (efsta Simple Receipt) request and response format.

The following fields have specific meaning when generating the message to the fiscal system:

AttributeNameMessage fields affected
ESR.DDate TimeIssueDateTime
ESR.TLTransaction LocationBusinessPremiseID
ESR.TTTransaction TerminalElectronicDeviceID
ESR.TNTransaction NumberInvoiceNumber
ESR.TTotalInvoiceAmount
ESR.SI_OperatorTaxNumberThe tax number is entered by the individual (operator), who issues the invoice with the usage of the electronic device for issuing invoices. In cases of issuing invoices via self-service electronic devices or when invoices are issued without the presence of individuals, the tax number of the person liable is entered. The data is not entered if the person has no Slovenian tax number.OperatorTaxNumber

Offline Transactions

If the fiscal acknowledge cannot be obtained within the timespan defined (5000 ms by default), the registration response is sent from EFR to the cash register software with an empty fiscal (EOR) tag. It is marked with Errorcode="#OFFLINE", contains a Sign tag instead of Fiscal, and the operator is informed with UserMessage="Sistem offline" during the first offline transaction (as to not interfere with cashier actions).

The offline transaction is stored in a separate folder, and an automatic retry is performed after a delay.

Retry Handling

Automatic retry is performed for all offline transactions, whereas the retry interval is increased up to one hour as long as the fiscal system is not accessible. The final, successful fiscal retry is logged into the fiscal journal file, so the whole transaction is tracked. If retries remain unsuccessful, EFR returns a UserMessage once a day.

warning

According to fiscal law, network repair has to be performed within 48 hours.

Financial Year

If the financial year of your business does not start in January, you can change it to a different month with the FinancialYear-setting in EFR profile.

VAT Handling

For signature purposes, single receipt / control positions are to be assigned to the following tax groups:

Tax groupTaxGTax rate
Osnovna stopnja DDVA22%
Prvič po znižani stopnji DDVB9.5%
Skupni znesek zalog so oproščene DDV in druge ugodnostiZ0%

This is achieved either by directly expressing TaxG="A" (A-Z) or by matching of value if the percent value is denoted.

Turnovers not fitting into one of the predetermined tax groups (eg. Prc="25%" or TaxG="N") will show in "basic VAT rate" (TaxG="A").

Test/Playground Environment

For testing, transactions should be fiscalized against the playground system. Therefore the profile has to be set to fiscal test mode.

Please set this attribute and confirm with Save.

Fiscal Certificate Handling

By law, receipts have to be digitally signed. The certificate used (company specific containing the TaxId) is issued via the fiscal authority's online system. Certificate file and password are confidential. On page http://localhost:5618/control you can upload the certificate file:

cert_upload

cert_ok

Good to know

The certificate was installed correctly if the green OK bar is shown.

Certificates can be obtained at datoteke.fu.gov.si

Windows

The certificate is kept in the Windows Certificate Store (non exportable). It can be uploaded locally using the EFR web interface or distributed within a company network using Microsoft administrative tools. In that case, please make sure that the EFR service has sufficient rights to use the fiscal certificate for signature.

Linux

The certificate files are kept locally in directory EFR/cer/SI

Certificate assignment

As long as only one fiscal certificate is installed, or the TaxId of all certificates installed is unique, this TaxId is automatically assigned to the transaction protocol and the appropriate certificate (test/productive) is used ('no touch installation').

If the TaxId of the installed certificates is not unique, or if multiple companies are registering through one EFR instance (e.g. running as cloud service), TaxId has to be specified in client profile http://localhost:5618/profile

Network Access

The Slovenian fiscal law stipulates online registration of each sale transaction via web request. The resulting transaction acknowledge (EOR) has to be printed on the receipt. Therefore the machine running EFR must be granted access to the fiscal system FURS. Network devices (Router, Firewall) have to be configured accordingly or a web proxy is used.

The hosts for the firewall settings can be found in chapter firewall setting.

A proxy can be defined in the default profile at http://localhost:5618/profile

The connection can be tested using the "Echo"-feature on http://localhost:5618/control

echo

Specifics

Tax ID of the operator

In Slovenia it is necessary to provide the cashier’s TaxId. This must be done with the attribute ESR.OprTIN. See also Sale of items