# How do you handle loans and loan repayments?

**URL:** <https://discuss.koinly.io/t/how-do-you-handle-loans-and-loan-repayments/5890>\
**Category:** Koinly Support\
**Created:** [July 4, 2021, 1:06am UTC](https://discuss.koinly.io/t/how-do-you-handle-loans-and-loan-repayments/5890 "2021-07-04T01:06:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK77](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@AK77](https://discuss.koinly.io/u/AK77)\
**Post date:** [July 4, 2021, 1:06am UTC](https://discuss.koinly.io/t/how-do-you-handle-loans-and-loan-repayments/5890/1 "2021-07-04T01:06:56Z")

</div>

I borrowed 5000 USDC from AAVE. Do I simply set this as a deposit?  
Then I repaid the 5000 USDC. What do I set this as?

---

<div class="post-metadata">

**Author:** ![Petur\_Koinly](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/petur_koinly/32/1155_2.png) [@Petur\_Koinly](https://discuss.koinly.io/u/Petur_Koinly)\
**Post date:** [July 9, 2021, 11:58am UTC](https://discuss.koinly.io/t/how-do-you-handle-loans-and-loan-repayments/5890/2 "2021-07-09T11:58:47Z")

</div>

Hi AK,

No tagging necessary for borrowing or repaying 🙂

Receiving a loan can be left as a regular Deposit and repaying a loan can be left as a regular Withdrawal.

If you have transferred any collateral then you might need to tag that transaction as ‘sent/received from pool’.

This article explains it in more detail:  
[https://help.koinly.io/en/articles/4928658-loans-repayments-collateral-cdp](https://help.koinly.io/en/articles/4928658-loans-repayments-collateral-cdp)

Best regards,  
Petur

---

<div class="post-metadata">

**Author:** ![Sealbiscuit](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/sealbiscuit/32/1414_2.png) [@Sealbiscuit](https://discuss.koinly.io/u/Sealbiscuit)\
**Post date:** [September 3, 2021, 7:42am UTC](https://discuss.koinly.io/t/how-do-you-handle-loans-and-loan-repayments/5890/3 "2021-09-03T07:42:01Z")

</div>

How do we factor fees into this setup? Deposits & withdrawals don’t seem to allow this to be added

---

<div class="post-metadata">

**Author:** ![mikatachan](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@mikatachan](https://discuss.koinly.io/u/mikatachan)\
**Post date:** [September 3, 2021, 4:23pm UTC](https://discuss.koinly.io/t/how-do-you-handle-loans-and-loan-repayments/5890/4 "2021-09-03T16:23:31Z")

</div>

+1 to Sealbiscuit. It also seems that for some blockchains (ie. ICX), the fees don’t get imported by the API. Especially if there are a lot of transactions, it would be a giant headache to go back and try to manually input every transaction cost/fee.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex052/uploads/koinly_app/original/1X/7ac58e5593a7122893d066794a7254dcdb5ddb31.png) [@system](https://discuss.koinly.io/u/system)\
**Post date:** [November 2, 2021, 4:24pm UTC](https://discuss.koinly.io/t/how-do-you-handle-loans-and-loan-repayments/5890/5 "2021-11-02T16:24:12Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
