Saltar al contenido principal
GET

Listado de impuestos: IVA

Scope:accounting:taxes.read
https://api.holded.com/api/v2/taxes

Devuelve la lista completa de impuestos configurados en tu cuenta.

Petición

python
import requests

url = "https://api.holded.com/api/v2/taxes"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Respuestas

Respuesta

json
{
  "items": [
    {
      "id": "string",
      "name": "string",
      "amount": "string",
      "scope": "string",
      "key": "string",
      "group": "string",
      "type": "string",
      "items": [
        "string"
      ],
      "status": false,
      "visible": false
    }
  ]
}

Respuestas exitosas

200Listado de impuestosapplication/json
object
items[]object[]
idstring

Tax unique identifier. Use this value in the `taxes` array when creating products or document line items.

namestring

Tax name

amountstring | null

Tax percentage as string for precision

scopestring | null

Tax scope

keystring

Tax key identifier

groupstring

Tax group

typestring

Tax type

items[]string[]

Tax sub-item keys

statusboolean

Whether the tax is active

visibleboolean

Whether the tax is visible

Respuestas de error

401API key inválida o no proporcionadaapplication/json
403Permisos insuficientesapplication/json
429Límite de solicitudes excedidoapplication/json