Person and tax catalogues
Short enumerations for the personal and tax attributes of an account holder. They are stored at Allaria — not proxied from Esco — and every row has an opcion (the label) and, on some of them, a codigo.
Which one you send differs per catalogue. The table below is the authoritative mapping; the values are listed in full because these lists are short and stable.
| Endpoint | Field it feeds | Value to send |
|---|---|---|
GET /v1/aperturas/es-pep | es_pep | opcion |
GET /v1/aperturas/sexo | sexo | codigo |
GET /v1/aperturas/estado-civil | estado_civil | codigo |
GET /v1/aperturas/residencia-fiscal | residencia_fiscal | opcion |
GET /v1/aperturas/provincia-fiscal | provincia_fiscal | opcion |
GET /v1/aperturas/tipos-contrib-iva | tipo_contribuyente_iva | codigo |
On Open business account, the entity and its shareholders take residencia_fiscal_id and provincia_fiscal_id — the id of the row, not its opcion. The individual endpoint takes the opcion string. Same catalogues, different field.
PEP status — es-pep
Send opcion.
opcion |
|---|
No |
Si, directamente |
Sí, por vínculo familiar |
Anything other than No makes motivo_consideracion_pep required — always on business accounts, and on individual accounts for external PSPs.
Sex — sexo
Send codigo.
codigo | opcion |
|---|---|
1 | masculino |
2 | femenino |
3 | otro |
Marital status — estado-civil
Send codigo. Note the codes are not sequential in list order.
codigo | opcion |
|---|---|
1 | soltero/a |
2 | casado/a |
3 | divorciado/a |
4 | separado/a |
5 | viudo/a |
7 | conviviente |
VAT taxpayer type — tipos-contrib-iva
Send codigo.
codigo | opcion |
|---|---|
CF | Consumidor Final |
EX | Exento |
NC | No categorizado |
RI | Responsable Inscripto |
RM | Responsable Monotributo |
On Open individual account this field is only enforced for foreign document types — when tipo_documento is not the DNI code, it becomes required. For an Argentine DNI it is ignored.
Tax residence — residencia-fiscal
Send opcion — the country name in Spanish, e.g. Argentina, Estados Unidos, Brasil. The list covers every country, so query the endpoint rather than embedding it.
Two conditional fields key off this value:
When residencia_fiscal is… | Then |
|---|---|
anything other than Argentina | numero_impositivo (the foreign tax ID / NIT) becomes required |
Estados Unidos | ssn becomes required |
Tax province — provincia-fiscal
Send opcion.
opcion |
|---|
CABA, Buenos Aires, Catamarca, Chaco, Chubut, Córdoba, Corrientes, Entre Ríos, Formosa, Jujuy, La Pampa, La Rioja, Mendoza, Misiones, Neuquén, Río Negro, Salta, San Juan, San Luis, Santa Cruz, Santa Fé, Santiago del Estero, Tierra del Fuego, Tucumán, No Residente |
Note the spellings are exact: Santa Fé carries the accent, CABA is abbreviated, and a holder outside Argentina uses No Residente.
Request
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Not applicable: Path Parameters, Query Parameters, Body.
Response
2XX Success
| Field | Type | Description |
|---|---|---|
id | integer | Row identifier. Sent as residencia_fiscal_id / provincia_fiscal_id on business accounts only |
opcion | string | The label |
codigo | string | The code. Absent on es-pep, residencia-fiscal and provincia-fiscal, which have no code — send opcion there |
Error Codes
| Status | Description |
|---|---|
401 | Unauthorized — invalid or missing access token |
403 | Forbidden — your credentials are not authorized for Aperturas |
500 | Internal Server Error |
Code Example
Every endpoint on this page takes the same request. Substitute the path.
- cURL
- JavaScript
- Python
- Node.js
curl -X GET "https://b2b.allaria.cloud/v1/aperturas/estado-civil" \
-H "Authorization: Bearer ACCESS_TOKEN"
const response = await fetch('https://b2b.allaria.cloud/v1/aperturas/estado-civil', {
method: 'GET',
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' }
});
const estadosCiviles = await response.json();
import requests
response = requests.get(
'https://b2b.allaria.cloud/v1/aperturas/estado-civil',
headers={'Authorization': 'Bearer ACCESS_TOKEN'}
)
estados_civiles = response.json()
const axios = require('axios');
const response = await axios.get('https://b2b.allaria.cloud/v1/aperturas/estado-civil', {
headers: { Authorization: 'Bearer ACCESS_TOKEN' }
});
const estadosCiviles = response.data;
[
{ "id": 1, "opcion": "soltero/a", "codigo": "1" },
{ "id": 2, "opcion": "conviviente", "codigo": "7" }
]