finance.tax.remove-vat Unreviewed
Extract the VAT already included in a gross amount, using the rate in force on the date of supply.
remove_vat in Rust
1.0.2
py rs ts
20 tests
finance.margin
Profit on a sale with both the margin and the markup, so the two are never confused.
margin in Rust
1.0.0
py rs ts
13 tests
finance.markup-price
Selling price from a cost and a target margin or markup in basis points, with explicit rounding.
markup_price in Rust
1.0.0
py rs ts
21 tests
retail.price-rounding
Snap a price to a price point: charm pricing (.99, .95), nearest 5p or 10p, rounding up, down or to nearest.
round_price in Rust
1.0.0
py rs ts
25 tests
retail.sales-tax-us Unreviewed
US sales tax on a sale: the state's base rate from dated data plus a local rate the caller supplies.
sales_tax_us in Rust
1.1.1
py rs ts
22 tests