The API is served directly by the Facta Supabase Edge Function. Use the public URL below with the key and certificate that select the Hacienda environment.
Base URL
https://hcnvknpsbadplnfcflxx.supabase.co/functions/v1/api-v1
Testing uses this same URL with a facta_test_ key and test certificate; there is no public staging URL.
Operations
- OpenAPI YAML contract
- OpenAPI JSON contract
- GET /v1/status
- POST /v1/dte
- GET /v1/dte
- POST /v1/dte/prepare
- POST /v1/dte/sign
- GET /v1/dte/{codigoGeneracion}
- POST /v1/dte/{codigoGeneracion}/invalidate
- GET /v1/dte/{codigoGeneracion}/file
- GET /v1/dte/holding
Headers, schemas, status codes and examples are authoritative in the downloadable contracts.