Skip to content

List managed tenants with readiness + usage

GET
/v1/partner/tenants
curl --request GET \
--url https://api.emite.cr/v1/partner/tenants

Every company this partner manages, oldest first (a released one is left out). Each row carries its identification and names, the readiness checklist for PRODUCTION — readyToEmit is true once the credentials are uploaded and not refused by Hacienda, and a branch with a terminal, an economic activity, the fiscal address and an identification the clave can carry are all in place — and usage: the production documents counted this Costa Rica calendar month against the per-company monthlyDocCap, past which emission answers 402 DOCUMENT_QUOTA_EXCEEDED. GET /partner/tenants/:id adds the credentials of each environment.

x-partner-key
string

Partner app credential (ecp_*)

Media typeapplication/json
Array<object>
object
tenantId
required

Identifier of the company — the :id of the /partner/tenants/:id/* routes.

string format: uuid
identificationType
required

Hacienda identification type: 01 cédula física, 02 cédula jurídica, 03 DIMEX, 04 NITE, 05 foreign, 06 no contribuyente.

string
Allowed values: 01 02 03 04 05 06
identificationNumber
required

Identification number, as provisioned (uppercase).

string
name
required

Legal name (razón social) — <Nombre> on its documents.

string
commercialName
required

Trade name shown on its documents; null when it has none.

string
nullable
createdAt
required

When the company was provisioned — for a revived one, the first time, not the revival.

string format: date-time
readiness
required

What the company is missing to emit in production.

object
credentials
required

Production credentials are uploaded and Hacienda does not refuse them (credentials.production.atvRejectedAt is null on the detail): refused ones keep every document from reaching Hacienda just like missing ones.

boolean
branchAndTerminal
required

The company has at least one branch and one terminal. A provisioned company starts with branch 001 and its terminal 00001.

boolean
economicActivity
required

The company has at least one economic activity — sent at provisioning (economicActivityCode) or brought from the registry with syncEconomicActivities.

boolean
location
required

The fiscal address (province, canton and district) is set — every document carries it as the issuer <Ubicacion>, and emission answers 422 TENANT_LOCATION_MISSING without it. Set it at provisioning or through profile.location of the config endpoint.

boolean
sequencesSeeded
required

Informational, not a requirement: some production counter is above zero — numbering was seeded (a migration from another provider) or a document already got a number.

boolean
issuerIdSupported
required

The identification fits the 12 characters the 50-character clave reserves for the issuer. An alphanumeric cédula jurídica (decree 44648-MJ) fits since the Anexo of 2026-04-22, padded with zeros; false means an identification no issuer has, and emission answers 422 ISSUER_ALPHANUMERIC_ID_UNSUPPORTED. A company with an alphanumeric cédula can issue but cannot answer a purchase yet (the MensajeReceptor still asks for digits): 422 ACCEPTANCE_ALPHANUMERIC_ID_UNSUPPORTED.

boolean
readyToEmit
required

true when every requirement is met: credentials, branchAndTerminal, economicActivity, location and issuerIdSupported (sequencesSeeded does not count). Emission can still be refused for reasons outside this checklist, such as the monthly cap in usage.

boolean
usage
required

This month's production documents against the cap.

object
documentsUsed
required

Production documents numbered in the current Costa Rica calendar month and counted against monthlyDocCap; one that Hacienda rejects, or that ends in error, stops counting.

number
monthlyDocCap
required

The partner app's monthly cap per company — a safety brake, not a price: once documentsUsed reaches it, emission answers 402 DOCUMENT_QUOTA_EXCEEDED until the next month.

number
percentUsed
required

documentsUsed as a whole percentage of monthlyDocCap; above 100 if the cap was lowered after the documents were counted.

number
Example
[
{
"identificationType": "01",
"identificationNumber": "3101234567",
"name": "Restaurante El Fogón S.A.",
"commercialName": "El Fogón",
"usage": {
"documentsUsed": 1250,
"monthlyDocCap": 30000,
"percentUsed": 4
}
}
]