argentina-invoice
Let AI agents issue Argentine electronic invoices (factura electronica AFIP/ARCA, CAE via WSFE) through Afip SDK.
What it can do
- Create Invoice: Issue an Argentina AFIP/ARCA electronic invoice (factura electrónica) and get the CAE (Código de Autorización Electrónico) via WSFE, through the Afip SDK. Bring your own Afip SDK acces
- Query Invoice: Look up an issued Argentina electronic invoice at AFIP/ARCA by its number (FECompConsultar via WSFE). Give invoice_number, point_of_sale and invoice_type; returns the CAE, cae_expiry, t
- Get Last Invoice Number: Get the last authorized invoice number (FECompUltimoAutorizado via WSFE) for a given point of sale and invoice type — the next invoice is this number + 1. Useful to compute th
What data it sees
Do you need an account
No: the server works without sign-in
Let AI agents issue Argentine electronic invoices (factura electronica AFIP/ARCA, CAE via WSFE) through Afip SDK. Stateless remote MCP server: bring your own access, certificates forwarded per-request and never stored. Create invoices with IVA math, query, auto invoice numbering.
How to connect
How to connect argentina-invoice to Claude
The server address to paste into Claude settings:
https://argentina-invoice--wishpool.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect argentina-invoice to ChatGPT
The server address to paste into ChatGPT settings:
https://argentina-invoice--wishpool.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect argentina-invoice to Cursor
The server address to paste into Cursor settings:
https://argentina-invoice--wishpool.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (3)
Raw names from tools/list. Only developers need these.
| create_invoice | Issue an Argentina AFIP/ARCA electronic invoice (factura electrónica) and get the CAE (Código de Autorización Electrónico) via WSFE, through the Afip SDK. Bring your own Afip SDK access_token via header x-afipsdk-token (sign up free at app.afipsdk.com — 1000 requests/month). Header x-afip-mode: dev (default, no AFIP certificate needed — test CUIT 20409378472) or prod. Header x-afip-cuit: the 11-digit issuer CUIT (defaults to the test CUIT in dev). In prod, pass your AFIP X.509 certificate + private key per-request as afip_cert / afip_key (PEM strings) — they are forwarded to Afip SDK for this request only and never stored or logged. Give flat fields (invoice_type, point_of_sale, customer doc, line items with net_price + iva_rate) and this server COMPUTES the WSFE amounts: ImpNeto, ImpIVA (grouped AlicIva array), ImpTotal — IVA is discriminated for Factura A/B and not discriminated for Factura C (monotributo). The next invoice number is fetched automatically (FECompUltimoAutorizado) unless you pass invoice_number. Returns cae, cae_expiry and invoice_number. |
| query_invoice | Look up an issued Argentina electronic invoice at AFIP/ARCA by its number (FECompConsultar via WSFE). Give invoice_number, point_of_sale and invoice_type; returns the CAE, cae_expiry, total and Resultado (A = approved/authorized). Safe to call anytime. |
| get_last_invoice_number | Get the last authorized invoice number (FECompUltimoAutorizado via WSFE) for a given point of sale and invoice type — the next invoice is this number + 1. Useful to compute the next number before issuing, or to reconcile. Returns last_number and next_number. |