Skip to content

The tenant's own obligations (CCSS, municipal patente, marchamo)

GET
/v1/fiscal/custom-obligations
curl --request GET \
--url https://api.emite.cr/v1/fiscal/custom-obligations \
--header 'Authorization: Bearer <token>'

These are NOT in the DGT catalog — that one only covers Hacienda. Their due dates are always derived from the rule configured here, so occurrences built from them always carry dueDateSource: derived.

Media typeapplication/json
Array<object>
object
id
required

Id of the obligation: the customObligationId of its occurrences.

string format: uuid
name
required

Name the obligation is shown with.

string
periodicity
required

How often it falls due (see the request body).

string
Allowed values: mensual trimestral cuatrimestral semestral anual
dueDay
required

The day it falls due, counted as dueDayKind says.

number
dueDayKind
required

Whether dueDay counts calendar or business days.

string
Allowed values: calendar business
monthOffset
required

Months after the end of the period the due date falls.

number
anchorMonth
required

The month that sets the cycle of a non-monthly obligation; null when none was given.

number
nullable >= 1 <= 12
notes
required

Free-text notes, or null.

string
nullable
Example
[
{
"periodicity": "mensual",
"dueDayKind": "calendar"
}
]