Finance::Tax::Aruba::Role::Income::TaxYear - A role that implements income tax logic
version 0.001
package Aruba::Tax::Income::XXXX; use Moose; with qw(Finance::Tax::Aruba::Role::Income::TaxYear); sub _build_tax_bracket { return [], } sub is_year { ...; }
Consumers of this role must implements the following methods:
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 }, ];
This function should return true if the year is supported by the plugin
TODO: Add more documentation
Wesley Schwengle <waterkip@cpan.org>
This software is Copyright (c) 2020 by Wesley Schwengle.
This is free software, licensed under:
The (three-clause) BSD License
To install Finance::Tax::Aruba, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Tax::Aruba
CPAN shell
perl -MCPAN -e shell install Finance::Tax::Aruba
For more information on module installation, please visit the detailed CPAN module installation guide.