Expenses need to be incurred by the claiming Australian entity.
Payments made by a foreign entity in the group can be claimed but the expense needs to have been incurred by the Australian entity and the Australian entity needs to have funded the payment to the foreign entity.
Generally with structures such as these expert advice should be sought.