Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-MultiTenantKey
string

Required when using a Platform API token. The tenant key identifying which business to operate on.

Body

application/json
countryCode
string
required
taxFields
object
required

The tax field values to validate.

version
string

Validate against a pinned ruleset version. Omit for the current ruleset.

Example:

"v2.1.0"

Response

Validation result

valid
boolean
errors
string[]
warnings
string[]
rulesetVersion
string

The pinned version the fields were validated against. Returned only when the request pinned a version.