Promotions

  • Comprehensive Bidding System for Dolibarr

    Manage the whole life cycle of your government and private sector tenders, from the tender notice to the award: a complete bid file, detailed cost estimation, document management, work location on Google Maps, weighted evaluation and project creation in one click.

    125.00 €  (250€)
  • Lead Management

    The Lead Management module allows you to track commercial contacts to be qualified in Dolibarr without cluttering your third-party database, and then convert them in one click into a prospect, contact, and opportunity — all linked together and to their original lead.

    95.00 €  (190€)

New products

MBI Contrat Abonnement

c21129d20210518163414

The Contrat Abonnement module allows the management of subscriptions as well as their mass invoicing.

260.00 €
Excl. tax

  • Author MB INFORMATIQUE SARL
  • Module version 24.8.2
  • Release date 05/18/2021
  • Access to download and updates 1 year

More info...

🎯 Module Overview

MBI Subscription Contracts turns your Dolibarr contracts into true recurring subscriptions: the module generates the due periods to be invoiced and converts them into invoices, either individually or in bulk. It adds a "Subscriptions" tab to customer contracts and supplier orders, automatically computes the periods and their amounts according to the chosen periodicity, then drives recurring invoicing from end to end: validation, PDF document, payment, e-mail sending and direct debit. It is designed for companies that regularly invoice services, licences, maintenance contracts or membership fees.


🧭 Benefits

  • No more manual listing of due periods: the periods to be invoiced are computed and presented ready to use, with their amounts.
  • Recurring invoicing handled in a single run, from one screen, with real-time tracking invoice by invoice.
  • Easy recovery after an incident: processing stops at the offending invoice, everything already done stays recorded, with no risk of duplicates.
  • Full traceability: every step of every invoice is recorded in a filterable history.
  • Verification before accounting: a reconciliation tool compares your invoiced subscriptions with the bank statement and reports discrepancies.

⚙️ Features

Subscription management

  • A "Subscriptions" tab added to the customer contract page, to attach a subscription to a contract service line.
  • A "Subscriptions" tab also available on supplier orders, to manage purchased subscriptions.
  • Per-subscription settings: repetition periodicity (monthly, two-monthly, quarterly, four-monthly, half-yearly, yearly, three-yearly), billing at the start or at the end of the period, and a discount specific to the subscription.
  • Choice of price reference for the service: price per hour, day, week, month, quarter, half-year, year, two years, three years, four years or five years.
  • Automatic generation of subscription periods (dates and amounts), with proration on the first and last period.
  • Choice of period splitting: calendar periods, which make all due dates fall on the same date, or periods based on the actual service dates.
  • Calculation based on the actual number of days in the month, or on a 30-day basis, when pricing is expressed per day.
  • Period follow-up and correction: change dates, amount and quantity, add or delete a period, "invoiced" flag updated automatically and editable manually.
  • Closing and reactivating a subscription at any time, without losing its periods or its history.
  • Automatic prorated adjustment of periods when the end date of a service is changed, after confirmation from the contract page.
  • Tacit renewal: when no end date is set on the service, invoiced periods are re-created automatically, in a configurable number.

Invoicing

  • Creation of a subscription invoice from a selection of periods, on both the customer and supplier sides, with a traceability link between the contract (or order) and the invoice.
  • Invoice types supported on the customer side: standard, down payment, proforma, replacement invoice and credit note.
  • Reuse of the payment terms, payment method and bank account defined on the third-party record when available; otherwise the module's dedicated settings apply.
  • Mass invoicing of customer and supplier subscriptions over a configurable due-date window, with line selection, computed total and selectable steps to run: validation, document generation, payment, e-mail sending, SEPA direct debit authorization and electronic invoice.
  • Invoice-by-invoice processing with a progress screen: each invoice runs all the selected steps before moving on to the next one, and results are displayed as they happen.
  • Database history of every step of every invoice, with a filterable consultation page (batch, invoice, status, type) and pagination.
  • Sending invoices by e-mail using a global subject and message template, customizable per third party from a dedicated tab on the third-party record, with substitution variables.
  • Showing or hiding service descriptions on invoices, globally or contract by contract thanks to an extra field added to contracts.
  • A dedicated entry point for automated triggering of mass invoicing, protected by a secret key to be defined in the Dolibarr configuration.

Verification and bank reconciliation

  • A reconciliation tool offering two modes: due periods to be invoiced, and subscriptions already invoiced within a given month.
  • Import of a bank statement in .xls or .xlsx format, with automatic format detection and reading of French-formatted amounts.
  • Comparison of expected amounts, invoices actually present in Dolibarr and direct debit requests, subscription discount included.
  • Line-by-line reporting of anomalies: period flagged as invoiced with no invoice found, period invoiced twice, invoice left as a draft or abandoned, amount discrepancy, missing or untransmitted direct debit.

Dashboard and printing

  • Two widgets for the home page: subscriptions to be invoiced on contracts and on supplier orders, with a configurable alert window before and after the due date.
  • Printing and exporting the periods of a subscription in ODT format, from a template shipped with the module and freely editable.

Dolibarr integration

  • Multi-company separation and the user's sales scope are enforced in the invoicing and reconciliation screens.
  • Reuse of the standard Dolibarr permissions (Contracts, Invoices, Third parties, Suppliers): no additional permission to manage.
  • Native integration with the interface: tabs on existing records, menu entries under Commercial, home page widgets and pages following the Dolibarr style.

