Argentine

Webinars

Below you can find videos with a general description of the localization, and how to configure it.

Introduction

The Argentinean localization has been improved and extended in Odoo v13, in this version the next modules are available:

  • l10n_ar: This module add accounting features for the Argentinian localization, which represent the minimal configuration needed for a company to operate in Argentina and under the AFIP (Administración Federal de Ingresos Públicos) regulations and guidelines.

  • l10n_ar_reports: Add VAT Book report which is a legal requirement in Argentine and that holds the VAT detail info of sales or purchases recorded on the journal entries. This module includes as well the VAT summary report that is used to analyze the invoice

  • l10n_ar_edi: This module includes all technical and functional requirements to generate Electronic Invoice via web service, based on the AFIP regulations.

Configuration

Installez les modules de localisation argentins

Pour cela, allez dans Applications et recherchez l’Argentine. Cliquez ensuite sur Installer pour les deux premiers modules.

../../../../../_images/argentina01.png

Configurez votre société

Once that the modules are installed, the first step is to set up your company data. Additional to the basic information, a key field to fill in the AFIP Responsibility Type, that represent the fiscal obligation and structure of the company:

../../../../../_images/argentina02.png

Plan comptable

In Accounting settings there are three available packages of Chart of accounts, which are related to the AFIP responsibility type of the Company, considering that if the base companies don’t require as many accounts as the companies that gave more complex fiscal requirements:

  • Monotributista (149 comptes).

  • IVA Exempto (159 comptes).

  • Responsables Inscriptos (166 comptes).

../../../../../_images/argentina03.png

Configurez les données de base

Electronic Invoice Credentials

Environnement

The AFIP infrastructure is replicated in two separate environments, Testing and Production.

Testing is provided so that the Companies can test their developments until they are ready to move into the Production environment. As these two environments are completely isolated from each other, the digital certificates of one instance are not valid in the other one.

Go to Accounting ‣ Settings ‣ Argentinian Localization to select the environment:

../../../../../_images/argentina_edi_01.png
AFIP Certificates

The electronic invoice and other afip services work with WebServices (WS) provided by the AFIP.

In order to enable communication with the AFIP, the first step is to request a Digital Certificate if you don’t have one already.

  1. Generate certificate Sign Request (Odoo). When this option is selected a file with extension .csr (certificate signing request) is generated to be used the AFIP portal to request the certificate.

    ../../../../../_images/argentina_edi_02.png
  2. Generate Certificate (AFIP). Access the AFIP portal and follow the instructions described in the next document in order to get a certificate. Get AFIP Certificate.

  3. Upload Certificate and Private Key (Odoo). Once the certificate has been generated, it needs to be uploaded in Odoo, using the pencil next in the field “Certificado” and selecting the corresponding file.

    ../../../../../_images/argentina_edi_03.png

Astuce

In case you need to configure the Homologation Certificate, please refer to the AFIP official documentation: Homologation Certificate.

Partenaire

Type d’identification et TVA

As part of the Argentinean localization, the document types defined by the AFIP are now available on the Partner form, this information is essential for most transactions. There are six identification types available by default:

../../../../../_images/argentina04.png

Note

The complete list of Identification types defined by the AFIP is included in Odoo but only the common ones are active.

Type de responsabilité AFIP

In Argentina the document type associated with customers and vendors transactions is defined based on the AFIP Responsibility type, this field should be defined in the partner form:

../../../../../_images/argentina05.png

Taxes

As part of the localization module, the taxes are created automatically with their related financial account and configuration.

../../../../../_images/argentina06.png
Types de taxes

L’Argentine possède plusieurs types de taxes, les plus courantes sont :

  • TVA : c’est la TVA normale et elle peut avoir plusieurs pourcentages.

  • Perception : c’est le versement anticipé d’une taxe qui est appliqué aux factures.

  • Retenue : c’est le versement anticipé d’une taxe qui est appliqué aux paiements.

  • Autres

Taxes spéciales

Certaines taxes argentines ne sont généralement pas appliquées à toutes les sociétés. Par défaut, ces types de taxes sont ajoutées en mode désactivé, avant de créer une nouvelle taxe vous devez impérativement confirmer si elles se trouvent déjà dans les taxes désactivées ou pas.

../../../../../_images/argentina07.png

