| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 236 |
| Technical Name |
hdk_payment_multiple_invoices |
| License | OPL-1 |
| Website | https://www.hamdek.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 236 |
| Technical Name |
hdk_payment_multiple_invoices |
| License | OPL-1 |
| Website | https://www.hamdek.com |
Hamdek Payment Multiple Invoices
Generate one payment link for several customer invoices at once (same partner, open balance). Customers pay the combined amount on the standard Odoo payment page; transactions carry all invoice ids for proper reconciliation.
One link, many invoices
From Accounting → Customers → Invoices, select multiple posted moves for one customer, run Generate Payment Link, and share a single URL. The wizard totals residual amounts and builds a link that the payment flow uses to attach the transaction to every selected invoice.
List action
Server action on the invoice list: select rows, then Generate Payment Link from the Action menu.
Validation
Only posted invoices with not paid or partial payment; all must share the same partner.
Portal & payment
Standard /payment/pay flow; inv_ids is passed so the transaction can
reconcile across all selected moves.
Key Features
Combined residual
The payment link wizard sets amount and currency from the first invoice and sums amount residual for all selected invoices.
Secure link parameters
Query string uses access_token with partner, amount, and currency; multi-invoice
links include inv_ids as needed.
Frontend patch
The payment form passes inv_ids into the transaction route so online payments
stay aligned with the backend.
Requirements
Depends on account_payment (includes account and payment). Configure your payment providers as usual.
How to Get Started
- Install Hamdek Payment Multiple Invoices (ensure account_payment is available).
- Open Accounting → Customers → Invoices in list view.
- Select multiple invoices for one customer that are posted and not fully paid.
- Open Action → Generate Payment Link, copy the link from the wizard, and send it to your customer.
Use Cases
Collections
Send one link covering several open invoices instead of separate emails per document.
Customer experience
Customers pay once; Odoo can allocate the payment across all linked invoice moves.
Workflow
From selecting open invoices to generating the link, paying on the portal, and seeing invoices move to paid after a successful payment.
Select invoices
In the customer invoices list, tick the rows you want to include. They must be for the same partner and meet the payment-state rules (posted, not fully paid).
Generate Payment Link (wizard)
Open Action → Generate Payment Link. The wizard shows the combined residual, partner, and the URL to copy and send.
Customer pays on the portal
The customer opens the link and completes payment on the standard Odoo payment page; invoice identifiers are passed for reconciliation.
Successful payment on the portal
After the transaction succeeds, the customer sees the confirmation screen on the portal.
Invoices show paid in Accounting
Back in Accounting → Customers → Invoices, the moves you included now appear as paid (or fully reconciled) after the payment has been registered successfully.
Support & Expert Services
sales@hamdek.com
www.hamdek.com
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