/taxes
GET https://api.abitmedia.app/settings/v1/taxes
Listado de impuestos
Autorizaciones
bearer: {accessToken}
Ejemplos de código
JavaScript PHP Railsvar xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", "https://api.abitmedia.app/settings/v1/taxes", false);
// Make sure you set the appropriate headers
xmlHttp.setRequestHeader("Header Key", "Header Value");
xmlHttp.send(null);
var response = xmlHttp.responseText;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.abitmedia.app/settings/v1/taxes");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// Make sure you set the nessary headers as a $headers array
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
uri = URI.parse("https://api.abitmedia.app/settings/v1/taxes")
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Get.new(uri.request_uri)
# Make sure you set the appropriate headers
request["header"] = "header value"
response = http.request(request)
Respuesta
200:application/json
{
"success": true,
"status": 200,
"message": "Listado de impuestos",
"data":
[
{
"id": 1,
"name": "IVA 15%",
"rate": 0.15,
"type": "invoicing",
"createdAt": "2024-01-01 17:50:01",
"updateAt": "2024-01-01 17:50:01"
},
{
"id": 2,
"name": "(9)Retencion 10 Iva",
"rate": 0.10,
"type": "vat-Withholding",
"createdAt": "2024-01-01 17:50:01",
"updateAt": "2024-01-01 17:50:01"
}
{
"id": 3,
"name": "(303)Honorarios profesionales y demas pagos por servicios relacionados con el titulo profesional 10%",
"rate": 0.10,
"type": "income-tax",
"createdAt": "2024-01-01 17:50:01",
"updateAt": "2024-01-01 17:50:01"
}
]
}
"success": true,
"status": 200,
"message": "Listado de impuestos",
"data":
[
{
"id": 1,
"name": "IVA 15%",
"rate": 0.15,
"type": "invoicing",
"createdAt": "2024-01-01 17:50:01",
"updateAt": "2024-01-01 17:50:01"
},
{
"id": 2,
"name": "(9)Retencion 10 Iva",
"rate": 0.10,
"type": "vat-Withholding",
"createdAt": "2024-01-01 17:50:01",
"updateAt": "2024-01-01 17:50:01"
}
{
"id": 3,
"name": "(303)Honorarios profesionales y demas pagos por servicios relacionados con el titulo profesional 10%",
"rate": 0.10,
"type": "income-tax",
"createdAt": "2024-01-01 17:50:01",
"updateAt": "2024-01-01 17:50:01"
}
]
}