<% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>

t::suite::08-sales_tax.t

DESCRIPTION

Tests basic sales tax calculations, including consolidation and rounding. The invoice will have two charges that add up to $50 and two taxes: - Tax 1, 8.25%, for $4.125 in tax, which will round up. - Tax 2, 8.245%, for $4.1225 in tax, which will round down.

Correct: The invoice will have one line item for each of those taxes, with the correct amount.

<% include ('/elements/footer.html' ) %>