🧩 Requirements and Dependencies

  • Mandatory: a valid licence, activated from the dedicated tab using the order reference received on purchase. Without activation, mass invoicing and bank reconciliation remain unavailable.
  • Mandatory: outbound HTTPS access to the publisher's activation service, contacted at most once a day when a module administration screen is opened.
  • Mandatory: the Dolibarr Contracts module (dependency declared by the module, enabled automatically if required).
  • Mandatory for invoicing: the Dolibarr Invoices module, together with the matching permissions for the users concerned (this module is not declared as a strict dependency, but creating subscription invoices depends on it).
  • Mandatory for the supplier side: the Supplier orders module and permissions on supplier invoices.
  • Optional: the Direct debit module for the SEPA direct debit authorization step.
  • Optional: the Projects module to link subscription invoices to a project.
  • Optional: the Multi-company module; when it is active, the screens filter data by entity.
  • Optional: the pdpconnectfr electronic invoicing module for the "electronic invoice" step of mass invoicing.
  • Optional: the Agenda module to log e-mail sending as events.
  • Bundled libraries: shuchkin/simplexls and shuchkin/simplexlsx (MIT licence) to read bank statements. They ship with the module: no additional installation is required.
  • PHP extensions: simplexml and zlib, used to read .xlsx statements. They are present in the vast majority of standard PHP installations.

✅ Compatibility

  • Minimum required Dolibarr: 19.0
  • Dolibarr versions tested: 23.0.2 (verified in a real environment). The module ChangeLog reports compatibility covering Dolibarr 19 to 23; the module declares no maximum version.
  • Module designed to integrate with the standard Dolibarr interface, without any core modification.
  • Minimum required PHP: 8.0 (operation verified under PHP 8.2).
  • Available languages: English, French, German, Spanish (Spain and Argentina), Italian. The translation sets have been compared with the English reference file: they are complete, with no missing key and no empty value.

🔧 Installation

  1. Download the module ZIP archive without unpacking it.
  2. In Dolibarr, go to Home > Setup > Modules/Applications.
  3. Open the Deploy/Install external module tab.
  4. Upload the module ZIP archive.
  5. Search for and enable MBI Subscription Contracts.
  6. Configure the module options from its administration page.
  7. Grant the required permissions to the users concerned.

Manual installation: copy the module folder under the name contratabonnement into the htdocs/custom/ directory of your installation, then resume at step 5.


🚀 Getting Started

  1. Open the Activation tab and enter the order reference received on purchase: the tab then shows the licence status and the number of remaining days of updates and support.
  2. Open the module configuration page from the modules list.
  3. Set the bank account, payment method and payment terms dedicated to subscriptions, or enable reuse of this information from the third-party record when it is available there.
  4. Define the due-date window, as a number of days before and after, used by the home page widgets and by mass invoicing.
  5. Choose the period splitting mode (calendar or actual dates), the per-day calculation mode and the number of periods to create for tacit renewal.
  6. Prepare the subject and message template used to send invoices by e-mail; they remain customizable third party by third party.
  7. Check the permissions of the users concerned on contracts, invoices and third parties, as well as on supplier orders and supplier invoices if the supplier side is used.
  8. Open a contract, go to the "Subscriptions" tab, create a first subscription on a service line and check the generated periods and their amounts.

🔄 Updates and Uninstallation

  • Back up the database and the Dolibarr files before any update.
  • Read the ChangeLog, then install the new archive over the existing version.
  • Important: the table creation and upgrade scripts are only replayed when the module is enabled. After an update performed by simply replacing the files, disable and re-enable the module so that the structural changes are applied.
  • Disabling the module releases the licence, which becomes available again for another instance. After re-enabling, the order reference must therefore be entered again: make sure you have it at hand before any operation that requires disabling and re-enabling the module.
  • Disabling the module removes its menu entries, tabs and widgets. The module tables and the data they contain (subscriptions, periods, history, e-mail templates) are kept, as is the "Subscription description" extra field added to contracts, together with its values.
  • Deleting the module files does not delete its tables or its data: removing them, if desired, requires a manual database operation.

🛟 Support and Documentation

For any support request, please contact MB Informatique at: <info@mb-informatique.fr>

To help with diagnosis, please provide:

  • the Dolibarr version in use;
  • the module version;
  • the PHP version;
  • a detailed description of the problem and the steps to reproduce it;
  • any error messages or screenshots.

An online demonstration is available at https://demo.mbicloud.fr.

This page is the module's main documentation.


📄 Terms of Use

Article 1 — Publisher. The MBI Subscription Contracts module is published by MB Informatique, a limited liability company registered with the Mulhouse Trade and Companies Register under number 834 342 362 (SIRET 834 342 362 00029, EU VAT number FR07834342362), whose registered office is located at 120 rue de l'Île Napoléon, 68170 Rixheim, France. Telephone: 03 67 262 242 — Email: info@mb-informatique.fr — Website: https://www.mb-informatique.fr.

Article 2 — Purpose and acceptance. These Terms of Use (ToU) govern the use of the MBI Subscription Contracts module ("the Module") for Dolibarr ERP/CRM as well as the associated services provided by MB Informatique SARL (support, updates, activation). Installing, enabling or using the Module constitutes full and unreserved acceptance of these ToU. They apply in addition to the terms of sale of the platform through which the Module was purchased (e.g. DoliStore), which govern the purchase itself.

