Impuestos
Consultar un impuesto por ID
Retorna el detalle de un impuesto específico por su ID. Si el negocio hereda productos del padre, también busca en los impuestos del negocio padre.
Permiso requerido: TX_POST (Crear/Editar)
Autenticación requerida: Bearer Token obtenido del campo tokenCurrent en el servicio de login.
Authorization: Bearer {tokenCurrent}
get/taxes/{id}
Request
- Base URLhttps://api.pirpos.com
- URLhttps://api.pirpos.com/taxes/{id}
- AuthHTTP bearer
Path parameters
idstring required
ID (ObjectId) del impuesto a consultar
Response
Impuesto obtenido exitosamente
Example response
{
"_id": "507f1f77bcf86cd799439020",
"business": "507f1f77bcf86cd799439012",
"name": "IVA",
"percentage": 19,
"type": "Percentage",
"externalIntegration": {
"siigo": {
"id": 5
},
"DIAN": {
"id": "01"
},
"loggro": {
"rate": 19,
"rateCode": "IVA_19",
"rateDescription": "IVA 19%",
"id": "abc123",
"taxCode": "IVA"
},
"loggroEnterprise": {
"id": "ent_001"
}
},
"modifiedOn": "2025-02-23T10:00:00.000Z",
"createdOn": "2025-01-15T08:30:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.