Types de documents

Dans certains pays de l’Amérique latine, y compris l’Argentine, certaines opérations comptables comme les factures et les bordereaux de livraison sont classées par types de documents définis par les autorités fiscales publiques (l’AFIP dans le cas de l’Argentine).

The document type is an essential information that needs to be displayed in the printed reports and that needs to be easily identified, within the set of invoices as well of account moves.

Each document type can have a unique sequence per journal where it is assigned. As part of the localization, the Document Type include the country on which the document is applicable and the data is created automatically when the localization module is installed.

The information required for the document types is included by default so the user doesn’t need to fill anything on this view:

../../../../../_images/argentina08.png

Note

Plusieurs types de documents sont désactivés par défaut mais ils peuvent être activés si nécessaire.

Lettres

Dans le cas de l’Argentine, les types de document contiennent une lettre qui vous indique la transaction/opération, par exemple :

  • Lorsqu’une facture est liée à une transaction B2B, un document de type « A » doit être utilisé.

  • Lorsqu’une facture est liée à une transaction B2C, un document de type « B » doit être utilisé.

  • Lorsqu’une facture est liée à une transaction d’exportation, un document de type « E » doit être utilisé.

Les documents ajoutés à la localisation ont leur propre lettre associée, l’utilisateur ne doit rien configurer de plus.

../../../../../_images/argentina09.png
Utilisation dans les factures

Le type de document à utiliser dans chaque transaction sera déterminé par :

  • Le journal lié à la facture, qui indique si celui-ci utilise des documents.

  • La condition appliquée en fonction du type de problèmes et du récepteur (par ex. le type de régime fiscal de l’acheteur et le type de régime fiscal du vendeur).

Journaux

In the Argentinean localization the Journal can have a different approach depending on its usage and internal type, to configure you journals go to Accounting ‣ Configuration ‣ Journals:

For Sales and Purchase Journals it’s possible to enable the option Use Documents, this indicates the Journal enables a list of document types that can be related to the Invoices and vendor Bills, for more detail of the invoices, please refer to the section 2.3 Document Types.

If the Sales/Purchase journal are used without the option Use Documents it because they won’t be used to generate fiscal invoices, but mostly for account moves related to internal control process.

AFIP Information (also known as AFIP Point of Sale)

../../../../../_images/argentina10.png

AFIP POS System: This field is only visible for the Sales journals and defined the type of AFIP POS that will be used to manage the transactions for which the journal is created. The AFIP POS defines as well:

  1. The sequences of document types related to the Web service.

  2. La structure et les données du fichier de factures électroniques.

Web Services
  • wsfev1: Electronic Invoice. This is the most common service, is used to generated invoices for document types A, B, C, M with no detail per item.

  • wsbfev1: Electronic Fiscal Bond. For those who invoice capital goods and wish to access the benefit of the Electronic Tax Bonds granted by the Ministry of Economy. For more detail you can refer to the next link: Fiscal Bond.

  • wsfexv1: Electronic Exportation Invoice. Used to generate invoices for international customers and transactions that involve exportation process, the document type related is type “E”.

../../../../../_images/argentina_edi_04.png

AFIP POS Number: This is the number configured in the AFIP to identify the operations related to this AFIP POS.

AFIP POS Address: This field is related to commercial address registered for the POS, which is usually the same address than the Company. For example: has multiple stores (fiscal locations) then AFIP will require that you have one AFIP POS per location: this location will be printed in the invoice report.

Unified Book: When AFIP POS System is Preimpresa the document types (applicable to the journal) with the same letter will share the same sequence. For example:

  • Facture : FA-A 0001-00000002.

  • Note de crédit : NC-A 0001-00000003.

  • Note de débit : ND-A 0001-00000004.

Séquences

In case that you want to synchronize the next number in the sequence in Odoo based on the next number in the AFIP POS, the next button that is visible under developer mode can be used:

../../../../../_images/argentina_edi_05.png

Note

When creating the Purchase journals, it’s possible to define if they can be related to document types or not. In case that the option to use documents is selected, there is no need to manually associate the document type sequences as the document number is provided by the vendor.

Utilisation et test

Facture

Une fois les partenaires et journaux créés et configurés, lorsque les factures seront générées elles auront le profil suivant :

Attribution du type de document

Lorsque le partenaire est sélectionné, le type de document sera automatiquement rempli, en fonction du type de document AFIP :

Facture pour un client TVA Responsable Inscripto, préfixe A.

../../../../../_images/argentina11.png

Facture pour un client final, préfixe B.

../../../../../_images/argentina12.png

Facture d’exportation, préfixe E.

../../../../../_images/argentina13.png

Comme indiqué sur les factures, ils utilisent tous le même journal mais le préfixe et la séquence sont donnés par le type de document.

The most common document type will be defined automatically for the different combinations of AFIP responsibility type but it can be updated manually by the user.

Electronic Invoice elements

When using electronic invoice, if all the information is correct the Invoice is posted in the standard way, in case that something needs to be addressed (check the section common errors for more detail), an error message is raised indicating the issue/proposed solution and the invoice remains in draft until the related data is corrected.

Once the invoice is posted, the information related to the AFIP validation and status is displayed in the AFIP Tab, including:

  • AFIP Autorisation: CAE number.

  • Expiration date: Deadline to deliver the invoice to the customers. Normally 10 days after the CAE is generated.

  • Result:

    • Aceptado en AFIP.

    • Aceptado con Observaciones.

../../../../../_images/argentina_edi_15.png

Taxes de facturation

Based on the AFIP Responsibility type, the VAT tax can have a different behavior on the pdf report:

A. Tax excluded: In this case the taxed amount needs to be clearly identified in the report. This condition applies when the customer has the following AFIP Responsibility type:

  • Responsable Inscripto.

../../../../../_images/argentina14.png

B. Tax amount included: This means that the taxed amount is included as part of the product price, subtotal and totals. This condition applies when the customer has the following AFIP Responsibility types:

  • IVA Sujeto Exento.

  • Consumidor Final.

  • Responsable Monotributo.

  • IVA liberado.

../../../../../_images/argentina15.png

Special Use Cases

Invoices for Services

For electronic invoices that include Services, the AFIP requires to report the service starting and ending date, this information can be filled in the tab “Other Info”:

../../../../../_images/argentina_edi_06.png

If the dates are not selected manually before the invoice is validated, the values will be filled automatically considering the beginning and day of the invoice month:

../../../../../_images/argentina_edi_07.png
Exportation Invoices

The invoices related to Exportation transactions required a Journal that used the AFIP POS System “Expo Voucher - Web Service” so the proper document type be associated:

../../../../../_images/argentina_edi_08.png

When the customer selected in the Invoice has set the AFIP responsibility type as “Cliente / Proveedor del Exterior” or “IVA Liberado – Ley Nº 19.640”, Odoo automatically assigned:

  • Journal related to the exportation Web Service.

  • Exportation document type .

  • Fiscal position: Compras/Ventas al exterior.

  • Concepto AFIP: Products / Definitive export of goods.

  • Exempt Taxes.

../../../../../_images/argentina_edi_09.png

Note

The Exportation Documents required the Incoterm in Other Info ‣ Accounting:

../../../../../_images/argentina_edi_13.png
Fiscal Bond

The Electronic Fiscal bond is used for those who invoice capital goods and wish to access the benefit of the Electronic Tax Bonds granted by the Ministry of Economy.

For these transactions it’s important to have into consideration the next requirements:

  • Currency (according to parameter table) and invoice quotation.

  • Taxes.

  • Zone.

  • Detail each item.

    • Code according to the Common Nomenclator of Mercosur (NCM).

    • Description complète.

    • Prix net unitaire.

    • Quantité.

    • Unité de mesure.

    • Bonus.

    • Taux de TVA.

Electronic Credit Invoice MiPyme (FCE)

Invoices: There are several document types classified as Mipyme also known as Electronic Credit Invoice (FCE in spanish), which is used to impulse the SME, its purpose is to develop a mechanism that improves the financing conditions of these companies and allows them to increase their productivity, through the early collection of credits and receivables issued to their clients and / or vendors.

For these transactions it’s important to have into consideration the next requirements:

  • Types de documents spécifiques (201, 202, 206, etc.).

  • The emisor should be eligible by the AFIP to MiPyme transactions.

  • Le montant doit être supérieur à 100 000 ARS.

  • A bank account type CBU must be related to the emisor, otherwise the invoice can’t be validated, having these errors messages for example:

