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) |
- Clone the repository
git clone https://github.com/erhuz/skattesats-api.git
- Move inside the cloned directory and install the NPM Packages
cd skattesats-api && npm install
- Set up environment variables such as dev/prod or desired port
cp .env.example .env
- Start the application
npm run dev
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.
- GET
/years
- GET
/municipalities/:year
- GET
/assemblies/:municipality/:year
- GET
/tax/municipality/:year/:assembly?
- NodeJS
- ExpressJS
- Node-fetch
- Winston
MIT License