Adjustments between two accounts

Adjustments between two accounts

Hello,
I have a car rental business.
One of my clients has to pay 15,000 as overdue rent. And he submitted a bill of 5,000, which occurred by changing spare parts by himself.
How to record this expense by showing it as deducted from overdue?
Can you help me, please?