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 $399.00 USD; request a quote for a scoped proposal.

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.
今すぐのお支払いはありません。これはチームへの見積もり依頼を送信します。価格と次のステップをメールでご案内します。
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.
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
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 2–4 weeks from confirmed scope.
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.
Wants Argentine e-invoicing compliance built into the existing ERPNext accounting flow, with an auditable CAE log and correct IVA/perception handling.
Needs a clean, isolated Frappe app that survives `bench update`, keeps AFIP credentials in a settings DocType, and exposes authorization via whitelisted REST methods.
Operates several CUITs and Puntos de Venta and needs per-company AFIP configuration, correct comprobante sequencing, and credit-note traceability across entities.
ecosire.com でライセンスを購入し、アカウント ダッシュボードから Argentina AFIP Electronic Invoicing for ERPNext アプリの ZIP をダウンロードします。
ZIP をベンチのアプリ フォルダーに抽出するか、抽出されたアプリへのパスを指定して「bench get-app」を実行します。
`bench --site SITE_NAME install-app APP_NAME` を実行し、続いて `bench maigrate` を実行して、Argentina AFIP Electronic Invoicing for ERPNext をインストールし、そのスキーマを適用します。
サイトの ECOSIRE ライセンス設定を開き、ライセンス キーをアクティブ化します。無料の ecosire_connect アプリと ecosire_license_client アプリが必要です。
| 基準 | エコシエール | カスタムビルド | 競合他社 | オドゥー ネイティブ |
|---|---|---|---|---|
| AFIP CAE authorization | Automatic on Sales Invoice submit via WSFEv1 | Must be built from scratch in-house | Sometimes present, coverage varies | |
| Factura A/B/C + credit notes | Full CbteTipo mapping incl. Notas de Crédito | Depends on your developer's scope | Often partial or A/B only | |
| CUIT validation | Mod-11 check digit, client + server side | Only if you build it | Basic or absent | |
| IVA + perception/retention mapping | Built from your ERPNext tax rows into IVA/tributos | Manual mapping to code | IVA only in many apps | |
| Audit trail | AFIP CAE Log with full request/response + codes | Whatever you choose to log | Limited logging | |
| Fit to your version | Built and tested on your v15/v16 bench | Yours to maintain across upgrades | Generic, may lag ERPNext releases | |
| Support & AFIP spec updates | Post-go-live window + optional ongoing | Your team's responsibility | Depends on vendor roadmap | |
| Ownership | Full source + git repo handover | You own it, but you built it | Usually closed or licensed |
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 2–4 weeks from confirmed scope. Timing depends on how many comprobante types, Puntos de Venta, and companies you need, and on your AFIP certificate being ready.
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.
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.
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.
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.
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.
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.
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.