Skip to content

Commit 2214551

Browse files
XIDO-odooafma-odoo
authored andcommitted
[IMP] l10n_id: Improve Indonesia localization module documentation
closes #14862 X-original-commit: 6c8628a Signed-off-by: Anne-Françoise Marcq (afma) <[email protected]>
1 parent 9f8dcc8 commit 2214551

14 files changed

+112
-93
lines changed

content/applications/finance/fiscal_localizations/indonesia.rst

Lines changed: 112 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -2,131 +2,142 @@
22
Indonesia
33
=========
44

5-
.. _localization_indonesia/e-faktur:
5+
.. _localizations/indonesia/modules:
66

7-
E-Faktur Module
8-
===============
7+
Modules
8+
=======
99

10-
The **E-Faktur Module** is installed by default with the Indonesian localization module. It allows
11-
one to generate a CSV file for one tax invoice or for a batch of tax invoices to upload to the
12-
**Tax Office e-Faktur** application.
10+
The following modules related to the Indonesian localization are available:
1311

14-
.. _localization_indonesia/npwp_nik:
12+
.. list-table::
13+
:widths: 25 25 50
14+
:header-rows: 1
1515

16-
NPWP/NIK settings
17-
-----------------
16+
* - Name
17+
- Technical name
18+
- Description
19+
* - :guilabel:`Indonesian - Accounting`
20+
- `l10n_id`
21+
- This module includes the default fiscal localization package.
22+
* - :guilabel:`Indonesia E-faktur`
23+
- `l10n_id_efaktur`
24+
- This module includes the features required to export invoices as e-Faktur.
25+
* - :guilabel:`Indonesia E-faktur (Coretax)`
26+
- `l10n_id_efaktur_coretax`
27+
- This module facilitates the generation of XML files for the Coretax system.
28+
29+
.. _localizations/indonesia/configuration:
30+
31+
Configuration
32+
=============
33+
34+
.. _localizations/indonesia/configuration-company:
35+
36+
Company
37+
-------
38+
39+
Open the :guilabel:`Settings` app, go to the :doc:`Companies <../../general/companies>` section,
40+
and click :ref:`Update Info <general/companies/company>`.
41+
Ensure the :guilabel:`NPWP` field contains the **Tax Identification Number**, as an e-Faktur cannot
42+
be generated from an invoice otherwise.
43+
44+
.. _localizations/indonesia/configuration-contacts:
1845

19-
- | **Your Company**
20-
| This information is used in the FAPR line in the effect file format. You need to set a VAT
21-
number on the related partner of your Odoo company. If you don't, it won't be possible to create
22-
an e-Faktur from an invoice.
23-
- | **Your Clients**
24-
| You need to set the checkbox *ID PKP* to generate e-fakturs for a customer. You can use the VAT
25-
field on the customer's contact to set the NPWP needed to generate the e-Faktur file. If your
26-
customer does not have an NPWP, just enter the NIK in the same VAT field.
46+
Contacts
47+
--------
2748

28-
.. image:: indonesia/indonesia-partner-nik.png
29-
:align: center
49+
To configure a partner for e-Faktur, go to their :doc:`contact <../../essentials/contacts>` form
50+
and fill in the following Indonesian-specific fields:
3051

31-
.. _localization_indonesia/e-faktur_usage:
52+
* :guilabel:`Is PKP`: Check this box to allow e-Faktur generation for the partner.
53+
* :guilabel:`NPWP`: Enter the partner's Tax Identification Number.
54+
* :guilabel:`NIK`: If the partner does not have an :guilabel:`NPWP`, enter the :guilabel:`NIK` in
55+
the :guilabel:`Accounting` tab under :guilabel:`Indonesian taxes`.
3256

33-
Usage
34-
-----
57+
.. _localizations/indonesia/configuration-products:
3558

36-
.. _localization_indonesia/tax_invoice_sn:
59+
Products
60+
--------
3761

