Skip to content

Commit 064807c

Browse files
committed
SALI Technical Changes
1 parent 35ca5cd commit 064807c

File tree

5 files changed

+111
-107
lines changed

5 files changed

+111
-107
lines changed

content/applications/finance/fiscal_localizations/brazil.rst

+111-107
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ localization:
6767
* - :guilabel:`Brazilian Accounting EDI` & :guilabel:`Brazilian Accounting EDI for services`
6868
- `l10n_br_edi` & `l10n_br_edi_services`
6969
- Provides electronic invoicing for goods and services for Brazil through AvaTax.
70+
* - :guilabel:`Brazilian Accounting EDI for POS`
71+
- `l10n_br_edi_pos`
72+
- Provides electronic invoicing for Brazil through Avatax in the POS.
7073
* - :guilabel:`Brazil Pix QR codes`
7174
- `l10n_br_pix`
7275
- Implements Pix QR codes for Brazil.
@@ -509,7 +512,6 @@ accurately provided in the original invoice, a debit note can be issued.
509512
.. seealso::
510513
:ref:`Issue a debit note <accounting/credit_notes/issue-debit-note>`
511514

512-
513515
Invoice cancellation
514516
~~~~~~~~~~~~~~~~~~~~
515517

@@ -519,6 +521,8 @@ It is possible to cancel an electronic invoice that was validated by the governm
519521
Check whether the electronic invoice is still within the cancellation deadline, which may vary
520522
according to the legislation of each state.
521523

524+
.. _brazil/e-invoice-nf-e:
525+
522526
E-invoices for goods (NF-e)
523527
***************************
524528

