-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
650 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./berekenMrb.js"; | ||
export * from "./params.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
const euroGuldenWisselkoers = 2.20371; | ||
|
||
/** | ||
* Wet op de motorrijtuigenbelasting 1994 | ||
* Artikel 23 | ||
* Geldig in 1995 | ||
* Took some reverse engineering: | ||
* - https://zoek.officielebekendmakingen.nl/stb-1994-17.pdf | ||
* - https://zoek.officielebekendmakingen.nl/stb-1995-152.html | ||
*/ | ||
export const Model_1995_Tarieven_Benzine = [ | ||
{ | ||
threshold_kg: 0, | ||
vast_euro: 31.95 / euroGuldenWisselkoers, | ||
}, | ||
{ | ||
threshold_kg: 600, | ||
vast_euro: 38.2 / euroGuldenWisselkoers, | ||
}, | ||
{ | ||
threshold_kg: 700, | ||
vast_euro: 44.95 / euroGuldenWisselkoers, | ||
}, | ||
{ | ||
threshold_kg: 800, | ||
vast_euro: 59.45 / euroGuldenWisselkoers, | ||
}, | ||
{ | ||
threshold_kg: 900, | ||
vast_euro: 75.2 / euroGuldenWisselkoers, | ||
}, | ||
{ | ||
threshold_kg: 1000, | ||
vast_euro: 100.95 / euroGuldenWisselkoers, | ||
variabel: { | ||
ondergrens: 1000, | ||
euro: 25.75 / euroGuldenWisselkoers, | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,21 @@ | ||
import { Provincie } from "../../berekenMrb.js"; | ||
import { Provincie } from "../../params.js"; | ||
|
||
// https://opendata.cbs.nl/statline/#/CBS/nl/dataset/80889NED/table | ||
export const data = { | ||
[Provincie.Drenthe]: 0.92, | ||
[Provincie.Flevoland]: 0.822, | ||
[Provincie.Friesland]: 0.87, | ||
[Provincie.Gelderland]: 0.93, | ||
[Provincie.Groningen]: 0.957, | ||
[Provincie.Limburg]: 0.806, | ||
[Provincie["Noord-Brabant"]]: 0.808, | ||
[Provincie["Noord-Holland"]]: 0.679, | ||
[Provincie.Overijssel]: 0.799, | ||
[Provincie.Utrecht]: 0.794, | ||
[Provincie.Zeeland]: 0.823, | ||
[Provincie["Zuid-Holland"]]: 0.957, | ||
}; | ||
|
||
export function Model_2023_Opcenten(provincie: Provincie | null): number { | ||
switch (provincie) { | ||
case null: | ||
return 0; | ||
case Provincie.Drenthe: | ||
return 0.92; | ||
case Provincie.Flevoland: | ||
return 0.822; | ||
case Provincie.Friesland: | ||
return 0.87; | ||
case Provincie.Gelderland: | ||
return 0.93; | ||
case Provincie.Groningen: | ||
return 0.957; | ||
case Provincie.Limburg: | ||
return 0.806; | ||
case Provincie["Noord-Brabant"]: | ||
return 0.808; | ||
case Provincie["Noord-Holland"]: | ||
return 0.679; | ||
case Provincie.Overijssel: | ||
return 0.799; | ||
case Provincie.Utrecht: | ||
return 0.794; | ||
case Provincie.Zeeland: | ||
return 0.823; | ||
case Provincie["Zuid-Holland"]: | ||
return 0.957; | ||
} | ||
return provincie === null ? 0 : data[provincie]; | ||
} |
Oops, something went wrong.