line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::Tax::Aruba::Income::2020; |
2
|
|
|
|
|
|
|
our $VERSION = '0.007'; |
3
|
4
|
|
|
4
|
|
9116
|
use Moose; |
|
4
|
|
|
|
|
1841072
|
|
|
4
|
|
|
|
|
41
|
|
4
|
4
|
|
|
4
|
|
34325
|
use namespace::autoclean; |
|
4
|
|
|
|
|
33170
|
|
|
4
|
|
|
|
|
17
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Income tax calculator for the year 2020 |
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 => 28_861, |
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
|
4
|
|
|
4
|
|
168
|
{ min => 0, max => 34930, fixed => 0, rate => 14 }, |
62
|
|
|
|
|
|
|
{ |
63
|
|
|
|
|
|
|
min => 34930, |
64
|
|
|
|
|
|
|
max => 65904, |
65
|
|
|
|
|
|
|
fixed => 4890.2, |
66
|
|
|
|
|
|
|
rate => 25 |
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
{ |
69
|
|
|
|
|
|
|
min => 65904, |
70
|
|
|
|
|
|
|
max => 147454, |
71
|
|
|
|
|
|
|
fixed => 12633.7, |
72
|
|
|
|
|
|
|
rate => 42 |
73
|
|
|
|
|
|
|
}, |
74
|
|
|
|
|
|
|
{ |
75
|
|
|
|
|
|
|
min => 147454, |
76
|
|
|
|
|
|
|
max => 'inf' * 1, |
77
|
|
|
|
|
|
|
fixed => 46884.7, |
78
|
|
|
|
|
|
|
rate => 52 |
79
|
|
|
|
|
|
|
}, |
80
|
|
|
|
|
|
|
]; |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub is_year { |
84
|
24
|
|
|
24
|
1
|
59
|
my $self = shift; |
85
|
24
|
100
|
|
|
|
108
|
return 1 if shift == 2020; |
86
|
20
|
|
|
|
|
51
|
return 0; |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
__END__ |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=pod |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=encoding UTF-8 |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 NAME |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Finance::Tax::Aruba::Income::2020 - Income tax calculator for the year 2020 |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 VERSION |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
version 0.007 |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 SYNOPSIS |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 DESCRIPTION |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Calculate your taxes and other social premiums for the year 2020. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head1 METHODS |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 is_year |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Year selector method |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
if ($module->is_year(2020)) { |
119
|
|
|
|
|
|
|
return "year is 2020"; |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head1 SEE ALSO |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
This class implements the L<Finance::Tax::Aruba::Role::Income::TaxYear> role. |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head1 AUTHOR |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Wesley Schwengle <waterkip@cpan.org> |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
This software is Copyright (c) 2020 by Wesley Schwengle. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
This is free software, licensed under: |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
The (three-clause) BSD License |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |