Skip to content

Commit e051e21

Browse files
committed
[ADD] l10n_jordan: New localization for Jordan
New Jordanian localization's minor updates for 18.0 (Send & Print, decimal error margin). Will still need to link to Payroll doc once it's available. task-4508757 closes #12585 Signed-off-by: Audrey Vandromme (auva) <[email protected]> Signed-off-by: Dallas Dean (dade) <[email protected]>
1 parent 00a0754 commit e051e21

File tree

3 files changed

+267
-1
lines changed

3 files changed

+267
-1
lines changed

content/applications/finance/fiscal_localizations.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Fiscal localization modules are available for the countries listed below.
105105
- :doc:`Italy <fiscal_localizations/italy>`
106106
- Ivory Coast
107107
- Japan
108-
- Jordan
108+
- :doc:`Jordan <fiscal_localizations/jordan>`
109109
- Kazakhstan
110110
- :doc:`Kenya <fiscal_localizations/kenya>`
111111
- Kuwait
@@ -181,6 +181,7 @@ Fiscal localization modules are available for the countries listed below.
181181
fiscal_localizations/india
182182
fiscal_localizations/indonesia
183183
fiscal_localizations/italy
184+
fiscal_localizations/jordan
184185
fiscal_localizations/kenya
185186
fiscal_localizations/luxembourg
186187
fiscal_localizations/malaysia
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,263 @@
1+
======
2+
Jordan
3+
======
4+
5+
.. _localizations_jordan/configuration/modules:
6+
7+
Modules
8+
=======
9+
10+
The following modules are installed automatically with the Jordanian localization:
11+
12+
.. list-table::
13+
:header-rows: 1
14+
:widths: 25 25 50
15+
16+
* - Name
17+
- Technical name
18+
- Description
19+
* - :guilabel:`Jordan - Accounting`
20+
- `l10n_jo`
21+
- Jordanian :ref:`fiscal localization package <fiscal_localizations/packages>`, complete with
22+
the Jordanian chart of accounts, taxes, tax report, and fiscal positions
23+
* - :guilabel:`Jordan E-Invoicing`
24+
- `l10n_jo_edi`
25+
- Integration module for JoFotara to support Jordanian e-invoicing requirements
26+
* - :guilabel:`Jordan - Payroll`
27+
- `l10n_jo_hr_payroll`
28+
- Payroll module supporting basic calculation, tax income brackets, and national contribution
29+
tax and social security
30+
* - :guilabel:`Jordan - Payroll with Accounting`
31+
- `l10n_jo_hr_payroll_account`
32+
- Bridge module between Payroll and Accounting
33+
34+
.. note::
35+
In some cases, such as when upgrading to a version with additional modules, it is possible that
36+
modules may not be installed automatically. Any missing modules can be manually :ref:`installed
37+
<general/install>`.
38+
39+
.. _localizations/jordan/specifics:
40+
41+
Localization overview
42+
=====================
43+
44+
The Jordanian localization package ensures compliance with Jordanian fiscal and accounting
45+
regulations. It includes tools for managing taxes, fiscal positions, reporting, and a predefined
46+
chart of accounts tailored to Jordan's standards.
47+
48+
The Jordanian localization package provides the following key features to ensure compliance with
49+
local fiscal and accounting regulations:
50+
51+
- :doc:`../accounting/get_started/chart_of_accounts`: a predefined structure tailored to Jordanian
52+
accounting standards
53+
- :ref:`localizations/jordan/taxes`: pre-configured tax rates, including standard VAT, zero-rated,
54+
and exempt options
55+
- :doc:`../accounting/taxes/fiscal_positions`: automated tax adjustments based on customer or
56+
supplier registration status
57+
- :ref:`localizations/jordan/tax-reporting`: detailed overview of your net tax liability
58+
- :ref:`E-invoicing (JoFotara)<localizations/jordan/jofotara>`: integration for electronic invoicing
59+
in line with Jordanian government requirements
60+
61+
.. _localizations/jordan/taxes:
62+
63+
Taxes
64+
-----
65+
66+
The following :doc:`taxes <../accounting/taxes>` are available by default with the Jordanian
67+
localization package:
68+
69+
- standard sales tax (16%): applied to most goods and services within Jordan.
70+
- exempt transactions: for sales and services not subject to VAT, such as financial services or
71+
healthcare.
72+
- export tax (0%): zero-rated tax applied to goods and services exported outside Jordan.
73+
74+
.. _localizations/jordan/tax-reporting:
75+
76+
Tax reporting
77+
-------------
78+
79+
The :doc:`VAT summary <../accounting/reporting/tax_returns>` provides a detailed breakdown of
80+
taxable, zero-rated, and exempt transactions. Like other :doc:`financial reports
81+
<../accounting/reporting>`, the VAT summary can be filtered by period, compared against other
82+
periods, and exported in Excel and PDF formats, ensuring compliance with Jordanian tax laws.
83+
84+
.. _localizations/jordan/jofotara:
85+
86+
E-invoicing with JoFotara
87+
=========================
88+
89+
E-invoicing with JoFotara is integrated with Odoo, ensuring compliance with Jordanian government's
90+
technical and legal requirements for electronic invoicing. The JoFotara integration in Odoo directly
91+
connects with the Jordanian e-invoicing platform, allowing companies to:
92+
93+
- generate compliant electronic invoices
94+
- submit invoices in real time for validation
95+
- track invoice statuses directly within Odoo
96+
97+
The integration requires first creating an account with JoFotara, then generating API credentials,
98+
and finally entering those credentials in your Odoo database to link the two.
99+
100+
.. _manuals: https://istd.gov.jo/EN/List/Electronic_billing_User_Manual
101+
102+
`Government manuals <manuals_>`_ provide instructions for creating an account and generating the API
103+
credentials.
104+
105+
.. _localizations/jordan/jofotara-configuration:
106+
107+
Configuration
108+
-------------
109+
110+
.. _localizations/jordan/linking-jofotara:
111+
112+
Link Odoo to JoFotara
113+
~~~~~~~~~~~~~~~~~~~~~
114+
115+
#. If you don't already have an account, create one by going to the `government manuals <manuals_>`_
116+
page and following the steps in the **Procedure Manual for Joining the Jordanian National
117+
Electronic Invoicing System**.
118+
#. Generate API credentials (Activity Number, Secret Key, and Client ID) by going to the `government
119+
manuals <manuals_>`_ page and following the steps in **Procedure Manual for Linking to the
120+
Jordanian National Electronic Invoicing System**.
121+
#. In your Odoo database, go to :menuselection:`Accounting --> Configuration --> Settings`. In the
122+
:guilabel:`Electronic Invoicing (Jordan)` section, enter the API credentials generated
123+
previously:
124+
125+
- :guilabel:`Activity Number` (income source sequence)
126+
- :guilabel:`JoFotara Secret Key`
127+
- :guilabel:`JoFotara Client ID`
128+
129+
#. Enter the :guilabel:`Taxpayer type`:
130+
131+
- :guilabel:`Unregistered in the sales tax`: for businesses not registered for sales tax. No tax
132+
on the invoice line is required.
133+
- :guilabel:`Registered in the sales tax`: for businesses registered under the standard sales tax
134+
system. One tax computed as a percentage is required per invoice line.
135+
- :guilabel:`Registered in the special sales tax`: for businesses subject to special sales tax
136+
regulations. One tax computed as a percentage and one fixed tax per invoice line are required
137+
per invoice.
138+
139+
#. Click :guilabel:`Save`.
140+
141+
.. tip::
142+
If the :guilabel:`Electronic Invoicing (Jordan)` section is missing from the
143+
:guilabel:`Settings`, make sure the :guilabel:`Jordan E-Invoicing` module is :ref:`installed
144+
<general/install>`.
145+
146+
.. _localizations/jordan/company-and-contacts:
147+
148+
Company and customers
149+
~~~~~~~~~~~~~~~~~~~~~
150+
151+
The JoFotara invoicing workflow requires address information related to the company that sends the
152+
invoices and the customers who receive them:
153+
154+
#. Go to :menuselection:`Settings --> Users & Companies --> Companies` and select the company that
155+
will use JoFotara.
156+
#. Fill in the :guilabel:`Company Name`, :guilabel:`Tax ID` (TIN), and :guilabel:`Country`. If
157+
desired, fill in additional optional fields such as :guilabel:`Street`, :guilabel:`City`,
158+
:guilabel:`State`, and :guilabel:`ZIP`.
159+
160+
.. important::
161+
- The :guilabel:`Country` must be set to :guilabel:`Jordan`.
162+
- The :guilabel:`Company Name` must match the name that is registered with the Income and
163+
Sales Tax Department (ISTD).
164+
- The company's :guilabel:`Currency` must be set to :guilabel:`JOD`.
165+
166+
167+
#. Go to :menuselection:`Accounting --> Customers --> Customers`.
168+
#. For each customer whose invoices will be sent to JoFotara, click on the customer to open the form
169+
view, and complete the :guilabel:`Country` and :guilabel:`Tax ID`. If desired, fill in additional
170+
optional fields such as :guilabel:`Street`, :guilabel:`City`, :guilabel:`State`, and
171+
:guilabel:`ZIP`.
172+
173+
.. _localizations/jordan/sending-invoices:
174+
175+
Sending invoices to JoFotara via Odoo
176+
-------------------------------------
177+
178+
Once the company has been :ref:`linked with JoFotara <localizations/jordan/linking-jofotara>` and
179+
the :ref:`company and customers have been properly configured
180+
<localizations/jordan/company-and-contacts>`, invoices can be sent to JoFotara via Odoo:
181+
182+
#. Go to :menuselection:`Accounting --> Customers --> Invoices` and open a confirmed (posted)
183+
invoice.
184+
#. Click :guilabel:`Send`.
185+
#. In the :guilabel:`Send` window, select :guilabel:`JoFotara (Jordan EDI)` and click
186+
:guilabel:`Send`.
187+
188+
When an invoice is sent to JoFotara, Odoo does the following:
189+
190+
- generates the invoice in the required format (UBL 1.2)
191+
- submits the invoice to JoFotara for validation
192+
- receives the QR code from JoFotara on the invoice's PDF
193+
194+
.. tip::
195+
- Multiple invoices can be :ref:`sent at once <accounting/invoice/sending>` to JoFotara.
196+
- From the :guilabel:`Invoices` list view, filter the invoices by their
197+
:ref:`localizations/jordan/jofotara-state` to see the invoices that have either been sent or
198+
not been sent to JoFotara.
199+
- In the :icon:`oi-settings-adjust` (:guilabel:`adjust settings`) menu, add the
200+
:guilabel:`JoFotara State` and :guilabel:`JoFotara Error` fields to see the sending state and
201+
any errors in the list view, respectively.
202+
203+
.. important::
204+
There is an inherent difference in how values are approximated in Odoo and ISTD due to the
205+
differing system architectures. JOD values in Odoo are stored and approximated to three decimals,
206+
whereas ISTD expects values to have nine decimals. As a result, an insignificant difference is
207+
inevitable and arises between the values stores in Odoo and the values reported to ISTD, which
208+
can have an error margin of <0.001.
209+
210+
.. _localizations/jordan/jofotara-state:
211+
212+
JoFotara State
213+
~~~~~~~~~~~~~~
214+
215+
The :guilabel:`JoFotara State` field in the :guilabel:`Other Info` tab of confirmed invoices
216+
reflects the current state of the document in JoFotara. It can be changed manually to reflect the
217+
actual state of the invoices in cases where a technical error or timeout prevents Odoo from updating
218+
it automatically.
219+
220+
.. _localizations/jordan/qr-codes:
221+
222+
Validating QR codes (Sanad app)
223+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224+
225+
To validate the QR code received from JoFotara on the invoice, follow these steps:
226+
227+
#. Install the `Sanad app <https://www.sanad.gov.jo/Default/en>`_.
228+
#. Navigate to :guilabel:`More`.
229+
#. Click on :guilabel:`Validate document` and scan the QR code.
230+
#. Review results.
231+
232+
.. _localizations/jordan/debit-credit:
233+
234+
Debit and credit notes
235+
~~~~~~~~~~~~~~~~~~~~~~
236+
237+
To send a debit or credit note to JoFotara, first create the :ref:`debit
238+
<accounting/credit_notes/issue-debit-note>` or :ref:`credit note
239+
<accounting/credit_notes/issue-credit-note>`. In the :guilabel:`Send` window, click
240+
:guilabel:`JoFotara (Jordan EDI)` to submit it for real-time validation. Upon successful validation,
241+
the QR code from JoFotara is embedded in the debit or credit note PDF.
242+
243+
.. note::
244+
Ensure that the :guilabel:`Reason` for generating a debit/credit note aligns with ISTD
245+
regulations.
246+
247+
.. _localizations/jordan/discounts:
248+
249+
Discounts
250+
~~~~~~~~~
251+
252+
JoFotara does not support negative quantities or negative prices on invoice lines. As a result,
253+
global discount and fixed amount discount functionality are not supported.
254+
255+
Discounts must be applied **per invoice line as a percentage** instead of as a global discount or
256+
fixed amount.
257+
258+
.. warning::
259+
Attempting to submit invoices to JoFotara with negative invoice lines will result in validation
260+
errors.
261+
262+
.. seealso::
263+
:ref:`Discount types <sales/discounts/discount-button>`

content/applications/sales/sales/products_prices/prices/discounts.rst

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ discount for each product line and the new price is automatically calculated in
3838
price increases, will *not* be visible to the customer. Instead of a discount column, the
3939
negative discount will change the product's unit price.
4040

41+
.. _sales/discounts/discount-button:
42+
4143
Discount button
4244
===============
4345

0 commit comments

Comments
 (0)