TaxJar. Requests. Taxes
(tax_jar v0.4.0)
Copy Markdown
All the TaxJar tax API endpoints are defined in this module.
Summary
Functions
Request sales tax for the given order.
Functions
@spec get_sales_tax_for_order(map()) :: {:ok, map()} | {:error, TaxJar.Requests.Error.t()}
Request sales tax for the given order.
The API response is a map with the tax liability wrapped in a map with a single
key "tax". This returns the content without the wrapper.
See Sales Tax API for details.