OdooWiki OCA HUB

Brazilian Localization Expense Invoice

l10n_br_hr_expense_invoice folder_open OCA/l10n-brazil open_in_new
Uncategorised License: AGPL-3

This module was written to extend the functionality of Expense Invoice module to support the adequacy of Brazilian standards

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Adds Brazilian fiscal operation handling to employee expense invoices. You can set a default fiscal operation per company and choose one on each expense, which is then used when the expense invoice is created.

This module adapts the standard expense invoice flow to Brazilian fiscal rules. On the company form, a new 'Expense Invoice' tab lets you set a default fiscal operation for expense invoices.

On expense sheets, the expense lines now show an 'Operation' field (fiscal operation) instead of the standard tax field, which is hidden. When a new expense is created, the company's default fiscal operation is filled in automatically.

When you create an invoice from an expense, the module prepares the invoice with the chosen fiscal operation, marks it as an incoming document, and sets the company, user, currency and partner (the employee's work contact). It also recalculates the fiscal document series. After invoice creation, the expense is updated: quantity set to 1, taxes cleared, and the total amount taken from the invoice.

It touches hr.expense, hr.expense.sheet, res.company and account.move.

Models and fields (2)
  • hr.expense · extends an existing modelfiscal_operation_id (Operation)
  • res.company · extends an existing modelexpense_invoice_fiscal_operation_id (Default Expense Invoice Fiscal Operation)

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/l10n-brazil.

terminal Installation and usage

OCA documentation · Odoo 17.0

To use this module, you need to:

  • Create a new Expense Sheet and define the Fiscal Operation in the lines or go to Company \> Fiscal \> Expense Invoice \> Fiscal Operation to set a standard for the fiscal operations of the Expense Invoice.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.