Credit notes and debit notes

A bill that has left the shop cannot be quietly rewritten. You correct it with another document.

Software that already does this

Aned Book works the tax out from the bill you are raising, so none of the above is a decision anybody has to make at a busy counter.