Git Product home page Git Product logo

skatteverket's Introduction

Skatteverket

Features

Compute dividends from E*Trade

Script: Scripts/EtradeDividends.ps1

Usage:

  1. Log into E*Trade.
  2. Go to Stock Plan -> Holdings -> Other Holdings.
  3. Open the web browser inspector (e.g., press F12 in Google Chrome).
  4. Use the Network tab to record the outgoing HTTP requests.
  5. Optionally click the Clear button to get rid of the clutter.
  6. Expand the Cash section. A getCashTransactions.json should appear in the Network view.
  7. Click getCashTransactions.json. The view will change, switch to the Response tab.
  8. Copy-paste the contents of that tab, save it as getCashTransactions.json.
  9. Run the ./EtradeDividends.ps1 in the directory containing the getCashTransactions.json. This can take a while since it asks Riksbank's API for the exchange rates at the different dates.
  10. Enjoy a clear list with SEK-converted values, rounded to full kronor.
  11. Cross-check the USD amounts with the 1042-S form from E*Trade. (getCashTransactions.json only looks back 365 days.)

Compute K4 from E*Trade

Script: Scripts/EtradeK4.ps1

Usage:

  1. Log into E*Trade.
  2. Go to Stock Plan -> Tax Information -> Cost Basis.
  3. Open the web browser inspector (e.g., press F12 in Google Chrome).
  4. Use the Network tab to record the outgoing HTTP requests.
  5. Optionally click the Clear button to get rid of the clutter.
  6. Select the tax year and click Apply. A gainsLosses.json should appear in the Network view.
  7. Click gainsLosses.json. The view will change, switch to the Response tab.
  8. Copy-paste the contents of that tab, save it as gainsLosses.json.
  9. Run the ./EtradeK4.ps1 in the directory containing the gainsLosses.json. This can take a while since it asks Riksbank's API for the exchange rates at the different dates.
  10. Enjoy a clear table with SEK-converted values, rounded to full kronor, and ready to be copied into the K4 form.

skatteverket's People

Contributors

matt77hias avatar avbenavides avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.