OdooWiki OCA HUB

Account invoice refund line

account_invoice_refund_line_selection folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: LGPL-3

This module allows the user to refund only specific lines in invoices.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you refund only selected lines of a customer or vendor invoice instead of the whole document. In the credit note wizard you tick an option and pick the invoice lines to reverse.

When you use the standard refund/credit note wizard on an invoice, this module adds an extra option called "refund lines". Tick it and a new "Invoice Lines" tab appears where you can choose exactly which invoice lines should be included in the credit note.

The list shows the lines of the invoice you started from (product, description, quantity, discount, taxes, unit price and subtotal) and they are read-only, so you only select them; you cannot edit their values there. Only lines belonging to that invoice can be picked.

If the option is left unticked, the wizard behaves exactly as before and the whole invoice is reversed. If it is ticked, only the selected lines are copied into the new credit note, with their original accounting and tax information, and the rest of the invoice is left untouched.

This works on the reversal wizard used for both customer invoices and vendor bills, so it applies to sales and purchase corrections alike. No new menu is added; the change appears inside the existing credit note wizard.

Depends on

account
Models and fields (1)
  • account.move.reversal · extends an existing modelline_ids (Invoice lines to refund), refund_lines, selectable_invoice_lines_ids

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

Sources · Odoo 13.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

Click the Add Credit Note button to launch the refunding wizard in an open, validated invoice. Then, choose the Refund specific lines option and select the invoice lines you want to refund.

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.