OdooWiki OCA HUB

Invoice orders with done payment transactions

sale_invoiceability_on_payment_transaction folder_open OCA/account-invoicing open_in_new
Accounting/Accounting License: AGPL-3

This module allows invoicing sale orders when a confirmed payment transaction for the full order amount exists, regardless of the product invoice policy. This means that even if the product is configured with a "Delivered Quantities" invoice policy, the order can be invoiced without a validated delivery once the payment is confirmed.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you invoice a sales order as soon as a confirmed payment exists, even if the product is set to be invoiced on delivered quantities and nothing has been delivered yet.

This module changes when a sales order line becomes invoiceable. Normally, if a product is configured to be invoiced on delivered quantities, you must validate the delivery before you can create the invoice. With this module, once the order has a confirmed (done) payment transaction, the line can be invoiced for its full ordered quantity without waiting for the delivery.

The rule applies only when all of these are true: - the line belongs to a confirmed sales order; - the order is considered paid (it has a done payment transaction); - the delivery of that line has not started yet (no done or cancelled stock move).

When these conditions are met, the quantity to invoice is set to the ordered quantity minus what is already invoiced, and the untaxed amount to invoice is recalculated accordingly, including tax-included prices. If the delivery has already started, the normal behaviour applies.

There is no new menu or screen: the change is visible in the sales order lines' invoicing information and in the amounts shown as ready to invoice. It touches the sales order line model sale.order.line and reacts to changes in the payment transaction status of the order.

Depends on

sale_stock
Models and fields (1)
  • sale.order.line · extends an existing model

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

Sources · Odoo 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

Once the module is installed, no additional configuration is required.

When a sale order has a payment transaction in Done state that covers the full order amount, all order lines become invoiceable regardless of the product invoice policy. You can then create the invoice directly from the sale order without needing to validate a delivery first.

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.