I am doing double-entry bookkeeping with GnuCash to track my personal finances.
Sometimes I spent money on expenses which my employer is supposed to spent, and I later get reimbursed. For example, I might need to go on a business trip or visit a conference, and I pay the flight, hotel, conference attendance fees with my private credit card. A few months later I get the money back from my employer as part of my salary.
I am unclear how to reflect both the laying out of the money, as well as being paid back, correctly in my double-entry bookkeeping.
For example, I just paid conference attendance fees from my credit card. I made an asset "Money owed to me by my employer", and book the transaction as a credit in the credit card account (type: credit card), and as a debit in the "Money owed to me by my employer" (type: asset) account. Is this the correct way to do it?
In one or two months my salary will be higher exactly by the amount I have spent (I don't get interest). How do I book this correctly?