Electronic invoicing API for Chile's SII
SharkPOS API is a REST API for issuing Chilean electronic tax documents from any system: a POS, an ERP, an e-commerce store or a platform that issues on behalf of its customers. You send JSON; SharkPOS signs the XML, stamps it with the CAF (Código de Autorización de Folios, the authorization for a range of document numbers), sends it to the SII (Servicio de Impuestos Internos, Chile's tax authority) and reports the result by webhook.
Which documents does it issue?
Boletas (receipts, DTE 39 taxed and 41 exempt), facturas (invoices, 33 taxed and 34 exempt), notas de crédito and notas de débito (credit and debit notes, 61 and 56), guías de despacho (dispatch guides, 52), purchase invoices (46), liquidación-factura (43) and export documents (110, 111 and 112). It is multi-company: each issuing RUT (Chilean tax ID) has its own API key. It also has branches for each store, an offline mode for registers (receipts stamped at the register and sent when internet returns) and a purchase mailbox with your suppliers' XML files.
How does it work?
- Your system sends JSON to an endpoint such as
POST /api/v1/dte/boleta/emit/, with anIdempotency-Keyso a retry never duplicates a sale. - SharkPOS signs and stamps the document with the business's certificate and the folio (document number) from its CAF. SharkPOS requests the folios from the SII; nobody downloads or uploads a CAF, and we never ask for the Clave Tributaria (SII password).
- The response arrives instantly with the folio, signed XML, timbre (the SII stamp) and PDF.
- SharkPOS sends it to the SII and follows the answer. You receive
dte.acceptedordte.rejectedby signed webhook.
Your system never builds XML, never signs and never connects to the SII.
Price
CLP 5,990 a month per RUT, VAT included, with 20,000 documents a month and all document types included. Each extra block of 10,000 documents costs CLP 2,990, and issuing is never blocked. Each RUT includes one location (its casa matriz, or head office, or its first branch); each additional active branch costs CLP 2,990 a month. Offline mode costs CLP 4,990 a month per branch and the management tools CLP 3,990 per RUT. See the pricing page (in Spanish).
Try it in the sandbox
The sandbox is free and never touches the real SII. Request a test API key: it arrives instantly with a test company, certificate and folios already loaded, and lasts 2, 6 or 24 hours. The contract is identical to production; only the base URL changes (https://sandbox.sharkpos.cl for tests, https://api.sharkpos.cl for real documents).
Built for AI coding agents
Read the integration guide for coding agents first: it has the rules on idempotency, retries and statuses that prevent duplicate documents with the SII. To connect the read-only documentation MCP server to Claude Code, run:
claude mcp add --transport http sharkpos https://api.sharkpos.cl/mcp
It needs no API key. The full contract is in the OpenAPI 3.1 file, and the API reference has one page per endpoint (in Spanish).
Keep reading
- Integration guide for coding agents
- Documentation MCP server
- OpenAPI 3.1 contract
- API reference (in Spanish)
- SII and SharkPOS API errors explained
- Blog: Chilean electronic invoicing for developers
Try it today in the sandbox
Get a sandbox API key: a test company with certificate and folios already loaded and a simulated SII. When you are ready, each RUT costs CLP 5,990 a month (VAT included) with 20,000 documents a month.