Table of Contents

Class FiscalResponseSlovakia

Namespace
RetailForce.Fiscalisation.Implementation.Slovakia
Assembly
RetailForce.Fiscalisation.Model.dll

Representation for fiscal response Slovakia (additional fields)

public static class FiscalResponseSlovakia
Inheritance
FiscalResponseSlovakia
Inherited Members

Remarks

At the moment there are no additional fields for Slovakia.

Methods

CheckCountryAdditionalFields(ReadOnlyDictionary<string, object>)

Checks if all country specific fields are set in the dictionary.

public static void CheckCountryAdditionalFields(ReadOnlyDictionary<string, object> additionalFields)

Parameters

additionalFields ReadOnlyDictionary<string, object>

The dictionary of all country specific fields.

Exceptions

MissingMemberException

Thrown if a country specific field is missing.

GetFiscalResponseSlovakia(int, List<DocumentTaxPosition>, long, string, string, string, Dictionary<string, string>, Dictionary<string, object>, string, string, List<string>?)

Returns the fiscal response for Slovakia out of the given parameters.

public static FiscalResponse GetFiscalResponseSlovakia(int fiscalisationDocumentNumber, List<DocumentTaxPosition> taxPositions, long fiscalDocumentStartTime, string signature, string cashRegisterId, string printMessage, Dictionary<string, string> printingFields, Dictionary<string, object> additionalFields, string errorDescription, string qrCode, List<string>? userMessages = null)

Parameters

fiscalisationDocumentNumber int

The fiscalisation document number.

taxPositions List<DocumentTaxPosition>

Tax positions calculated by fiscal system.

fiscalDocumentStartTime long

The start time of this fiscal document (when CreateDocument was called, in unix time seconds).

signature string

The signature of the security device (country-specific)

cashRegisterId string

The cash register id.

printMessage string

The print message to print out on the customer receipt. In several countries you have to print out this message.

printingFields Dictionary<string, string>

The printing fields. (may be null)

additionalFields Dictionary<string, object>

The additional fields. (may be null)

errorDescription string

The error description if the fiscalisation process failed. Empty if everything went well.

qrCode string

The qr code of the response.

userMessages List<string>

The user messages.

Returns

FiscalResponse

A FiscalResponse object representing the fiscal response for Slovakia.