OdooWiki OCA HUB

Sales order invoicing by percentage of the quantity

sale_order_invoicing_qty_percentage folder_open OCA/account-invoicing open_in_new
Sales Management License: AGPL-3

This module allows to invoice a percentage of the sales order, modifying invoiced quantities according such percentage.

Example: You have a service line to invoice 10 hours. You choose to invoice a 50% of the quantity, so the generated invoice line has 5 hours.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you create a customer invoice for only a percentage of the ordered quantity from a sales order. You pick "Percentage of the quantity" in the invoice wizard and enter the percentage, and the invoice lines are reduced accordingly.

When you invoice a sales order, the standard wizard now offers an extra option called "Percentage of the quantity" next to the usual invoicing methods. Choosing it reveals a new field where you type the percentage you want to invoice, for example 50.

  • The invoice is then created for that share of the ordered quantity: a line of 10 hours invoiced at 50% becomes 5 hours on the invoice.
  • The percentage applies to the quantities of the sales order lines being invoiced; prices and other line details stay as they are.
  • After the invoice is generated, the wizard switches back to the normal invoicing method, so the rest of the order can be invoiced later in the usual way.

The change appears in the invoice creation wizard opened from a sales order, in the section where the invoicing method is chosen. It touches the sales order line preparation and the advance payment invoice wizard (sale.advance.payment.inv). No new menus or reports are added.

Depends on

sale
Models and fields (2)
  • sale.order.line · extends an existing model
  • sale.advance.payment.inv · extends an existing modelqty_percentage (Quantity percentage), advance_payment_method

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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Sales \> Invoicing \> Orders to Invoice.
  • Select one sales order to invoice. If none, use usual sales flows to get one.
  • Click on Action \> Invoice Order, or access it and click on the "Create Invoice" button.
  • On the popup that appears, select "Percentage of the quantity" on the "Create invoice" selection, and put a percentage quantity.
  • Click on "Create and View Invoice" button.
  • On the newly created invoice, you'll see that the invoiced quantity is the expressed percentage.

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.