Article 3 — Code licence. The source code of the Module is distributed under the GNU General Public License version 3 or later (GPL v3+), the full text of which is included in the COPYING file shipped with the Module. These ToU do not restrict the rights granted to the User by that licence; they govern the services provided by MB Informatique SARL and the conditions of use of the Module.

Article 4 — Requirements and compatibility. The Module requires Dolibarr 19.0 and PHP 8.0 as a minimum. It has been tested with Dolibarr 23.0.2 and PHP 8.2. No maximum version of Dolibarr or PHP is declared; this does not constitute an automatic guarantee of compatibility with all later versions. Its operation is not guaranteed with a version earlier than the stated requirements, in the event of a modification of the Dolibarr core, or in the presence of conflicting third-party modules. It is the User's responsibility to check the compatibility of their environment before installation.

Article 5 — User obligations. The User undertakes to: (a) perform a complete backup of the files and of the database before any installation or update; (b) test the Module in a test environment before going live whenever possible; (c) use the Module in accordance with its documentation and applicable regulations; (d) keep their Dolibarr instance under normal security and update conditions.

Article 6 — Support and updates. Support is provided by email at info@mb-informatique.fr, under the conditions and for the duration that may be specified at the time of purchase. Excluded from support are malfunctions caused by a modification of the Module or of the Dolibarr core by the User or a third party, by an environment that does not comply with the requirements, or by a conflict with a third-party module. Some updates may require a more recent version of Dolibarr.

Article 7 — Warranties. The Module is provided "as is", in accordance with articles 15 and 16 of the GPL licence and within the limits permitted by law. MB Informatique SARL does not warrant that the Module is free of defects, operates without interruption, or meets any particular need of the User. Mandatory applicable statutory warranties are not affected by this article.

Article 8 — Liability. Within the limits permitted by law, MB Informatique SARL shall not be held liable for indirect damages, in particular loss of data, loss of business, loss of revenue or damage to reputation, nor for damages resulting from use of the Module that does not comply with its intended purpose, from the absence of a prior backup, from a modification of the Module by the User or a third party, or from an event of force majeure. For professional Users, the total liability of MB Informatique SARL, on all grounds combined, is limited to the amount actually paid for the Module during the last twelve months. Nothing herein excludes liability that cannot lawfully be excluded, in particular in the event of fraud or gross negligence.

Article 9 — Personal data. The Module operates within the User's own Dolibarr instance: the functional data it processes remains stored on the User's systems, and the User remains the data controller within the meaning of the GDPR. In order to allow checking the availability of a version or accessing the activation service, the Module may declare to the Dolibarr core service addresses operated by MB Informatique SARL. When the User triggers one of these functions, Dolibarr may contact the service concerned and send it the technical identifier of the Module. The Module contains no licence key and does not itself transmit either the contents of the Dolibarr database or the domain name of the instance. As with any connection to an Internet service, the public IP address used to establish the connection may appear in the technical logs of the destination server, for security and operational purposes. The User may exercise their rights regarding personal data by writing to info@mb-informatique.fr.

Article 10 — Intellectual property and trademarks. "Dolibarr" is a trademark belonging to its respective owners. The Module is an independent development by MB Informatique SARL, neither affiliated with nor endorsed by the Dolibarr association. The copyright notices contained in the Module files must not be removed, in accordance with the GPL licence.

Article 11 — Duration and changes. These ToU apply from the first use of the Module and for the entire duration of its use. MB Informatique SARL may amend the ToU for future versions of the Module; the applicable version is the one shipped with the version of the Module in use. Termination of the services does not affect the rights granted by the GPL licence.

Article 12 — Governing law and disputes. These ToU are governed by French law. Should any difficulty arise, the User is invited to first send a written complaint to MB Informatique SARL in order to seek an amicable solution. Failing an amicable settlement, any dispute with a professional User falls within the exclusive jurisdiction of the Commercial Court of Mulhouse, including in summary proceedings, warranty claims, incidental claims or where there are multiple defendants. Consumer Users retain the benefit of the mandatory rules of jurisdiction and may make free use of the consumer mediation scheme under the conditions laid down by articles L.612-1 et seq. of the French Consumer Code. Up-to-date information on the consumer mediation applicable to the services of MB Informatique SARL is set out in its General Terms and Conditions of Sale, available at https://www.mb-informatique.fr/cgv.html.

Article 13 — Miscellaneous. If any provision hereof is declared void or unenforceable, the remaining provisions shall retain their full validity. These ToU are drafted in French; in the event of any discrepancy between the French version and a translation, the French version shall prevail.


👨 💻 Publisher

MBI Subscription Contracts is a custom Dolibarr module developed by MB Informatique.

Aimed at companies whose revenue relies on recurring services, it removes the listing and data-entry work involved in recurring invoicing and secures every step, from creating the due periods to bank reconciliation.

The module was originally developed by Maxime MANGIN. MB Informatique has since taken over its maintenance and development, in compliance with the GPL licence of the original work.

Publisher: MB Informatique Contact: <info@mb-informatique.fr> Website: https://www.mb-informatique.fr

 

Image in the logo by Chanut is Industries is licensed under Creative Commons (Attribution 3.0 Unported).


🛠 Changelog
 

UPDATE 24.8.2 (2026-12-01)

  • New: mass invoicing, "Analysis" column next to the Sending column, with an icon: found in the directory (green tick), not found (red), directory not checked (grey), customer outside the e-invoice (orange, with the reason, e.g. SIREN missing), search in progress. The text no longer shows under the Sending list.
  • No action required from 24.8.1.

