HubtoLeal API

Backend REST para facturación y sincronización — Endpoints públicos bajo /api.

Quick Start

Usa el endpoint de facturas para enviar datos desde tu POS o sistema. Requiere cabecera x-api-key.

Endpoint

POST /api/invoice

Ejemplo (curl)

curl --location 'https://backend-demo.digitalgex.com/api/invoice' --header 'Content-Type: application/json' --header 'x-api-key: {TU-API-KEY}' --data '{
    "clientId": "123",
    "invoiceCode": "INV-001",
    "totalAmountInvoice": 100.00,
    "tax": 19.00,
    "motive": "ACCUMULATION",
    "guid": "abc-123",
    "createdAt": "2025-10-27T00:00:00Z"
}'

Info

Version: 1.0.0
© 2025 HubtoLeal

Status: Último despliegue: production

API root: /api

Soporte: [email protected]

Notas: Asegúrate de configurar variables de entorno y la clave x-api-key.