Skip to content

Lookup a single CAByS entry by exact 13-digit code

GET
/v1/cabys/{codigo}
curl --request GET \
--url https://api.emite.cr/v1/cabys/8399000000000 \
--header 'Authorization: Bearer <token>'

Returns the description and the IVA rate Hacienda publishes for the code, read from Hacienda's CAByS service (https://api.hacienda.go.cr/fe/cabys?codigo=) and cached for one hour. For the matching IVA option (tax code, rate code, label), use GET /:codigo/suggested-iva.

codigo
required
string
Example
8399000000000

13-digit CAByS code

Media typeapplication/json
object
codigo
required

13-digit CAByS code.

string
descripcion
required

Description of the good or service as the CAByS catalog publishes it (Spanish).

string
impuesto
required

IVA rate (%) of the code: as Hacienda publishes it now in GET /v1/cabys/:codigo, and as EmiteCR's bundled copy of the catalog has it in search results.

number
Example
{
"codigo": "8399000000000",
"descripcion": "Servicios de consultoría en gestión empresarial",
"impuesto": 13
}

Code is not 13 digits.

Code unknown in Hacienda's catalog.

Hacienda's CAByS service answered an error.

Hacienda's CAByS service could not be reached.