../../../../../_images/argentina_edi_10.png

Credit& Debit Notes: When creating a Credit/Debit note related to a FCE document, it is important take the next points into consideration:

  • Use the Credit and Debit Note buttons, so the correct reference of the originator document passed to the note.

../../../../../_images/argentina_edi_11.png
  • The document letter should be the same than the originator document (either A or B).

  • The same currency as the source document must be used. When using a secondary currency there is an exchange difference if the currency rate is different between the emission day and the payment date, it’s possible to create a credit/debit note to decrease/increase the amount to pay in ARS.

In the workflow we can have two scenarios:

  1. The FCE is rejected so the Credit Note should have the field “FCE, is Cancellation?” as True.

  2. The Credit Note, is created with the negative amount to annulate the FCE document, in this case the field “FCE, is Cancellation?” must be empty (false).

../../../../../_images/argentina_edi_12.png

Invoice printed report

The PDF report related to electronic invoices that have been validated by the AFIP includes a barcode at the bottom of the format which represent the CAE number, the Expiration Date is also displayed as it’s legal requirement:

../../../../../_images/argentina_edi_14.png

Troubleshooting and Auditing

For auditing and troubleshooting purposes you can get the detailed information of an invoice number that has been previously sent to the AFIP,

../../../../../_images/argentina_edi_23.png ../../../../../_images/argentina_edi_24.png

You can also get the last number used in AFIP for a specific Document Type and POS Number as support for any possible issues on the sequence synchronization between Odoo and AFIP.

../../../../../_images/argentina_edi_22.png

Factures fournisseurs

Based on the purchase journal selected for the vendor bill, the document type is now a required field. This value is auto populated based on the AFIP Responsibility type of Issuer and Customer, but the value can be switched if necessary.

../../../../../_images/argentina16.png

The document number needs to be registered manually and the format is validated automatically, in case that the format is invalid a user error will be displayed indicating the correct format that is expected.

../../../../../_images/argentina17.png

The vendor bill number is structured in the same way that the invoices with the difference that the document sequence is input by the user: “Document Prefix - Letter - Document number ».

Validate Vendor Bill number in AFIP

As most companies have internal controls to verify that the vendor bill is related to an AFIP valid document, an automatic validation can be set in Accounting ‣ Settings ‣ Argentinian Localization ‣ Validate document in the AFIP, considering the following levels:

  • Not available: The verification is not done (this is the default value).

  • Available: The verification is done, in case the number is not valid it only raises a warning but it allows you to post the vendor bill.

  • Required: The verification is done and it doesn’t allow the user to post the vendor bill if the document number is not valid.

../../../../../_images/argentina_edi_16.png
Comment l’utiliser dans Odoo

This tool incorporates in the vendor bill a new « Verify on AFIP » button located next to the AFIP Authorization code.

../../../../../_images/argentina_edi_17.png

In case it’s not a valid AFIP authorization the value “Rejected” will be displayed and the details of the validation will be added to the chatter.

../../../../../_images/argentina_edi_18.png

Special Use cases

Untaxed Concepts

There are some transactions that include items that are not part of the VAT base amount, this is commonly used in fuel and gasoline invoices.

The vendor bill will be registered using 1 item for each product that is part of the VAT base amount and an additional item to register the amount of the Exempt concept:

../../../../../_images/argentina_edi_19.png
Perception Taxes

The vendor bill will be registered using 1 item for each product that is part of the VAT base amount, the perception tax can be added in any of the product lines, as result we will have one tax group for the VAT and one for the perception, the perception default value is always 1.00.

../../../../../_images/argentina_edi_20.png

You should use the pencil that is the next to the Perception amount to edit it and set the correct amount.

../../../../../_images/argentina_edi_21.png

After this is done the invoice can be validated.

Rapports

As part of the localization the next Financial reports were added:

../../../../../_images/argentina18.png

Rapports TVA

Libro de IVA Ventas

../../../../../_images/argentina19.png

Libro de IVA Compras

../../../../../_images/argentina20.png

Résumé de la TVA

../../../../../_images/argentina21.png

Rapports IIBB

IIBB - Ventas por Jurisdicción

../../../../../_images/argentina22.png

IIBB - Compras por Jurisdicción

../../../../../_images/argentina23.png