Skip to content

Commit a894fa8

Browse files
StraubCreativeauva-odoo
authored andcommitted
[ADD] l10n_gt: add Guatemalan fiscal localization
closes #14239 X-original-commit: ef84380 Signed-off-by: Audrey Vandromme (auva) <auva@odoo.com> Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
1 parent f9762cb commit a894fa8

File tree

8 files changed

+350
-1
lines changed

8 files changed

+350
-1
lines changed

content/applications/finance/accounting/customer_invoices/electronic_invoicing.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Odoo supports e-invoicing in many countries. Refer to the country's page for mor
2525
- :doc:`Ecuador <electronic_invoicing/ecuador>`
2626
- :doc:`Estonia <electronic_invoicing/estonia>`
2727
- :doc:`Finland <electronic_invoicing/finland>`
28+
- :doc:`Guatemala <electronic_invoicing/guatemala>`
2829
- :doc:`Hungary <electronic_invoicing/hungary>`
2930
- :doc:`Ireland <electronic_invoicing/ireland>`
3031
- :doc:`Italy <electronic_invoicing/italy>`
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
:orphan:
2+
3+
======================================
4+
Odoo electronic invoicing in Guatemala
5+
======================================
6+
7+
The Odoo **Invoicing** and **Accounting** applications offer legally compliant e-invoicing solutions
8+
tailored to meet Guatemala's regulatory requirements, including those established by the
9+
`Superintendencia de Administración Tributaria (SAT) <https://portal.sat.gob.gt/>`_.
10+
11+
Legal framework for e-invoicing in Guatemala
12+
============================================
13+
14+
Guatemala has mandated electronic invoicing under the :abbr:`FEL (Factura Electrónica en Línea)`
15+
system, which applies to most businesses to enhance fiscal control and modernize tax administration.
16+
Key elements include:
17+
18+
- **Factura Electrónica en Línea (FEL)**: A mandatory e-invoicing system required for B2B, B2C, and
19+
:abbr:`B2G (business-to-government)` transactions, regulated by the :abbr:`SAT (Superintendencia
20+
de Administración Tributaria)`. Each authorized document must be digitally signed and contain a
21+
unique certification code.
22+
- **Integration with SAT**: All electronic documents must be issued through a certified certifier
23+
`(Proveedor de Certificación)` and validated by the :abbr:`SAT (Superintendencia de Administración
24+
Tributaria)` before being delivered to the customer. Once validated, the document receives a
25+
certification date and unique UUID.
26+
- **XML Format**: Guatemala mandates the use of XML for electronic documents, following SAT's
27+
official XSD schema to ensure interoperability and traceability.
28+
- **Adoption Timeline**: The transition to FEL has been implemented gradually by economic activity
29+
and taxpayer profile, but it is now mandatory for most business sectors in the country.
30+
31+
Compliance with Guatemalan e-invoicing regulations
32+
==================================================
33+
34+
Odoo Invoicing simplifies compliance with Guatemala's e-invoicing requirements by offering native
35+
FEL integration and automation features:
36+
37+
- **Supported formats**: Odoo supports most mandatory FEL document types in SAT-compliant XML,
38+
including invoices (:abbr:`FACT`), credit notes (:abbr:`NCRE`), and debit notes (:abbr:`NDEB`).
39+
Each document is automatically submitted to a certified certifier (Infile), digitally signed, and
40+
validated by the SAT in real time.
41+
- **Secure storage and retrieval**: In accordance with Guatemalan regulations, Odoo provides
42+
centralized and secure storage of certified documents, including their XML and PDF graphical
43+
representations, with full access for audits and control processes.
44+
- **Automatic tax calculation and reporting**: Odoo automates VAT (IVA) and applicable tax
45+
computations, ensuring compliance with local tax rates, exemption rules, and reporting structures
46+
as defined by the SAT.
47+
48+
.. seealso::
49+
:doc:`Guatemalan fiscal localization documentation <../../../fiscal_localizations/guatemala>`
50+
51+
.. admonition:: Disclaimer
52+
53+
This page provides a general overview of Guatemalan e-invoicing regulations and how Odoo supports
54+
compliance with SAT requirements. It is not intended as legal or tax advice. We recommend
55+
consulting with a tax advisor or legal professional familiar with Guatemala's e-invoicing
56+
regulations to ensure full compliance tailored to your specific business requirements.

content/applications/finance/fiscal_localizations.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Fiscal localization modules are available for the countries listed below.
8484
- :doc:`Germany <fiscal_localizations/germany>`
8585
- Guinea
8686
- Greece
87-
- Guatemala
87+
- :doc:`Guatemala <fiscal_localizations/guatemala>`
8888
- Guinea-Bissau
8989
- Honduras
9090
- :doc:`Hong Kong <fiscal_localizations/hong_kong>`
@@ -164,6 +164,7 @@ Fiscal localization modules are available for the countries listed below.
164164
fiscal_localizations/egypt
165165
fiscal_localizations/france
166166
fiscal_localizations/germany
167+
fiscal_localizations/guatemala
167168
fiscal_localizations/hong_kong
168169
fiscal_localizations/india
169170
fiscal_localizations/indonesia
Lines changed: 291 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,291 @@
1+
=========
2+
Guatemala
3+
=========
4+
5+
.. |SAT| replace:: :abbr:`SAT (Superintendencia de Administración Tributaria)`
6+
.. |EDI| replace:: :abbr:`EDI (Electronic Data Interchange)`
7+
.. |UUID| replace:: :abbr:`UUID (Universally Unique Identifier)`
8+
9+
.. _guatemala/intro:
10+
11+
Introduction
12+
============
13+
14+
With the Guatemalan localization, you can connect to the tax authority Superintendencia de
15+
Administración Tributaria (SAT) to generate electronic documents with its XML, fiscal folio, and
16+
electronic signature.
17+
18+
The supported documents are:
19+
20+
- :guilabel:`FACT-Factura`,
21+
- :guilabel:`FCAM-Factura Cambiaria`,
22+
- :guilabel:`FPEQ-Factura de Pequeño Contribuyente`,
23+
- :guilabel:`NCRE-Credit Note`,
24+
- :guilabel:`NDEB-Debit Note`,
25+
- :guilabel:`NABN-Nota de Abono`,
26+
- :guilabel:`FCAP-Factura Cambiaria Pequeño Contribuyente`,
27+
- :guilabel:`FACT-Factura with Export Complement`.
28+
29+
The localization requires an `Infile <https://infile.com.gt/>`_ account, which enables users to
30+
generate electronic documents within Odoo.
31+
32+
.. seealso::
33+
:doc:`Documentation on e-invoicing's legality and compliance in Guatemala
34+
<../accounting/customer_invoices/electronic_invoicing/guatemala>`
35+
36+
Glossary
37+
--------
38+
39+
The following terms are used throughout the Guatemalan localization:
40+
41+
- **SAT**: *Superintendencia de Administración Tributaria* is the government entity responsible for
42+
enforcing tax payments in Guatemala.
43+
- **FEL**: *Factura Electrónica en Línea* is the electronic invoicing system mandated by the SAT in
44+
Guatemala, which requires businesses to issue and manage electronic documents in compliance with
45+
local regulations.
46+
- **EDI**: *Electronic Data Interchange* refers to the sending of electronic documents.
47+
- **Infile**: is the third-party organization that facilitates the interchange of electronic
48+
documents between companies and the Guatemalan government.
49+
- **UUID**: *Universally Unique Identifier* is a unique alphanumeric code assigned by the SAT to
50+
each certified electronic document in the FEL system, used for traceability and official
51+
validation.
52+
- **Phrases**: Type of Phrases with specific Scenario Codes are used in the Guatemalan localization
53+
to comply with the requirements of the SAT. They should be added depending on the issuer regime,
54+
receiver, and operation type. These phrases are used in the XML and PDF documents.
55+
- **Establishment Code**: A unique identifier assigned by the SAT to each business establishment,
56+
which is required for electronic invoicing.
57+
- **Quetzal**: The official currency of Guatemala, represented by the symbol GTQ. This is the base
58+
currency for all financial transactions in the Guatemalan localization.
59+
60+
Configuration
61+
=============
62+
63+
Modules installation
64+
--------------------
65+
66+
:ref:`Install <general/install>` the following modules to get all the features of the Guatemalan
67+
localization:
68+
69+
.. list-table::
70+
:header-rows: 1
71+
:widths: 25 25 50
72+
73+
* - Name
74+
- Technical name
75+
- Description
76+
* - :guilabel:`Guatemala - Accounting`
77+
- `l10n_gt`
78+
- The default :doc:`fiscal localization package <../fiscal_localizations>`. It adds accounting
79+
characteristics for the Guatemalan localization, which represent the minimum configuration
80+
required for a company to operate in Guatemala according to the guidelines set by the |SAT|.
81+
The module's installation automatically loads the chart of accounts and taxes.
82+
* - :guilabel:`Guatemala Accounting EDI`
83+
- `l10n_gt_edi`
84+
- Includes all the technical and functional requirements to generate and validate
85+
:doc:`Electronics Documents <../accounting/customer_invoices/electronic_invoicing>`, based on
86+
the technical documentation published by the |SAT|. The authorized documents are :ref:`listed
87+
above <guatemala/intro>`.
88+
89+
.. note::
90+
Odoo automatically installs the base module **Guatemala - Accounting** when a database is
91+
installed with `Guatemala` selected as the country. However, to enable electronic invoicing, the
92+
**Guatemala Accounting EDI** (`l10n_gt_edi`) module needs to be manually :ref:`installed
93+
<general/install>`.
94+
95+
Company
96+
-------
97+
98+
To configure your company information, open the **Settings** app, scroll down to the
99+
:guilabel:`Companies` section, click :guilabel:`Update Info`, and configure the following:
100+
101+
- :guilabel:`Company Name`
102+
- :guilabel:`Address`, including the :guilabel:`Street`, :guilabel:`City`, :guilabel:`State`,
103+
:guilabel:`ZIP`, and :guilabel:`Country`
104+
- :guilabel:`Tax ID`: Enter the identification number for the selected taxpayer type.
105+
- :guilabel:`VAT Affiliation`: Select the VAT affiliation for the company, which is the type of
106+
Regime the company belongs to.
107+
- :guilabel:`Legal Name`: The legal name of the company, which is used in the XML and PDF documents.
108+
- :guilabel:`Establishment Code`: A necessary part of the XML when creating an electronic document.
109+
If this field is not set, all electronic documents will be rejected.
110+
111+
To locate the :guilabel:`Establishment Code` in your `SAT account <https://portal.sat.gob.gt/>`_,
112+
go to :menuselection:`FEL --> Administración de Establecimientos`. The list of registered
113+
establishments is displayed along with their corresponding codes.
114+
115+
.. important::
116+
After configuring the company in the database settings, navigate to the company's contact form
117+
and verify that the :guilabel:`Identification Number` :guilabel:`Type` is set to :guilabel:`NIT`.
118+
119+
Electronic invoicing credentials
120+
--------------------------------
121+
122+
In Guatemala, electronic invoicing is mandatory for most businesses. Odoo connects with the
123+
authorized provider, Infile, to generate and submit electronic documents to the |SAT| for
124+
validation.
125+
126+
Before issuing electronic documents, you must configure and connect Odoo to Infile to ensure they
127+
are properly validated and assigned an official |UUID|.
128+
129+
Infile
130+
~~~~~~
131+
132+
Sign a service agreement directly with `Infile <https://infile.com.gt/>`_. Infile will then provide
133+
the necessary credentials to input in Odoo.
134+
135+
Odoo
136+
~~~~
137+
138+
In Odoo, once you have completed the Infile process, navigate to :menuselection:`Accounting -->
139+
Configuration --> Settings`, scroll down to the :guilabel:`Guatemalan Localization` section, then
140+
follow these steps:
141+
142+
#. Select the :guilabel:`Infile Web Services` environment, either :guilabel:`Test` or
143+
:guilabel:`Production`.
144+
#. Enter the :guilabel:`Infile Credentials`:
145+
146+
- :guilabel:`Infile WS Username or Prefix`
147+
- :guilabel:`Infile Token`
148+
- :guilabel:`Infile Key`
149+
150+
#. Click on :guilabel:`Save`.
151+
152+
.. note::
153+
The :guilabel:`Infile Credentials` are provided by Infile and are required for both test and
154+
production environments. If they are not available, contact Infile support.
155+
156+
.. tip::
157+
The demo environment is for testing only and does not generate legal documents, |UUID| keys, or
158+
fiscal folios. No Infile account or credentials are needed to use the demo environment.
159+
160+
Multi-currency
161+
~~~~~~~~~~~~~~
162+
163+
The official currency exchange rate in Guatemala is provided by the Bank of Guatemala. Odoo can
164+
connect directly to its services and get the currency rate either automatically or manually.
165+
166+
.. seealso::
167+
:doc:`Multi-currencies <../accounting/get_started/multi_currency>`
168+
169+
Master data
170+
-----------
171+
172+
Chart of accounts
173+
~~~~~~~~~~~~~~~~~
174+
175+
The :doc:`chart of accounts <../accounting/get_started/chart_of_accounts>` is installed by default
176+
as part of the set of data included in the localization module, the accounts are mapped
177+
automatically in taxes, default accounts payable, and default accounts receivable.
178+
179+
Accounts can be added or deleted according to the company's needs.
180+
181+
Contacts
182+
~~~~~~~~
183+
184+
The following fields must be completed on contact forms:
185+
186+
- :guilabel:`Company Name`
187+
- :guilabel:`Address`, including the :guilabel:`Street`, :guilabel:`City`, :guilabel:`State`,
188+
:guilabel:`ZIP`, and :guilabel:`Country`
189+
- :guilabel:`Identification Number`:
190+
191+
- :guilabel:`Type`: Select an identification type.
192+
- :guilabel:`Number`: Required to confirm an electronic invoice.
193+
194+
.. note::
195+
To automatically include a specific phrase in the XML and PDF of every electronic invoice for a
196+
contact, select it in :guilabel:`Phrases` field in the :guilabel:`Sales & purchase` tab of the
197+
contact form.
198+
199+
Taxes
200+
~~~~~
201+
202+
As part of the Guatemala localization module, taxes are automatically created with their configuration
203+
and related financial accounts.
204+
205+
Electronic invoices
206+
===================
207+
208+
Once the database has been configured successfully, electronic documents can be created and sent.
209+
210+
Once :doc:`customer invoices <../accounting/customer_invoices>` are validated, they can be sent
211+
electronically to |SAT| via Infile, provided the following fields are completed:
212+
213+
- :guilabel:`Customer`: Type the customer's information.
214+
- :guilabel:`GT Document Type`: Select the type of document you want to create, i.e.,
215+
:guilabel:`FACT - Factura Electrónica` or :guilabel:`FCAM - Factura Cambiara`. By default, the
216+
document type is set to :guilabel:`FACT`.
217+
- :guilabel:`Due date`: To compute if the invoice is due now or later.
218+
- :guilabel:`Journal`: Select the sales journal.
219+
- :guilabel:`Products`: Specify the product(s) with the correct taxes.
220+
221+
When done, click :guilabel:`Confirm`.
222+
223+
.. note::
224+
If you need to add a specific phrase based on the transaction, go to the :guilabel:`Other Info`
225+
tab and add the corresponding phrase in :guilabel:`GT Phrases`. These phrases are used in the XML
226+
and PDF documents.
227+
228+
.. note::
229+
If you need to add an addendum to the invoice, you can do so in the :guilabel:`Terms and
230+
Conditions` field. The addendum will be included in the XML document and can be used to provide
231+
additional information or notes related to the invoice.
232+
233+
After the invoice confirmation, click :guilabel:`Send`. In the wizard that appears, make sure to
234+
enable the :guilabel:`Send to SAT` and :guilabel:`by Email` checkboxes to send the XML to the |SAT|
235+
through Infile's web service and the validated invoice to the client's email, and click
236+
:guilabel:`Send`. Then, the following occurs:
237+
238+
- The XML document is created.
239+
- The |UUID| is generated.
240+
- The XML is processed synchronously by Infile.
241+
242+
- If accepted, the file is displayed in the chatter, and the email to the client with the
243+
corresponding :file:`pdf` and :file:`xml` file is sent.
244+
- If the file contains errors, a warning message displays the reason(s) and the email is not sent.
245+
246+
.. image:: guatemala/pdf-xml-chatter-guatemala.png
247+
:alt: EDI documents available in the chatter.
248+
249+
The :guilabel:`SAT` tab then displays the following:
250+
251+
- :guilabel:`Datetime`: Timestamp recorded of the XML creation.
252+
- :guilabel:`GT Status`: Status result obtained in the |SAT| response. If the file contains errors,
253+
a warning message displays the reason(s) and the email is not sent.
254+
- :guilabel:`UUID`: The unique identifier assigned by the |SAT| to the electronic document.
255+
- :guilabel:`Download Certificate`: To download the sent XML file, even if the |SAT| result was
256+
rejected.
257+
258+
.. image:: guatemala/sat-tab-electronic-document.png
259+
:alt: EDI document record available in SAT tab.
260+
261+
.. _localization/guatemala/credit-notes:
262+
263+
Debit and credit notes
264+
----------------------
265+
266+
To send a debit or credit note to Infile, first create the :ref:`debit
267+
<accounting/credit_notes/issue-debit-note>` or :ref:`credit note
268+
<accounting/credit_notes/issue-credit-note>`.
269+
270+
Then, in the :guilabel:`Send` window, click :guilabel:`Send to SAT (Guatemalan EDI)` to submit it
271+
for real-time validation. Upon successful validation, the QR code from Infile is embedded in the
272+
debit or credit note PDF.
273+
274+
Export invoices
275+
---------------
276+
277+
Exportation invoices must meet the following conditions:
278+
279+
- The customer's :guilabel:`Identification type` must be :guilabel:`VAT`, :guilabel:`Passport`, or
280+
:guilabel:`Foreign ID`.
281+
- The following fields must be defined in the customer invoice's :guilabel:`Other Info` tab, under
282+
the :guilabel:`Accounting` section:
283+
284+
- :guilabel:`Incoterm`
285+
- :guilabel:`GT Phrases`: :guilabel:`Type 4 Code 1`
286+
- :guilabel:`Consignatory Company`
287+
288+
- All invoice lines must include taxes set to 0%.
289+
290+
.. image:: guatemala/l10n-gt-factura-de-cliente.png
291+
:alt: Exportation invoices main data.
53.5 KB
Loading
35.7 KB
Loading
10.1 KB
Loading
19.2 KB
Loading

0 commit comments

Comments
 (0)