Skip to main content
GET
Document types catalog
Returns the catalog of buyer identification document types for one country: which types exist (CEDULA, CPF, NIT…), how their number is validated, and the default values to use when the sale did not identify the buyer. This catalog used to live in an external provider’s API — and, for Brazil, in a hardcoded list inside the client app. Now FIRE serves it as the single source. The code values you receive here are exactly what you must send back in client.govIdType when injecting an order: there is no compatibility mapping, so a stale catalog on your side shows up as a code that does not match.

Authentication

This scope is not tied to an account. The catalog is shared, global data — it contains no tenant information — so the key does not need to belong to any account or vendor. Practical consequence: every integrator sees exactly the same catalog for a given country, and you can use a single key for all your deployments regardless of which accounts they serve.

Query parameters

string
required
ISO 3166-1 alpha-2 country code (BR, EC, CO…). Case-insensitive — it is normalized to uppercase. Missing or malformed (not exactly two letters) returns 400.
There are no other filters. Inactive types are never returned, and the list comes already sorted in the order it should be displayed.

Response

string
The requested country, normalized to uppercase.
array
The country’s document types, in display order.
object | null
What to stamp on the receipt when the buyer was not identified. Delivered separately from the list because it answers a different question: the list is “what can the buyer choose”, this is “what to use when they chose nothing”.null when the country does not define it — today Argentina (has the type but no number declared), Venezuela and Chile.
A country with no catalog configured yet returns empty lists and finalConsumer: null — not a 404. “Not configured yet” is a legitimate answer, and you must be able to tell it apart from a failure.
The catalog changes rarely. Cache it per country and refresh periodically — but do refresh: sending a code that no longer exists in the catalog is exactly the drift this endpoint replaces.

Errors