If all the invoices/purchases are entered to MYOB then the account should be reconciled to the payment made in July for the June tax.
Please check all the remaining transactions in that account as they are not matching the report submitted and paid to the Govt