VatZen
object inside rates
parameter. For example vatzen.rates.find
.rates.getAll()
function, which accepts optional options
object with the following (also optional) keys:limit
number
page
number
memberState
boolean
getAll
usage example:rates.getByCountryCode
function, which accepts country code string as a parameter. For example:RateEntity
.rates.find
function, which accepts options object with the following properties:countryCode
string
countryName
string
Germany
ipAddress
string
useClientIp
boolean
RateEntity
.VatZen
object inside validations
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.ValidationEntity
.createValidation
function, which accepts VAT number as a parameter and returns VAT Entity.ValidationEntity
.getValidationById
function.ValidationEntity
.getAll
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
vatIncluded
boolean
category
VatCategory
countryCode
string
countryName
string
Germany
ipAddress
string
useClientIp
boolean
PriceEntity
.createPriceCalculation
function, which accepts the same parameters as calculate
function.PriceEntity
.getPriceCalculationById
function.PriceEntity
.getAll
function, which accepts optional options object with the following optional parameters:limit
number
page
number