According to the invoice received
Debit: materials in transit (or related subjects such as raw materials)
Taxes payable-VAT payable (input tax)
Credit: accounts payable
When the bank pays,
Debit: accounts payable
Loans: bank deposits
Personal opinion, for reference only.