Tony, you cannot say "the $2,000": you can say $2,000 or an/the amount of $2,000.
It's unclear what you want to say. Amounts can be charged to, or deducted from a loan. If you provide more context, we might be able to help you. One thing is clear: both record to and record against sound wrong in that sentence.