Class FiscalResponseSerbia
- Namespace
- RetailForce.Fiscalisation.Implementation.Serbia
- Assembly
- RetailForce.Fiscalisation.Model.dll
Fiscal response (static class) for serbia.
public static class FiscalResponseSerbia
- Inheritance
-
FiscalResponseSerbia
- 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
additionalFieldsReadOnlyDictionary<string, object>The dictionary of all country specific fields.
Exceptions
- MissingMemberException
Thrown if a country specific field is missing.
GetFiscalResponseSerbia(int, string, List<DocumentTaxPosition>, long, string, string, string, string, string, string, string, string, string, string)
Returns the fiscal response for croatia out of the given parameters.
public static FiscalResponse GetFiscalResponseSerbia(int fiscalisationDocumentNumber, string fiscalDocumentNumber, List<DocumentTaxPosition> taxPositions, long fiscalDocumentStartTime, string signature, string cashRegisterId, string printMessage, string errorDescription, string invoiceNr, string qrCode, string invoiceCounter, string invoiceCounterExtension, string verificationUrl, string sdcDateTime)
Parameters
fiscalisationDocumentNumberintThe fiscalisation document number.
fiscalDocumentNumberstringThe fiscalisation document number as string.
taxPositionsList<DocumentTaxPosition>Tax positions calculated by fiscal system.
fiscalDocumentStartTimelongThe start time of this fiscal document (when CreateDocument was called, in unix time seconds).
signaturestringThe signature of the security device (country-specific)
cashRegisterIdstringThe cash register id.
printMessagestringThe print message to print out on the customer receipt. In several countries you have to print out this message.
errorDescriptionstringThe error description if the fiscalisation process failed. Empty if everything went well.
invoiceNrstringThe invoice number (sdc) of the response.
qrCodestringThe qr code for the printout.
invoiceCounterstringThe invoice counter for the printout.
invoiceCounterExtensionstringThe invoice counter extension for the printout.
verificationUrlstringThe verification url.
sdcDateTimestringThe sdc date time.
Returns
- FiscalResponse
A FiscalResponse object representing the fiscal response for croatia.
InvoiceCounter(FiscalResponse)
Returns the invoice counter.
public static string InvoiceCounter(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse
Returns
InvoiceCounterExtension(FiscalResponse)
Returns the invoice counter extension.
public static string InvoiceCounterExtension(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse
Returns
InvoiceNr(FiscalResponse)
Returns the sdc invoice number.
public static string InvoiceNr(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse
Returns
QrCode(FiscalResponse)
Returns the qr code for the printout.
[Obsolete("Use QrCode property of agnostic fiscal response instead.")]
public static string QrCode(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse
Returns
SdcDateTime(FiscalResponse)
Returns the sdc date time.
public static string SdcDateTime(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse
Returns
VerificationUrl(FiscalResponse)
Returns the verification url.
public static string VerificationUrl(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse