# When an invoice changes

An invoice cancelled, reissued under a new number, or given back its original number in OSuite.

## What can happen

A posted invoice is never edited. In OSuite the business may cancel it, reissue it (the same sale under a new number, its payments moved across), or have a reissued invoice take back the number of the one it replaced, before the month’s GST return is filed. Keep the number and PDF your customer sees in step with OSuite’s.

## With webhooks

invoice.cancelled tells you an invoice was cancelled. invoice.renumbered carries the invoice with its new number and previousNumber: find the sale by previousNumber, and fetch the PDF again with GET /api/v1/invoices/{id}/pdf.

## With the order inbox

The order is told again at your callback address, with reissuedFrom set to the number you have: replace it, and the PDF, with the ones sent.