UPDATE 24.8.1 (2026-12-01)

  • New: mass invoicing, a counter above the list follows the directory search: customers searched out of the total, found, not found, not checked. It says when the search is over.
  • No action required from 24.8.0.

UPDATE 24.8.0 (2026-12-01)

  • New: mass invoicing, the Sending column looks up each customer in the directory of the approved platforms (annuaire) once the list is shown. The customers the EInvoicing module can serve start on email and switch to e-invoice when the directory finds them. When it does not (customer absent, no active receiving platform, receiving address not declared), the line stays on email and the reason is shown. When the directory gives no clear answer, the line stays on email and the e-invoice can be chosen by hand. A line changed by hand in the meantime is left as it is.
  • The directory is looked up only in live mode of EInvoicing. In test mode, the column works as in 24.7.1.
  • No action required from 24.7.1.

UPDATE 24.7.1 (2026-12-01)

  • New: mass invoicing, a "Set all to…" list in the header of the Sending column changes every line at once: e-invoice (only for the customers who allow it, the others keep their prefilled choice), email, don't send, or back to the choice per customer. Each line can still be changed afterwards.
  • No action required from 24.7.0.

UPDATE 24.7.0 (2026-12-01)

  • New: mass invoicing, "Sending" column. For each customer, the invoice goes out as an e-invoice, by email, or is not sent. The choice is prefilled: e-invoice for the customers the Electronic invoice module (EInvoicing) can serve (French customer registered for VAT, not a private individual, SIREN filled in), email for the others, with the reason shown. It can be changed line by line, and all the lines of the same customer follow. A counter shows how many invoices will go out through each channel.
  • New: the step "Send the invoices as set in the Sending column" replaces "Send by email". A customer on e-invoice no longer gets the email. If the e-invoice cannot be sent, the invoice goes out by email and the history says so.
  • Fixed: the e-invoice step goes through the EInvoicing module, the new name of the PDPConnectFR module. It no longer showed since that renaming. It no longer sends again an invoice already transmitted to the platform, and runs the same checks as the module (scope, required information, recipient reachable).
  • Automated run (cron): with sendemail=1 and generateandsendeinvoice=1, each invoice goes out as an e-invoice when the customer allows it, otherwise by email (it used to go out both ways).
  • No action required from 24.6.1. For the e-invoice, the EInvoicing module must be enabled and set up (approved platform and protocol).

UPDATE 24.6.1 (2026-10-28)

  • New: Control page, "Periods after the end of service": active subscriptions with periods starting after the end date of their line, still to invoice or already invoiced. Mass invoicing does not look at this date: either the end date must be corrected, or these periods are not due.
  • Fixed: mass invoicing and the home page widgets no longer propose the periods of a service closed before they start, nor those of a cancelled or refused supplier order. Their number is shown on the mass invoicing page, and the Control page lists them.
  • Security: the Subscriptions tabs and the "Invoice" and "Print subscription" pages check the access to the contract or supplier order (third parties of the user, entity) and that each subscription or period handled belongs to it. An id changed in the address no longer allows acting on the subscription of another customer.
  • Fixed: Subscriptions tab of the supplier orders, the "Add a new period", subscription deletion and period deletion buttons were refused by the Dolibarr CSRF protection.
  • Fixed: "Print subscription" no longer leaves a draft invoice behind; the document is downloaded directly.
  • Fixed: PHP warning when opening "Send by email" on a contract or an invoice.
  • No action required from 24.6.0.

UPDATE 24.6.0 (2026-10-28)

  • Reliable calculations: dates and amounts of the periods are computed in one place for all billing, customers and suppliers: creation of a subscription, added period, tacit renewal at invoicing, adjustment to a new end date. This calculation is checked by automated tests (test/test_calculator.php), including against the former calculation: with civil periods, dates and amounts are unchanged.
  • Fixed: dates are counted in calendar days; a change of time no longer moves a period (with the former calculation, the March 2024 period stopped on the 30th and 31 March was in no period).
  • Fixed: with non-civil periods, a subscription started on the 29th, 30th or 31st keeps that day, or the last day of a shorter month, instead of sliding to the 1st, 2nd or 3rd of the next month.
  • Fixed: with non-civil periods and an end of service, the last period runs until that day included (it stopped the day before); shorter than a whole period, it is invoiced in proportion of its days, no longer at the price of a whole period.
  • Fixed: "Every three years" frequency with non-civil periods, the 36-month period is invoiced 36 months (it was 12).
  • Fixed: an added period, by the button or by the tacit renewal, follows the current price of the line and its unit. Without price unit (subscriptions created before July 2025), it takes the amount of the last whole period, no longer that of a shortened one. Year, two-year, etc. units are applied exactly: twelve months of a yearly price make the yearly price.
  • Fixed: supplier subscriptions record their price unit, and their amounts are rounded like the customer ones (they were truncated).
  • Fixed: the discount on the invoice is the discount of the subscription on every billing path (invoice from the contract or supplier order, printing, supplier mass invoicing), as customer mass invoicing already did. A discount changed in the Subscriptions tab therefore applies everywhere.
  • Fixed: adjusting the periods after the end date of a contract line changed no longer modifies periods already invoiced, which are reported (a credit note may be needed), and shortens the current period in proportion. If the end date is postponed, the last period is completed and the next ones are added.
  • Fixed: a "Billing on civil periods" setting never saved means "No", as the setup shows it; the creation of subscriptions treated it as "Yes".
  • New: Control page, "Recalculated periods": days without period or covered by two periods, last day of service outside any period, shortened period whose amount is not in proportion. The page changes nothing.
  • New: Control page, "Subscriptions without price unit": those whose last whole period is exactly the monthly price of the line can get the unit "Month" in one click, their amounts unchanged; the others are listed to be checked. The change of unit is recorded in the change log.
  • History: periods already recorded and invoices already created are not recalculated. Differences are listed on the Control page, to be corrected in the Subscriptions tab.
  • No action required from 24.5.0. Optional: on the Control page, set the unit "Month" on the former subscriptions proposed.

