Skip to content

List economic activities registered for this tenant

GET
/v1/tenants/{tenantId}/economic-activities
curl --request GET \
--url https://api.emite.cr/v1/tenants/example/economic-activities \
--header 'Authorization: Bearer <token>'

The company's economic activities, as Hacienda's registry lists them for its identification (POST …/sync brings them in line; they cannot be created by hand — the first one may come from economicActivityCode when the company was created). The one marked isDefault is the <CodigoActividadEmisor> a document declares when the request names no activity.

tenantId
required
string
Media typeapplication/json
Array<object>
object
id
required

Id of the activity in the company; PATCH …/{activityId}/default takes it.

string format: uuid
code
required

Hacienda's economic activity code, in the dotted form its registry returns. The default one is what documents declare as <CodigoActividadEmisor>.

string
description
required

The activity's name, as Hacienda's registry returns it (in Spanish). null for an activity seeded from the company's economicActivityCode at its creation, until the first sync with Hacienda fills it.

string
nullable
isDefault
required

Whether documents declare this activity when the request names none. At most one activity of the company is the default; with none, creating a document that names no activity answers 412 TENANT_NOT_CONFIGURED.

boolean
Example
[
{
"code": "6201.0",
"description": "Programación de computadoras"
}
]

Missing or invalid JWT / API key

Tenant boundary violation or insufficient scope.