From f99054b69bd15d55943e460314066ab4e9000131 Mon Sep 17 00:00:00 2001 From: LGuichet Date: Tue, 17 Feb 2026 13:16:44 +0100 Subject: [PATCH 1/2] Document the Code 90 handling by matching a Code 90 action journal entry and sending the NF525 required JET log --- .../cash-register-integration/cash-register-integration.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md b/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md index 61fe65ad..e6a33b12 100644 --- a/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md +++ b/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md @@ -72,7 +72,12 @@ The results will be shown, and the content will be available for download on a d The procedure archives the requested period. An archive can contain a maximum of 12 months from the start of the queue or from the last archive date, up to the receipt's date. If the archiving period is longer than 12 months, multiple archive receipts have to be sent with the start date of each consecutive receipt beginning right after the end date of the previous one. -Every time an archive receipt is sent to the middleware, a hash recalculation is performed. If any discrepancies are found in the hashes, an error message will be displayed in the portal, under (Configuration-\> Queues\>ActionJournal) +Every time an archive receipt is sent to the middleware, a hash recalculation is performed. If any discrepancies are found in the hashes, an error message starting by "Code 90" will be displayed in the portal, under (Configuration-\> Queues\>ActionJournal) + + +For NF525 compliant cash registers, this error message must be checked after each archive request by calling the journal endpoint. + +The action journal request call is type 1, and will respond with a list of entries. If one or more entries has their "Message" field starting by "Code 90", the cash register must send a Technical Event Log receipt request to the middleware including : "ftReceiptCaseData" : "{\"Code\": \"90\", \"Message\": \"Detection of an integrity flaw in secured data or a tax archive\"}" ### Receipt structure From dd0414340e1c7512012818b5f4218bad7133aeb4 Mon Sep 17 00:00:00 2001 From: LGuichet <79939701+LGuichet@users.noreply.github.com> Date: Tue, 17 Feb 2026 15:29:25 +0100 Subject: [PATCH 2/2] format json with back ticks --- .../cash-register-integration/cash-register-integration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md b/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md index e6a33b12..bf20f4ee 100644 --- a/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md +++ b/doc/middleware-fr-boi-tva-decla-30-10-30/cash-register-integration/cash-register-integration.md @@ -72,12 +72,12 @@ The results will be shown, and the content will be available for download on a d The procedure archives the requested period. An archive can contain a maximum of 12 months from the start of the queue or from the last archive date, up to the receipt's date. If the archiving period is longer than 12 months, multiple archive receipts have to be sent with the start date of each consecutive receipt beginning right after the end date of the previous one. -Every time an archive receipt is sent to the middleware, a hash recalculation is performed. If any discrepancies are found in the hashes, an error message starting by "Code 90" will be displayed in the portal, under (Configuration-\> Queues\>ActionJournal) +Every time an archive receipt is sent to the middleware, a hash recalculation is performed. If any discrepancies are found in the hashes, an error message starting by `Code 90` will be displayed in the portal, under (Configuration-\> Queues\>ActionJournal) For NF525 compliant cash registers, this error message must be checked after each archive request by calling the journal endpoint. -The action journal request call is type 1, and will respond with a list of entries. If one or more entries has their "Message" field starting by "Code 90", the cash register must send a Technical Event Log receipt request to the middleware including : "ftReceiptCaseData" : "{\"Code\": \"90\", \"Message\": \"Detection of an integrity flaw in secured data or a tax archive\"}" +The action journal request call is type 1, and will respond with a list of entries. If one or more entries's message starts by "Code 90" : `"Message": "Code 90 , \\NF525\\ Detection of an integrity flaw in secured data or a tax archive"`, the cash register must send a Technical Event Log receipt request to the middleware including : `"ftReceiptCaseData" : "{\"Code\": \"90\", \"Message\": \"Detection of an integrity flaw in secured data or a tax archive\"}"` ### Receipt structure