TaxJar (tax_jar v0.1.0)
Interact with TaxJar's API.
Configuration
To be able to use this successfully you need to configure the required values.
:api_key
- The API auth key for your account.:api_url
- (Optional) If you want to override the default url for the current env.:api_version
- Must be a valid TaxJar API version. Default is"2022-01-24"
.:mode
- (Optional) You can explicitly specify the mode as:production
or:sandbox
. The default is:sandbox
. This will also control which url is used.
Summary
Functions
Link to this function
fetch_env!(key)
Link to this function
get_api_key()
@spec get_api_key() :: binary()
Link to this function
get_api_url()
Link to this function
get_api_version()
@spec get_api_version() :: binary()
Link to this function
get_env(key, default \\ nil)
Link to this function
get_mode()
@spec get_mode() :: :sandbox | :production
Link to this function
get_sales_tax_for_order(payload)
Link to this function