Payment Surcharge & Provider Fees: checkout surcharge, EU law check, provider fee expense
by Aerya IT Solutions https://aerya.net$ 46.02
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Payment Surcharge & Provider Fees: checkout surcharge, EU law check, provider fee expense
Pass the cost of a payment method on to the customer where the law allows it, show it before they pay, and book what the provider really charges you as an expense.
Shown next to each payment method on the shop and portal checkout
Blocked where EU or national law forbids a surcharge
Provider fee posted as an expense with every online payment
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.
Screenshots of Odoo 18 Community with the data of a fictitious company.
the law rules, surcharge lines, fee entries, the checkout and every screen
no warnings, on the four versions
Odoo core only, no other module
The surcharge before the customer pays
On the shop checkout, on the portal page of a quotation and on its payment link every payment method and saved card shows its own surcharge, such as + 12.71 € payment surcharge. Methods without one show nothing.
When the customer pays, the surcharge becomes a line of the quotation and the amount sent to the provider includes it. A second attempt with another method replaces the line; the cart drops the line of an abandoned attempt. When taxes apply, the line total including tax is the surcharge (never above it).

Rules per provider
Open a payment provider, tab Surcharge and Fee: add lines with a fixed amount, a percentage and an optional maximum, limited to payer countries, to a payment currency or to business payers. The first line that matches applies.
Enter the provider fee (what the provider charges you): in the EEA and the UK a surcharge may never exceed it, and the module caps it for you.

The law of each country, checked
Surcharge Rules by Country comes filled for the EEA and the United Kingdom, with the article behind each rule: no surcharge at all in Spain, Romania, France, Italy and Belgium; no surcharge on consumer cards and SEPA payments elsewhere (PSD2 art. 62(4)).
The stricter rule of your company's country and the payer's country applies. Each payment method has a surcharge class (consumer card, SEPA, other) that you can change.

The quotation keeps the surcharge
The surcharge is an order line with the product Payment surcharge and its taxes: the line total including tax equals the surcharge, and the order confirms when the payment arrives, as usual.

Provider fee as an expense
With Book Provider Fee on, every online payment posts an entry: debit the fee expense account, credit the account where the payment waits for the payout. The net payout of the provider then matches.
Surcharges and Provider Fees lists every payment with the surcharge charged, the fee booked and its entry.

More screenshots

A consumer: no card surcharge (PSD2 art. 62(4)), the wallet keeps its own

A transaction with its surcharge and fee entry

The provider fee entry
How it works
In Invoicing or Accounting open Configuration › Payment Providers, a provider, tab Surcharge and Fee.
Enter the provider fee and, if you want the entries, the expense account.
Add surcharge lines and check the surcharge class of your payment methods.
Customers see the surcharge at checkout; the fee entries come with each payment.
Compatibility
| Versions | Odoo 17, 18, 19, 20 |
| Editions | Community and Enterprise |
| Hosting | Odoo.sh and on-premise (Python module) |
| Requires | eCommerce (website_sale) and Invoicing |
| Languages | English, Spanish, Romanian |
Good to know
The rules come from the Payment Services Directive (EU) 2015/2366, art. 62, the Consumer Rights Directive 2011/83/EU, art. 19, and the national laws listed in the country table; review the table with your adviser, the module applies the rules you keep in it. Odoo 16 had extra fees for two providers; Odoo 17 removed them.
Not covered: invoices paid from the portal, confirmed orders, express checkout (Google Pay, Apple Pay), back-office token charges and refunds get no surcharge; a prepayment carries the surcharge on the first payment only; the provider fee is the rate you enter, not the amount the provider reports for each payment.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 18, 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 |
•
eCommerce (website_sale)
• Invoicing (account) • Discuss (mail) • Website (website) |
| Lines of code | 1044 |
| Technical Name |
aerya_payment_fee |
| 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