UPDATE 24.5.1 (2026-10-25)

  • Fixed: with the MBI Cloud theme, the Active contracts, Active services and Monthly recurring charts of the Statistics page were redrawn with a total of the year (for example 1,298 contracts), which adds up the months and makes no sense for a number of contracts or a monthly amount. The page now tells the theme these are levels: with MBI Cloud theme 1.1.0, they show the value of the last month elapsed and its evolution over one year. Charts of amounts are flagged as such and shown in euros.
  • With MBI Cloud theme 1.1.0, the New and stopped, Running total invoiced and projection, and Recurring per service charts are also redrawn in the theme colors.
  • No action required from 24.5.0.

UPDATE 24.5.0 (2026-10-25)

  • New: "Statistics" page of the customer subscriptions, chosen year compared with the year before. Indicators: active contracts and services, monthly recurring amount, annual recurring revenue (recurring × 12), average recurring per contract, new and stopped contracts, invoiced since January, year-end projection (invoiced plus the periods still to invoice until 31 December), direct debited and share of the subscriptions in the turnover. Month-by-month charts: active contracts, active services, monthly recurring, new and stopped, invoiced, running total invoiced with the projection, direct debited, recurring per service. Details per month and per service are given as tables.
  • Invoiced amounts come from the validated invoices linked to the contracts, credit notes deducted; the debited amount is the amount including tax of those whose payment mode is direct debit, whether mandates are managed in Dolibarr or at the bank. They require the right to read invoices; the share of the turnover is reserved to users who see all third parties. Like the Control page, the page requires the licence.
  • Fixed: a period not invoiced and ended before the actual start of the service no longer counts as an active month on the Control and Statistics pages.
  • Optional action: the "Statistics" menu entry only appears after disabling and re-enabling the module (and entering the order reference again). Meanwhile, the page opens from the "Statistics" button of the Control page.

UPDATE 24.4.2 (2026-10-25)

  • Fixed: Control page, a subscription whose periods run from the last day of a month to the day before the same day of the next month (31 August to 30 September) was wrongly shown as increasing or decreasing: such a period now counts as a whole month, as billing counts it.
  • Fixed: the "Invoiced periods without a correct invoice" check wrongly reported a period whose invoice line has only a start date, or whose end date differs by one day. An invoice line is now matched with the period on its start date, failing that on its end date.
  • Fixed: a period ended before the actual start of the service is no longer counted among the "Past periods not invoiced": it was never due. It is listed apart, as a period to remove from the subscription.
  • Improvement: "Running services without subscription" no longer lists lines at a zero price, which have nothing to invoice.
  • Improvement: subscriptions whose line was deleted are reported as points to check rather than errors, since mass invoicing ignores them; the last period is in red when it is still to come, a sign of a service no longer invoiced.
  • No action required from 24.4.0. From an earlier version, apply the 24.4.0 required action.

UPDATE 24.4.1 (2026-10-25)

  • Fixed: on the Control page, the accents of some labels were displayed as HTML code, in particular the reason why a contract stopped.
  • Fixed: the "Line price different from the coming periods" check wrongly reported the subscriptions created before the price unit was recorded (July 2025) whose period is invoiced at the line price, for example a yearly subscription at the yearly price.
  • Fixed: the change log correctly records the modification of a contract line without product (free line).
  • No action required from 24.4.0. From an earlier version, apply the 24.4.0 required action.

UPDATE 24.4.0 (2026-10-25)

  • ⚠️ Action required: disable then re-enable the module to add the new menus, create the change log table and register the triggers that feed it, then enter the order reference again for the licence. Check beforehand that CONTRATABONNEMENT_PURGE_ON_REMOVE is disabled to keep the contract extrafield.
  • New: "Control" page in the Mass invoicing menu. It shows the active contracts and the monthly recurring amount today, the periods invoiced and still to invoice over the last four months, and the evolution of each contract from one month to the next (new, stopped, increasing, decreasing), brought back to one month whatever the billing frequency. It lists the management anomalies: past periods not invoiced, periods ticked as invoiced without a correct invoice, subscriptions whose line was deleted, closed services or cancelled orders still invoiced, line price different from the coming periods, subscriptions at the end of their periods while the service goes on, running services without subscription. The page changes nothing; like bank reconciliation, it requires the licence.
  • New: change log in the Mass invoicing menu. It records the modification, closing or deletion of the contracts, purchase orders and lines carrying subscriptions, the deletion, abandon or return to draft of the linked invoices, and the additions, deletions and modifications made in the Subscriptions tab, including the "invoiced" box ticked by hand, with the previous and new value, the author and the date. Changes that can distort billing are flagged and shown on the control page.
  • Improvement: the reconciliation with a direct debit statement, which had no menu entry, is available from the Mass invoicing menu.
  • History: the change log starts when the module is re-enabled; earlier changes and deletions are not known. Subscriptions whose line was deleted before this version are nevertheless shown on the control page.

