[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fcatalog-vat-rates\u002Flist":3,"docs-tabs-entities\u002Fcatalog-vat-rates\u002Flist":6},{"content":4,"lastmod":5},"## List VAT rates\n\n`GET \u002Fv1\u002Fcatalog-vat-rates`\n\nReturns VAT rates from the product catalog with filtering and sorting.\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|------|------|------|------|\n| `limit` (query) | number | `50` | Number of records, from 1 to 5000. A non-numeric value is replaced with `50`. |\n| `offset` (query) | number | `0` | Skip N records. `?offset=1` starts with the second record. Multiples of 50 are not required. |\n| `select` (query) | string | — | Comma-separated fields to return: `?select=id,name,rate`. See [VAT rate fields](\u002Fdocs\u002Fentities\u002Fcatalog-vat-rates\u002Ffields) for names. |\n| `sort` (query) | string | `id` | Sort order: `?sort=-rate`, where minus means descending. Separate multiple fields with commas: `?sort=sort,id`. |\n| `order` (query) | object | — | Object-form sort order: `?order[rate]=desc`. If `sort` is also provided, it takes precedence. |\n| `filter` (query) | object | — | Filter by fields from `GET \u002Fv1\u002Fcatalog-vat-rates\u002Ffields`.\u003Cbr>[Filtering syntax](\u002Fdocs\u002Ffiltering). Example: `?filter[active]=Y`. |\n| `withTotal` (query) | string | — | Request the record count: `true` or `false`. For this reference entity, `false` does not suppress `meta.total`. [Pagination and record counts](\u002Fdocs\u002Fentity-api). |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -g \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-vat-rates?filter[id]=25&limit=1&withTotal=true\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -g \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-vat-rates?filter[id]=25&limit=1&withTotal=true\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-vat-rates?filter[id]=25&limit=1&withTotal=true', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data, meta } = await res.json()\nconsole.log(data, meta.hasMore)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-vat-rates?filter[id]=25&limit=1&withTotal=true', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data, meta } = await res.json()\nconsole.log(data, meta.hasMore)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|------|------|\n| `success` | boolean | Always `true` on success. |\n| `data` | array | Array of VAT rates. |\n| `data[].id` | number | VAT rate identifier. List: [`GET \u002Fv1\u002Fcatalog-vat-rates`](\u002Fdocs\u002Fentities\u002Fcatalog-vat-rates\u002Flist). Pass it as the product's `vatId`. |\n| `data[].name` | string | VAT rate name. |\n| `data[].rate` | number \\| null | VAT percentage. For an existing \"No VAT\" rate, this field may be `null`. |\n| `data[].active` | string | Rate status: `Y` — active, `N` — inactive. |\n| `data[].sort` | number | Sort order. |\n| `data[].timestampX` | string | Modification date and time in ISO 8601 format. Set by Bitrix24. |\n| `meta.total` | number | Number of rates matching the filter. Returned even with `withTotal=false`. |\n| `meta.hasMore` | boolean | Whether more rates exist beyond `limit`. |\n| `meta.warnings` | array | Present when there are warnings: `UNKNOWN_SELECT_FIELD` for an unknown name in `select`, `LIMIT_ZERO_IGNORED` when `limit` is `0` and the default is used. |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"active\": \"N\",\n      \"id\": 25,\n      \"name\": \"Docs VAT 2026-10-08\",\n      \"rate\": 7.5,\n      \"sort\": 900,\n      \"timestampX\": \"2026-10-08T18:49:59.000Z\"\n    }\n  ],\n  \"meta\": {\n    \"total\": 1,\n    \"hasMore\": false\n  }\n}\n```\n\n## Error response example\n\n400 — the filter references `nope`, which is not in the schema:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"UNKNOWN_FILTER_FIELD\",\n    \"message\": \"Unknown filter field 'nope' for entity 'catalog-vat-rates'. Available: id, name, rate, active, sort, timestampX\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|------|------|\n| 400 | `UNKNOWN_FILTER_FIELD` | The filter references a field outside the schema. The message lists available fields. |\n| 400 | `UNKNOWN_SORT_FIELD` | The sort order references a field outside the schema. |\n| 400 | `INVALID_FILTER` | `filter` is not a JSON object, or `filter[field]=…` and `filter={...}` are mixed. Use one form. |\n| 400 | `INVALID_FILTER_OPERATOR` | An unknown operator or a logical key `$or`, `$and`, `$not`. Use `$in` for multiple values of one field. |\n| 403 | `SCOPE_DENIED` | The key does not have the `catalog` scope. |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing. |\n| 401 | `TOKEN_MISSING` | The key has no configured Bitrix24 tokens. For an OAuth application key, check the user session. |\n\nFor all common API errors, see [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**An unknown name in `select` does not stop the request.** The response is `200`, records retain the available fields, and `meta.warnings` contains `UNKNOWN_SELECT_FIELD`. Check warnings to catch typos.\n\n**A No VAT rate may have `rate: null`.** This differs from a numeric rate of `0`. Handle it explicitly when displaying rates or calculating totals.\n\n## See also\n\n- [Search VAT rates](\u002Fdocs\u002Fentities\u002Fcatalog-vat-rates\u002Fsearch)\n- [Get a VAT rate](\u002Fdocs\u002Fentities\u002Fcatalog-vat-rates\u002Fget)\n- [Create a VAT rate](\u002Fdocs\u002Fentities\u002Fcatalog-vat-rates\u002Fcreate)\n- [VAT rate fields](\u002Fdocs\u002Fentities\u002Fcatalog-vat-rates\u002Ffields)\n- [Filtering syntax](\u002Fdocs\u002Ffiltering)\n- [Limits and optimization](\u002Fdocs\u002Foptimization)\n- [Catalog products](\u002Fdocs\u002Fentities\u002Fcatalog-products)\n","2026-10-09",{},1795415205909]