Class FiscalResponseGreece
- Namespace
- RetailForce.Fiscalisation.Implementation.Greece
- Assembly
- RetailForce.Fiscalisation.Model.dll
Representation for fiscal response Greece (additional fields)
public static class FiscalResponseGreece
- Inheritance
-
FiscalResponseGreece
- Inherited Members
Remarks
At the moment there are no additional fields for Greece.
Methods
AuthenticationCode(FiscalResponse)
The process type of signed transaction. This is the processType according to "Anwendungserlass zu §146a AO".
public static string AuthenticationCode(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse
Returns
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.
GetFiscalResponseGreece(int, List<DocumentTaxPosition>, long, string, string, string, string, string, string, string, Dictionary<string, string>?)
Returns the fiscal response for Greece out of the given parameters.
public static FiscalResponse GetFiscalResponseGreece(int fiscalisationDocumentNumber, List<DocumentTaxPosition> taxPositions, long fiscalDocumentStartTime, string signature, string cashRegisterId, string printMessage, string errorDescription, string qrCode, string invoiceUid, string authenticationCode, Dictionary<string, string>? printingFields = null)
Parameters
fiscalisationDocumentNumberintThe fiscalisation document number.
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.
qrCodestringThe qr code of the response.
invoiceUidstringThe uid of the invoice.
authenticationCodestringThe authentication code of the invoice request.
printingFieldsDictionary<string, string>The printing fields for document.
Returns
- FiscalResponse
A FiscalResponse object representing the fiscal response for Greece.
InvoiceUid(FiscalResponse)
The process data of the signed transaction. Binary value (base64 encoded utf8 string). This is the processData according to "Anwendungserlass zu §146a AO".
public static string InvoiceUid(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse