Skip to content

List Hacienda v4.4 IVA tariff options with labels

GET
/v1/catalogs/iva-tariffs
curl --request GET \
--url https://api.emite.cr/v1/catalogs/iva-tariffs

Every IVA tax and tariff combination of Hacienda v4.4 (tax code CodigoImpuestoType plus tariff CodigoTarifaIVAType), with a Spanish label and note, in display order — so a client can show "IVA general 13%" instead of a raw 08. An option's taxCode, taxRateCode and taxRate are the values for an item's defaultTaxCode, defaultTaxRateCode and defaultTaxRate. Public (no credentials) and cacheable for a day.

Media typeapplication/json
object
options
required

Every option in display order: standard, then transitorio, special and none.

Array<object>
object
id
required

Stable option id (use as <option value>).

string
label
required

Human-readable label (Spanish).

string
group
required

Section of the picker the option belongs to:

  • standard: the IVA rates in force (tax code 01).
  • transitorio: the transitional rates 05 (0%), 06 (4%) and 07 (8%), which Hacienda reserves for credit and debit notes.
  • special: special IVA regimes, tax code 07 (special calculation) or 08 (used goods, by factor).
  • none: no default tax; the tax is chosen on each invoice line.
string
Allowed values: standard transitorio special none
taxCode
required

Tax code (CodigoImpuestoType): 01 IVA, 07 IVA with a special calculation, 08 used-goods IVA; null for the none option ("no default tax").

string
nullable
taxRateCode
required

IVA rate code (CodigoTarifaIVAType); set only when taxCode is 01.

string
nullable
taxRate
required

Rate percentage; null for the special regimes and for none.

number
nullable
inputType
required

Extra input the form asks for: rate (tax code 07, the rate is typed in), factor (tax code 08, the defaultTaxFactor), or null.

string
nullable
Allowed values: rate factor
description

Spanish note on who uses the option and when, suitable as helper text.

string
Example
{
"options": [
{
"id": "iva-13",
"label": "IVA general 13%",
"group": "standard",
"taxCode": "01",
"taxRateCode": "08",
"taxRate": 13,
"inputType": "rate",
"description": "Tarifa estándar — la mayoría de bienes y servicios."
}
]
}