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": 1, "DocumentNumber": "S000100027", "SignedData": "2000:1521,1521,20230505130816,0000000100027,Receipt,Y,gs6fCjw4Cr90Yr7uvUzDlPC19yYbT9ywrYMdsdfx24I2SoJvbw3NdXptQv2q9P4B220AaZVV5ifAQPf46Gf0KOGoy137rmAqtVVM0d-LnIr0xFftRdfuZe-y2vVqK4UhSFNbWoblciq_1mtbC66ZrhjyNFZ2bMD5cPSC-jalpbA" } }
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 | Returns whether the document has been reprinted (1 = original document, no reprint yet). | ||
DocumentNumber | document number | ||
SignedData | document signature |
Comments
0 comments
Please sign in to leave a comment.