Partner A deposit $1000 to the bank for the duty to be paid by his other partner. This was a loan given by the partner A.The journal entries would be
Bank A/C Dr $1000
Partner A $1000
(loan given by Partner A)
Duty A/C Dr $1000
Bank A/C $1000
(duty paid through bank)