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 Italy (according to Registratore Telematico).
FiscalResponseItaly
additionalFields in fiscalResponse for Italy
{ "fiscalCountry": "[9] = Italy", "fiscalisationDocumentNumber": 0, "fiscalDocumentNumber": "0", "fiscalDocumentStartTime": 0, "processStartTime": 0, "errorDescription": null, "cashRegisterId": "0001/002", "signature": "", "userMessage": "", "printMessage": "***Test***", "requestTime": "2023-05-04T15:41:53.2924502+02:00", "requestCompletionTime": "2023-05-04T15:41:54.0639654+02:00",
"retailForceReceiptId": "0p4j0001", /// only for createDocument "AdditionalFields": {
"printerSerial": "99IEC011111",
"ZReportNumber": 32 } }
The following additional fields are used (transmitted) within the framework of fiscalisation in Italy
Elements | Type | Description | |
additionalFields | Country-specific information | ||
printerSerial | the RT device number on which the document was printed. | ||
ZReportNumber | Indicates in which Z-report of the RT device the relevant document is contained |
Comments
0 comments
Please sign in to leave a comment.