NAME

Finance::Tax::Aruba::Role::Income::TaxYear - A role that implements income tax logic

VERSION

version 0.014

SYNOPSIS

package Aruba::Tax::Income::XXXX;
use Moose;

with qw(Finance::Tax::Aruba::Role::Income::TaxYear);

sub _build_tax_bracket {
    return [],
}

sub is_year {
    ...;
}

DESCRIPTION

Consumers of this role must implements the following methods:

_build_tax_bracket

This should be an array reference containing the information about each bracket.

[
    { min => 0, max => 34930, fixed => 0, rate => 14 },
    {
        min   => 34930,
        max   => 65904,
        fixed => 4890.2,
        rate  => 25
    },
    {
        min   => 65904,
        max   => 147454,
        fixed => 12633.7,
        rate  => 42
    },
    {
        min   => 147454,
        max   => 'inf' * 1,
        fixed => 46884.7,
        rate  => 52
    },
];

is_year

This function should return true if the year is supported by the plugin

METHODS

reparatie_kosten

Returns the reparatietoeslag of this employee as a number. It is paid to the employee and funded by the employer. A consumer sums it over all employees of a payroll run and decides there how to fund the total: less wage tax withheld first, then less AOV, then less AZV. The per-employee split of reparatietoeslag_tax, reparatietoeslag_aov_employer and reparatietoeslag_azv_employer only holds for a single employee.

OPTIONAL OVERRIDES

reparatietoeslag_table

An array reference of monthly gross income ranges (min inclusive, max exclusive) with the monthly tax credit (amount) for that range. The credit is added to the net income. The employer funds it by withholding less income tax first, then by remitting less employer AOV, then less employer AZV (see reparatietoeslag_tax, reparatietoeslag_aov_employer and reparatietoeslag_azv_employer). Empty by default, which means no credit.

[
    { min => 2007.05, max => 2258, amount => 175 },
]

ATTRIBUTES

TODO: Add more documentation

AUTHOR

Wesley Schwengle <waterkip@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Wesley Schwengle.

This is free software, licensed under:

The (three-clause) BSD License