UPDATE 24.3.7 (2026-10-12)

  • Fixed: with due dates based on calendar periods, on customer contracts as on supplier orders, a last period ending on the last day of February was invoiced as an incomplete month: 28/30 of the monthly price (29/30 in a leap year), i.e. 93.3% of the month for a subscription ending on 28 February, and, with per-day pricing without the option "Actual number of days per month if priced per day (otherwise 30)", 28 days instead of 30. The last day of February now counts as the end of the month, like the 31st, including for a period starting on that day.
  • Fixed: likewise, a subscription with a single period was invoiced up to the end of the calendar period, whatever its end date: from 5 to 20 November, 26/30 of the monthly price instead of 16/30. It is now invoiced from its start date to its end date.
  • History: amounts of periods already recorded are not recalculated, and invoices already created are not modified. Check, however old they are, the subscriptions on calendar periods whose last period ends at the end of February or whose first period starts on that day, and those with a single period: a new period, added manually or by renewal, takes the amount of the last one and stays wrong until the amounts are corrected in the Subscriptions tab of the contract or supplier order. Correct the drafts; for a validated invoice, issue a credit note.

UPDATE 24.3.6 (2026-10-12)

  • Fixed: with per-day pricing and the options "Base due dates on calendar periods" and "Actual number of days per month if priced per day (otherwise 30)" enabled, the amount of some periods did not match their actual number of days. The first and last periods were counted in fractions of 30-day months (16 to 31 December: 15.5 days billed instead of 16; a full February as the last period: 26.13 instead of 28), a subscription with a single period was counted up to the end of the calendar period (26 days instead of 16 from 5 to 20 November), and for repetitions longer than one month each period was counted as the corresponding multiple of its first month (93 days instead of 90 for the first quarter). The amount of a period is now the price per day multiplied by the quantity and by its actual number of days, both when the subscription is created and with "Add a new period".
  • Fixed: with these options, the amount proposed when choosing the end date of the last period in the calendar was counted from the 1st of the month instead of from the start of the period, which made it wrong for a first period, a period starting mid-month or a repetition longer than one month. It is now counted from the start of the period, and no amount is proposed for an end date before that start.
  • History: amounts of periods already recorded are not recalculated, and invoices already created are not modified. Check the subscriptions with per-day pricing created with these options since 21.0.0: the first and last periods of each subscription, subscriptions with a single period, and all periods for repetitions longer than one month. Correct the amounts in the Subscriptions tab of the contract (price excl. tax per day × quantity × number of days of the period). Correct the drafts; for a validated invoice, issue a credit note.

UPDATE 24.3.5 (2026-10-12)

  • Fixed: with per-day pricing and the options "Base due dates on calendar periods" and "Actual number of days per month if priced per day (otherwise 30)" enabled, the amount proposed when choosing the end date of a subscription's last period in the calendar was already discounted, and the invoice applied the discount a second time: for a line of 2 × 100 € excl. tax per day with a 10% discount and a 15-day period, the invoice came to 2,430 € excl. tax instead of 2,700 € excl. tax. The proposed amount is now calculated before discount, like that of the other periods; the discount is applied only once, on the invoice.
  • History: amounts already recorded are not recalculated, and invoices already created are not modified. Check the subscriptions with per-day pricing whose contract line has a discount and whose last period end date has been chosen in the calendar since 21.0.0: after updating, choose that date again to recalculate the amount, or enter the amount before discount (price excl. tax per day × quantity × number of days), then save. Correct the drafts; for a validated invoice, issue a credit note.

UPDATE 24.3.4 (2026-10-12)

  • Fixed: subscriptions created on a supplier order counted the order line's quantity and discount twice in their period amounts: a line of 2 × 100 € excl. tax with a 10% discount was invoiced at 324 € excl. tax instead of 180 € excl. tax, both individually and in bulk. The amount is now calculated as for customer contracts, from the unit price excluding tax before discount; the discount is applied only once, on the invoice.
  • History: amounts of periods already recorded are not recalculated, and invoices already created are not modified. Check the subscriptions on supplier orders created since 14.0.1 whose order line has a quantity other than 1 or a discount: a new period, added manually or by renewal, takes the amount of the last one and stays wrong until the amounts are corrected in the Subscriptions tab of the supplier order. Correct the drafts; for a validated invoice, issue a credit note.

UPDATE 24.3.3 (2026-10-12)

  • Fixed: invoices created from the Subscriptions tab ("Create subscription invoice", then "Create draft") used the amount including tax as the amount excluding tax on contract lines without a catalogue product or service (free lines): 100 € excl. tax became 120 € excl. tax.
  • Fixed: supplier mass invoicing treated the amount excluding tax as an amount including tax for products whose selling price is entered including tax, which understated the invoice: 100 € excl. tax became 83.33 € excl. tax.
  • Fixed: "Print periods" showed the same understatement for products whose selling price is entered including tax.
  • History: invoices already created are not modified. Check the free lines of customer invoices created with "Create draft", and the supplier invoices created in bulk since 24.2.0 for products whose selling price is entered including tax. Correct the drafts; for a validated invoice, issue a credit note.

