Skip to main content
Product details are displayed in English. Translations coming soon.
Argentina AFIP Electronic Invoicing for ERPNext — A build-to-order ERPNext app that requests AFIP CAE authorization for your  — 1/1مثالی پیش منظر

A build-to-order ERPNext app that requests AFIP CAE authorization for your Sales Invoices,

handling Factura A/B/C, CUIT validation, and IVA and perception/retention mapping.

ECOSIRE builds, installs, and supports it for your Argentine operation.

Argentina AFIP Electronic Invoicing for ERPNext کیا ہے؟

A build-to-order ERPNext app that requests AFIP CAE authorization for your Sales Invoices, handling Factura A/B/C, CUIT validation, and IVA and perception/retention mapping. ECOSIRE builds, installs, and supports it for your Argentine operation. Built to order by ECOSIRE for ERPNext v15, v16 — indicative price from $999.00 USD; request a quote for a scoped proposal.

اہم خصوصیات

WSAA authentication handshake: signed CMS login ticket exchanged for token+sign, cached until expiry and auto-renewed via a Frappe scheduler event
`FECAESolicitar` call to AFIP WSFEv1 on Sales Invoice `on_submit`, writing the returned CAE and CAE vencimiento back to custom fields
Factura A / B / C document-type handling mapped to AFIP CbteTipo codes 001 / 006 / 011 based on customer IVA condition
Electronic credit note support (Nota de Crédito types 003 / 008 / 013) linked to the original authorized comprobante
CUIT/CUIL validation with the mod-11 check-digit algorithm enforced in both a client script and server-side before authorization
IVA breakdown array (21%, 10.5%, 27%, 0%, exempt) built automatically from your ERPNext Sales Taxes and Charges rows
Perception and retention (percepciones/retenciones) mapped to AFIP `Tributos` lines separate from IVA
`AFIP Settings` DocType for CUIT, certificate and private-key references, and homologación vs. producción environment switch
`AFIP Punto de Venta` DocType with per-PtoVta numbering reconciled against `FECompUltimoAutorizado`
`AFIP CAE Log` DocType persisting full request/response, CAE, expiry, and AFIP observation/error codes for audit
`hooks.py` `doc_events` and whitelisted server methods so authorization also fires via the Frappe REST API and custom flows
Legal PDF print format rendering the AFIP QR code and CAE / vencimiento block for compliant customer delivery
Submission blocked with a clear, translated error when AFIP rejects, so no unauthorized invoice ever reaches a customer
Role profiles and DocType permissions restricting CAE requests to accounting roles; survives `bench update` as an isolated app on Frappe/ERPNext v15/v16

آرڈر پر تیار، مکمل طور پر آپ کے لیے

خود سیٹ اپ کی ضرورت نہیں — ایک کام کرنے والی ایپ جو ECOSIRE بناتا، انسٹال اور سپورٹ کرتا ہے۔

  1. 1

    آپ آرڈر دیتے ہیں

    ایک بار کی تعمیر کی قیمت سے آغاز کریں۔ آغاز پر ہم آپ کے ساتھ مل کر دائرہ کار طے کرتے ہیں۔

  2. 2

    ہم بناتے اور انسٹال کرتے ہیں

    ECOSIRE اسے آپ کے ERPNext پر بناتا، ترتیب دیتا اور انسٹال کرتا ہے۔

  3. 3

    لائیو + معاونت

    آپ تقریباً ایک کاروباری ہفتے میں لائیو ہو جاتے ہیں، گو لائیو کے بعد دو ہفتوں کی معاونت کے ساتھ۔ ہمارے فراہم کردہ کوڈ کی خرابیاں مفت درست کی جاتی ہیں۔

تکنیکی تفصیلات

ERPNext ہم آہنگی
—
لائسنس
لائسنس کی تصدیق درکار ہے
Python کی ضرورت
Python 3.10+
ڈیٹابیس
MariaDB 10.6+

اس مصنوع کے بارے میں

