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
additionalFieldsReadOnlyDictionary<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
fiscalResponseFiscalResponseThe 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
fiscalResponseFiscalResponseThe 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
fiscalDocumentNumberinttaxPositionsList<DocumentTaxPosition>Tax positions calculated by fiscal system.
fiscalDocumentStartTimelongsignaturestringcashRegisterIdstringprintMessagestringerrorDescriptionstringfiscalMarkstringThe fiscal mark of the fiscal response.
siretstringThe siret (siren + nic (store identification number)).
reprintCountintThe reprint count of this response (if document was signed). -1 means no value.
reprintCountAllintThe reprint all count (counter over all reprints) of this response (if document was signed). -1 means no value.
documentNumberstringThe document number of the fiscal response (if document was signed).
signedDatastringThe data which was signed and for which the signature was created.
userMessagestringThe user message
softwareIdentificationstringThe software identification string.
printingFieldsDictionary<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
fiscalResponseFiscalResponseThe 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
fiscalResponseFiscalResponseThe 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
fiscalResponseFiscalResponseThe 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
fiscalResponseFiscalResponseThe 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.public static string SoftwareIdentification(this FiscalResponse fiscalResponse)
Parameters
fiscalResponseFiscalResponse