UPDATE 24.3.2 (2026-09-16)

  • Fixed: new customer invoices, individually and in bulk, carry both contract and subscription links using the contract ID while keeping the standard origin. Invoices are visible from the subscription card and link back to it without core changes.
  • Action required: disable then re-enable the module to register the elementproperties hook context, then enter the licence order reference again. First ensure CONTRATABONNEMENT_PURGE_ON_REMOVE is disabled to preserve the contract extrafield.
  • History: no automatic migration. Existing subscription links are supported; invoices with only a contract link require a controlled backfill after checking their subscription origin.

UPDATE 24.3.1 (2026-07-30)

  • Fixed: supplier mass invoicing failed on recent Dolibarr installations and no invoice could be created.

UPDATE 24.3.0 (2026-07-30)

  • ⚠️ Action required: activate the module with the order reference received on purchase, otherwise mass invoicing and bank reconciliation remain unavailable.
  • ⚠️ Action required: after each deactivation and reactivation of the module, the order reference must be entered again.
  • New: new activation tab showing the licence status, the purchase date and the number of remaining days of updates and support.
  • New: the licence is checked automatically, at most once a day, when a module administration screen is opened, with no background task.
  • Improved: deactivating the module releases the licence, which can then be used on another instance.
  • Security: supplier mass invoicing is now protected like customer invoicing and reports a missing activation before any selection.

UPDATE 24.2.1 (2026-07-21)

  • ⚠️ Action required: review and correct earlier payments recorded without a bank entry or posted to an incorrect account.
  • Improved: settlement is now atomic and checked at every step; on failure the invoice stays open and the batch stops.
  • Fixed: in mass invoicing, a payment could be recorded without the matching bank entry, making reconciliation impossible.
  • Fixed: the credited account could be a non-existent or closed account instead of the one set in the configuration.

UPDATE 24.2.0 (2026-07-09)

  • New: added the Spanish (Spain) translation.
  • Improved: invoice e-mail sending is now logged.
  • Security: disabling the module no longer deletes the "Subscription description" field or its values on contracts.
  • Security: automated triggering of mass invoicing now requires a secret key.
  • Security: access to subscription records is checked record by record, and displayed data is protected against code injection.
  • Fixed: no more blocking error or incomplete invoice saved when creating an invoice.
  • Fixed: in mass invoicing, service lines now keep their "service" type.
  • Compatibility: brought in line with Dolibarr 19 to 23, PostgreSQL and PHP 8.

UPDATE 24.1.2 (2026-07-08)

  • Fixed: a subscription discount is now included in the expected amount of the bank reconciliation.
  • Fixed: a discounted subscription no longer raises a false discrepancy between due periods, invoice and direct debit.

UPDATE 24.1.1 (2026-07-08)

  • Improved: the double-invoicing alert is now raised only when there are actually more invoiced lines than due periods.
  • Improved: the missing direct debit request warning is no longer shown by default; it can still be enabled if needed.
  • Fixed: the invoiced amount was multiplied when a contract had several identical subscription lines.
  • Fixed: a period straddling two months is no longer wrongly flagged, and a read error now shows an explicit message.

UPDATE 24.1.0 (2026-07-08)

  • New: new reconciliation mode for subscriptions invoiced within a month, which retrieves the invoice actually present in Dolibarr.
  • New: checks on SEPA direct debit requests (existence, transmission, amount), with line-by-line reporting of anomalies.
  • Improved: the bank statement becomes optional in this mode, and French-formatted amounts are read correctly.
  • Improved: amounts shown in Dolibarr's currency format and reconciliation page translated into the five languages.
  • Security: an external user now only sees the contracts of their own company, and the imported file size is limited.
  • Fixed: several direct debits of the same contract are now added together instead of overwriting each other.

UPDATE 24.0.0 (2026-06-30)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • New: mass invoicing processes one invoice at a time, each running all the selected steps before moving to the next.
  • New: a progress screen shows the result of each invoice in real time, with its reference or the reason for failure.
  • New: new database history, viewable and filterable according to permissions, replacing the log file.
  • New: bank reconciliation now accepts Excel .xlsx files in addition to .xls.
  • Improved: an interruption no longer leaves the batch in an unknown state, and resuming avoids duplicates.
  • Improved: redesigned mass invoicing pages, paginated history and access moved to the left menu.
  • Improved: the direct debit authorization now runs before the payment.
  • Security: removed the former publicly downloadable log file, which exposed invoice references and third-party names.
  • Compatibility: stronger operation under PostgreSQL, including the reference purchase price calculation.

UPDATE 23.0.2 (2026-06-17)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • New: the configuration page saves all settings at once, with a single save button.
  • Improved: translations completed and harmonised across the five languages.
  • Improved: more reliable delete confirmation in the contract subscriptions tab.
  • Security: queries protected against injection, tokens and permission checks added on sensitive actions.
  • Security: access controls added to the invoicing, printing and comparison screens.
  • Fixed: division by zero avoided during invoicing and the real VAT rate used in the comparison tool.
  • Fixed: more reliable saving of the e-mail template specific to each third party.
  • Compatibility: support for PHP 8 and PostgreSQL; minimum versions raised to Dolibarr 19 and PHP 7.1.

