chile-invoice
Let AI agents issue Chilean DTE electronic documents (boleta 39 / factura 33) via OpenFactura.
Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeCan modify data
What it can do
- Create Invoice: Issue a Chile electronic tax document (DTE) through OpenFactura (Haulmer): a boleta electrónica (consumer receipt, TipoDTE 39, default) or a factura electrónica (B2B invoice, TipoDTE 3
- Query Invoice: Fetch a DTE you emitted (by document_type + folio) from OpenFactura. Status values: ISSUED (accepted by OpenFactura, awaiting/without an SII acceptance timestamp), ACCEPTED_BY_SII (SII
- Cancel Invoice: Void a Chile DTE by issuing a nota de crédito electrónica (TipoDTE 61) that references the original with CodRef=1 (anula documento) — this is the SII-correct way to cancel; there is no
What data it sees
Do you need an account
No: the server works without sign-in
Let AI agents issue Chilean DTE electronic documents (boleta 39 / factura 33) via OpenFactura. Stateless remote MCP server: bring your own key, it stores nothing. Create, query, and void documents (credit note 61) with SII compliance handled by the provider.
Server tool list (3)
Raw names from tools/list. Only developers need these.
| create_invoice | Issue a Chile electronic tax document (DTE) through OpenFactura (Haulmer): a boleta electrónica (consumer receipt, TipoDTE 39, default) or a factura electrónica (B2B invoice, TipoDTE 33), stamped against SII with the merchant's own CAF. Bring your own OpenFactura API key via header x-openfactura-key. Runs against the OpenFactura DEV sandbox by default (no fiscal effect); send header x-openfactura-mode: production to emit real SII documents. The Emisor (your company RUT, razón social, giro, address) is auto-derived from your account — you do not pass it. Amounts are in CLP (Chilean pesos: whole integers, no decimals). IMPORTANT price convention: for a boleta (39) each price is GROSS (IVA 19% already included, as shown to consumers); for a factura (33) each price is NET (IVA 19% is added on top). |
| query_invoice | Fetch a DTE you emitted (by document_type + folio) from OpenFactura. Status values: ISSUED (accepted by OpenFactura, awaiting/without an SII acceptance timestamp), ACCEPTED_BY_SII (SII reception timestamp present). Returns the receptor, net/IVA/total (CLP). Safe to call anytime. (OpenFactura resolves your Emisor RUT from the API key automatically.) |
| cancel_invoice | Void a Chile DTE by issuing a nota de crédito electrónica (TipoDTE 61) that references the original with CodRef=1 (anula documento) — this is the SII-correct way to cancel; there is no delete. Pass the original document_type + folio; the credit note mirrors the original net amount and reverses it. Returns the credit-note folio. Runs in the same mode (dev/production) as the header x-openfactura-mode. |