Astranexo · Schema

ReceptorMessageRequest

SoftwareBusinessSoftware-as-a-ServiceSpanishCRM

Properties

Name Type Description
clave string Clave del comprobante recibido (alias `key`).
message object `1` aceptación, `2` aceptación parcial, `3` rechazo (alias `mensaje`). Acepta número o texto.
message_detail string Detalle; obligatorio en la aceptación parcial (alias `detalle_mensaje`, `detail`).
issuer_id string Identificación del emisor del comprobante (alias `emisor_id`, `cedula_emisor`).
issuer_id_type string Tipo de identificación del emisor (alias `emisor_id_type`, `tipo_emisor`).
receiver_id string Identificación de la organización receptora (alias `receptor_id`, `cedula_receptor`).
receiver_id_type string Tipo de identificación del receptor (alias `receptor_id_type`, `tipo_receptor`).
issue_date string Fecha de emisión del comprobante (alias `fecha_emision`, `date`).
total number Total del comprobante (alias `total_factura`).
total_tax number Impuesto total del comprobante (alias `total_impuesto`, `monto_total_impuesto`).
activity_code string Actividad económica del receptor (alias `codigo_actividad`).
tax_condition string Condición del impuesto (alias `condicion_impuesto`).
total_tax_credit number Impuesto a acreditar (alias `monto_total_impuesto_acreditar`).
total_applicable_expense number Gasto aplicable (alias `monto_total_gasto_aplicable`).
environment object
callback_url string
language string
original_doc_type string Tipo del comprobante recibido (alias `tipo_documento_original`).
View JSON Schema on GitHub

JSON Schema

astranexo-com-receptor-message-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astranexo-com/json-schema/astranexo-com-receptor-message-request-schema.json",
  "title": "ReceptorMessageRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aster-openapi.yaml#/components/schemas/ReceptorMessageRequest",
  "type": "object",
  "required": [
    "clave",
    "message",
    "issuer_id",
    "issuer_id_type",
    "receiver_id",
    "receiver_id_type",
    "issue_date",
    "total"
  ],
  "properties": {
    "clave": {
      "type": "string",
      "pattern": "^[0-9A-Z]{50}$",
      "description": "Clave del comprobante recibido (alias `key`)."
    },
    "message": {
      "description": "`1` aceptación, `2` aceptación parcial, `3` rechazo (alias `mensaje`). Acepta número o texto.",
      "oneOf": [
        {
          "type": "integer",
          "enum": [
            1,
            2,
            3
          ]
        },
        {
          "type": "string",
          "enum": [
            "1",
            "2",
            "3"
          ]
        }
      ]
    },
    "message_detail": {
      "type": "string",
      "maxLength": 160,
      "description": "Detalle; obligatorio en la aceptación parcial (alias `detalle_mensaje`, `detail`)."
    },
    "issuer_id": {
      "type": "string",
      "pattern": "^[0-9A-Z]+$",
      "description": "Identificación del emisor del comprobante (alias `emisor_id`, `cedula_emisor`)."
    },
    "issuer_id_type": {
      "type": "string",
      "description": "Tipo de identificación del emisor (alias `emisor_id_type`, `tipo_emisor`)."
    },
    "receiver_id": {
      "type": "string",
      "pattern": "^[0-9A-Z]+$",
      "description": "Identificación de la organización receptora (alias `receptor_id`, `cedula_receptor`)."
    },
    "receiver_id_type": {
      "type": "string",
      "description": "Tipo de identificación del receptor (alias `receptor_id_type`, `tipo_receptor`)."
    },
    "issue_date": {
      "type": "string",
      "description": "Fecha de emisión del comprobante (alias `fecha_emision`, `date`)."
    },
    "total": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Total del comprobante (alias `total_factura`)."
    },
    "total_tax": {
      "type": "number",
      "description": "Impuesto total del comprobante (alias `total_impuesto`, `monto_total_impuesto`)."
    },
    "activity_code": {
      "type": "string",
      "pattern": "^(\\d{6}|\\d{2,4}\\.\\d{1,2})$",
      "description": "Actividad económica del receptor (alias `codigo_actividad`)."
    },
    "tax_condition": {
      "type": "string",
      "enum": [
        "01",
        "02",
        "03",
        "04",
        "05"
      ],
      "description": "Condición del impuesto (alias `condicion_impuesto`)."
    },
    "total_tax_credit": {
      "type": "number",
      "description": "Impuesto a acreditar (alias `monto_total_impuesto_acreditar`)."
    },
    "total_applicable_expense": {
      "type": "number",
      "description": "Gasto aplicable (alias `monto_total_gasto_aplicable`)."
    },
    "environment": {
      "$ref": "#/$defs/Environment"
    },
    "callback_url": {
      "type": "string",
      "format": "uri"
    },
    "language": {
      "type": "string",
      "enum": [
        "es",
        "en"
      ]
    },
    "original_doc_type": {
      "type": "string",
      "default": "01",
      "description": "Tipo del comprobante recibido (alias `tipo_documento_original`)."
    }
  },
  "$defs": {
    "Environment": {
      "type": "string",
      "enum": [
        "staging",
        "production"
      ],
      "description": "Ambiente de Hacienda. Con claves de Aster lo decide la clave."
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/astranexo-com-receptor-message-request"
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.