After a document has been submitted to the RetailForce Fiscalisation service (createDocument and storeDocument), the service responds with a so-called FiscalResponse. This object is described in general in the article FiscalResponse object.
Depending on which fiscal country is assigned to the respective client (depending on the corresponding configuration of the client), different information can be found in the array "AdditionalFields". This article shows the information that is returned as a response within the framework of fiscalisation in France (according to the Anti-VAT Fraud Act respectively Infocert's NF525 requirements).
FiscalResponseFrance
{
"fiscalCountry": "[2] = France",
"fiscalisationDocumentNumber": 0,
"fiscalDocumentNumber": "0",
"fiscalDocumentStartTime": 0,
"processStartTime": 0,
"errorDescription": "",
"cashRegisterId": "09988-00997",
"signature": "TqBMx6kt14ZZq_9xQ32Mol_M307hxrDb_ugRXbVDAa347M36lVikfWNhmrQDbpr8ja6BoCo63zbHaW3eZWheZ8ScTKanS52oMHlQ4ggmm4v5u8ipJbdPKS8xI0nLq3-Q6F7ShQ1jg2EwhY66kYhrilbS5Zglg1WHfFKsN1ubb44",
"userMessage": "",
"printMessage": "***Test***",
"requestTime": "2023-05-05T13:09:26.9991104+02:00",
"requestCompletionTime": "2023-05-05T13:09:27.0525974+02:00",
"retailForceReceiptId": "0p4j0001", /// only for createDocument
"AdditionalFields": {
"FiscalMark": "B9998Mt_M",
"Siret": "98765432109988",
"ReprintCount": 0,
"ReprintCountAll": 0,
"DocumentNumber": "S000100027",
"SignedData": "2000:1521,1521,20230505130816,0000000100027,Receipt,Y,gs6fCjw4Cr90Yr7uvUzDlPC19yYbT9ywrYMdsdfx24I2SoJvbw3NdXptQv2q9P4B220AaZVV5ifAQPf46Gf0KOGoy137rmAqtVVM0d-LnIr0xFftRdfuZe-y2vVqK4UhSFNbWoblciq_1mtbC66ZrhjyNFZ2bMD5cPSC-jalpbA",
"SoftwareIdentification": "(NF525) B 9998 Mt_M SoftwareCompany 1-1-1"
}
}
The following additional fields are used in the context of fiscalisation in France (transmitted).
| Elements | Type | Description | |
| additionalFields | Country-specific information | ||
| FiscalMark |
Fiscal Code (Fiscal Code) Note the document requirements in France. |
||
| Siret | SIRET = SIREN + NIC (NIC = ID of the branch) | ||
| ReprintCount | Number of reprints of this document (0 = original document, 1 = first reprint, and so on). | ||
| ReprintCountAll | Reprint counter across all documents of the fiscal client, set on reprints (0 = original document). | ||
| DocumentNumber | document number | ||
| SignedData | document signature | ||
| SoftwareIdentification | Software identification ("IdentificationLogiciel"): "(NF525) B", the certificate number, four characters of the signature, the software company and the certificate version. Also returned as printing field "Np_SoftwareIdentification". | ||
Comments
0 comments
Please sign in to leave a comment.