8000 GitHub - matt77hias/Skatteverket: Skatteverket Tax Scripts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

matt77hias/Skatteverket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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. Click the toggle to display Raw data, if there is one.
  8. Copy-paste the contents of that tab, save it as gainsLosses.json.
  9. Run the ./EtradeK4.ps1 script in the directory containing 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.

Compute K4 and dividends from Schwab

Script: Scripts/SchwabK4+Dividends.ps1

Usage:

  1. Log into Schwab.
  2. Go to Transaction History.
  3. Open the web browser inspector (e.g., press F12 in Firefox).
  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 Date range (Previous Year, most likely) and click Search. A transactions item should appear in the Network view.
  7. Click transactions. The view will chang 6438 e, switch to the Response tab. Click the toggle to display Raw data, if there is one.
  8. Copy-paste the contents of that tab, save it as transactions.json.
  9. Run the ./SchwabK4+Dividends.ps1 script in the directory containing transactions.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, and/or field 7.2 of the declaration (Ränteinkomster, utdelningar m.m.).

About

Skatteverket Tax Scripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0