Invoices and bills created in Xero via Katana integration can only be deleted in Xero.
After deleting the document in Xero, it might take up to 10 minutes to reflect in Katana.
When the information about deletion reaches Katana then the Invoice status for a Sales order will revert back to Not invoiced.