Afip SDK

Afip SDK

· #280 most-used

Connect to Argentina's tax authority web services in minutes

FinanceDeveloperSecurityAutomationAccounting

Afip SDK is the developer platform for connecting to ARCA (Argentina's tax authority) web services — with over 100k downloads since 2017. It abstracts away certificate handling, SOAP authentication, and token management so developers can issue electronic invoices, query taxpayer registrations, check retentions, and manage sales points through a clean REST API or native SDK in Node.js, PHP, Python, Ruby, Java, .NET, Go, or Flutter. Connect Actionist's agents to Afip SDK and they can create CAE-authorized invoices, look up taxpayer fiscal status, list issued receipts, manage sales points, and automate compliance checks — without a developer touching the AFIP portal.

Average time saved
5 hours
per person · per month
≈ 1 workdays back

Eliminates manual work. Agents eliminate manual ARCA portal visits for invoice creation, taxpayer verification, certificate downloads, withholding reconciliation, and receipt extraction — the most time-consuming parts of Argentine tax compliance.

Schedule

What your Afip SDK agent runs on autopilot

A week of scheduled jobs your Actionist agent will execute on your behalf.

28Scheduled jobs
7Agents at work
24/7Always on
Agents
TueThu
Tue
Wed
Thu
7a
8a
9a
10a
11a
12p
1p
2p
3p
4p
5p
6p
Multi-app workflows

Afip SDK × every other app you use

End-to-end automations that span multiple apps — each one a real business outcome.

6Workflows
6Apps spanned
~24 hrsSaved / week
5Personas served
For finance
Featured3 apps

Auto-invoice on sale confirmed

When a deal closes in HubSpot, the agent verifies the customer's VAT condition in ARCA, fetches the official exchange rate if needed, creates the correctly typed electronic invoice, generates the PDF, and logs the CAE to the accounts receivable ledger — all before the salesperson finishes updating their notes.

~8 hrs

Time saved for your team — every week, on autopilot

The flow
Trigger·When a sale is marked as completed in the CRM
Result
Create Next Sequential Invoice with correct type (A/B) based on VAT conditionGenerate Invoice PDF with CAE barcodeLog invoice number, CAE code, and customer to the AR ledger
The win
Saved per run
15 min
Runs / week
~30×
Every closed deal produces a legally valid invoice without manual portal access
Driven byFinance Agent
ROI

Savings

What your team gets back — two angles: what you stop doing manually, and what that's worth.

Without Actionist

What you do manually today

With Actionist

What your agent runs for you

  • Sales
    75 min / week
    Manual ARCA portal invoice creation

    Reps or finance staff log into the ARCA portal after each sale to create the invoice manually, copy the CAE code, and record it in the ERP — adding 10–15 minutes per sale.

    Sales Agent
    0 min
    Agent creates CAE invoice the moment the deal closes

    When a deal closes in HubSpot, the agent verifies the customer's VAT condition and creates the CAE-authorized invoice automatically — the CAE is in the ERP before the sales rep updates their notes.

  • Marketing
    30 min / week
    Manual partner CUIT checks before co-marketing payments

    Finance staff manually visit the ARCA portal to verify each partner's CUIT and download their registration certificate before approving co-marketing invoice payments — time-consuming and often skipped under deadline pressure.

    Marketing Agent
    0 min
    Agent verifies all partner CUITs and retrieves certificates automatically

    Every Monday, the agent checks each partner's ARCA registration status and retrieves updated certificates, so the finance team always has current verification before payments are released.

  • Customer Support
    50 min / week
    Manual ARCA lookup for every invoice dispute

    Support agents log into the ARCA portal individually to look up disputed invoice details, a process that takes 5–10 minutes per ticket and requires ARCA portal access to be set up for support staff.

    Customer Support Agent
    0 min
    Agent retrieves full ARCA invoice details on demand

    The Support Agent fetches CAE codes, amounts, and buyer data from ARCA for any disputed invoice in seconds, giving support staff authoritative data without portal access.

  • Human Resources
    40 min / week
    Manual contractor CUIT and invoice verification

    HR staff check each contractor's CUIT on the ARCA website and compare the submitted invoice number against the portal records before approving payment — a manual step that is sometimes skipped when payroll deadlines are tight.

    Human Resources Agent
    0 min
    Agent verifies contractor CUITs and invoice records before payment

    The HR Agent automatically verifies each contractor's CUIT and confirms the invoice exists in ARCA before any payment is released, protecting the business from non-compliant contractor invoices.

  • Finance
    120 min / week
    Manual withholding and receipt reconciliation via ARCA portal

    Finance staff spend hours each month manually downloading withholding records and issued receipt lists from the ARCA portal and matching them against the ERP — a time-intensive close process prone to missed items.

    Finance Agent
    0 min
    Agent pulls ARCA data and reconciles automatically

    The Finance Agent retrieves withholdings from Mis Retenciones and issued receipts from ARCA on schedule, writes them to the reconciliation sheet, and flags discrepancies — monthly close takes minutes instead of hours.

  • Operations
    60 min / week
    Manual sales point management and sequence tracking

    Operations staff manually check ARCA for each sales point's current status, track invoice sequences in a spreadsheet, and run availability checks by attempting to log in to the portal before batch runs.

    Operations Agent
    0 min
    Agent manages sales points and sequence continuity automatically

    The Operations Agent audits sales points, checks sequence continuity, and verifies ARCA availability before every batch — the invoicing infrastructure runs itself.

  • Legal
    90 min / week
    Manual certificate downloads and audit extract preparation

    Legal staff manually download registration certificates for each supplier from the ARCA portal and assemble invoice extracts by hand for audit packages — a process that takes days when auditors request a full period.

    Legal Agent
    0 min
    Agent maintains a living compliance archive refreshed weekly

    The Legal Agent refreshes supplier certificates and writes weekly invoice extracts to the compliance archive automatically — an audit-ready package is available within minutes of any request.

+ 100s of other Afip SDK automations
Average time saved
47 hrs / person / month
Calculator

Calculate what your team saves

Team size
5 people
Hourly rate
$75 / hr
Hours saved / week
6
Hours saved / year
300
Annual ROI
$22,500

Based on Afip SDK's typical team usage — the visible tasks plus a few other automations the agent runs: ~1.2 hrs / person / week of admin work automated.

Connect

How to plug Afip SDK into Actionist

Pick the connection method that suits your environment.

Authenticate via a Bearer access token obtained from the Afip SDK dashboard (app.afipsdk.com). The token is tied to your CUIT and plan; Afip SDK automatically caches and renews the underlying ARCA authentication token for you.

1
Create an Afip SDK account

Sign up at app.afipsdk.com. A free tier (1 CUIT, 1k requests/month) is available with no credit card.

2
Generate an access token

In the Afip SDK dashboard, go to Settings → API and generate an access token. Copy it immediately — it is shown once.

3
Enter your CUIT and token in Actionist

Paste your access token and your 11-digit CUIT below, then click Test connection. Actionist calls the Afip SDK API to verify the credentials before saving.

Credentials you'll need
Access Token*
Generate at app.afipsdk.com → Settings → API. Treat it like a password.
CUIT*
Your 11-digit Argentine tax ID (CUIT). For development, use 20-40937847-2.
Actions

16 actions your agent can call

Read and write operations available to your Actionist agent.

Triggers

0 events your agent can react to

Events your agent watches for, and the actions it kicks off in response.

This app has no triggers yet.
MCP servers

MCP servers that work with Afip SDK

Connect Actionist to MCP servers built for or around this app.

mcp-afip

AFIP/ARCA MCP server for electronic invoicing (Factura Electrónica) — lets AI agents call ARCA web services directly.

Argentina Data

Real-time Argentine open data including dollar rates, BCRA, INDEC, AFIP/ARCA, and SEPA prices — 24+ tools for Argentine financial data.

mcp (ar-agents)

Argentine business automation covering Mercado Pago, AFIP/ARCA, banking, and shipping integrations.

mcp-colppy

Colppy Argentine cloud accounting with integrated AFIP/ARCA electronic invoicing support.

FAQs

Questions about Afip SDK + Actionist

How does Actionist connect to Afip SDK?
Go to the Apps tab, find Afip SDK, and click Connect. You will need two things: your 11-digit CUIT (Argentine tax ID) and an access token generated from the Afip SDK dashboard at app.afipsdk.com under Settings → API. Actionist uses the access token as a Bearer credential when calling the Afip SDK REST API — Afip SDK then handles the underlying WSAA authentication with ARCA on your behalf, including automatic token caching and renewal. Actionist runs a test call to Check ARCA Server Status to confirm the connection before saving.
Do I need a digital certificate to connect Afip SDK to Actionist?
Not by default. Afip SDK manages ARCA certificate authentication on your behalf as part of the service — you authenticate to Afip SDK with your access token and CUIT, and Afip SDK presents its own certificates to ARCA's WSAA service. For production environments, Afip SDK's platform-level certificate covers all plan tiers. If you need to use your own organization's ARCA certificate (for compliance or audit reasons), Afip SDK also accepts optional cert and key parameters, but this is an advanced setup that most users never need.
What is a CAE and why do agents retrieve it?
A CAE (Código de Autorización Electrónico) is the authorization code that ARCA (formerly AFIP) issues when it accepts an electronic invoice. Without a CAE, an electronic invoice is not legally valid in Argentina — the buyer cannot claim a tax deduction and the seller faces regulatory risk. When Actionist's Finance Agent calls Create Electronic Invoice, the Afip SDK submits the invoice to ARCA's WSFE web service and returns the CAE code and expiry date. Agents store this code alongside the invoice record so it can be included on the invoice PDF and referenced in audits.
Can agents create invoices for both local (domestic) and export sales?
Yes. Afip SDK supports multiple invoice types through the same API: Factura A, B, C, and M for domestic sales (the type depends on the buyer's VAT registration status), and export invoice variants for international transactions. When creating an export invoice, agents must also include the official ARCA exchange rate for the invoice currency — the Get Currency Exchange Rate action retrieves this automatically so the submitted amount is always based on the legally recognized rate rather than a market rate.
What happens if ARCA rejects an invoice submission?
Afip SDK returns the rejection details directly in the API response, including ARCA's error codes and descriptive messages. Actionist agents capture these and log them to the designated error channel — typically a Google Sheets row or a Slack message — alongside the invoice data that was submitted. Common rejection causes include: an invalid or inactive CUIT, an incorrect invoice sequence number, a missing or wrong CAE-required field, or an unsupported document type. The agent can be configured to retry with corrected data or to route the failed invoice to a human review queue.
What is the difference between Create Electronic Invoice and Create Next Sequential Invoice?
Create Electronic Invoice lets you specify the exact invoice number to submit — useful when your system already tracks sequence numbers and you need to ensure a specific number is assigned. Create Next Sequential Invoice asks ARCA for the next available number in the sequence for the given sales point and invoice type, and then submits the invoice with that number automatically. For most automation workflows where agents are generating invoices without manual oversight, Create Next Sequential Invoice is safer because it eliminates the risk of a number collision if two requests happen in quick succession.
Can agents query taxpayer data for customers and suppliers — not just for our own CUIT?
Yes. The Get Taxpayer Registration Data and Get Registration Certificate actions can query any CUIT through ARCA's padrón (taxpayer registry) service — not just the CUIT used for authentication. This is how agents verify a new customer's VAT condition before issuing their first invoice (to determine whether to issue a Factura A or B), validate a supplier's fiscal status before approving payments, or assemble compliance documentation packages with official ARCA registration records for any entity.
How does the Afip SDK free tier work with Actionist — is there a request limit?
Afip SDK's free tier includes 1 CUIT and 1,000 API requests per month, which is enough for small-volume testing and low-frequency automation. For production use, the Pro plan ($25/month) covers 10 CUITs and 10,000 requests; the Growth plan ($80/month) covers 100 CUITs and 100,000 requests. Each Actionist agent action that calls Afip SDK consumes one API request. High-volume invoice batches (for example, generating 500 invoices at month-end) will count against the monthly request quota, so size your Afip SDK plan to match your expected automation volume before enabling production workflows.