Argentine businesses are legally required to issue AFIP-authorized electronic invoices, where every Factura must carry a valid CAE (Código de Autorización Electrónico) obtained from AFIP's WSFEv1 web service before it can be delivered to a customer. ERPNext core gives you a solid Sales Invoice, tax templates, and a customer master, but it has no concept of a CAE, no WSAA token/sign handshake to authenticate against AFIP, no notion of Punto de Venta, comprobante types 001/006/011 (Factura A/B/C), or the CbteTipo/Concepto codes AFIP expects. Teams end up copy-pasting totals into AFIP's web portal or a third-party tool, then reconciling by hand — which is slow, error-prone, and breaks the moment invoice volume grows.

We build a proper Frappe app (for example erpnext_afip) with its own module, so nothing is hacked into ERPNext core and the whole thing survives bench update. The app adds custom DocTypes such as AFIP Settings (credentials, CUIT, environment homologación vs. producción, certificate/private-key references), AFIP Punto de Venta, and an AFIP CAE Log that stores every request/response, the returned CAE, its expiry, and any AFIP observation codes for audit. A hooks.py doc_events handler on Sales Invoice on_submit calls a whitelisted server-side method that performs the WSAA login (signed CMS ticket → token + sign, cached until expiry via a Frappe cache/scheduler), maps the invoice to the correct CbteTipo and Concepto, resolves the buyer's DocTipo/DocNro from a validated CUIT, builds the IVA array from your ERPNext tax rows (21%, 10.5%, 27%, exempt), applies perception/retention (percepciones/retenciones) as separate tributo lines, and submits FECAESolicitar. On success the returned CAE, CAE vencimiento, and comprobante number are written back to custom fields on the Sales Invoice; on rejection the AFIP error is surfaced cleanly and submission is blocked so you never ship an unauthorized invoice.

Around that core we wire the details that make it usable day to day: CUIT validation with the check-digit algorithm at the point of entry (client script) and server-side re-validation, automatic next-number sequencing per Punto de Venta reconciled against FECompUltimoAutorizado, electronic credit note (Nota de Crédito, types 003/008/013) support with reference to the original comprobante, and a print format that renders the legal PDF with the AFIP QR code and CAE/vencimiento block. Because everything is exposed through the Frappe REST API and whitelisted methods, you can also trigger authorization from custom flows, and role profiles/permissions keep CAE requests limited to your accounting roles. The app targets Frappe/ERPNext v15 and v16.

This is a build-to-order engagement, not a one-click marketplace download. After a short scoping call we confirm your exact requirements — which comprobante types you issue, your Puntos de Venta, IVA/perception configuration, and whether you need multi-company — and hand you a fixed scope. We build against your version on a staging bench, run UAT with your team using AFIP's homologación environment, then install into production, hand over the git repository, and stay with you through a post-go-live support window. Typical delivery is one working week from confirmed scope.

What you get

  • Installable Frappe app source code for your ERPNext version (v15 or v16), pinned to your bench
  • Installation and configuration on your staging and production benches, including AFIP certificate/WSAA setup
  • Technical documentation: DocType reference, hooks, whitelisted methods, and AFIP field mapping
  • End-user guide plus a live training session for your accounting team
  • UAT on a staging bench against AFIP's homologación environment, with a documented rollback plan
  • Post-go-live support window for defect fixes and AFIP-response troubleshooting
  • Git repository handover with full commit history and tagged release
  • Configuration handover sheet: Puntos de Venta, comprobante-type mapping, and IVA/perception setup

Who this is for

Argentine accountant / contador

Issues AFIP-authorized Facturas A/B/C daily and needs a valid CAE on every Sales Invoice without leaving ERPNext or re-keying totals into the AFIP portal.

Finance lead at an SME on ERPNext

Wants Argentine e-invoicing compliance built into the existing ERPNext accounting flow, with an auditable CAE log and correct IVA/perception handling.

ERPNext systems administrator

Needs a clean, isolated Frappe app that survives `bench update`, keeps AFIP credentials in a settings DocType, and exposes authorization via whitelisted REST methods.

Multi-entity CFO / controller

Operates several CUITs and Puntos de Venta and needs per-company AFIP configuration, correct comprobante sequencing, and credit-note traceability across entities.

How Argentina AFIP Electronic Invoicing for ERPNext Compares

