NAME

Finance::Tax::Aruba::BBO - BBO (turnover tax) calculations for Aruba

VERSION

version 0.014

SYNOPSIS

use Finance::Tax::Aruba::BBO;

my $calc = Finance::Tax::Aruba::BBO->tax_year(2024);

$calc->domestic_tax(2000);   # BBO owed on domestic sales
$calc->import_tax(1000);     # estimate of the customs BBO invoice
$calc->net_payable(
    domestic => 2000,
    customs  => [
        { amount => 70, held => 1 },
        { amount => 35, held => 0 },
    ],
);                          # 70 is offset, the 35 was not forwarded
$calc->customs_not_forwarded($invoices);

DESCRIPTION

Factory for BBO (turnover tax) calculations, same shape as Finance::Tax::Aruba::Income: the rate (and whether import BBO is creditable against domestic BBO, see "bbo_at_border" in Finance::Tax::Aruba::Role::BBO::TaxYear) has changed over time, so this dispatches to a year-specific class rather than assuming one fixed rate/rule forever.

METHODS

tax_year

Factory method to create the correct calculator for a given tax year.

SEE ALSO

Finance::Tax::Aruba::Role::BBO::TaxYear, Finance::Tax::Aruba::Income

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