Skip to content

List tax rates

GET
/api/v1/tax-rates
curl --request GET \
--url https://digize.com/api/v1/tax-rates \
--header 'x-api-key: <x-api-key>'

The workspace’s tax rates, active first, each with its rate in basis points, region and how many lines use it. Quotes, invoices and the store charge them.

Needs the crm:read permission.

Done

Media typeapplication/json
object
rows
required
Array<object>
object
id
required
string
name
required
string
rate
required

Basis points: 825 is 8.25%.

number
label
required

“8.25%”.

string
region
required

Where it applies: “US”, “US-TX”, or null for anywhere.

string | null
isDefault
required

Whether new lines start with it.

boolean
archived
required
boolean
uses
required

Lines that use it.

number
total
required
number

Example generated

{
"rows": [
{
"id": "example",
"name": "example",
"rate": 1,
"label": "example",
"region": "example",
"isDefault": true,
"archived": true,
"uses": 1
}
],
"total": 1
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}