Thought leadership
How We Handled Offline Fiscalisation
The technical challenge of MRA offline mode
Offline mode is one of the trickiest parts of MRA e-invoicing. Here is how we built it.
The challenge
The MRA endpoint is reachable over the internet. When it is not, you must still issue invoices. When it comes back, you must reconcile.
Our approach
- Every invoice gets a sequential counter regardless of MRA status
- The hash chain is calculated locally
- A "Not Yet Fiscalised" placeholder is shown in the QR code area
- A scheduler retries the MRA submission every 5 minutes
- On success, the IRN and QR code are stored and the status updated
