Auto Invoice on Delivery: automatic invoice posted when a delivery is validated
by Aerya IT Solutions https://aerya.net$ 8.77
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Auto Invoice on Delivery: automatic invoice posted when a delivery is validated
Mark an operation type and every transfer of it that comes from a sales or purchase order is invoiced the moment it is validated: the customer invoice for what left, the draft vendor bill for what arrived, credit notes for returns. A failure never blocks the warehouse.
Exactly the validated quantities, never twice (backorders too)
Failures marked on the transfer, with the reason and a retry
Warehouse users need no invoicing rights
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.
Screenshots of Odoo 17 Enterprise with the data of a fictitious company.
deliveries, backorders, receipts, returns, failures and retries, access rights and the forms in the browser
no warnings, on the four versions
Community and Enterprise
Someone has to create the invoice after every delivery
In a company that invoices what it ships, the warehouse validates a delivery and then somebody in accounting has to remember to create the invoice for what really left. With partial deliveries and backorders this is slow and error prone: an invoice is forgotten, or the whole order is invoiced while only half of it was shipped. On the purchase side the same happens with the vendor bill after a receipt.
What it does
This add-on of Invoice from Pickings invoices the transfer the moment it is validated. You choose, per operation type, whether it happens and whether customer invoices are posted at once. The invoice holds exactly the quantities of that transfer, never twice. If the invoice cannot be made, the warehouse is not blocked: the transfer is done, marked Failed with the reason, and you retry it with one button.
How it works, step by step
- Install. Install Invoice from Pickings, Sales, Purchase and Inventory, then this add-on.
- Choose the operation types. Open Inventory › Configuration › Operation Types, pick for example Delivery Orders. In the Invoicing group tick Invoice Automatically, and Post Customer Invoices if the customer invoice should be posted without a review.
- Validate transfers as usual. A transfer that comes from a sales or purchase order is invoiced when it is validated: with the Validate button, the backorder wizard or a batch.
- Read the result on the transfer. It shows Invoiced, Nothing to Invoice or Failed, also as a column of the transfers list.
- Retry the failures. Filter on Automatic Invoice Failed, fix the cause and press Retry Automatic Invoice on the form, or in the Action menu of the list for several transfers.
What gets invoiced
- Only the quantities that transfer moved, in the units and at the prices of the order. A backorder is invoiced when it is validated.
- A return becomes a customer credit note.
- Customer invoices and credit notes are posted when the option is on. Vendor bills always stay drafts, because the vendor's bill number and date arrive later.
- A transfer is never invoiced twice. If the order was already invoiced, or the products are invoiced on ordered quantities and were billed from the order, the result is Nothing to Invoice.
- Warehouse users need no invoicing rights: the invoice is made by the system on their behalf, as the operation type, set by a manager, asks.
Chosen per operation type
Invoice Automatically on deliveries, receipts or any operation type; Post Customer Invoices and Credit Notes posts them at once. Vendor bills always stay drafts until the vendor's bill arrives.

The quantities that moved
The invoice holds the quantities of the validated transfer, in the order's units and prices, through our Invoice from Pickings module: a backorder is invoiced on its own validation, a return becomes a credit note.

A failure never blocks the warehouse
If the invoice cannot be made (a down payment still to deduct, a missing account, a posting check), the transfer is still done: it shows Failed with the reason and a Retry Automatic Invoice button.

More screenshots

The result as a column of the transfers list
Settings and options
| Invoice Automatically | On the operation type, for deliveries and receipts. |
| Post Customer Invoices | On the operation type, for deliveries: posts customer invoices and credit notes instead of leaving drafts. |
| Retry Automatic Invoice | Button on the transfer and in the Action menu of the list. |
| Automatic Invoice Failed | Filter that lists the transfers whose invoice failed. |
What it does not do
- Vendor bills are never posted by it, only created as drafts.
- It ends as Failed, with the reason, for the cases Invoice from Pickings blocks: dropship transfers, kit components and sales orders with a down payment still to deduct. Any error Odoo raises when posting, such as a missing account, also ends there.
- There is no scheduled job. The invoice is made at validation, and failures are retried by hand.
- It does not group several transfers into one invoice.
- Transfers that do not come from a sales or purchase order are not invoiced.
Requirements
- Odoo 17, 18, 19 or 20, Community or Enterprise.
- Invoice from Pickings by Aerya (
aerya_invoice_picking), which needs Sales, Purchase and Inventory. - A host that allows modules with Python code: Odoo.sh or your own server.
- English, Spanish and Romanian translations.
Frequently asked questions
Does a failing invoice stop the delivery?
No. The transfer is validated. It is marked Failed with the reason on the form and in the chatter, and you retry it after fixing the cause.
What about backorders?
Each backorder is invoiced when it is validated, with its own quantities. The quantities already invoiced are never invoiced again.
Why are vendor bills not posted?
Odoo needs the vendor's bill number and date to post a bill, and they arrive later. The draft is created for you to complete.
Can I limit it to some deliveries?
Yes, the options are per operation type, so you can switch it on for one warehouse or one kind of transfer only.
Can a warehouse user without invoicing rights validate?
Yes. The invoice is created with system rights, as the manager who set the operation type decided.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 19, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
| Community Apps Dependencies | Show |
| Lines of code | 484 |
| Technical Name |
aerya_invoice_picking_auto |
| License | OPL-1 |
| Website | https://aerya.net |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module