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 "AdditionalFields" array. This article shows the information that is returned as a response within the framework of fiscalisation in Greece (corresponding to the myDATA requirements).
FiscalResponseGreece
additionalFields in fiscalResponse for Greece
{
"fiscalCountry": "[30] = Greece",
"fiscalisationDocumentNumber": 0,
"fiscalDocumentNumber": "0",
"taxPositions": [
{
"vatIdentification": 2,
"vatLabel": null,
"vatPercent1": 13,
"vatPercent2": null,
"vatAmount": 4.5331,
"vatAmount2": 0,
"netAmount": 34.87,
"grossAmount": 39.4
}
],
"fiscalDocumentStartTime": 0,
"processStartTime": 0,
"errorDescription": "",
"cashRegisterId": "001-KRO01",
"signature": "400001958834240",
"userMessage": null,
"printMessage": "***Test***",
"requestTime": "2026-01-09T08:42:31.5445953+01:00",
"requestCompletionTime": "2026-01-09T08:42:32.177836+01:00",
"qrCode": "https://www.primer.gr/mydatasearch/23404A06245C285D5939B8F50EB0490BB6835A90",
"printingFields": {
"Np_QrCode": "https://www.primer.gr/mydatasearch/23404A06245C285D5939B8F50EB0490BB6835A90",
"MARK": "400001958834240"
},
"AdditionalFields": {
"InvoiceUid": "23404A06245C285D5939B8F50EB0490BB6835A90",
"AuthenticationCode": "B8E94130F7E6DD21140E0A3281906F7971607D73"
}
}
The following additional fields are used (transmitted) for fiscalisation in Greece:
| Element | Type | Description | |
| printingFields | Return of the information to be printed on the respective document. For further information, please refer to the article "printingFields - Greece". | ||
| additionalFields | Country-specific information | ||
| InvoiceUid | Unique ID of the invoice | ||
| AuthenticationCode | Authorisation code for the invoice issued by myDATA | ||
Comments
0 comments
Please sign in to leave a comment.