OdooWiki OCA HUB

Show links between refunds and their originator invoices.

account_invoice_refund_link folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: AGPL-3

This module shows the links between refunds and their original invoices in the invoice form and also keep track of refund lines and their original invoice lines.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows which credit notes (refunds) were created from an invoice and which invoice lines each refund line came from. Adds a Refunds tab on invoices and an Invoice reference field on refunds.

When you open a customer invoice or vendor bill, a new "Refunds" tab lists every credit note created from it, with date, number, origin, reference, total and status. Draft refunds are highlighted and cancelled ones are greyed out.

On a credit note, an "Invoice reference" field shows the original invoice it was created from, so you can jump back to the source document.

Line-level tracking is also added: each refund line keeps a link to the original invoice line it was created from, and the original line lists its refund lines. This link is set automatically when the credit note is created through the standard reversal wizard, and also for existing refunds when the module is installed (lines are matched by product or by description).

The module only extends accounting documents (account.move and account.move.line) and the reversal wizard; it adds no new menus, reports or scheduled actions.

Depends on

account
Models and fields (3)
  • account.move · extends an existing modelrefund_invoice_ids (Refund Invoices)
  • account.move.line · extends an existing modelorigin_line_id (Original invoice line), refund_line_ids (Refund invoice lines)
  • account.move.reversal · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Go to "Invoicing -\> customers -\> Invoices", create an Invoice and validate it by clicking on the 'Confirm' button.
  • Create a Credit Note by clicking on the 'Add Credit Note' button.
  • In the form view of that Credit Note you can see the new field 'Invoice reference' that is a link to the Original Invoice (the one you created in step 1)
  • Come back to the original Invoice created in step 1 and you will see a new page in the notebook called 'Refunds'. There will be the Credit Note that you created in the previous step.

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.