@@ -584,169 +588,169 @@ journal, and click the :menuselection:`⚙️ (gear) icon --> Invalidate Number
584588
PoS NFC-e
585589
---------
586590

587-
The NFC-e in Brazil is a legal document that supports the selling of goods or merchandise for Final Consumer.
588-
Just like the NF-e, the Electronic Consumer Invoice is also issued in XML file format and has an auxiliary document (DANFC-e) also known as the “NFC-e Summary”.
589-
This electronic document can be issued through Odoo POS app.
590-
Its legal validity is guaranteed by the digital signature and by SEFAZ (Secretaria da Fazenda) of each brazilian state.
591+
The NFC-e in Brazil is a legal document that supports the selling of goods or merchandise for final
592+
consumer. Just like the :ref:`NF-e <brazil/e-invoice-nf-e>`, the electronic consumer invoice is also
593+
issued in XML file format and has an auxiliary document (DANFC-e) also known as the *NFC-e Summary*.
594+
This electronic document can be issued through **Odoo Point of Sale app**.
595+
596+
Its legal validity is guaranteed by the digital signature and by SEFAZ (Secretaria da Fazenda) of
597+
each Brazilian state.
598+
599+
.. seealso::
600+
:doc:`../../sales/point_of_sale`
591601

592602
Configuration
593603
~~~~~~~~~~~~~
594604

595-
Install the new module: **l10nbr_edi_pos**.
596-
597-
.. image:: brazil/l10n-br-new-module.png
598-
:alt: NFC-e Module
605+
:ref:`Install <general/install>` the :guilabel:`Brazilian Accounting EDI for POS` (`l10nbr_edi_pos`)
606+
module.
599607

600-
CSC Details
608+
CSC details
601609
~~~~~~~~~~~
602610

603-
Navigate to **Accounting** ‣ **Configuration** ‣ **Settings** ‣ **Avatax Brazil** section.
604-
.. image:: brazil/l10n-br-csc-fields.png
605-
:alt: CSC Fields
606-
607-
Ensure to enter the **CSC (Taxpayer Security Code)** information:
608-
**- CSC ID**
609-
**- CSC Number**
611+
Go to :menuselection:`Accounting --> Configuration --> Settings`, scroll to the :guilabel:`Taxes`
612+
section and find the :guilabel:`Avatax Brazil` section. Complete the following CSC (Taxpayer
613+
Security Code) fields:
610614

611-
These information can be generated through **SEFAZ Website** of each brazilian state by the company’s accountant.
615+
- :guilabel:`CSC ID`: The *CSC ID* or *CSC Token* is an identification of the taxpayer security
616+
code, which can have 1 to 6 digits and is available on the website of the State Department of
617+
Finance (SEFAZ) of your state.
618+
- :guilabel:`CSC Number`: The *CSC Number* is a code of up to 36 characters that only you and the
619+
Department of Finance know. It is used to generate the QR Code of the NFC-e and ensure the
620+
authenticity of the DANFE.
612621

622+
.. note::
623+
The information required for these fields can be generated through the SEFAZ website of each
624+
Brazilian state by the company's accountant.
613625

614-
Product Configuration
626+
Product configuration
615627
~~~~~~~~~~~~~~~~~~~~~
616628

617-
Navigate to **Products** ‣ **Products** ‣ **New**
618-
619-
Activate the **“Point of Sale”** checkbox on the product form:
620-
.. image:: brazil/l10n-br-new-product.png
621-
:alt: Activate point of sale on product
622-
623-
Now, Navigate to **Sales tab** ‣ **Brazil accounting**
624-
.. image:: brazil/l10n-br-brazil-accounting-product.png
625-
:alt: Product Brazil Accounting Fields
626-
627-
Enter the information on the following fields:
628-
**CEST Code**
629-
**Mercosul NCM Code**
630-
**Source of Origin**
631-
**SPED Fiscal Product Type**
632-
**Purpose of Use**
629+
First :doc:`create a new product in POS <../../sales/point_of_sale/configuration>`, then in the
630+
:guilabel:`Sales` tab, configure the following :guilabel:`Brazil Accounting` fields:
633631

634-
Click on Save.
632+
- :guilabel:`CEST Code`: A tax classification code used to identify goods and products subject to
633+
tax substitution under ICMS regulations. It helps determine the applicable tax treatment and
634+
procedures for specific items. Check if your product is subject or not to this in
635+
https://www.codigocest.com.br/.
636+
- :guilabel:`Mercosul NCM Code`: NCM (Nomenclatura Comun do Mercosul) code from the Mercosur list.
637+
- :guilabel:`Source of Origin`: Indicates if the product has a foreign or national origin with
638+
different variations and characteristics depending on the product use case.
639+
- :guilabel:`SPED Fiscal Product Type`: Fiscal product type according to SPED list table.
640+
- :guilabel:`Purpose of Use`: Indicates what this product is used for.
635641

636-
Shop Configuration
642+
Shop configuration
637643
~~~~~~~~~~~~~~~~~~
638644

639-
Navigate to **Point of Sale** ‣ **Configuration** ‣ **Point of sales** ‣ **Create a new Point of Sale**
640-
.. image:: brazil/l10n-br-new-shop.png
641-
:alt: Create a point of sale
645+
Go to :menuselection:`Point of Sale --> Configuration --> Point of Sales` and create a
646+
:guilabel:`New` shop. Choose an internal name for the new POS and save.
642647

643-
Choose a name for the new Point of Sale and save.
644-
.. image:: brazil/l10n-br-create-new-shop.png
645-
:alt: Point of sale form
648+
Then, go to :menuselection:`Point of Sale --> Configuration --> Settings` and scroll to the
649+
:guilabel:`Accounting` section, configure the :guilabel:`Brazilian EDI` fields. Make sure that the
650+
correct Point of Sale is :doc:`selected at the top of the screen
651+
<../../sales/point_of_sale/configuration>`.
646652

647-
Now, Navigate to **Point of Sale** ‣ **Configuration** ‣ **Setting** ‣ **Brazilian EDI** section.
648-
Make sure that the correct Point of Sale is selected on the top of the screen
649-
.. image:: brazil/l10n-br-select-right-shop.png
650-
:alt: Point of sale configuration settings
651-
652-
Enter the following NFC-e informations:
653-
**- Series**
654-
**- Next number**
653+
- :guilabel:`Series`
654+
- :guilabel:`Next number`: the next NFC-e number in the sequence to be issued, for instance, if the
655+
last number issued in SEFAZ is `100`, the *Next number* will be `101`.
655656

656657
.. note::
657-
This is the next NFC-e number in the sequence to be issued, for instance, if the last number issued in SEFAZ is 100, the next number will be 101.
658-
659-
.. image:: brazil/l10n-br-brazilian-edi.png
660-
:alt: Brazilian EDI Fields
658+
For the production environment, make sure that this information is updated.
661659

662-
.. note::
663-
For the production environment, make sure that this information is updated.
660+
.. _brazil/generate-nfc-e:
664661

665662
Generating an NFC-e
666663
~~~~~~~~~~~~~~~~~~~
667664

668-
Open the Shop and make a sale.
665+
First, :ref:`open the Shop and make a sale <pos/session-start>`.
669666

670-
After validating the payment, Odoo will calculate taxes and issue an NFC-e. The valid NFC-e will appear on the right side of the screen.
667+
After validating the payment, Odoo calculates taxes and issues an NFC-e. The valid NFC-e appears on
668+
the right side of the screen.
671669

672670
.. image:: brazil/l10n-br-nfce-succesfully-issued.png
673-
:alt: NFC-e Success
671+
:alt: NFC-e Success in a POS session.
674672

675673
.. note::
676-
It’s also possible to issue NFC-e identifying the customer by their CPF/CNPJ, just click on guilabel:`Customer` button, then search for the customer if it’s already registered or click on guilabel:`Create` option.
674+
It is also possible to issue an NFC-e that identifies the customer by their CPF/CNPJ. To do so,
675+
click on the :icon:`fa-user` :guilabel:`Customer` button, then search for the customer if they
676+
are already registered or click on :guilabel:`Create`.
677677

678-
.. image:: brazil/l10n-br-customer-button.png
679-
:alt: Point of Sale Creating New Customer
678+
The following are mandatory fields to issue an CPF/CNPJ identified NFC-e:
680679

681-
**The mandatory fields to issue CPF/CNPJ Identified NFC-e are:**
682-
**- Name**
683-
**- City** (where it’s being issued the invoice)
684-
**- State** (where it’s being issued the invoice)
685-
**- CPF/CNPJ**
686-
.. image:: brazil/l10n-br-create-new-customer.png
687-
:alt: Final Consumer Form
680+
- :guilabel:`Name`
681+
- :guilabel:`City` and :guilabel:`State` of where the invoice is being issued
682+
- :guilabel:`CPF/CNPJ`
683+
684+
After saving the register, click on :guilabel:`Validate`, and the NFC-e appears highlighting the
685+
customer's CPF on the print.
688686

689-
After saving the register, just click on validate, then the NFC-e will appear highlighting the Customer’s CPF on the print.
687+
Finally, there are two options to deliver the invoice to the customer:
690688

691-
At this point, there’s two options to deliver the invoice to the customer:
692-
**- Print**
693-
**- Send via e-mail**
689+
- :guilabel:`Print`
690+
- :guilabel:`Send via e-mail`
694691

695-
NFC-e Ticket Print
692+
NFC-e ticket print
696693
~~~~~~~~~~~~~~~~~~
697694

698-
This is the DANFC-e, the print of NFC-e when it is successfully issued and showing all the important information that is legally required.
695+
After :ref:`generating and validating the NFC-e <brazil/generate-nfc-e>`, deliver the invoice by
696+
clicking :guilabel:`Print`.
699697

700-
.. image:: brazil/l10n-br-nfc-e-print.png
701-
:alt: NFC-e Print
698+
.. example::
699+
.. figure:: brazil/l10n-br-nfc-e-print.png
700+
:alt: Printed NFC-e ticket example.
702701

703-
.. note::
704-
**Tips**
705-
1- There’s no need to use Odoo IotBox to integrate the print NFC-e through the Point of Sale app.
706-
2- Odoo NFC-e Feature works with any thermal printer.
702+
This is the DANFC-e, the print of NFC-e when it is successfully issued and showing all the
703+
important information that is legally required.
704+
705+
.. tip::
706+
#. There's no need to use an :doc:`Odoo IoT Box <../../general/iot>` to integrate the print NFC-e
707+
through the **Point of Sale** app.
708+
#. The Odoo NFC-e feature works with any thermal printer.
707709

708710
Re-issue PoS Order with NFC-e error
709711
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
710712

711-
If the NFC-e return an error, you can see the error message and after the error get fixed, it can be issued again:
712-
Inside the Shop Screen, navigate to **Options** ‣ **Orders**.
713-
714-
.. image:: brazil/l10n-br-shop-selecting-orders.png
715-
:alt: Access Orders on Shop
713+
If the NFC-e return an error, first correct the error, then issue the NFC-e again by going to
714+
:icon:`fa-bars` :menuselection:`(menu) --> Orders`.
716715

717-
Filter for **Paid Orders** ‣ Click on the **Details** Button. Now you can see the Error and the button to “Send NFC-e”.
718-
.. image:: brazil/l10n-br-order-error-screen.png
719-
:alt: Point of sale order view form
716+
Filter for :guilabel:`Paid` orders and click on the :guilabel:`Details` button. From here, the error
717+
is presented and the :guilabel:`Send NFC-e` button can be clicked.
720718

721719
.. note::
722-
If the error fix is already done and the PoS Session is closed, it shows the Journal Entry of that order indicating that the taxes weren’t calculated correctly and after reprocessing the NFC-e, Odoo indicates the tax adjustment on that Journal Entry in the chatter.
720+
If the error was fixed and the PoS Session was closed, Odoo indicates the tax adjustment on that
721+
journal entry in the chatter. The journal entry of the order indicates that the taxes were not
722+
calculated correctly and after reprocessing the NFC-e is necessary.
723723

724-
NFC-e Refunds & Cancellations
725-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
726-
727-
The current scope of Odoo allows you to create refunds from Odoo, but cancellations need to be done on the government portal.
724+
.. image:: brazil/l10n-br-order-error-screen.png
725+
:alt: Point of sale order view form.
728726

729-
.. note::
730-
SEFAZ only allows users to cancel an NFC-e within 30 minutes after it has been issued directly on the SEFAZ Website. After this time, you need to make a Refund and issue a Return of Goods NF-e.
727+
NFC-e refunds & cancellations
728+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
731729

732-
Navigate to **Orders** ‣ **Paid Orders** ‣ **Open the order** ‣ Click **Refund** button
730+
Odoo allow *refunds* to be created from Odoo, but *cancellations* must be done from the government
731+
portal.
733732

734-
Choose the payment method, amount, then click **“Payment”**
733+
.. important::
734+
SEFAZ only allows users to cancel an NFC-e **within 30 minutes** after it has been issued
735+
directly on the SEFAZ website. After this time, a manual refund would need to be made along with
736+
issuing a *Return of Goods NF-e*.
735737

736-
.. image:: brazil/l10n-br-reimbursement.png
737-
:alt: Reimbursement button
738+
To issue a refund, go to :icon:`fa-bars` :menuselection:`(menu) --> Orders`, filter for
739+
:guilabel:`Paid` orders, open the order and click the :guilabel:`Refund` button.
738740

739-
.. image:: brazil/l10n-br-make-payment-refund.png
740-
:alt: Make Payment Refund
741+
Choose the :guilabel:`Payment method` and :guilabel:`Amount`, then click :guilabel:`Refund payment`.
741742

742743
.. note::
743-
**Alternative Flow**
744-
- You can also reimburse and cancel the NFC-e through back-end navigating to **Orders** ‣ **Orders** ‣ **Open the Order** ‣ **Select a customer** ‣ Click the button **Payment** to reimburse ‣ Then click the button **Invoice** at the top of the screen to create the invoice and issue the Return of Goods NF-e.
744+
Alternatively, reimburse and cancel the NFC-e through the backend by going to
745+
:menuselection:`Point of Sale --> Orders --> Orders`. Open the order and select the customer,
746+
then click the :guilabel:`Payment` button to reimburse. Then click the :guilabel:`Invoice` button
747+
at the top of the screen to create the invoice and issue the *Return of Goods NF-e*.
745748

746-
When the process is finalized, the approved return NF-e will be created, meaning the **previous NFC-e is canceled**.
749+
When the process is finalized, the approved return NF-e is created, meaning the
750+
**previous NFC-e is canceled**.
747751

748752
.. image:: brazil/l10n-br-return-succeed.png
749-
:alt: Return of Goods NF-e Approved
753+
:alt: Return of Goods NF-e Approved.
750754

751755
Vendor bills
752756
------------
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)