The fiskaltrust.Middleware is an integrated set of highly configurable software components for POS systems to abstract the complexity of national fiscalization laws.
When using the ftReceiptcase 0x415400000000000D ("protocol"), it is signed if it includes ftChargeItems and the ftPayItems are empty. This means that these receipts are also included in the DEP7 export, but they shouldn't. This is incorrect according to the RKSV regulations and has been criticized by auditors in two cases now.
Solution
Protocol receipts without pay items shouldn't be signed either (and neither should be those with pay items, but that's already the case).
[!WARNING]
We will only change this behavior in 1.3 in this issue.
Tasks
[ ] Do not sign protocol receipts without pay items in 1.3
[ ] Test in 1.3 (sample request below)
[ ] Add unit/integration tests to reproduce the behavior
Problem
When using the ftReceiptcase
0x415400000000000D
("protocol"), it is signed if it includes ftChargeItems and the ftPayItems are empty. This means that these receipts are also included in the DEP7 export, but they shouldn't. This is incorrect according to the RKSV regulations and has been criticized by auditors in two cases now.Solution
Protocol receipts without pay items shouldn't be signed either (and neither should be those with pay items, but that's already the case).
Tasks
Sample
Request:
Response: