AI agents can now issue a Colombia factura electrónica (factura de venta, DIAN UBL 2.1, modelo de validación previa). This remote MCP server wraps Matias API — a Software Propio provider that generates, digitally signs and transmits the invoice directly to the DIAN with no Proveedor Tecnológico (PT) middleman — with two tools: create_invoice and query_invoice. It only forwards the calls and does the local IVA math: signing and DIAN transmission stay inside your own Matias account.
{
"mcpServers": {
"colombia-invoice": {
"type": "http",
"url": "https://inv-co.wishpool.app/mcp",
"headers": {
"x-matias-token": "your-matias-bearer-token",
"x-matias-env": "sandbox"
}
}
}
}
Self-register free at matias-api.com — registration happens on the production URL and your credentials automatically replicate to the sandbox, so you can integrate against sandbox-api.matias-api.com/api/ubl2.1 before going live. Required header: x-matias-token (a JWT access_token or a Personal Access Token). Optional: x-matias-env (default sandbox), x-matias-base, and the owner-policy headers below. Your DIAN resolución and certificate live in your Matias account — this server never sees them.
create_invoice takes the buyer (NIT/name), line items, IVA rate and your DIAN resolution_number; the server does the local COP IVA math and posts the factura de venta to /invoice. Matias signs it and transmits it to the DIAN (validación previa), returning the cufe and state. It never signs here and stores nothing.19 (standard), 5 (reduced) or 0 (exento/excluido); IVA is liquidated as net * rate/100 and the UBL totals assembled for you.x-matias-env=sandbox (the default) builds/transmits in the pruebas environment with no fiscal effect; switch to production for real DIAN submission. Your account decides the DIAN resolución and certificate used.query_invoice { uuid } returns the DIAN state, cufe and dian_message with numbered next_steps.Colombia's DIAN factura electrónica de venta runs on the modelo de validación previa: the DIAN validates the document before it reaches the buyer, returning the CUFE that makes it fiscally valid. Under successive Resoluciones DIAN and the Estatuto Tributario, issuing the electronic factura de venta is obligatory for responsables de IVA and, progressively, for essentially all taxpayers selling goods or rendering services — paper and POS invoices are being phased out. With Matias you can integrate and test ahead of, or in step with, your obligation.
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. The cap applies to the invoice grand total in pesos (COP).Invoices: Mexico CFDI inv-mx · Brazil NF-e inv-br · Chile DTE inv-cl · Peru CPE inv-pe · Argentina AFIP inv-ar · Costa Rica Hacienda inv-cr · Ecuador SRI inv-ec · Paraguay SIFEN inv-py · Saudi ZATCA inv-sa · India GST inv-in · Poland KSeF inv-pl. Local payments in 81 countries: mcp.wishpool.app (Taiwan e-invoice 電子發票 included) · Logistics & shipping: logi.wishpool.app. One family, same stateless pattern.