VatZen
object inside rates
parameter. For example vatzen.rates.get_rates
.rates.get_rates()
function, which accepts optional options
object with the following (also optional) keys:limit
number
page
number
member_state
boolean
getAll
usage example:rates.get_rate_by_country_code
function, which accepts country code string as a parameter. For example:rates.find
function, which accepts options object with the following properties:country_code
string
country_name
string
Germany
ip_address
string
use_client_ip
boolean
VatZen
object inside validation
parameter. For example vatzen.validations.validate
.validate
function, which accepts only 1 parameter - vat number string. As the response, it returns the complete Validations
entity.create_validation
function, which accepts VAT number as a parameter and returns VAT Entity.get_validation_by_id
function.get_validations
function, which accepts optional options object with the following optional parameters:limit
number
page
number
prices
module in vatzen client, which you can access via vatzen.prices
. Before using this endpoint, make sure to read our Official Prices Documentation.vatzen.prices.calculate
function. Using this function, you can perform price calculation based on different parameters. If accepts options object, with 1 required fields: amount, and various option fields, which will be used to identify VAT rate.amount
number
vat_included
boolean
category
VatCategory
country_code
string
country_name
string
Germany
ip_address
string
use_client_ip
boolean
create_price_calculation
function, which accepts the same parameters as calculate
function.get_calculation_by_id
function.get_prices
function, which accepts optional options object with the following optional parameters:limit
number
page
number