How do I undo/rollback the latest Invoice

Problem

I need to undo/rollback the last invoice that was committed to the system.

Please be aware that this method will only work for an invoice that has just been created, for other invoice corrections refer to How Do I Create a Credit Note.


Solution

If you have just created an invoice or batch of invoices and realised that you didn't mean to process them then you can roll them back