Chile Invoice

by junter1989k-ai

255 downloads
Not rated
GitHub Website

About

Remote MCP server: AI agents issue Chile DTE boleta/factura electronica via OpenFactura (SII). Stateless, BYO credentials.

Details

Author
junter1989k-ai
Downloads
255

- MCP server integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Chile Invoice
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The README includes setup instructions such as node test/serve.js # local server on :3228.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

{
    "chile-invoice": {
        "type": "http",
        "url": "https://inv-cl.wishpool.app/mcp",
        "headers": {
            "x-openfactura-key": "your_apikey"
        }
    }
}

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.

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.