Once you believe you will no longer receive (any or all) amounts owing by your customers, you can write them off as a bad debt. When using Xero's invoicing system, you can follow these instructions.
By writing off (part of) you non-paying customers balances, you're won't be paying tax on income you won't receive.