Table of Contents

Class FiscalResponseBulgaria

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

Representation for fiscal response bulgaria (additional fields)

public static class FiscalResponseBulgaria
Inheritance
FiscalResponseBulgaria
Inherited Members

Remarks

At the moment there are no additional fields for bulgaria.

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.

GetFiscalResponseBulgaria(int, List<DocumentTaxPosition>, long, string, string, string, string, string, string)

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

public static FiscalResponse GetFiscalResponseBulgaria(int fiscalisationDocumentNumber, List<DocumentTaxPosition> taxPositions, long fiscalDocumentStartTime, string signature, string cashRegisterId, string printMessage, string errorDescription, string usermessage = "", string printerSerial = "")

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.

usermessage string

The message which must be shown to the user of the cash register system. Optional parameter, empty if everything went well.

printerSerial string

The serial number of the printer.

Returns

FiscalResponse

A FiscalResponse object representing the fiscal response for bulgaria.

PrinterSerial(FiscalResponse)

Returns the printer serial for the signature.

public static string PrinterSerial(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string