List managed tenants with readiness + usage
const url = 'https://api.emite.cr/v1/partner/tenants';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.emite.cr/v1/partner/tenantsEvery 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.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Partner app credential (ecp_*)
Responses
Section titled “Responses”object
Identifier of the company — the :id of the /partner/tenants/:id/* routes.
Hacienda identification type: 01 cédula física, 02 cédula jurídica, 03 DIMEX, 04 NITE, 05 foreign, 06 no contribuyente.
Identification number, as provisioned (uppercase).
Legal name (razón social) — <Nombre> on its documents.
Trade name shown on its documents; null when it has none.
When the company was provisioned — for a revived one, the first time, not the revival.
What the company is missing to emit in production.
object
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.
The company has at least one branch and one terminal. A provisioned company starts with branch 001 and its terminal 00001.
The company has at least one economic activity — sent at provisioning (economicActivityCode) or brought from the registry with syncEconomicActivities.
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.
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.
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.
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.
This month's production documents against the cap.
object
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.
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.
documentsUsed as a whole percentage of monthlyDocCap; above 100 if the cap was lowered after the documents were counted.
Example
[ { "identificationType": "01", "identificationNumber": "3101234567", "name": "Restaurante El Fogón S.A.", "commercialName": "El Fogón", "usage": { "documentsUsed": 1250, "monthlyDocCap": 30000, "percentUsed": 4 } }]