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 |
|---|---|---|---|
id (path) |
number | yes | VAT 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 |
|---|---|---|
success |
boolean | Always true on success. |
data |
object | VAT rate object. |
data.id |
number | VAT rate identifier. List: GET /v1/catalog-vat-rates. Pass it as the product's vatId. |
data.name |
string | VAT rate name. |
data.rate |
number | null | VAT percentage. For an existing "No VAT" rate, this field may be null. |
data.active |
string | Rate status: Y — active, N — inactive. |
data.sort |
number | Sort order. |
data.timestampX |
string | Modification 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 |
|---|---|---|
| 404 | ENTITY_NOT_FOUND |
No VAT rate exists with this id, including after deletion. |
| 400 | INVALID_PARAMS |
id is not a non-negative integer, for example abc. |
| 403 | SCOPE_DENIED |
The key does not have the catalog scope. |
| 401 | MISSING_API_KEY |
The X-Api-Key header is missing. |
| 401 | TOKEN_MISSING |
The key has no configured Bitrix24 tokens. For an OAuth application key, check the user session. |
For all common API errors, see Errors.