How do I cancel an invoice?

Providing that the invoice is still pending i.e. does not yet have an invoice number you can go ahead and cancel it without any impact on your accounts or VAT.

Go to Finance > Invoices, find the invoice, select the invoice and click Credit. Then choose Cancel Invoices. Alternatively, you can carry out the same action from the booking statement.