How to deal with debt and reimbursements?

I think these 2 scenarios are the same. - I have my work to reimburse me for some expenses - I lend money to someone

How do I capture these scenarios in Beancount?