For AI agents: markdown of this page — /docs-content-en/entities/catalog-vat-rates/get.md documentation index — /llms.txt
Get a VAT rate
GET /v1/catalog-vat-rates/:id
Returns a single VAT rate from the product catalog by its identifier.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Parameterid (path) |
Typenumber | Requiredyes | DescriptionVAT rate identifier, a non-negative integer. List: GET /v1/catalog-vat-rates. |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/catalog-vat-rates/25" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/catalog-vat-rates/25" \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/catalog-vat-rates/25', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log(data.name, data.rate)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/catalog-vat-rates/25', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
console.log(data.name, data.rate)
Response fields
| Field | Type | Description |
|---|---|---|
Fieldsuccess |
Typeboolean | DescriptionAlways true on success. |
Fielddata |
Typeobject | DescriptionVAT rate object. |
Fielddata.id |
Typenumber | DescriptionVAT rate identifier. List: GET /v1/catalog-vat-rates. Pass it as the product's vatId. |
Fielddata.name |
Typestring | DescriptionVAT rate name. |
Fielddata.rate |
Typenumber | null | DescriptionVAT percentage. For an existing "No VAT" rate, this field may be null. |
Fielddata.active |
Typestring | DescriptionRate status: Y — active, N — inactive. |
Fielddata.sort |
Typenumber | DescriptionSort order. |
Fielddata.timestampX |
Typestring | DescriptionModification date and time in ISO 8601 format. Set by Bitrix24. |
Response example
{
"success": true,
"data": {
"active": "N",
"id": 25,
"name": "Docs VAT 2026-10-08",
"rate": 7.5,
"sort": 900,
"timestampX": "2026-10-08T18:49:59.000Z"
}
}
Error response example
404 — no rate exists with this id:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "vat does not exist."
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP404 | CodeENTITY_NOT_FOUND |
DescriptionNo VAT rate exists with this id, including after deletion. |
| HTTP400 | CodeINVALID_PARAMS |
Descriptionid is not a non-negative integer, for example abc. |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionThe key does not have the catalog scope. |
| HTTP401 | CodeMISSING_API_KEY |
DescriptionThe X-Api-Key header is missing. |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionThe key has no configured Bitrix24 tokens. For an OAuth application key, check the user session. |
For all common API errors, see Errors.