If the first payment is made after the arrival of the goods remittance to make an entry
Borrow: prepayment - the full name of the supplier
Credit: bank deposits
Receipt of the goods along with the invoice acceptance of the goods into the warehouse to make an entry
Borrow: raw materials - X Material
Borrow: Taxes payable - VAT payable - 17% input tax
Credit: Accounts payable - full name of supplier
If it is a post-payment first to the goods with the invoice acceptance of warehousing after making the entry
Borrow: Raw materials -X materials
Borrow: Taxes payable - payable VAT - 17% input tax
Credit: Accounts payable - the full name of the supplier
When the remittance of the payment for the goods to make an entry
Borrow: Accounts payable -Supplier's full name
Credit: bank deposit