The plans this tenant may buy, by its identification type
const url = 'https://api.emite.cr/v1/billing/plans/available';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/billing/plans/available \ --header 'Authorization: Bearer <token>'The pf_* ladder is reserved for cédula física (01) and DIMEX (03); every other identification type sees only pj_*. Not scope-gated — any member may see what their company could buy. The track is derived on the SERVER from the tenant's Hacienda identification type, which is verified against the padrón, so it is not something a client can choose.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”object
The plans of the ladders served, ladder by ladder and in tier order within each: on GET /billing/plans, both ladders (pf_* first) or the one ?track= names; on GET /billing/plans/available, the ladders listed in tracks.
object
Stable plan identifier, persisted in the subscription. Never contains the commercial name: a rebrand must not move any row.
Commercial name shown to the buyer.
Which ladder the plan sits on. 'pf' (persona física) is restricted to cédula física / DIMEX; 'pj' is open to every identification type.
Rank within its own track. NOT comparable across tracks.
How the plan is billed: recurring = a monthly or annual subscription; prepaid = documents bought upfront in prepaid lots; consumption = no subscription, one charge a month for what was emitted («Por consumo»). Every plan of the two ladders served here is recurring.
Monthly price in CRC, NET of IVA. null on the two Enterprise plans (Águila, Jaguar), whose fee is set per company by a plan quote.
Annual price in CRC, NET of IVA (2 months free).
Monthly price WITH IVA — the amount actually charged to the card.
Annual price WITH IVA — the amount actually charged to the card.
Documents included per month. null when there is no number — see documentsRegime.
How the document allowance works. 'unlimited' plans are marked with an asterisk on the pricing page and governed by the fair-use clause, not by a counter. 'quoted' (Águila, Jaguar): the quota is set per company by a plan quote — «a medida».
Seat cap. null = unlimited.
Features included outright (add-ons excluded).
The recommended plan of its track — the one the page leads with.
Prepaid cupos, for buyers who do not want a subscription. Served with the plans so no client has to keep its own copy of a published price.
object
Documents the lot is worth. This is the id the checkout is keyed by.
Price in CRC, NET of IVA.
Price WITH IVA — the amount actually charged.
Days the minted credit lot stays valid, from purchase.
IVA percentage applied to every net price.
Every ladder this tenant may buy from, in order of recommendation: ['pf', 'pj'] for cédula física / DIMEX (the PF ladder is the cheaper one at every equivalent step), ['pj'] for every other identification type.
The recommended ladder — the first of tracks — derived from the tenant's identification type.
The tenant's Hacienda identification type, which is what decides the track.
Example
{ "plans": [ { "code": "pj_t2", "label": "Caucel", "track": "pf", "billingModel": "recurring", "documentsRegime": "quota" } ], "prepaidBundles": [ { "documents": 100, "priceCrc": 17900, "grossCrc": 20227, "validityDays": 365 } ], "ivaRatePct": 13, "tracks": [ "pf" ], "track": "pf", "identificationType": "01"}