Skip to navigation

Retrieve tax settings

Draft scaffold — not implemented or available in the API.

Returns the account’s tax settings: whether tax is enabled, the connected provider, and the default, discount and deposit tax codes.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

This endpoint is in the tax=v1 beta. Send this header to use it.

Allowed values:

Response

200
objectenum

The type of object. Always taxSettings.

Allowed values:
defaultTaxCodestring1-255 characters

The tax code for a product, price or commit that names none. Must be an active tax code. Defaults to SW054003; it can be changed to another code but not cleared.

depositTaxCodestring1-255 characters

The non-taxable code for prepaid commit invoices taxed at consumption: the prepayment is a deposit, and the usage it covers is taxed when it’s invoiced. Must be an active tax code. Defaults to NT; it can be changed to another code but not cleared.

discountTaxCodestring1-255 characters

The tax code for discount lines, sent to the tax provider as negative amounts that lower the taxable total. Must be an active tax code. Defaults to PD000000; it can be changed to another code but not cleared.

enabledboolean
Whether invoices are taxed through the connected tax provider.
livemodeboolean

true for an object on a live account, false on a test account.

providerenum
The connected tax provider, or null when none is connected. Connected in the dashboard, not through the API.
Allowed values:
updatedAtdatetime
When the settings were last changed.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error