OdooWiki OCA HUB

Factura Electrónica - Argentina

l10n_ar_afipws_fe folder_open OCA/l10n-argentina open_in_new
Accounting/Localizations License: AGPL-3

Integration of Argentinian AFIP Webservices

This module integrates the electronic invoice webservices and system adaptations for Argentina usage. This module integrates the following webservices:

  • "wsfev1": Webservice de factura electronica mercado interno (incluye factura MiPyme)
  • "wsfex1": Webservice de factura electronica de exportacion
  • "wsbfe1": Webservice de bonos fiscales electronicos

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

This module connects Odoo to Argentina's AFIP electronic invoicing web services, so customer invoices, credit notes and debit notes can be authorized online and receive a CAE number. It also adds an AFIP QR code, connection tests and an option to post invoices in the background.

When you work with Argentinian customer invoices, this module sends them to AFIP (the tax authority) and brings back the authorization result. On the journal (point of sale) you choose the AFIP web service: domestic market, export or fiscal bond. The journal then shows buttons to test the AFIP connection, list enabled points of sale, list authorized document types, list zones and NCM codes, and show the last authorized invoice number.

On the invoice itself, after validation Odoo automatically requests authorization and stores the CAE/CAI/CAEA code, its due date, the AFIP result (accepted, rejected or observed), the AFIP message and the XML request and response. A QR code is computed for invoices with a CAE or CAEA. Export invoices must have an Incoterm, otherwise validation is blocked. For MiPyME FCE documents, extra optional data such as CBU and transmission type are sent.

A wizard lets you post several draft entries asynchronously, and a scheduled job processes that queue. Company settings let you require AFIP authorization verification on supplier invoices, and choose the FCE transmission option. The module touches account.journal, account.move, afipws.connection, l10n_latam.document.type, res.company, res.config.settings and the post-entries wizard.

Depends on

l10n_arl10n_ar_afipwsaccount_debit_note

Required by other modules

Models and fields (7)
  • res.company · extends an existing modelafip_auth_verify_type (AFIP authorization verification)
  • account.move · extends an existing modelafip_result, afip_message (AFIP Message), afip_qr_code (AFIP QR Code), afip_auth_code (CAE/CAI/CAEA Code), afip_auth_mode (AFIP authorization mode), afip_xml_request (AFIP XML Request), afip_xml_response (AFIP XML Response), asynchronous_post, afip_auth_code_due (CAE/CAI/CAEA due Date), afip_fce_es_anulacion (FCE: Es anulacion?)
  • account.journal · extends an existing modelafip_ws (Webservice AFIP)
  • afipws.connection · extends an existing modelafip_ws
  • res.config.settings · extends an existing modell10n_ar_afip_fce_transmission
  • validate.account.move · extends an existing modelasync_post (Asynchronous Post)
  • l10n_latam.document.type · extends an existing modelafip_ws, journal_id

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-argentina.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.