Table of Contents

Class FiscalResponseSlovenia

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

Fiscal response for slovenia.

public static class FiscalResponseSlovenia
Inheritance
FiscalResponseSlovenia
Inherited Members

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.

GetFiscalResponseSlovenia(int, List<DocumentTaxPosition>, long, string, string, string, string, string, string, Dictionary<string, string>)

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

public static FiscalResponse GetFiscalResponseSlovenia(int fiscalisationDocumentNumber, List<DocumentTaxPosition> taxPositions, long fiscalDocumentStartTime, string signature, string cashRegisterId, string printMessage, string errorDescription, string protectiveMark, string qrCode, Dictionary<string, string> printingFields)

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.

errorDescription string

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

protectiveMark string

The protective mark of the response.

qrCode string

The qr code for the printout.

printingFields Dictionary<string, string>

Additional fields to print on the receipt.
If no fields should be printed additionally send empty dictionary.
If not implemented send null value.

Returns

FiscalResponse

A FiscalResponse object representing the fiscal response for slovenia.

ProtectiveMark(FiscalResponse)

The protective mark of the response.

public static string ProtectiveMark(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

The fiscal response containing the field.

Returns

string