Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| transaction_id | string | |
| document_key | stringnull | |
| consecutive_number | stringnull | |
| document_type | string | |
| document_type_name | stringnull | |
| status | object | |
| environment | object | |
| emisor_identification | stringnull | |
| emisor_name | stringnull | |
| receptor_identification | stringnull | |
| receptor_name | stringnull | |
| total_amount | number | |
| tax_amount | number | |
| net_amount | number | |
| currency | string | |
| exchange_rate | numbernull | |
| hacienda_status | stringnull | |
| hacienda_message | stringnull | |
| hacienda_response_at | string | |
| xml_path | stringnull | |
| pdf_path | stringnull | |
| processing_time_ms | integernull | |
| created_at | string | |
| updated_at | string | |
| signed_xml | string | XML firmado. |
| response_xml | string | XML de respuesta de Hacienda, si ya existe. |
| rejections | array | Errores y advertencias de Hacienda, si los hay. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/astranexo-com/json-schema/astranexo-com-document-schema.json",
"title": "Document",
"x-generated": "2026-11-01",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aster-openapi.yaml#/components/schemas/Document",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"transaction_id": {
"type": "string"
},
"document_key": {
"type": [
"string",
"null"
]
},
"consecutive_number": {
"type": [
"string",
"null"
]
},
"document_type": {
"type": "string"
},
"document_type_name": {
"type": [
"string",
"null"
]
},
"status": {
"$ref": "#/$defs/DocumentStatus"
},
"environment": {
"$ref": "#/$defs/Environment"
},
"emisor_identification": {
"type": [
"string",
"null"
]
},
"emisor_name": {
"type": [
"string",
"null"
]
},
"receptor_identification": {
"type": [
"string",
"null"
]
},
"receptor_name": {
"type": [
"string",
"null"
]
},
"total_amount": {
"type": "number"
},
"tax_amount": {
"type": "number"
},
"net_amount": {
"type": "number"
},
"currency": {
"type": "string"
},
"exchange_rate": {
"type": [
"number",
"null"
]
},
"hacienda_status": {
"type": [
"string",
"null"
]
},
"hacienda_message": {
"type": [
"string",
"null"
]
},
"hacienda_response_at": {
"type": "string",
"format": "date-time"
},
"xml_path": {
"type": [
"string",
"null"
]
},
"pdf_path": {
"type": [
"string",
"null"
]
},
"processing_time_ms": {
"type": [
"integer",
"null"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"signed_xml": {
"type": "string",
"description": "XML firmado."
},
"response_xml": {
"type": "string",
"description": "XML de respuesta de Hacienda, si ya existe."
},
"rejections": {
"type": "array",
"description": "Errores y advertencias de Hacienda, si los hay.",
"items": {
"$ref": "#/$defs/Rejection"
}
}
},
"$defs": {
"DocumentStatus": {
"type": "string",
"description": "Estado del documento en Aster: `processing` (firmado, enviándose), `sent`, `queued` (Hacienda no disponible; se reintenta), `accepted`, `rejected`, `error` (nunca llegó a Hacienda).",
"enum": [
"processing",
"sent",
"queued",
"accepted",
"rejected",
"error"
]
},
"Environment": {
"type": "string",
"enum": [
"staging",
"production"
],
"description": "Ambiente de Hacienda. Con claves de Aster lo decide la clave."
},
"Rejection": {
"type": "object",
"properties": {
"error_code": {
"type": "string"
},
"message": {
"type": "string"
},
"friendly_message": {
"type": "string"
},
"element_name": {
"type": "string"
},
"location": {
"type": "string"
},
"description": {
"type": "string"
},
"row": {
"type": "integer"
},
"col": {
"type": "integer"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/astranexo-com-document"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.