77 lines
3.5 KiB
ReStructuredText
77 lines
3.5 KiB
ReStructuredText
=======================
|
|
Employment Hero Payroll
|
|
=======================
|
|
|
|
The `Employment Hero <https://employmenthero.com/>`_ module synchronises payslip accounting entries
|
|
(e.g., expenses, social charges, liabilities, taxes) automatically from Employment Hero to Odoo.
|
|
Payroll administration is still done in Employment Hero. We only record the **journal entries** in
|
|
Odoo.
|
|
|
|
.. important::
|
|
KeyPay was rebranded as **Employment Hero** in March 2023.
|
|
|
|
.. _employment_hero/configuration:
|
|
|
|
Configuration
|
|
-------------
|
|
|
|
#. :ref:`Activate <general/install>` the :guilabel:`Employment Hero Payroll` module
|
|
(`l10n_employment_hero`).
|
|
#. Configure the **Employment Hero API** by going to :menuselection:`Accounting --> Configuration
|
|
--> Settings`. More fields become visible after clicking on :guilabel:`Enable Employment Hero
|
|
Integration`.
|
|
|
|
.. image:: employment_hero/employment-hero-integration.png
|
|
:alt: Enabling Employment Hero Integration in Odoo Accounting displays new fields in the
|
|
settings
|
|
|
|
- You can find the API Key in the :guilabel:`My Account` section of the Employment Hero platform.
|
|
|
|
.. image:: employment_hero/employment-hero-myaccount.png
|
|
:alt: "Account Details" section on the Employment Hero dashboard
|
|
|
|
- The **Payroll URL** is left empty by default to avoid any confusion. Please fill it according
|
|
to the documentation specific to your localization.
|
|
|
|
.. note::
|
|
Employment hero is available for :ref:`Australia <australia/payroll/employment-hero>`,
|
|
:ref:`Malaysia <malaysia/employment-hero>`,
|
|
:ref:`New Zealand <new-zealand/employment-hero>`,
|
|
:ref:`Singapore <singapore/employment-hero>`,
|
|
and the :ref:`United Kingdom <localization/united-kingdom/employment-hero>`.
|
|
|
|
- You can find the **Business ID** in the Employment Hero URL. (i.e., `189241`)
|
|
|
|
.. image:: employment_hero/employment-hero-business-id.png
|
|
:alt: The Employment Hero "Business ID" number is in the URL
|
|
|
|
- You can choose any Odoo journal to post the payslip entries.
|
|
#. Configure the tax by going to :menuselection:`Accounting --> Configuration --> Taxes`. Create the
|
|
necessary taxes for the Employment Hero payslip entries. Fill in the tax code from
|
|
**Employment Hero** in the :guilabel:`Matching Employment Hero Tax` field.
|
|
|
|
How does the API work?
|
|
----------------------
|
|
|
|
The API syncs the journal entries from Employment Hero to Odoo and leaves them in draft mode. The
|
|
reference includes the Employment Hero payslip entry ID in brackets for the user to easily retrieve
|
|
the same record in Employment Hero and Odoo.
|
|
|
|
.. image:: employment_hero/employment-hero-journal-entry.png
|
|
:alt: Example of a Employment Hero Journal Entry in Odoo Accounting (Australia)
|
|
|
|
By default, the synchronisation happens once per week. You can fetch the records manually by going
|
|
to :menuselection:`Accounting --> Configuration --> Settings` and, in the :guilabel:`Enable
|
|
Employment Hero Integration` option, click on :guilabel:`Fetch Payruns Manually`.
|
|
|
|
Employment Hero payslip entries also work based on double-entry bookkeeping.
|
|
|
|
The accounts used by Employment Hero are defined in the section :guilabel:`Payroll settings`.
|
|
|
|
.. image:: employment_hero/employment-hero-chart-of-accounts.png
|
|
:alt: Chart of Accounts menu in Employment Hero
|
|
|
|
For the API to work, you need to create the same accounts as the default accounts of your Employment
|
|
Hero business (**same name and same code**) in Odoo. You also need to choose the correct account
|
|
types in Odoo to generate accurate financial reports.
|