CriterionECOSIRECustom BuildCompetitorERPNext نیٹو
AFIP CAE authorizationAutomatic on Sales Invoice submit via WSFEv1Must be built from scratch in-houseSometimes present, coverage variesNot supported at all
Factura A/B/C + credit notesFull CbteTipo mapping incl. Notas de CréditoDepends on your developer's scopeOften partial or A/B onlyGeneric invoice, no comprobante types
CUIT validationMod-11 check digit, client + server sideOnly if you build itBasic or absentFree-text field, no validation
IVA + perception/retention mappingBuilt from your ERPNext tax rows into IVA/tributosManual mapping to codeIVA only in many appsTax templates, no AFIP mapping
Audit trailAFIP CAE Log with full request/response + codesWhatever you choose to logLimited loggingNone specific to AFIP
Fit to your versionBuilt and tested on your v15/v16 benchYours to maintain across upgradesGeneric, may lag ERPNext releasesShips with ERPNext
Support & AFIP spec updatesPost-go-live window + optional ongoingYour team's responsibilityDepends on vendor roadmapNo AFIP support
OwnershipFull source + git repo handoverYou own it, but you built itUsually closed or licensedOpen source, no feature

Frequently Asked Questions about Argentina AFIP Electronic Invoicing

How long does delivery take?

This is a build-to-order engagement. After a scoping call we confirm your exact requirements and give you a fixed scope; typical delivery is one working week from confirmed scope. Timing depends on how many comprobante types, Puntos de Venta, and companies you need, and on your AFIP certificate being ready.

Is this a ready-made download from the Frappe Marketplace?

No. ECOSIRE builds the app for your ERPNext instance, installs it, tests it against AFIP's homologación environment, and hands over the source and git repository. It is not an off-the-shelf instant download.

Which ERPNext versions are supported?

We target Frappe/ERPNext v15 and v16 and build against your specific version on a staging bench first. The app is a self-contained Frappe app in its own module, so it survives `bench update` and does not modify ERPNext core.

How does the AFIP authorization actually work?

On Sales Invoice submit, a `hooks.py` `doc_events` handler runs a whitelisted server method that performs the WSAA login, maps the invoice to the right CbteTipo and IVA/tributo arrays, and calls `FECAESolicitar` on WSFEv1. The returned CAE and expiry are written back to the invoice; a rejection blocks submission with a clear error.

What about support and updates after go-live?

Every build includes a post-go-live support window for defect fixes and AFIP-response troubleshooting. Because you receive the full git repository, your team can maintain it, or you can engage ECOSIRE for ongoing support and for updates when AFIP changes its web-service specifications.

Does it handle credit notes and CUIT validation?

Yes. Electronic credit notes (Notas de Crédito, types 003/008/013) are supported with a reference to the original authorized comprobante, and CUIT/CUIL is validated with the mod-11 check-digit algorithm both in a client script at entry and server-side before authorization.

Can we trigger invoicing from our own integrations?

Yes. Authorization is exposed through whitelisted methods and the Frappe REST API, so besides the automatic on-submit flow you can trigger CAE requests from custom apps or external systems, subject to role-based permissions.

قیمت کا تخمینہ طلب کریں

Argentina AFIP Electronic Invoicing

A build-to-order ERPNext app that requests AFIP CAE authorization for your Sales Invoices, handling Factura A/B/C, CUIT validation, and IVA and perception/retention mapping. ECOSIRE builds, installs, and supports it for your Argentine operation.

  • WSAA authentication handshake: signed CMS login ticket exchanged for token+sign, cached until expiry and auto-renewed via a Frappe scheduler event
  • `FECAESolicitar` call to AFIP WSFEv1 on Sales Invoice `on_submit`, writing the returned CAE and CAE vencimiento back to custom fields
  • Factura A / B / C document-type handling mapped to AFIP CbteTipo codes 001 / 006 / 011 based on customer IVA condition
  • Electronic credit note support (Nota de Crédito types 003 / 008 / 013) linked to the original authorized comprobante

قیمت کا تخمینہ طلب کریں

ہمیں Argentina AFIP Electronic Invoicing کے لیے اپنی ضروریات بتائیں اور ہم آپ کو قیمتیں، لائسنس کے اختیارات اور ایک مخصوص تجویز بھیجیں گے — عام طور پر ایک کاروباری دن میں۔

ابھی کوئی ادائیگی نہیں۔ یہ ہماری ٹیم کو قیمت کی درخواست بھیجتا ہے — ہم قیمت اور اگلے اقدامات کے ساتھ ای میل کے ذریعے رابطہ کریں گے۔