这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Jul 10, 2024

This PR adds ability to show taxable payment amounts in the tax report.


The idea is to show the amounts of _isMarginFundingPayment, _isAffiliateRebate, _isStakingPayments, _isAirdropOnWallet in the tax report essentially as it is, because it's the user's proceeds
In the tax report, we should show these sorts of entries with fields:

  • Currency
  • Amount
  • Date Acquired
  • Date Sold - must be empty
  • Proceeds
  • Cost - must be empty
  • Gain or Loss - equal to Proceeds

Additionally, adds type field to the tax report response for easier debugging purposes, and the field should be one from the following list:

  • AIRDROP_ON_WALLET
  • MARGIN_FUNDING_PAYMENT
  • AFFILIATE_REBATE
  • STAKING_PAYMENT
  • EXCHANGE

Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants