fiskaltrust / middleware

The fiskaltrust.Middleware is an integrated set of highly configurable software components for POS systems to abstract the complexity of national fiscalization laws.
https://docs.fiskaltrust.eu
European Union Public License 1.2
9 stars 4 forks source link

German Middleware behaves differently when switching to late-signing mode #221

Open TSchmiedlechner opened 1 year ago

TSchmiedlechner commented 1 year ago

Describe the bug

When using the late signing mode (via the ftReceiptCaseFlag 0x0000000000010000), the Middleware behaves slightly different in Germany than it does in France or Austria.

We should IMO change the German behavior to match the Austrian and French one, because the Middleware in fact obviously stays in late signing mode.

To Reproduce

  1. Send a POS receipt to the Middleware where the ftReceiptCase has the flag 0x0000000000010000
  2. The response will have the expected ftState 0x...8
  3. Send another POS receipt without the flag 0x0000000000010000
    1. In Austria and France, the response will have the ftState 0x...8
    2. In Germany, it will have the state 0x...00

I'm a bit worried though because - depending on the implementation - this could be a breaking change, although IMO that's very unlikely. It may also make sense to fix this with the tagging v2 🤔

volllly commented 1 year ago