After deleting the invoice or other document, the numbering of the documents remains unchanged. There will be a gap in the continuity of document numbering.
To maintain the continuity of the numbering, you can use the cancelling the document.
1. Open an invoice or other document.
2. From menu choose More options -> Cancel document.
3. Provide The reason for invoice cancellation.
4. Cancel invoice.
5. Confirm the cancellation with OK.