Skip to Content
Catalog / POS · Point of Sale / Bank Journals - Commission Based (POS)
Bank Journals - Commission Based (POS)
ac_pos_journal_commission

Bank Journals - Commission Based (POS)

Automatically book bank card fees on POS payments by method at session close

v19.0.1.0.0 AlshayebCo Point of Sale

Inherits pos payment method to add commission_percentage (Float) and commission_account_id (Many2one account account, check_company). Overrides pos session _create_combine_account_payment and _create_split_account_payment to call _apply_pos_commission, which draft-rewrites-reposts the aggregated journal entry: it reduces the liquidity line by the commission and adds a commission debit line so sum(balance) stays zero. Depends on point_of_sale and ac_bank_journal_commission (whose base hook carries a POS-skip guard). View inherits point_of_sale.pos_payment_method_view_form to surface the two fields for bank-type methods only.

Overview

Card and bank-transfer payments taken at the point of sale carry processing fees that stores normally have to reconcile and book by hand. This module lets you set a commission percentage and an expense account directly on each POS payment method, so when a session is closed the fee is carved out of the bank entry automatically. The bank (liquidity) line absorbs the fee and a matching commission expense line is posted, while the receivable line the session reconciles stays untouched.

Key Features

  • Adds a Commission % field and a Commission Account to each POS payment method.
  • Commission fields appear only on bank-type payment methods, so cash stays fee-free.
  • Books the bank fee automatically when a POS session is closed, with no manual journal entries.
  • Carves the fee out of the bank line and posts a separate commission expense line, keeping the entry balanced.
  • Leaves the POS receivable line the session reconciles untouched, so reconciliation is unaffected.
  • Handles both sales (inbound) and refunds (outbound) correctly in a single uniform calculation.
  • Works with combined and split POS payments at session close.
  • Coordinates with ac_bank_journal_commission via a POS-skip guard so fees are never double-applied.

Technical Details

Technical Name ac_pos_journal_commission
Version 19.0.1.0.0
License LGPL-3
Domain POS · Point of Sale

Security

No new access rules or record rules are added. The commission account field on the POS payment method form is restricted to users with accounting read access (account.group_account_readonly).

Dependencies