xaviigna/openfactura
Developer-focused e-invoicing for El Salvador: issue DTE to Hacienda via one API.
What it solves
Without it, developers must build, sign, transmit and validate DTE themselves, plus handle contingency and invalidation.
- 11 DTE document types
- Automatic IVA and totals
- API, CLI and MCP access
Works with
- cli
Install
bunx wrangler d1 create openfactura # copia el database_id a server/wrangler.jsonc npx @openfactura/cli alta "Mi Empresa, S.A. de C.V." # imprime el id de la organización claude mcp add --transport http openfactura https://openfactura.co/mcp \ npx @openfactura/cli login && npx @openfactura/cli mcp install --todos Security flags
- Needs API key: Not stated
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-04(1d) |
|---|---|
| Stars | 46 |
| Open issues | 0 |
| License | AGPL-3.0 |
| Archived | No |
| Data fetched | 2026-12-05 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
Emite DTE ante Hacienda con una sola API: desde tu código, tu terminal o tu agente de IA.