Skip to main content
Glama

Chile Invoice MCP 🇨🇱 — How can my AI agent issue a boleta / factura electrónica (DTE) in Chile?

Remote MCP server that lets any AI agent issue Chile electronic tax documents (DTE) — boleta electrónica (TipoDTE 39) and factura electrónica (TipoDTE 33), stamped at SII — via OpenFactura (Haulmer). Stateless, bring-your-own credentials, never stores anything.

Live endpoint: https://inv-cl.wishpool.app/mcp · Registry: app.wishpool/chile-invoice-mcp

Quick start

{
  "mcpServers": {
    "chile-invoice": {
      "type": "http",
      "url": "https://inv-cl.wishpool.app/mcp",
      "headers": {
        "x-openfactura-key": "your-openfactura-api-key",
        "x-openfactura-mode": "production"
      }
    }
  }
}

Get your API key from your OpenFactura / Haulmer account (Configuración → API). Omit x-openfactura-mode to stay in the DEV sandbox (simulated CAF, no fiscal effect). Your SII certificate and CAF stay in your own OpenFactura account — this server never sees them.

Related MCP server: MCP Nota Fiscal

Tools

Tool

What it does

create_invoice

Emit a boleta (39, default) or factura (33) DTE — items in, folio out. Emisor auto-derived from your account. Boleta prices GROSS (IVA included); factura prices NET (IVA added), buyer RUT required.

query_invoice

Fetch a DTE by document_type + folio: status ISSUED or ACCEPTED_BY_SII, plus net/IVA/total (CLP).

cancel_invoice

Void a DTE by issuing a nota de crédito electrónica (TipoDTE 61, CodRef=1 anula) referencing the original.

Owner policy guardrails ride optional headers (x-agentpay-max-amount, x-agentpay-approval-above, x-agentpay-allowed-tools) — set by the human owner in client config; the agent cannot relax them.

Develop

node test/serve.js   # local server on :3228
node test/e2e.js     # protocol + validation + fake-key live probes against dev-api.haulmer.com

Safety

Pure stateless translation layer. The SII certification burden sits with OpenFactura; credentials travel per-request in headers, nothing is stored. Privacy policy.

Sister servers

Mexico CFDI 4.0 factura electrónica live: inv-mx.wishpool.app · Local payments in 81 countries, one family: mcp.wishpool.app · Taiwan e-invoice 電子發票 included. More invoice countries coming: Brazil NF-e · Peru CPE · India GST · Poland KSeF · Romania e-Factura · Italy SdI.

MIT licensed.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/junter1989k-ai/chile-invoice-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server