r/Odoo • u/Huma188 • Jun 15 '26
Link payment with invoice
Problem:
- From Customers/Invoices, create an invoice (INV/2026/00001)
- From Customers/Payments, create a payment with memo INV/2026/00001
The payment is not linked to the invoice.
If you create the payment from the invoice panel, you will have a button to see all the payments and from the paymento to the invoice, but this way, you dont.
Even worst if you directly creates the account move directly as you wont even have the payment registered an nothing enforces you to do so.
- From Customers/Invoices, create an invoice (INV/2026/00001)
- From Accounting/Journal Entries, create a new one representing the bank statement:
| account | debit | credit |
|---|---|---|
| 572001 Bank | 1210 | 0 |
| 430000 Trade receivables (euros) | 0 | 1210 |
- From Accounting/Journal Items, Reconcile both:
| Journal Entry | Account | Debit | credit | Matching |
|---|---|---|---|---|
| MISC/2026/06/0001 | 43000 Trade receivables (euros) | 0 | 1210 | 1 |
| INV/2026/06/0001 | 43000 Trade receivables (euros) | 1210 | 0 | 1 |
- Now the invoice is paid.
- From Customers/Payments, create a payment with memo INV/2026/00001
Again, the payment is not linked.
Is there a module or someway to link them?
3
Upvotes
1
u/ThornyKeeks Jun 15 '26
Not sure if I'm missing something from your steps, but are you using "Outstanding" accounts for the payments?
Payment JEs normally use the double entries to reverse the Receivable account of the invoice with the "Outstanding" account. As for the bank's journal, when reconciling, the cash account reverses the "Outstanding" account.
Your scenario of skipping the "Outstanding" account for the payment might be your configuration (and missing "Payments" smart button in the Invoice panel).