Skip to content

Simplified API to request taxes from different Swedish municipalities. Data retrieved from the Swedish Tax Agency's rest API (Skatteverket.se)

License

Notifications You must be signed in to change notification settings

erhuz/skattesats-api

Repository files navigation

Skattesats API

A API middleman that simplifies requests to retrieve taxrates from different Swedish municipalities. Data retrieved from the Swedish Tax Agency's rest API (Skatteverket.se)

Installing

  1. Clone the repository git clone https://github.com/erhuz/skattesats-api.git
  2. Move inside the cloned directory and install the NPM Packages cd skattesats-api && npm install
  3. Set up environment variables such as dev/prod or desired port cp .env.example .env
  4. Start the application npm run dev

Usage

This app will host an API that simplifies some of the Swedish Tax Agency's REST endpoints. It is enought to retrieve up-to-date taxrates for preliminary tax and automate tax declaration & calculation.

Endpoints

  • GET /years
  • GET /municipalities/:year
  • GET /assemblies/:municipality/:year
  • GET /tax/municipality/:year/:assembly?

Built with

  • NodeJS
  • ExpressJS
  • Node-fetch
  • Winston

License

MIT License

About

Simplified API to request taxes from different Swedish municipalities. Data retrieved from the Swedish Tax Agency's rest API (Skatteverket.se)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published