More detail
Tax invoices are designed to be a permanent record, so the right way to fix a mistake is not to erase it but to issue a corrective document against it. That preserves a clear trail of what happened.
In practice that usually means a credit note for the wrong invoice, then a correct invoice if needed. Your system should support this; confirm the precise flow so staff handle errors the compliant way.
Related questions
Can I just delete a wrong invoice?
What is the right way to fix an error?
Veira gives Kenyan shops one calm app for selling, M-Pesa, KRA eTIMS and stock, with a free terminal. Book a demo and see it set up for your trade.