Table of Contents

Class FiscalResponseFrance

Namespace
RetailForce.Fiscalisation.Implementation.France
Assembly
RetailForce.Fiscalisation.Model.dll
public static class FiscalResponseFrance
Inheritance
FiscalResponseFrance
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.

DocumentNumber(FiscalResponse)

The document number of the fiscal response (if document was signed).

public static string DocumentNumber(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

The fiscal response holding the value.

Returns

string

The document number of the fiscal response (if document was signed).

FiscalMark(FiscalResponse)

The fiscal mark of the fiscal response.

public static string FiscalMark(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

The fiscal response holding the value.

Returns

string

The fiscal mark of the fiscal response.

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

public static FiscalResponse GetFiscalResponseFrance(int fiscalDocumentNumber, List<DocumentTaxPosition> taxPositions, long fiscalDocumentStartTime, string signature, string cashRegisterId, string printMessage, string errorDescription, string fiscalMark, string siret, int reprintCount, int reprintCountAll, string documentNumber, string signedData, string userMessage = "", string softwareIdentification = "", Dictionary<string, string> printingFields = null)

Parameters

fiscalDocumentNumber int
taxPositions List<DocumentTaxPosition>

Tax positions calculated by fiscal system.

fiscalDocumentStartTime long
signature string
cashRegisterId string
printMessage string
errorDescription string
fiscalMark string

The fiscal mark of the fiscal response.

siret string

The siret (siren + nic (store identification number)).

reprintCount int

The reprint count of this response (if document was signed). -1 means no value.

reprintCountAll int

The reprint all count (counter over all reprints) of this response (if document was signed). -1 means no value.

documentNumber string

The document number of the fiscal response (if document was signed).

signedData string

The data which was signed and for which the signature was created.

userMessage string

The user message

softwareIdentification string

The software identification string.

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

The FiscalResponse for France.

ReprintCount(FiscalResponse)

The reprint count of this response (if document was signed). -1 means no value.

public static int ReprintCount(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

The fiscal response holding the value.

Returns

int

The reprint count of this response (if document was signed). -1 means no value.

ReprintCountAll(FiscalResponse)

The reprint all count (counter over all reprints) of this response (if document was signed). -1 means no value.

public static int ReprintCountAll(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

The fiscal response holding the value.

Returns

int

The reprint all count (counter over all reprints) of this response (if document was signed). -1 means no value.

SignedData(FiscalResponse)

The data which was signed and for which the signature was created.

public static string SignedData(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

The fiscal response holding the value.

Returns

string

The fiscal response holding the value.

Siret(FiscalResponse)

The siret (siren + nic (store identification number)).

public static string Siret(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

The fiscal response holding the value.

Returns

string

The siret (siren + nic (store identification number)).

SoftwareIdentification(FiscalResponse)

The software identification (IdentificationLogiciel) is a put together string containing misc. information.

The fiscal response holding the value. The fiscal response holding the value.
public static string SoftwareIdentification(this FiscalResponse fiscalResponse)

Parameters

fiscalResponse FiscalResponse

Returns

string