38-
Generate Tax Invoice Serial Number
39-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62+
To set a product's E-Faktur product code, go to :menuselection:`Accounting --> Customers -->
63+
Products` and access the desired product form. In the :guilabel:`Indonesian Localization` section,
64+
select a code in the :guilabel:`E-Faktur Product code` field. By default, the code is set to
65+
:guilabel:`000000 - Barang`.
4066

41-
#. Go to :menuselection:`Accounting --> Customers --> e-Faktur`. In order to be able to export
42-
customer invoices as e-Faktur for the Indonesian government, you need to put here the ranges of
43-
numbers you were assigned by the government. When you validate an invoice, a number will be
44-
assigned based on these ranges. Afterwards, you can filter the invoices still to export in the
45-
invoices list and click on *Action*, then on *Download e-Faktur*.
46-
#. After receiving new serial numbers from the Indonesian Revenue Department, you can create a set
47-
of tax invoice serial numbers group through this list view. You only have to specify the Min and
48-
Max of each serial numbers' group and Odoo will format the number automatically to a 13-digits
49-
number, as requested by the Indonesia Tax Revenue Department.
50-
#. There is a counter to inform you how many unused numbers are left in that group.
67+
.. image:: indonesia/efaktur_product.png
68+
:alt: Product with the E-Faktur Product Code.
5169

52-
.. image:: indonesia/indonesia-sn-count.png
53-
:align: center
70+
.. note::
71+
:guilabel:`E-Faktur product codes` are pre-generated by Odoo and cannot be edited. Select a code
72+
from the available options.
5473

55-
.. _localization_indonesia/csv:
74+
.. _localizations/indonesia/configuration-uom-code:
5675

57-
Generate e-faktur csv for a single invoice or a batch invoices
58-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76+
E-Faktur UoM Code
77+
~~~~~~~~~~~~~~~~~
5978

60-
#. Create an invoice from :menuselection:`Accounting --> Customers --> Invoices`. If the invoice
61-
customer's country is Indonesia and the customer is set as *ID PKP*, Odoo will allow you to
62-
create an e-Faktur.
63-
#. Set a Kode Transaksi for the e-Faktur. There are constraints related to the Kode transaksi and
64-
the type of VAT applied to invoice lines.
79+
.. tip::
80+
Go to :menuselection:`Inventory --> Configuration --> Settings` to make sure the
81+
:guilabel:`Units of Measure` option has been enabled.
6582

66-
.. image:: indonesia/indonesia-kode-transaksi.png
67-
:align: center
83+
To configure the :guilabel:`E-Faktur UoM code`, go to :menuselection:`Inventory --> Configuration
84+
--> UoM Categories`. Open a category and select the appropriate :guilabel:`E-Faktur UoM Code` from
85+
the options.
6886

69-
#. Odoo will automatically pick the next available serial number from the e-Faktur number table (see
70-
the :ref:`section above <localization_indonesia/tax_invoice_sn>`) and generate the e-faktur
71-
number as a concatenation of Kode Transaksi and serial number. You can see this from the invoice
72-
form view under the page *Extra Info* in the box *Electronic Tax*.
87+
.. image:: indonesia/efaktur_uom.png
88+
:alt: E-Faktur UoM.
7389

74-
.. image:: indonesia/indonesia-e-faktur-sn.png
75-
:align: center
7690

77-
#. Once the invoice is posted, you can generate and download the e-Faktur from the *Action* menu
78-
item *Download e-faktur*. The checkbox *CSV created* will be set.
91+
.. _localizations/indonesia/accounting:
7992

80-
.. image:: indonesia/indonesia-csv-created.png
81-
:align: center
93+
Accounting
94+
==========
8295

83-
#. You can select multiple invoices in list view and generate a batch e-Faktur .csv.
96+
.. _localizations/indonesia/e-invoicing:
8497

85-
.. _localization_indonesia/kode_transaksi_fp:
98+
E-invoicing
99+
-----------
86100

87-
Kode Transaksi FP (Transaction Code)
88-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101+
.. _localizations/indonesia/e-faktur-xml:
89102

90-
The following codes are available when generating an e-Faktur.
91-
- 01 Kepada Pihak yang Bukan Pemungut PPN (Customer Biasa)
92-
- 02 Kepada Pemungut Bendaharawan (Dinas Kepemerintahan)
93-
- 03 Kepada Pemungut Selain Bendaharawan (BUMN)
94-
- 04 DPP Nilai Lain (PPN 1%)
95-
- 06 Penyerahan Lainnya (Turis Asing)
96-
- 07 Penyerahan yang PPN-nya Tidak Dipungut (Kawasan Ekonomi Khusus/ Batam)
97-
- 08 Penyerahan yang PPN-nya Dibebaskan (Impor Barang Tertentu)
98-
- 09 Penyerahan Aktiva (Pasal 16D UU PPN)
103+
Generate an E-Faktur XML
104+
~~~~~~~~~~~~~~~~~~~~~~~~
99105

100-
.. _localization_indonesia/replace_invoice:
106+
An e-Faktur can be created for an invoice if the customer's country is Indonesia and the
107+
:guilabel:`Is PKP` checkbox is enabled on their :ref:`contact
108+
<localizations/indonesia/configuration-contacts>` form.
101109

102-
Correct an invoice that has been posted and downloaded: Replace Invoice feature
103-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110+
To generate an e-Faktur XML:
104111

105-
#. Cancel the original wrong invoice in Odoo. For instance, we will change the Kode Transakski from
106-
01 to 03 for the INV/2020/0001.
107-
#. Create a new invoice and set the cancelled invoice in the *Replace Invoice* field. In this field,
108-
we can only select invoices in *Cancel* state from the same customer.
109-
#. As you validate, Odoo will automatically use the same e-Faktur serial number as the cancelled and
110-
replaced invoice replacing the third digit of the original serial number with *1* (as requested
111-
to upload a replacement invoice in the e-Faktur app).
112+
#. Go to :menuselection:`Accounting --> Customers --> Invoices` and :ref:`create an invoice
113+
<accounting/invoice/creation>`.
112114

113-
.. image:: indonesia/indonesia-replace-invoice.png
114-
:align: center
115+
#. In the :guilabel:`Other Info` tab, under the :guilabel:`Electronic Tax` section, select a
116+
:guilabel:`Kode Transaksi` code.
115117

116-
.. _localization_indonesia/reset_e-faktur:
118+
.. note::
119+
The :guilabel:`Kode Transaksi` codes are pre-generated by Odoo and cannot be edited.
117120

118-
Correct an invoice that has been posted but not downloaded yet: Reset e-Faktur
119-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121+
#. After confirming the invoice, click the :icon:`fa-cog` :guilabel:`(Actions)` icon and select
122+
:guilabel:`Download e-faktur`.
120123

121-
#. Reset the invoice to draft and cancel it.
122-
#. Click on the button *Reset e-Faktur* on the invoice form view.
123-
#. The serial number will be unassigned, and we will be able to reset the invoice to draft, edit it
124-
and re-assign a new serial number.
124+
The downloaded XML file can then be uploaded to the Coretax system. After the file is generated,
125+
the :guilabel:`e-Faktur Document (Coretax)` field in the invoice's :guilabel:`Electronic Tax`
126+
section is populated automatically.
125127

126-
.. image:: indonesia/indonesia-e-faktur-reset.png
127-
:align: center
128+
.. image:: indonesia/faktur_invoice_confirmed.png
129+
:alt: Invoice with E-Faktur Document.
128130

129-
.. _localization_indonesia/qris-qr:
131+
.. note::
132+
To create a batch XML file for several invoices, select them in the invoice list view and
133+
choose :guilabel:`Download e-faktur` from the :guilabel:`Actions` menu.
134+
135+
.. important::
136+
- The tax invoice number is generated by the Coretax system, not by Odoo.
137+
- Once an e-Faktur XML file has been downloaded, it cannot be changed. Any subsequent download
138+
will retrieve the original file.
139+
140+
.. _localizations/indonesia/qris:
130141

131142
QRIS QR code on invoices
132143
========================
@@ -139,12 +150,16 @@ payments by scanning the QR code from their preferred e-wallet.
139150
QRIS expires after 30 minutes. Due to this restriction, the QR code is not included in reports
140151
sent to customers and is only available on the customer portal.
141152

153+
.. _localizations/indonesia/qris-activate-qr-code:
154+
142155
Activate QR codes
143156
-----------------
144157

145158
Go to :menuselection:`Accounting --> Configuration --> Settings`. Under the :guilabel:`Customer
146159
Payments` section, activate the :guilabel:`QR Codes` feature.
147160

161+
.. _localizations/indonesia/qris-bank-account-config:
162+
148163
QRIS bank account configuration
149164
-------------------------------
150165

@@ -161,6 +176,8 @@ based on the information provided by QRIS.
161176
.. seealso::
162177
:doc:`../accounting/bank`
163178

179+
.. _localizations/indonesia/qris-bank-journal-configuration:
180+
164181
Bank journal configuration
165182
--------------------------
166183

@@ -170,11 +187,13 @@ out the :guilabel:`Account Number` and :guilabel:`Bank` under the :guilabel:`Jou
170187
.. image:: indonesia/journal-bank-config.png
171188
:alt: Bank journal configuration
172189

190+
.. _localizations/indonesia/qris-invoices:
191+
173192
Issue invoices with QRIS QR codes
174193
---------------------------------
175194

176195
When creating a new invoice, open the :guilabel:`Other Info` tab and set the :guilabel:`Payment
177-
QR-code` option to `QRIS`.
196+
QR-code` option to :guilabel:`QRIS`.
178197

179198
.. image:: indonesia/invoice-qris.png
180199
:alt: Select QRIS QR-code option
3.19 KB
Loading
20.6 KB
Loading
6.73 KB
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)