🇵🇪 Peru Invoice MCP live

AI agents can now issue Peru electronic CPE (factura electrónica / boleta de venta) declared to SUNAT. This remote MCP server wraps Nubefact — comprobantes are validated and sent to SUNAT — with three tools: create_invoice, query_invoice, cancel_invoice.

Connect

{
  "mcpServers": {
    "peru-invoice": {
      "type": "http",
      "url": "https://inv-pe.wishpool.app/mcp",
      "headers": {
        "x-nubefact-ruta": "https://api.nubefact.com/api/v1/<your-hash>",
        "x-nubefact-token": "<your-token>"
      }
    }
  }
}

A free DEMO account at nubefact.com (menu Api-Integración) gives you both a RUTA and a TOKEN. The same credentials switch to production at the account level, so results report mode: "nubefact-account" honestly.

Why it is safe

Weak-model friendly

Give item prices including IGV and the server computes valor_unitario, subtotal, IGV 18% and totals — models never do tax math. Every result embeds numbered next_steps and honest status enums (ACCEPTED / PENDING / REJECTED); every error teaches the fix (11-digit RUC for facturas, F.../B... serie, merchant-managed numero).

Sister servers

Local payments in 81 countries — one family, same stateless pattern: mcp.wishpool.app. Taiwan e-invoice (電子發票) included, and Mexico CFDI 4.0 invoices are live (inv-mx.wishpool.app). More invoice countries coming: Brazil NF-e, Chile DTE, Colombia, India GST, Poland KSeF, Italy SdI.