The loan must be in writing, have a minimum interest rate set by the ATO, and follow the required repayment schedule to avoid tax penalties.