Foreign residents can’t apply for an ATO clearance certificate, as it’s only for Australian tax residents. However, they can apply for a variation notice to reduce the 15% withholding rate if they expect little or no capital gain. The main residence exemption for foreign residents was removed from 30 June 2020, so it no longer applies.