OdooWiki OCA HUB

Payment References for Sale Refunds

l10n_fi_sale_refund_payment_reference folder_open OCA/l10n-finland open_in_new
Accounting License: AGPL-3

In finnish B2B accounting, it is customary to not pay refunds to customers as money. Instead refunds are used to deduct payable amounts from future invoices. As such, refund invoices are also given payment references, to make tracking and reconciling them easier. By default, Odoo generates payment references only for sales invoices. With this module, references are generated also for sales refunds.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Automatically gives payment references to customer refund invoices, so Finnish companies can track and reconcile refunds that are used to offset future invoices instead of being paid out as money.

In Finnish business accounting, refunds to customers are often not paid out as cash. Instead, they are used to reduce the amount owed on later invoices. To make those refunds easy to follow and match, they need a payment reference just like a normal sales invoice.

By default, Odoo only creates payment references for sales invoices. This module changes that behaviour on the account.move model so that a payment reference is also filled in for customer refunds.

  • The reference is generated automatically when a refund is posted.
  • It is only added if the refund does not already have a payment reference, so nothing is overwritten.
  • It applies to customer refunds (out_refund), not to vendor bills or other document types.
  • The reference uses the same standard reference calculation that Odoo already uses for invoices.

There are no new menus, screens, buttons or reports. The change happens quietly in the background when a refund is posted, and the reference appears in the usual payment reference field on the refund. This module touches the accounting area only and depends on the standard Accounting app.

Depends on

account
Models and fields (1)
  • account.move · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/l10n-finland.

terminal Installation and usage

OCA documentation · Odoo 19.0

When this module is installed, payment references are generated also for sale refunds when opened. The reference format is determined by the journal settings as usual.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.