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 Quebec/Canada (corresponding to the WEB-SRM requirements).
FiscalResponseCanada
additionalFields in fiscalResponse for Québec / Canada
{
"fiscalCountry": "[23] = Canada",
"fiscalisationDocumentNumber": 0,
"fiscalDocumentNumber": "21",
"taxPositions": [],
"fiscalDocumentStartTime": 0,
"processStartTime": 0,
"errorDescription": "",
"cashRegisterId": "T001-P002",
"signature": "1ObkD34bw5lA+9mQYqFYlEWN6gYqYJd5b4DguvIl+7P2ESSqN2l47wJZrbTWeu3KkFQg9Tx5skc7bF4/vnoSJA==",
"userMessage": null,
"printMessage": "***Test:see printingFields",
"requestTime": "2025-08-05T08:44:41.2604402+02:00",
"requestCompletionTime": "2025-08-05T08:44:44.3825063+02:00",
"qrCode": "https://cnfr.qr.mev-web.ca?f=eWmT6UXCoGM0GQ28888uapoFNl5pjzsgnf0oyHvs3VFa%2BnlA5HrdQGlbXZBqkyn3lBCys3ASd1Ij4HMSBjTEODl03hsGCkcZu3vxDb8pUQimTZgTMPdikBrr3SJKsWw8VH%2FDTaJ%2BusBsASeviyKsPHqTylC8eueCrKA87rLZUXIl0mQjrgYRKCT2y9PDyOlvq9YtGK32utMDYRhITzn%2B7TW%2F5acq6J9T%2FuWqXt1NvkbXkXwcVfYLhc1dPm5kdTLAzgh0DQudhsg9%2FLHTVEy0JNDBgY7eZEpQVfkmU4gRy5y%2BEck9V%2BC1xN5TKzaHCgt4z8qcON58ox%2FH1T9dIb3GBgF7ySC1jRRjg4RdrqLbKBqXrqW1Jf3DH3G1bZQoR2PI%2BE6UEexmfW8UmJEYtyeLy9Dt5txcijajKmWeWc9OIwi7ZyxRW7yIOYyUM3gEB8q5Y0a4ktgAfpHduJEyg7nja6upFgzeJyMNOnWUCreqch7zqNVaHdJM7mr%2FMyL5Y%2BHS",
"printingFields": {
"Lp_Separator": "=",
"Np_PaymentMethod": "ARGENT COMPTANT",
"Np_TrainingDocument01": "*** DOCUMENT DE FORMATION ***",
"Np_TrainingDocument02": "NE PAS REMETTRE AU CLIENT",
"Np_QrCode": "https://cnfr.qr.mev-web.ca?f=eWmT6UXCoGM0GQ28888uapoFNl5pjzsgnf0oyHvs3VFa%2BnlA5HrdQGlbXZBqkyn3lBCys3ASd1Ij4HMSBjTEODl03hsGCkcZu3vxDb8pUQimTZgTMPdikBrr3SJKsWw8VH%2FDTaJ%2BusBsASeviyKsPHqTylC8eueCrKA87rLZUXIl0mQjrgYRKCT2y9PDyOlvq9YtGK32utMDYRhITzn%2B7TW%2F5acq6J9T%2FuWqXt1NvkbXkXwcVfYLhc1dPm5kdTLAzgh0DQudhsg9%2FLHTVEy0JNDBgY7eZEpQVfkmU4gRy5y%2BEck9V%2BC1xN5TKzaHCgt4z8qcON58ox%2FH1T9dIb3GBgF7ySC1jRRjg4RdrqLbKBqXrqW1Jf3DH3G1bZQoR2PI%2BE6UEexmfW8UmJEYtyeLy9Dt5txcijajKmWeWc9OIwi7ZyxRW7yIOYyUM3gEB8q5Y0a4ktgAfpHduJEyg7nja6upFgzeJyMNOnWUCreqch7zqNVaHdJM7mr%2FMyL5Y%2BHS"
},
"AdditionalFields": {
"NoTrans": "21",
"DatTrans": "",
"DeviceIdentifier": "0589-3312-4619",
"SignatureDate": "20250805084441",
"Thumbprint": "1FFCCB2F59C27D846A2E03C674333B054FEF6301",
"ReprintType": null,
"Errors": [],
"LastPositionNetValueAdjustment": 0,
"ConcatenatedString": "1FFCCB2F59C27D846A2E03C674333B054FEF630120250731160037+000000005.00+000000009.97+000000114.98+000000103.48567891234RT00015678912340TQ0001FACFOR1ObkD34bw5lA+9mQYqFYlEWN6gYqYJd5b4DguvIl+7P2ESSqN2l47wJZrbTWeu3KkFQg9Tx5skc7bF4/vnoSJA==Xty9ZY20n+hpYMyLQLK0yDTIatQyy6io46ptKAu+NOIhM+iQUuMwPRSRRY7INfa9XQd5GEIE2py6aKaascWTLw==========21",
"CountTransactions": 9,
"CountPaymentTransactions": 0,
"CasEssai": null,
"PsiNoTrans": "0566-02U0-03N1-0492",
"PsiDatTrans": "20250805024441",
"NoLot": "0000098695",
"DatLog": "20250805024443",
"NoTPS": "",
"NoTVQ": "",
"JsonVersi": "01.00"
}
}
The following additional fields are used (transmitted) for fiscalisation in Quebec/Canada:
| Element | Type | Description | |
| printingFields | Return of the information to be printed on the respective document. For further information, please refer to the article "printingFields - Canada / Quebec". | ||
| additionalFields | Country-specific information | ||
| NoTrans | Transaction number sent to WEB-SRM (fiscalDocumentNumber == NoTrans) | ||
| DatTrans | Transaction date transmitted to WEB-SRM (bookDate == DatTrans) | ||
| DeviceIdentifier | ID assigned by Revenu Québec to the SRS ("invoicing system"). Requested by WEB-SRM during initialisation. | ||
| SignatureDate | Signature date and time (SignatureDate == Signa.DatActu) | ||
| Thumbprint | Thumbprint of the signature certificate used (Thumbprint == emprCertifSEV) | ||
| ReprintType |
Type of reprint of the receipt.
(ReprintType == modImpr) |
||
| Errors [] | Error messages returned by WEB-SRM (if applicable) | ||
| LastPositionNetValueAdjustment | Rounding to be applied to the amount of the last item position. | ||
| ConcatenatedString | Transaction chain value before signature | ||
| CountTransactions | Number of transactions (for user report) | ||
| CountPaymentTransactions | Number of pure payment transactions (for user report) | ||
| CasEssai |
Only used in the certification process: Specifies the number of the test case (according to ‘SW-77-V Test Cases for Developers’) that must be executed next. |
||
| PsiNoTrans | Number generated by WEB-SRM for this transaction | ||
| PsiDatTrans | Time of processing this transaction in WEB-SRM | ||
| NoLot | Number generated by WEB-SRM that identifies the transaction batch | ||
| DatLog | Time of processing the transaction batch in WEB-SRM | ||
| NoTPS |
GST registration number
Note: only returned during initialisation.
|
||
| NoTVP |
QST registration number
Note: only returned during initialisation.
|
||
| JsonVersi | Version of the JSON structure of the response from WEB-SRM. | ||
Comments
0 comments
Please sign in to leave a comment.