Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Recurring Contracts: grouped invoices and suspensions
A customer with a cleaning, a maintenance and a security contract does not want three invoices every month, and a clinic closed for ten days does not want to pay for them. This add-on of Aerya's Recurring Contracts puts every contract of a customer due on the same day on one invoice, and takes suspended days off the invoice, or credits them when they were already invoiced.
Dated suspensions inside a billing period, prorated by days
Days already invoiced credited by a rectifying invoice
Add-on of Aerya's Recurring Contracts, Community and Enterprise
Requires Aerya's Recurring Contracts module (aerya_es_subscription). The screenshots use a fictitious company and invented customers.
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.
in Odoo 20, plus the Recurring Contracts suite
no warnings
same proration, same adjustments, Community and Enterprise
One invoice per customer
Tick “Group contract invoices” on the customer: the daily run makes one invoice for all its contracts due that day, with a section per contract (number and customer reference) and each line keeping its service period.
Contracts with other payment terms, journal, fiscal position or issue mode get their own invoice; a contract paid by saved card is always invoiced alone. A contract that fails is flagged, the others are invoiced.

The PDF your customer receives
Sections with the contract number and the purchase order, the period of every line, a subtotal per contract and the source contracts in the header.
Credit notes of later changes still point to the grouped invoice and to the right contract.

Suspensions inside a billing period
A new “Suspensions” tab on the contract: first day, last day, reason, then Confirm. Overlaps with another suspension or a pause, and days outside the contract, are refused.
Also listed in Recurring Contracts > Contracts > Suspensions.

Suspended days left out of the invoice
Recorded before the period is invoiced, a suspension adds a negative line under each period line: “Suspended: 11/10/2026 - 11/19/2026 (10 of 30 days)”, at unit price x suspended days / days of the period.
A whole period suspended issues no invoice at all.

Already invoiced? A rectifying invoice
Recorded after the invoice, the suspended days go to a draft credit note of the original invoice (“Days not served”), as the law asks for a change of the taxable amount, instead of being netted on the next invoice.
Cancel the suspension and the credited days are billed again on the next invoice.

One box on the customer
Sales & Purchase tab of the customer: “Group contract invoices”. Contacts follow their company; contracts of several contacts go to the company's invoice address.

Screenshots of Odoo 17 Enterprise.
Everything included
Summary invoices
Several supplies to one customer on one invoice (VAT Directive art. 223; in Spain RD 1619/2012 art. 13).
Same proration
Suspended days are prorated exactly like the partial periods of Recurring Contracts, rounded per line.
No double credits
Later changes, early ends and cancellations take the suspensions into account.
Safe grouping
If the grouped invoice cannot be made, each contract is invoiced on its own, as before.
Clear history
Chatter messages on every contract: grouped with which contracts, suspension confirmed or cancelled, credit note created.
Off until you want it
Installing changes nothing until a customer is ticked or a suspension recorded.
How it works
Install the module next to Recurring Contracts.
Tick “Group contract invoices” on the customers who want one invoice.
Record suspensions on the contracts when the service stops for some days.
Let the daily run invoice: one invoice per customer, suspended days off.
Compatibility
| Versions | Odoo 17, 18, 19 and 20 |
| Editions | Community and Enterprise |
| Modules | Aerya Recurring Contracts (aerya_es_subscription) |
| Documents | contract invoices and rectifying invoices |
| Languages | English, Romanian, Spanish |
What it does not do
Stops with a message when a suspension overlaps another one or a pause, starts before the contract or ends after its end of service, when a draft invoice of the contract covers its days, and when a confirmed suspension is changed (cancel it and record a new one).
Contracts in a currency other than the company's, open-ended suspensions and suspension requests from the customer portal are not covered. The MRR keeps the contract's value during a suspension.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 20, 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 |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 4827 |
| Technical Name |
aerya_subscription_billing |
| 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