Skip to main content
GET
/
tax-codes
/
{taxCodeId}
Get a tax code for a company
curl --request GET \
  --url https://openapi.pleo.io/v1/tax-codes/{taxCodeId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "rate": 123,
  "enabled": true,
  "code": "<string>",
  "type": "normal",
  "ingoingTaxAccount": "<string>",
  "outgoingTaxAccount": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Open API Bearer token

Path Parameters

taxCodeId
string
required

Unique UUID of the tax code.

Example:

"0f0e000-000d-0d00-000b-00db0d000fae"

Response

A tax code has been returned

id
string
required

The unique UUID identifier of the tax code.

name
string
required

The name of the tax.

rate
number
required

This is the rate of the tax code.

enabled
boolean
required

This value is true if the tax code is not hidden.

code
string

The short code of the tax.

type
enum<string>
default:normal

This is the type of the tax code. Can be "normal" or "reverse".

Available options:
NORMAL,
REVERSE
ingoingTaxAccount
string

This is the ingoing account related to the tax codes.

outgoingTaxAccount
string

This is the outgoing account related to the tax codes.

createdAt
string<date-time>

Date and time this record was created in the pleo system in the format YYYY-MM-DDTHH:mi:ss.SSSZ

updatedAt
string<date-time>

Date and time this record was last updated in the pleo system in the format YYYY-MM-DDTHH:mi:ss.SSSZ

deletedAt
string<date-time>

Date and time this record was deleted in the pleo system in the format YYYY-MM-DDTHH:mi:ss.SSSZ