Table of Contents

Class FiscalResponseGermany

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

Fiscal response for germany fiscal implementation. Derived from FiscalResponse.

public static class FiscalResponseGermany
Inheritance
FiscalResponseGermany
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.

FiscalDocumentRevision(FiscalResponse)

The revision of the fiscalisation document.

public static int FiscalDocumentRevision(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

int

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

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

public static FiscalResponse GetFiscalResponseGermany(int fiscalDocumentNumber, List<DocumentTaxPosition> taxPositions, string signature, string cashRegisterId, string printMessage, string errorDescription, string qrCodeDataString, long transactionStartTime, long transactionEndTime, string processData, string processType, string tseSerial, string tseTimeFormat, string tseHashAlgorithm, string tsePublicKey, long tseSignatureCounter, string tseCertificate, int fiscalDocumentRevision)

Parameters

fiscalDocumentNumber int

The fiscalisation document number.

taxPositions List<DocumentTaxPosition>

Tax positions calculated by fiscal system.

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.

qrCodeDataString string

The QR code data string according to Appendix I of DSFinV-K.

transactionStartTime long

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

transactionEndTime long

The end time of the transaction. A timestamp / point in time measured in seconds since the Unix epoch.

processData string

The process data of the signed transaction. Binary value (base64 encoded utf8 string). This is the processData according to "Anwendungserlass zu §146a AO".

processType string

The process type of signed transaction. This is the processType according to "Anwendungserlass zu §146a AO".

tseSerial string

The serialnumber of the tss module.

tseTimeFormat string

The time format which is used by the tss.

tseHashAlgorithm string

The hash algorithm which is used by the tss.

tsePublicKey string

The public key of the tss.

tseSignatureCounter long

The actual signature counter of the tss after signing the transaction.

tseCertificate string

The certificate of the tse.

fiscalDocumentRevision int

Returns

FiscalResponse

A FiscalResponse object representing the fiscal response for germany.

ProcessData(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 ProcessData(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string

ProcessType(FiscalResponse)

The process type of signed transaction. This is the processType according to "Anwendungserlass zu §146a AO".

public static string ProcessType(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string

QrCodeDataString(FiscalResponse)

The QR code data string according to Appendix I of DSFinV-K.

[Obsolete("This field will be moved to standard field QrCode of fiscal response. This field will be removed from upon version 1.9.")]
public static string QrCodeDataString(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string

TransactionEndTime(FiscalResponse)

The end time of the transaction. A timestamp / point in time measured in seconds since the Unix epoch.

public static long TransactionEndTime(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

long

TransactionStartTime(FiscalResponse)

The start time of the transaction. A timestamp / point in time measured in seconds since the Unix epoch.

public static long TransactionStartTime(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

long

TseCertificate(FiscalResponse)

The certificate of the tse.

public static string TseCertificate(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string

TseHashAlgorithm(FiscalResponse)

The hash algorithm which is used by the tss.

public static string TseHashAlgorithm(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string

TsePublicKey(FiscalResponse)

The public key of the tss.

public static string TsePublicKey(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string

TseSerial(FiscalResponse)

The serialnumber of the tss module.

public static string TseSerial(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string

TseSignatureCounter(FiscalResponse)

The actual signature counter of the tss after signing the transaction.

public static long TseSignatureCounter(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

long

TseTimeFormat(FiscalResponse)

The time format which is used by the tss.

public static string TseTimeFormat(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string