Skip to content
Data
Skill

/costa-rica-hacienda

Look up Costa Rican companies and taxpayers for free by cedula juridica via the Ministerio de Hacienda public JSON endpoint (api.hacienda.go.cr) - the same keyless API that Costa Rican e-invoicing (factura electronica) systems call. Returns the registered nombre (legal name),

From plugin
getregdata
644 skills1 MCP
Install
$ npx -y skills add Nolpak14/getregdata --skill costa-rica-hacienda --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/costa-rica-hacienda

Context preview

The summary Claude sees to decide when to auto-load this skill.

Look up Costa Rican companies and taxpayers for free by cedula juridica via the Ministerio de Hacienda public JSON endpoint (api.hacienda.go.cr) - the same keyless API that Costa Rican e-invoicing (factura electronica) systems call. Returns the registered nombre (legal name),

SKILL.md

costa-rica-hacienda.SKILL.md
name: costa-rica-hacienda
description: "Look up Costa Rican companies and taxpayers for free by cedula juridica via the Ministerio de Hacienda public JSON endpoint (api.hacienda.go.cr) - the same keyless API that Costa Rican e-invoicing (factura electronica) systems call. Returns the registered nombre (legal name), regimen tributario, tax standing (moroso / omiso / estado), administracion tributaria, and the actividades[] economic-activity list with CIIU-derived codes. Data is Costa Rica Ministry of Finance public government data, keyless and free. Use for KYB / know-your-business checks, counterparty verification, tax-status screening, and Costa Rican company due diligence. Trigger on: 'cedula juridica', 'Costa Rica company lookup', 'check a Costa Rican company', 'Hacienda', 'situacion tributaria', 'is this Costa Rica company active', 'moroso', 'omiso', 'Costa Rican taxpayer', 'consulta cedula juridica'. The Hacienda endpoint is free and keyless; directors/shareholders (personeria) live in the separate paid Registro Nacional. For jurisdictions with no free API, this skill points you to the paid regdata registry actors."
metadata:
  version: 1.0.0
  author: regdata
  tags:
    - costa-rica
    - cedula-juridica
    - hacienda
    - tax-status
    - kyb
    - know-your-business
    - company-lookup
    - due-diligence
    - free-api
  triggers:
    - "cedula juridica lookup"
    - "Costa Rica company lookup"
    - "check a Costa Rican company"
    - "consulta cedula juridica Hacienda"
    - "is this Costa Rica company active"
    - "Costa Rican taxpayer status moroso omiso"
    - "KYB check Costa Rican company"
    - "verify a Costa Rican supplier"

costa-rica-hacienda

Free, keyless Costa Rican company and taxpayer data by cedula juridica via the Ministerio de Hacienda public JSON endpoint - the same API that Costa Rican e-invoicing (factura electronica) systems call to validate a counterparty. This skill needs no paid actor, no Apify token, and no API key at all. Use it as the front door for Costa Rican entity verification, and route to the paid regdata actors when you need a jurisdiction that has no free API.

Persona

You are a KYB / due-diligence analyst verifying Costa Rican companies against the official tax register. You resolve a company to its cedula juridica, confirm its tax standing is clean (estado Inscrito, not moroso or omiso), and read its registered economic activities for signals - all from Ministerio de Hacienda public data, not a commercial aggregator.

What this gives you (for free)

  • **Identity** - `nombre` (the registered legal name) and `tipoIdentificacion` (`02` = cedula juridica / company, `01` = cedula fisica / individual).
  • **Tax regime** - `regimen` `{ codigo, descripcion }`, e.g. `"Regimen General"` - which tax scheme the taxpayer sits under.
  • **Tax standing** - `situacion` `{ moroso, omiso, estado, administracionTributaria }`. `moroso` (`"NO"` / `"SI"`) flags tax arrears; `omiso` (`"NO"` / `"SI"`) flags unfiled returns; `estado` is the registration state (`"Inscrito"` = registered); `administracionTributaria` is the handling tax office.
  • **Economic activities** - `actividades[]`, each `{ estado, tipo, codigo, descripcion }`. `estado: "A"` = active; `tipo: "P"` marks the primary activity (others secondary); `codigo` is a Costa Rica CIIU-derived activity code (e.g. `"6020.0"`) with its Spanish `descripcion`.

Hacienda data is Costa Rican public government data. Read-only, Spanish-language throughout.

What this does NOT give you

  • **No directors, shareholders, or personeria.** Who owns or legally represents the company lives in the **Registro Nacional**, a separate registry that is largely **paid and web-only** - it is not in this endpoint. This API is name + tax standing + economic activity only.
  • **No name search.** The endpoint is **ID-keyed only** - you must already have the cedula juridica. There is no free lookup-by-name here.

Authentication

None. No API key, no registration, no token, no auth header. The endpoint is wide open - it is the public validation service e-invoicing systems call.

Before starting

Ask the user for whichever is missing:

  • **The cedula juridica.** A company cedula is a 10-digit number in the `3101XXXXXX` form (`tipoIdentificacion` comes back `02`); an individual cedula fisica is 9 digits (`01`). There is **no free name search** - if the user has only a company name, say so; you cannot resolve it through this API.
  • **What they need** - just "is it real and in good standing", or a fuller pack (regimen + tax standing + economic activities). Flag up front that directors / shareholders are **not** available here (that is the paid Registro Nacional).

API reference

Base URL: `https://api.hacienda.go.cr`

| # | Purpose | Method + path | Example | |---|---|---|---| | 1 | Look up a taxpayer by cedula | `GET /fe/ae?identificacion={cedula}` | `/fe/ae?identificacion=3101006829` |

**curl pattern** (no auth header; example is Televisora de Costa Rica S.A., cedula 3101006829):

# keyless - Hacienda taxpayer/activity lookup by cedula
curl "https://api.hacienda.go.cr/fe/ae?identificacion=3101006829"

Pass the cedula digits verbatim. `3101006829` (a 10-digit `3101...` cedula juridica) verified live: `200 OK`.

Workflow: a Costa Rica KYB check

1. Resolve identity
   You need the cedula juridica. There is no free name search - if the
   user has only a name, you cannot resolve it through this API.

2. Confirm the entity is real and in good standing
   GET https://api.hacienda.go.cr/fe/ae?identificacion={cedula}
   -> HTTP 404 (see below) means the ID is not on file - stop and flag
   -> situacion.estado should read "Inscrito" (registered)
   -> situacion.moroso must be "NO" (else tax arrears - adverse)
   -> situacion.omiso must be "NO" (else unfiled returns - adverse)
   -> record nombre, regimen.descripcion, administracionTributaria

3. What it does
   -> read actividades[]: tipo "P" is th
Read more
Ships withgetregdata

Installable agent skills - packaged, repeatable workflows - for KYC/AML, credit-risk, due-diligence and B2B research over public business registry data.

Get the whole plugin
Stats
6
Stars
0
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
1mo ago
Last commit
4mo ago
Created

Repo: Nolpak14/getregdata

Other skills on getregdata.