UPDATE 23.0.1 (2026-04-21)

  • New: added the Italian translation.
  • Improved: the module no longer patches the Dolibarr core automatically and relies on standard object types.
  • Improved: French, English, Spanish and German translations reviewed and harmonised.
  • Improved: subscription editing ergonomics, staying in edit mode after adding a period.
  • Compatibility: PHP 8.3 compatibility fixes on the configuration, printing and invoicing screens.

UPDATE 23.0.0 (2026-04-14)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • Improved: the licence text and revised documentation are now shipped with the module.
  • Improved: internal optimisations and code cleanup.
  • Fixed: the subscription tabs now display correctly on Dolibarr 23.
  • Compatibility: adapted to Dolibarr 23.

UPDATE 22.0.0 (2026-02-03)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • New: an editable discount per subscription allows the amounts of a contract's periods to be recalculated.
  • New: new option, contract by contract, to display service descriptions on invoices.
  • Fixed: discount display corrected in the mass invoicing list.

UPDATE 21.0.0 (2025-09-18)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • New: option to take into account the actual number of days in the month when pricing is expressed per day.
  • New: periods adapt automatically when the end date of a service changes, with prorated adjustment.
  • Improved: with per-day pricing, changing a period date automatically recalculates the amount.
  • Improved: internal optimisations and code cleanup.
  • Fixed: totals and selected amount corrected when discounts are applied.

UPDATE 20.0.0 (2025-05-07)

  • New: the third party's payment terms, payment method and bank account are used automatically when they are set.
  • Improved: clearer comparison tool for subscriptions to be invoiced, with bank file import.
  • Improved: internal optimisations and code cleanup.

UPDATE 19.0.1 (2024-09-17)

  • New: new screen comparing the amounts to be invoiced with a bank file, to spot discrepancies quickly.
  • New: option to use the customer's payment method and payment terms instead of the module settings.
  • Improved: discounts are better handled and easier to read throughout the invoicing process.
  • Improved: various interface and wording adjustments.
  • Security: protection tokens added on sensitive actions.

UPDATE 17.0.0 (2023-08-30)

  • Improved: the description is better handled during invoicing, both single and mass.
  • Improved: more consistent display of the subscription tracking widgets.
  • Improved: internal optimisations and code cleanup.

UPDATE 16.0.1 (2023-07-10)

  • Improved: modernised status icon in the home page widgets.
  • Improved: internal optimisations and code cleanup.

UPDATE 16.0.0 (2023-07-04)

  • New: action tracking (creation, validation, payment, e-mail sending) in a dedicated downloadable log.
  • New: new options to show or hide service descriptions on invoices or in the contract tab.
  • Improved: clearer mass invoicing interface, with harmonised wording and grouped options.
  • Improved: required permissions adjusted to avoid unnecessary access blocks.
  • Fixed: various cases that could cause errors during processing.
  • Compatibility: operation ensured on more recent environments, notably PHP 8.1.

UPDATE 15.0.6 (2023-01-05)

  • Compatibility: support for PHP 8.1.

UPDATE 15.0.5 (2023-01-04)

  • Improved: printing of periods simplified and made more reliable.

UPDATE 15.0.4 (2022-05-19)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • Fixed: a subscription carried by a supplier order can now be saved without an associated contract line.

UPDATE 15.0.3 (2022-04-27)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • Improved: the widget for subscriptions on supplier orders is now always offered.
  • Improved: internal optimisations and code cleanup.
  • Compatibility: minimum Dolibarr version raised to 12.

UPDATE 15.0.2 (2022-04-27)

  • Improved: fewer permissions required to access the module pages.

UPDATE 15.0.1 (2022-04-20)

  • Improved: better logging of supplier mass invoicing and sending operations.

UPDATE 15.0.0 (2022-04-08)

  • Improved: description display cleaned up for better readability on records.
  • Security: security tokens added or fixed on the configuration, mass invoicing and contract forms.
  • Fixed: more reliable creation of a supplier invoice from an order or a subscription.

UPDATE 14.0.2 (2022-03-02)

  • Fixed: creation of a single supplier invoice corrected.

UPDATE 14.0.1 (2022-03-01)

  • ⚠️ Action required: disable then re-enable the module after updating to apply the changes introduced by this version.
  • New: subscription management on supplier orders, with dedicated mass invoicing and sending.
  • New: new home page widget for the due periods of subscriptions carried by supplier orders.
  • New: new payment terms setting specific to subscriptions, configurable in the administration.
  • New: configurable reminder windows, in days before and after, for the due periods shown on the home page.
  • New: support for durations in the dedicated selector.
  • Improved: clearer display of bank accounts and of payment methods and terms.
  • Improved: private notes now appear in mass invoicing.
  • Fixed: payment method and terms correctly applied when generating invoices.
  • Fixed: checkbox display and recalculation of selected amounts made more reliable.

UPDATE 1.0 (2021-08-26)

  • New: subscription management on products and services, as an extension to the Contracts module.
  • New: automatic creation and calculation of subscription periods, dates and amounts, based on the schedule.
  • New: configuration of the periodicity and of the billing mode, in advance or in arrears.
  • New: calendar periods by default, with proration on the first and last period.
  • New: period tracking and invoicing flag, with a link between the subscription and the invoice.
  • New: creation of subscription invoices by selecting the periods to invoice.
  • New: home page widget for periods to be invoiced, with configurable alerts before and after the due date.
  • New: printing and export of the period status, from a customisable template.



If you think this module is a fork of another one (published after the first one) or violates some terms or conditions of use (for users or vendors), you can make a report at dolistore@dolibarr.org