Tax obligation deadlines for the tenant's fiscal profile
const url = 'https://api.emite.cr/v1/fiscal/calendar?from=2026-01&to=2026-12';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/fiscal/calendar?from=2026-01&to=2026-12' \ --header 'Authorization: Bearer <token>'Windows come from the calendar Hacienda publishes, imported at build time. Each occurrence carries dueDateSource: published is what Hacienda states, derived is our own estimate for a period Hacienda has not published yet — a client MUST render them differently. Defaults to the current CR calendar year. The response carries the disclaimer that any UI has to show alongside the dates.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
2026-01First month of the range (YYYY-MM, inclusive). The range selects occurrences by the month their window CLOSES, not by the period they declare: the IVA of December 2025, due on 15 January 2026, is in 2026-01. Defaults to January of the current Costa Rica year.
Example
2026-12Last month of the range (YYYY-MM, inclusive), by the same closing month. Defaults to December of the current Costa Rica year.
Send true to list every obligation of the DGT catalog, not only the ones in the company's fiscal profile; omit it for the profile only. The company's own obligations are always included.
Responses
Section titled “Responses”object
Every window that closes within the range — for the obligations in the profile (the whole catalog with includeAll) and the company's own obligations — ordered by closing day.
object
TRIBU-CR code of the obligation; an empty string for one of the company's own obligations (see customObligationId).
The DGT's name of the obligation, or the name the company gave its own.
The period of the occurrence. YYYY-MM is the period declared — for a non-monthly obligation, the month it ends, with the window usually in a later month (the quarter ending in March is 2026-03, filed in April). YYYY labels a window Hacienda publishes once a year, and an annual obligation of the company's own: the calendar year of the window, not necessarily the fiscal year it settles (the income tax filed early in 2026 settles 2025). Send it verbatim to PATCH /v1/fiscal/status.
Number of the installment (cuota) within the period, from 1. Hacienda publishes up to five windows per period, one per installment, and each is its own occurrence; always 1 for the company's own obligations.
First day (Costa Rica, YYYY-MM-DD) of the filing window. Null when Hacienda publishes only a payment window, and always for the company's own obligations.
Last day (Costa Rica, YYYY-MM-DD) of the filing window: the filing deadline. For one of the company's own obligations, its derived due date. Null when Hacienda publishes only a payment window.
First day (Costa Rica, YYYY-MM-DD) of the payment window. Null when Hacienda publishes none, and always for the company's own obligations.
Last day (Costa Rica, YYYY-MM-DD) of the payment window: the payment deadline. Null as paymentFrom.
Where the dates come from:
published— the calendar Hacienda publishes.derived— EmiteCR's own estimate, for a period Hacienda has not published yet and for every one of the company's own obligations.
A client MUST render them differently: a derived date has already turned out LATER than the real one.
How close the window is to closing, by Costa Rica calendar day and whatever the status: overdue — its last day has passed; due_today — today is the last day; due_soon — it closes within the next 3 days; ok — later.
What the company recorded for this period, with PATCH /v1/fiscal/status:
pending— nothing recorded (the default).filed— marked as filed (seefiledAt).not_applicable— marked as not applying to the company for this period.
When it was filed, as recorded; null unless status is filed.
The note recorded with the status, or null.
The id of the company's own obligation this occurrence comes from; null for the DGT's obligations.
false when the company has not configured its fiscal profile: the occurrences then follow the suggestion.
The notice, in Spanish, that any interface must show next to these dates: they come from the calendar Hacienda publishes and may change, the enforceable date is the one TRIBU-CR shows, and EmiteCR files no returns on the company's behalf.
Example
{ "occurrences": [ { "code": "150", "name": "Impuesto al valor agregado", "period": "2026-07", "quota": 1, "filingFrom": "2026-08-01", "filingTo": "2026-08-18", "paymentFrom": "2026-08-01", "paymentTo": "2026-08-18", "dueDateSource": "published", "urgency": "ok", "status": "pending" } ], "disclaimer": "Las fechas provienen del calendario que publica Hacienda. La fecha exigible es la que indique TRIBU-CR."}