Skip to content

EmiteCR API

Emit, sign, and submit Costa Rican electronic documents (Hacienda v4.4) from your own system — a REST API with API keys, outbound webhooks, and a partner control plane.

EmiteCR is a multi-tenant electronic-invoicing platform for Costa Rica built to Hacienda’s v4.4 specification. It handles the parts that are hard and regulated — clave generation, XML build, XAdES signing with the taxpayer’s .p12, ATV submission, and the asynchronous acceptance flow — behind a REST API.

Emit end-to-end

Create a document, sign it and send it to Hacienda in plain HTTP calls. clave and consecutivo are allocated server-side; the verdict comes back through polling or webhooks. Start with the quickstart.

API keys for your backend

Create keys in the web app, scoped to exactly what your integration does, per environment. See Authentication.

Partner control plane

Products that invoice on behalf of their own customers provision headless tenants and mint per-customer keys. See the Partner API.

Built for LLMs

Every page is available as clean Markdown, plus a curated /llms.txt index and a full /llms-full.txt dump for coding assistants.

  • Data plane — x-api-key: ec_live_… (or ec_test_… for sandbox). Each key belongs to one company and one environment; a company can have as many as it needs. Used to emit and read documents. See Authentication.
  • Partner control plane — x-partner-key: ecp_live_…. One credential per integrator. Provisions tenants and mints data-plane keys. See the Partner API.

Human sessions (the web app) use Authorization: Bearer <JWT> against the same endpoints — but for machine integrations, an API key is the path.

A typed TypeScript SDK is coming soon; until then, every guide shows the HTTP calls.