argentina-invoice

Let AI agents issue Argentine electronic invoices (factura electronica AFIP/ARCA, CAE via WSFE) through Afip SDK.

Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeCan modify data

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.

Server tool list (3)

Raw names from tools/list. Only developers need these.

create_invoiceIssue 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_invoiceLook 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_numberGet 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.