line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::Tax::Aruba::Income::2023; |
2
|
|
|
|
|
|
|
our $VERSION = '0.007'; |
3
|
4
|
|
|
4
|
|
72938
|
use Moose; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
35
|
|
4
|
4
|
|
|
4
|
|
28737
|
use namespace::autoclean; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
42
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Income tax calculator for the year 2021 |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with qw( |
9
|
|
|
|
|
|
|
Finance::Tax::Aruba::Role::Income::TaxYear |
10
|
|
|
|
|
|
|
); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has '+wervingskosten_max' => ( |
13
|
|
|
|
|
|
|
default => 1500, |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has '+wervingskosten_percentage' => ( |
17
|
|
|
|
|
|
|
default => 3, |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
has '+aov_max' => ( |
21
|
|
|
|
|
|
|
default => 85_000, |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
has '+azv_max' => ( |
25
|
|
|
|
|
|
|
default => 85_000, |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
has '+taxfree_max' => ( |
29
|
|
|
|
|
|
|
default => 30_000, |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
has '+aov_percentage_employer' => ( |
33
|
|
|
|
|
|
|
default => 10.5, |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
has '+aov_percentage_employee' => ( |
37
|
|
|
|
|
|
|
default => 5, |
38
|
|
|
|
|
|
|
); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
has '+azv_max' => ( |
41
|
|
|
|
|
|
|
default => 85_000, |
42
|
|
|
|
|
|
|
); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
has '+azv_percentage_employee' => ( |
45
|
|
|
|
|
|
|
default => 1.6, |
46
|
|
|
|
|
|
|
); |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
has '+azv_percentage_employer' => ( |
49
|
|
|
|
|
|
|
default => 8.9, |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
has tax_bracket => ( |
53
|
|
|
|
|
|
|
is => 'ro', |
54
|
|
|
|
|
|
|
isa => 'HashRef', |
55
|
|
|
|
|
|
|
lazy => 1, |
56
|
|
|
|
|
|
|
builder => '_get_tax_bracket', |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
sub _build_tax_bracket { |
60
|
|
|
|
|
|
|
return [ |
61
|
8
|
|
|
8
|
|
367
|
{ min => 0, max => 34930, fixed => 0, rate => 12 }, |
62
|
|
|
|
|
|
|
{ |
63
|
|
|
|
|
|
|
min => 34930, |
64
|
|
|
|
|
|
|
max => 63904, |
65
|
|
|
|
|
|
|
fixed => 3493, |
66
|
|
|
|
|
|
|
rate => 21, |
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
{ |
69
|
|
|
|
|
|
|
min => 63904, |
70
|
|
|
|
|
|
|
max => 135527, |
71
|
|
|
|
|
|
|
fixed => 9577.50, |
72
|
|
|
|
|
|
|
rate => 42 |
73
|
|
|
|
|
|
|
}, |
74
|
|
|
|
|
|
|
{ |
75
|
|
|
|
|
|
|
min => 135527, |
76
|
|
|
|
|
|
|
max => 'inf' * 1, |
77
|
|
|
|
|
|
|
fixed => 39659.20, |
78
|
|
|
|
|
|
|
rate => 52 |
79
|
|
|
|
|
|
|
}, |
80
|
|
|
|
|
|
|
]; |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub is_year { |
84
|
8
|
|
|
8
|
1
|
18
|
my $self = shift; |
85
|
8
|
|
|
|
|
14
|
my $year = shift; |
86
|
8
|
50
|
|
|
|
41
|
return 1 if $year == 2023; |
87
|
0
|
|
|
|
|
|
return 0; |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
__END__ |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=pod |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=encoding UTF-8 |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 NAME |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Finance::Tax::Aruba::Income::2023 - Income tax calculator for the year 2021 |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head1 VERSION |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
version 0.007 |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 SYNOPSIS |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head1 DESCRIPTION |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Calculate your taxes and other social premiums for the year 2021 and 2022. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 METHODS |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 is_year |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Year selector method |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
if ($module->is_year(2020)) { |
120
|
|
|
|
|
|
|
return "year is 2020"; |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head1 SEE ALSO |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
This class implements the L<Finance::Tax::Aruba::Role::Income::TaxYear> role. |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head1 AUTHOR |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Wesley Schwengle <waterkip@cpan.org> |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
This software is Copyright (c) 2020 by Wesley Schwengle. |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
This is free software, licensed under: |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
The (three-clause) BSD License |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=cut |