Skip to content

Commit

Permalink
feat: diesel
Browse files Browse the repository at this point in the history
  • Loading branch information
hongaar committed Jan 26, 2023
1 parent 20e7970 commit 06b3447
Show file tree
Hide file tree
Showing 16 changed files with 13,261 additions and 59 deletions.
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
yarn|npm add motorrijtuigenbelasting
```

## Gebruik
## MRB berekenen

Standaard wordt het meest recente `Model_2023` gebruikt.

```js
import {
Expand All @@ -28,6 +30,32 @@ const bedrag = berekenMrb({
});
```

## Betalen naar gebruik

Om een voorlopige berekening te maken voor het toekomstige "Betalen naar
gebruik", kan `model` worden aangepast naar `Model_2030`.

```js
import {
berekenMrb,
Brandstof,
Models,
Provincie,
Voertuigtype,
} from "motorrijtuigenbelasting";

// voorlopige berekening voor betalen naar gebruik
const bedrag = berekenMrb({
model: Models.Model_2030,
voertuigtype: Voertuigtype.Personenauto,
brandstof: Brandstof.Benzine,
elektrisch_of_waterstof: false,
gewicht: 1051,
provincie: Provincie.Utrecht,
km_per_jaar: 10_000,
});
```

## Gebruik met RDW data

```js
Expand Down
Loading

0 comments on commit 06b3447

Please sign in to comment.