Skip to content

Commit 12a9dd7

Browse files
mege-odooXIDO-odoo
authored andcommitted
[IMP] Localizations/Malaysia: improve doc
Following the improvements made in Malaysia e-invoicing module, the following task is to update the improved features and additional flows involved. X-original-commit: e29f0c5
1 parent e58521e commit 12a9dd7

File tree

5 files changed

+120
-26
lines changed

5 files changed

+120
-26
lines changed

content/applications/finance/fiscal_localizations/malaysia.rst

Lines changed: 120 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ and select it. Then configure the following fields:
5858
- :guilabel:`TTx`: Malaysian Tourism Tax Number, if applicable
5959
- :guilabel:`Phone`
6060

61-
.. _malaysia/myinvois:
62-
6361
E-invoicing integration with MyInvois
6462
=====================================
6563

@@ -134,31 +132,45 @@ Configuration in Odoo
134132

135133
.. _malaysia/myinvois/setup/odoo/einvoicing:
136134

135+
Company
136+
*******
137+
138+
Open the Settings app, navigate to the :guilabel:`Companies` section, and click
139+
:guilabel:`Update Info`. Make sure the :guilabel:`Tax ID` is entered and complete the following
140+
fields in the :guilabel:`E-invoicing` section:
141+
142+
- :guilabel:`Identification`: Select the :guilabel:`ID Type` and enter the associated
143+
:guilabel:`Identification number` used to register for the digital certificate.
144+
- :guilabel:`Ind. Classification`: Input the 5-digit numeric code that represents the nature and
145+
activity of the business.
146+
137147
Electronic invoicing
138148
********************
139149

140150
Go to :menuselection:`Accounting --> Configuration --> Settings`. In the
141-
:guilabel:`Malaysian Electronic Invoicing` section, choose the relevant :guilabel:`MyInvois mode`
142-
based on the environment you used to register on MyInvois.
151+
:guilabel:`Malaysian Electronic Invoicing` section, select the relevant :guilabel:`MyInvois mode`
152+
based on the environment used for the company's MyInvois registration.
143153

144154
Make sure to allow Odoo to process e-invoices by checking the box, then click :guilabel:`Register`.
145155

146156
.. note::
147-
To change the TIN reference, click :guilabel:`Unregister`, change the company's information and
148-
make sure the number registered on MyInvois matches, then :guilabel:`Register` again.
157+
To change the :abbr:`TIN (tax identification number)` reference, click :guilabel:`Unregister`,
158+
change the company's information and make sure the number registered on MyInvois matches, then
159+
:guilabel:`Register` again.
149160

150-
.. _malaysia/myinvois/setup/odoo/company:
161+
.. important::
162+
For taxpayers with a :abbr:`TIN (tax identification number)` starting with "IG" and a
163+
:abbr:`ROB (registration of business)` number, combine the TIN and ROB in the **TIN:ROB** format
164+
for the :guilabel:`Tax ID` field.
151165

152-
Company
153-
*******
166+
To register, go to :menuselection:`Accounting --> Configuration --> Settings`, and in the
167+
:guilabel:`Malaysian Electronic Invoicing` section, click :guilabel:`Register`. Once the
168+
registration is complete, the **:ROB** can be removed from the :guilabel:`Tax ID`.
154169

155-
Open the Settings app, and in the :guilabel:`Companies` section, click :guilabel:`Update Info`. Then,
156-
in the :guilabel:`E-invoicing` section, fill in the following fields:
170+
Additionally, remember to log into `MyTax account <https://mytax.hasil.gov.my/>`_ and set the
171+
:guilabel:`Type of Role` as :guilabel:`Business Owner`.
157172

158-
- :guilabel:`Identification`: The :guilabel:`ID Type` and associated :guilabel:`Identification
159-
number` used to register for the digital certificate.
160-
- :guilabel:`Ind. Classification`: The 5-digit numeric code that represents the nature and
161-
activity of the business.
173+
.. _malaysia/myinvois/setup/odoo/company:
162174

163175
Contacts
164176
********
@@ -181,6 +193,20 @@ All products to be included in e-invoices require a Malaysian classification cod
181193
access the :guilabel:`Product` form and in the :guilabel:`General Information` tab, fill in the
182194
:guilabel:`Malaysian classification code` field.
183195

196+
Malaysian tax type
197+
******************
198+
199+
To configure a tax's :guilabel:`Malaysian Tax Type` field, go to :menuselection:`Accounting -->
200+
Configuration --> Accounting --> Taxes` and open the relevant tax in the :guilabel:`Taxes` list
201+
view.
202+
203+
When an invoice or bill includes a tax with the :guilabel:`Malaysian Tax Type` set to
204+
**Tax Exempt**, a :guilabel:`Tax Exemption Reason` must be specified in the :guilabel:`MyInvois`
205+
tab before the document is sent.
206+
207+
.. image:: malaysia/myinvois-tax-exemption-reason.png
208+
:alt: MyInvois tax exemption reason
209+
184210
.. _malaysia/myinvois/workflow:
185211

186212
Workflow
@@ -191,34 +217,102 @@ Workflow
191217
Send invoices to MyInvois
192218
~~~~~~~~~~~~~~~~~~~~~~~~~
193219

194-
Invoices can be sent to MyInvois once they have been confirmed. To do so, follow the
195-
:ref:`invoice sending <accounting/invoice/sending>` steps, and in the :guilabel:`Send` window,
196-
enable the :guilabel:`Send to MyInvois` option and click :guilabel:`Print & Send`.
220+
Invoices can be sent to MyInvois once they have been confirmed. To do so, click
221+
:guilabel:`Send to MyInvois`.
222+
223+
Send bills to MyInvois
224+
~~~~~~~~~~~~~~~~~~~~~~
225+
226+
Sending a bill to MyInvois is necessary when issuing an e-Invoice on behalf of a supplier. Once a
227+
bill is confirmed, click :guilabel:`Send To MyInvois`.
228+
229+
.. note::
230+
- In `MyInvois <https://preprod.myinvois.hasil.gov.my/content>`_, these vendor bills are
231+
categorized as :guilabel:`Self-billed Invoice`.
232+
233+
- If a :guilabel:`Bill Reference` field is empty, Odoo's vendor bill number is used as the
234+
MyInvois number. If a reference is entered in the :guilabel:`Bill Reference` field, that
235+
reference is used instead.
197236

