Cash paid in advance called prepaid expanse just like Prepaid Card.
A company, which obliged to pay all their expenses before the last date of payment, so debt and credit is equal till that date.
A company (GTR) paid Rent of $5400 in advance (26 May 2018), although the payment last date or Due date was (31 May 2018). So, in that case, both credit and debit value is same.
Debit: – $5400
Credit: – $5400