Facturiadocs

Facturia

Chile's multi-empresa electronic invoicing API — DTE issuance, reception, tax suite, webhooks and MCP.

Facturia is a multi-empresa API for Chilean electronic invoicing (DTE, documento tributario electrónico). You POST a small JSON object; we assign a folio — the pre-authorised sequential number a DTE must carry — out of a real CAF (código de autorización de folios, the SII-signed block of folios), build and sign the XML, transmit it to the SII (Chile's tax authority), follow it to a terminal state, generate the PDF and tell you what happened — by polling or by webhook. We also receive your suppliers' DTEs, keep your Registro de Compras y Ventas (the ledger of purchases and sales the SII keeps for you) in sync, compute your F29 (the monthly VAT return) and file it.

Three facts that explain the shape of the API

Multi-empresa is the primitive, not an upgrade tier. One account, one key, N empresas (Chilean companies, one per RUT). Every request names its empresa with the Facturia-Empresa header.

Issuance is asynchronous at the SII and we never pretend otherwise. The POST answers 201 immediately, with status: queued and folio: null: the folio is assigned when the document reaches sent, and you learn it from document.sent or from the Facturia-Poll-After on the GET. The round trip to the SII is a state machine you watch, not a wait we hide from you.

The sandbox is free forever and touches the SII zero times. You can build the whole integration before you own a certificate.

Base URL

https://api.facturia.cl/v1

Every path in this documentation is relative to that base. TLS 1.2+ only. HTTP/2. There is no unversioned root and no unencrypted port.

Where to start

What this documentation covers

ChapterWhat it settles
Start hereWhat Facturia is, your first issuance and the base concepts
AuthenticationKeys, scopes, empresas, rotation, limits
IssuanceCreating DTEs, previews, artefacts, SII statuses
ReceptionThe casilla de intercambio (your DTE exchange mailbox) and the 8-day window
TaxesRCV, characterisation, F29 and tipo 46
WebhooksSigning, retries, replay and the event catalogue
MCP / AIConnecting Claude or another agent to mcp.facturia.cl
API referenceThe contract endpoint by endpoint
ErrorsThe envelope, the types and the rejection codes

What is not in v1

Export documents (110/111/112), liquidación factura (43), boleta de honorarios (a different SII regime altogether), rectifying F29s, F22 and declaraciones juradas, the libros de compra/venta as a resource (the RCV replaced them), multi-currency invoicing beyond the tipo 46 FX path, copias cedibles outside tipo 33, Meta and Google Ads billing connectors, and dated versions of the API.

The sandbox stays free forever. This reference stays public and unauthenticated: no login wall, no PDF behind a form.

On this page