|
| 1 | +======= |
| 2 | +Croatia |
| 3 | +======= |
| 4 | + |
| 5 | +E-invoicing via mojeRačun |
| 6 | +========================= |
| 7 | + |
| 8 | +Odoo can connect to the national eRačun platform via third-party provider `mojeRačun |
| 9 | +<https://moj-eracun.hr>`_ to send and receive e-invoices. |
| 10 | + |
| 11 | +To make use of this integration, an account and `invoice package |
| 12 | +<https://portal.moj-eracun.hr/podrska/cjenik/>`_ from mojeRačun are needed. The rest of this |
| 13 | +documentation assumes that this is already the case. |
| 14 | + |
| 15 | +.. _croatia/configuration: |
| 16 | + |
| 17 | +Configuration |
| 18 | +------------- |
| 19 | + |
| 20 | +Follow these steps to set up e-invoicing via mojeRačun in Odoo. |
| 21 | + |
| 22 | +.. _croatia/configuration/company: |
| 23 | + |
| 24 | +Company configuration |
| 25 | +~~~~~~~~~~~~~~~~~~~~~ |
| 26 | + |
| 27 | +Go to :menuselection:`Accounting --> Configuration --> Settings` and scroll down to |
| 28 | +:guilabel:`MojEracun E-invoicing`. Fill the :guilabel:`Username` and :guilabel:`Password` fields |
| 29 | +with the credentials provided by mojeRačun. |
| 30 | + |
| 31 | +Ensure that the :guilabel:`Company ID (OIB or GIN)` and :guilabel:`Company Business Unit (PJ)` |
| 32 | +fields are correctly filled in. |
| 33 | + |
| 34 | +Optionally, specify the :guilabel:`Incoming E-Invoices Journal` where invoices received via MER |
| 35 | +should be created. If unset, the default purchase journal will be used. |
| 36 | + |
| 37 | +Set the :guilabel:`MojEracun Operating Mode` to :guilabel:`Production` to send and receive invoices |
| 38 | +on the production network. |
| 39 | + |
| 40 | +Then click :guilabel:`Activate` to activate the connection with mojeRačun. |
| 41 | + |
| 42 | +.. _croatia/configuration/journal: |
| 43 | + |
| 44 | +Journal configuration |
| 45 | +~~~~~~~~~~~~~~~~~~~~~ |
| 46 | + |
| 47 | +Go to :menuselection:`Accounting --> Configuration --> Journal` and click the :guilabel:`Customer |
| 48 | +Invoices` journal to open its configuration. |
| 49 | + |
| 50 | +In the :guilabel:`Fiscalization (HR)` section, fill the :guilabel:`Business premises label`, |
| 51 | +:guilabel:`Issuing device label`, :guilabel:`Business premises label (refund approval)`, and |
| 52 | +:guilabel:`Issuing device label (refund approval)` fields. |
| 53 | + |
| 54 | +These fields are used to generate the :ref:`invoice name <croatia/sending/invoice-name>` in |
| 55 | +accordance with the Croatian standard. The :guilabel:`refund approval` fields are used for credit |
| 56 | +notes. |
| 57 | + |
| 58 | +.. _croatia/sending: |
| 59 | + |
| 60 | +Sending an e-invoice |
| 61 | +-------------------- |
| 62 | + |
| 63 | +When creating an invoice, the following configuration is needed to correctly send the invoice |
| 64 | +via mojeRačun. |
| 65 | + |
| 66 | +.. _croatia/sending/invoice-name: |
| 67 | + |
| 68 | +Invoice name |
| 69 | +~~~~~~~~~~~~ |
| 70 | + |
| 71 | +The invoice name must be in the form `{Journal code}-{Year}-{Sequence}/{Business premises label}/ |
| 72 | +{Issuing device label}`. This format is suggested by default when creating the first invoice in |
| 73 | +a Sales journal where the :ref:`journal configuration <croatia/configuration/journal>` was performed |
| 74 | +as explained above. |
| 75 | + |
| 76 | +If invoices in an existing journal must be sent via mojeRačun, the invoices of that journal must be |
| 77 | +resequenced to follow the correct format. |
| 78 | + |
| 79 | +Product configuration |
| 80 | +~~~~~~~~~~~~~~~~~~~~~ |
| 81 | + |
| 82 | +The :guilabel:`KPD category` must be set on the product. |
| 83 | + |
| 84 | +Fetching status updates |
| 85 | +~~~~~~~~~~~~~~~~~~~~~~~ |
| 86 | + |
| 87 | +Once an invoice has been sent, Odoo will periodically check for any updates to the invoice's status |
| 88 | +(e.g. rejection by MER, the eRačun system, or by the recipient). To manually check for updates, |
| 89 | +click the :guilabel:`MER: Fetch status` button. |
| 90 | + |
| 91 | +Reporting a payment |
| 92 | +~~~~~~~~~~~~~~~~~~~ |
| 93 | + |
| 94 | +The Croatian government expects to be notified once payment has been received for an invoice. To |
| 95 | +send this notification, click the :guilabel:`MER: Report payments` button. |
| 96 | + |
| 97 | +.. _croatia/receiving: |
| 98 | + |
| 99 | +Receiving e-invoices |
| 100 | +-------------------- |
| 101 | + |
| 102 | +Odoo periodically checks for new invoices received via mojeRačun. New invoices received via |
| 103 | +mojeRačun appear in the :guilabel:`Incoming E-Invoices Journal` specified in the |
| 104 | +:ref:`croatia/configuration/company <settings>`. |
| 105 | + |
| 106 | +Rejecting an invoice |
| 107 | +~~~~~~~~~~~~~~~~~~~~ |
| 108 | + |
| 109 | +To reject an incoming invoice, click the :guilabel:`MER: Reject eRacun` button. This notifies the |
| 110 | +eRačun system and the sender that the invoice is not accepted. |
| 111 | + |
| 112 | +.. seealso:: |
| 113 | + :doc:`Odoo electronic invoicing in Croatia |
| 114 | + <../accounting/customer_invoices/electronic_invoicing/croatia>` |
| 115 | + |
0 commit comments