198237
.. _malaysia/myinvois/workflow/sending/status:
199238

200239
MyInvois status
201240
***************
202241

203-
In the :guilabel:`MyInvois` tab of the invoice, the :guilabel:`MyInvois State` is updated to
204-
:guilabel:`Valid` when the submission to MyInvois is successful. The :guilabel:`Submission UID`,
205-
:guilabel:`MyInvois` and :guilabel:`Validation Time` are also updated.
206-
The same information is available on MyInvois.
242+
The current MyInvois status of an invoice or bill is shown in the :guilabel:`MyInvois State` field
243+
within the :guilabel:`MyInvois` tab.
244+
245+
- :guilabel:`Validation in Progress`: the validation is being processed by MyInvois. A blue
246+
:guilabel:`Processing` banner is also displayed.
247+
- :guilabel:`Valid`: it is validated by MyInvois. The :guilabel:`Submission UID`,
248+
:guilabel:`MyInvois` and :guilabel:`Validation Time` are automatically updated with information
249+
from MyInvois.
207250

208251
.. note::
209-
If no information is received from the MyInvois portal, the :guilabel:`MyInvois State` is
210-
:guilabel:`In Progress`. In this case, Odoo automatically checks and updates the status.
252+
Odoo :doc:`automatically checks and updates <../../sales/subscriptions/scheduled_actions>` the
253+
status every hour. To update it manually at any time, click :guilabel:`Update MyInvois Status`.
211254

212255
.. _malaysia/myinvois/workflow/cancellation:
213256

214257
Invoice cancellation
215258
~~~~~~~~~~~~~~~~~~~~
216259

217260
Sent invoices can be canceled within 72 hours from :guilabel:`Validation time`. In this case, open
218-
the invoice and click :guilabel:`Request Cancel`. In the :guilabel:`Cancel document` window, include
219-
the cancellation :guilabel:`Reason`, then click :guilabel:`Update Invoice`. The
261+
the invoice and click :guilabel:`Request Cancel`. In the :guilabel:`Cancel document` window,
262+
include the cancellation :guilabel:`Reason`, then click :guilabel:`Update Invoice`. The
220263
:guilabel:`MyInvois State` is updated to :guilabel:`cancelled`.
221264

265+
Send credit notes to MyInvois
266+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
267+
268+
Before sending a credit note, the original invoice must be successfully submitted to MyInvois.
269+
Otherwise, the credit note's :guilabel:`MyInvois State` is updated to :guilabel:`Invalid`.
270+
271+
While Odoo uses a single :guilabel:`credit note` document, MyInvois categorizes these into two
272+
types: :guilabel:`credit note` and :guilabel:`refund note`, depending on how they are reconciled.
273+
274+
- :guilabel:`MyInvois Credit Note`: This is created when an Odoo credit note is reconciled with the
275+
original invoice.
276+
- :guilabel:`MyInvois Refund Note`: This is created when an Odoo credit note is reconciled with a
277+
full payment instead of the original invoice.
278+
279+
.. note::
280+
If a credit note is reconciled with only a partial payment before being sent, it is still
281+
categorized as a :guilabel:`credit note` in MyInvois.
282+
283+
.. tip::
284+
To issue both a credit note and a refund note for the same original invoice:
285+
- Create two separate credit notes in Odoo from the original invoice.
286+
- For a MyInvois :guilabel:`Refund Note`: Register a payment before sending it.
287+
- For a MyInvois :guilabel:`Credit Note`: Do not register a payment before sending it.
288+
289+
.. note::
290+
The same logic applies to credit notes created from bills: if reconciled with a full payment,
291+
the credit note becomes a :guilabel:`Self-billed Refund Note`; otherwise, it becomes a
292+
:guilabel:`Self-billed Credit Note`.
293+
294+
Send debit notes to MyInvois
295+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296+
297+
:ref:`Issue a debit note from an existing bill or invoice <accounting/credit_notes/issue-debit-note>`
298+
and click :guilabel:`Send To MyInvois`. In MyInvois, it appears then as a :guilabel:`Debit Note` if
299+
issued from an invoice or a :guilabel:`Self-billed Debit Note` from a vendor bill.
300+
301+
Access invoices via QR code
302+
---------------------------
303+
304+
When a document is successfully submitted to MyInvois, a QR code is added to its PDF version.
305+
Scanning this code links directly to the validated document in MyInvois.
306+
307+
To download the PDF from an invoice or bill:
308+
309+
#. Click the :icon:`fa-cog` :guilabel:`(gear)` icon
310+
#. Select :guilabel:`Download`
311+
#. Choose either :guilabel:`PDF` or :guilabel:`PDF without Payment`
312+
313+
.. image:: malaysia/myinvois-qr-code.png
314+
:alt: MyInvois QR code
315+
222316
.. _malaysia/employment-hero:
223317

224318
Employment Hero payroll
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)