Para desarrolladores
JSON como entrada. PDF/A-3 sellado como salida. Listo.
Una llamada API reemplaza todo su pipeline de conformidad documental. Sin pipeline de renderizado que construir. Sin biblioteca PDF que mantener. Sin spec Factur-X que leer.
Empezar gratis: 50 docs/mesNo se requiere tarjeta de crédito. Clave API generada inmediatamente al registrarse.
De factura JSON a Factur-X sellado en una sola llamada
curl
curl -X POST https://api.sealdoc.eu/api/invoices/generate \
-H "X-Api-Key: sd_live_..." \
-H "Content-Type: application/json" \
-d '{
"profile": "FacturX1Basic",
"seller": { "name": "Acme B.V.", "vatId": "NL123456789B01" },
"buyer": { "name": "Globex GmbH", "vatId": "DE987654321" },
"lines": [{ "description": "License", "quantity": 1, "netAmount": 1000.00 }],
"totals": { "netTotal": 1000.00, "vatTotal": 210.00, "grossTotal": 1210.00 }
}'
# Response: Factur-X 1.0 BASIC PDF/A-3 with embedded CII XML
# Set "profile": "XRechnungDe" for German federal or large German buyers. JavaScript
const response = await fetch('https://api.sealdoc.eu/api/invoices/generate', {
method: 'POST',
headers: {
'X-Api-Key': 'sd_live_...',
'Content-Type': 'application/json',
},
body: JSON.stringify({
profile: 'FacturX1Basic',
seller: { name: 'Acme B.V.', vatId: 'NL123456789B01' },
buyer: { name: 'Globex GmbH', vatId: 'DE987654321' },
lines: [{ description: 'License', quantity: 1, netAmount: 1000.00 }],
totals: { netTotal: 1000.00, vatTotal: 210.00, grossTotal: 1210.00 },
}),
})
// Response: Factur-X 1.0 BASIC PDF/A-3 with embedded CII XML
const blob = await response.blob() // PDF/A-3 bytes Python
import requests
response = requests.post(
'https://api.sealdoc.eu/api/invoices/generate',
headers={
'X-Api-Key': 'sd_live_...',
'Content-Type': 'application/json',
},
json={
'profile': 'FacturX1Basic',
'seller': {'name': 'Acme B.V.', 'vatId': 'NL123456789B01'},
'buyer': {'name': 'Globex GmbH', 'vatId': 'DE987654321'},
'lines': [{'description': 'License', 'quantity': 1, 'netAmount': 1000.00}],
'totals': {'netTotal': 1000.00, 'vatTotal': 210.00, 'grossTotal': 1210.00},
},
)
# Response: Factur-X 1.0 BASIC PDF/A-3 with embedded CII XML
pdf_bytes = response.content Opciones de integración
Tres formas de entrada. Todas soberanas UE.
| Integration | Status | Instalar |
|---|---|---|
| n8n | En vivo | npm i n8n-nodes-sealdoc |
| Direct REST API | En vivo | OpenAPI 3.0 spec |
| Webhooks | En vivo | HMAC-signed |
| Make | Próximamente | - |
| Zapier | Próximamente | - |
| Exact Online | Próximamente | - |
Garantías de la API
- Claves de idempotencia en todos los endpoints de proceso. Seguro para reintentar en caso de fallo de red.
- OCR es idempotente en páginas nativamente digitales. Seguro para reintentar.
- Webhooks firmados HMAC con política de reintento configurable y backoff exponencial.
- Versionado semántico. Ningún cambio incompatible sin incremento de versión principal.
- Entorno de staging en staging-api.sealdoc.eu
- Límites de tasa documentados por plan, cabeceras incluidas en cada respuesta
Perfiles de salida admitidos
Seleccione el perfil que coincida con el requisito de su comprador.
FacturX1Minimum
FacturX1BasicWL
FacturX1Basic
FacturX1EN16931
FacturX1Extended
XRechnungDe (Enterprise)
Obtenga su clave API en 2 minutos
Empezar gratis: 50 docs/mesNo se requiere tarjeta de crédito. Clave API generada inmediatamente al registrarse.