REST API
JSON over HTTPS at https://app.openfactura.co/api/v1, described with OpenAPI 3.1.
Open Factura issues Electronic Tax Documents (DTE) with El Salvador’s Ministry of Finance (Ministerio de Hacienda, MH) under the Compliance Regulation 2.0 (Normativa de Cumplimiento 2.0). You send JSON; Open Factura calculates the taxes, assigns the control number, signs, transmits, and returns the document with its reception stamp, its official JSON, and its PDF.
The API is open source: use it in the cloud (openfactura.co), dashboard included, or deploy it to
your own Cloudflare account (self-hosting).
.crt
certificate).of_test_…).Not authorized by Hacienda yet? Read Becoming an issuer with Hacienda.
All three use the same services, the same permissions, and the same API key.
REST API
JSON over HTTPS at https://app.openfactura.co/api/v1, described with OpenAPI 3.1.
MCP
Tools for Claude, Cursor, and other assistants, remote at /mcp or local over stdio.
CLI
openfactura dte emitir factura.json from the terminal or a CI pipeline.
For AI assistants: llms.txt ·llms-full.txt ·every page as Markdown by adding .md to its path.