# How does Koinly know which transaction to tax

**URL:** <https://discuss.koinly.io/t/how-does-koinly-know-which-transaction-to-tax/10763>\
**Category:** Tax Questions\
**Created:** [January 26, 2022, 1:27am UTC](https://discuss.koinly.io/t/how-does-koinly-know-which-transaction-to-tax/10763 "2022-01-26T01:27:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul\_gale](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/paul_gale/32/6546_2.png) [@paul\_gale](https://discuss.koinly.io/u/paul_gale)\
**Post date:** [January 26, 2022, 1:27am UTC](https://discuss.koinly.io/t/how-does-koinly-know-which-transaction-to-tax/10763/1 "2022-01-26T01:27:39Z")

</div>

I brought some BTC in 2018 9k ( AUD ) alot in between but some more in 2021 76k.  
I want to sell the 2021 purchase to get the capital loss . How does Koinly know that and not use my 2018 purchase making it a capital gain ???

---

<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:** [March 27, 2022, 1:27am UTC](https://discuss.koinly.io/t/how-does-koinly-know-which-transaction-to-tax/10763/2 "2022-03-27T01:27:58Z")

</div>

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