🇦🇷 Argentina Invoice MCP live

AI agents can now issue Argentina electronic invoices — factura electrónica authorized at AFIP/ARCA, returning the CAE (Código de Autorización Electrónico) via WSFE. This remote MCP server wraps the Afip SDK with three tools: create_invoice, query_invoice, get_last_invoice_number. Factura A, B and C (monotributo) are supported.

Connect

{
  "mcpServers": {
    "argentina-invoice": {
      "type": "http",
      "url": "https://inv-ar.wishpool.app/mcp",
      "headers": {
        "x-afipsdk-token": "your-afip-sdk-access-token",
        "x-afip-mode": "dev"
      }
    }
  }
}

Sign up free at app.afipsdk.com for an access_token (1000 requests/month). In dev mode no AFIP certificate is needed — the test CUIT 20409378472 works out of the box. Switch x-afip-mode to prod and pass your AFIP X.509 certificate + key per-request (afip_cert / afip_key) to authorize real invoices.

IVA computed for you

Send flat fields; the server builds the WSFE FECAESolicitar payload and computes the tax. Factura A/B discriminate IVA — line items are grouped by alícuota (0, 10.5, 21, 27%) into the AlicIva array with ImpNeto, ImpIVA, ImpTotal. Factura C (monotributo) does not discriminate IVA — ImpTotal = ImpNeto, ImpIVA = 0. The next invoice number is fetched automatically via FECompUltimoAutorizado.

Why it is safe

Weak-model friendly

Invoice type, IVA rates, doc types and CUIT validated with teaching errors; the IVA discrimination and all totals are computed automatically; the next invoice number is fetched for you; every result embeds numbered next_steps (including: Argentina has no WSFE cancel — reverse with a nota de crédito).

Sister servers

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