Configuring Payment Rules for Business Partners in iDempiere Retail

Introduction

The Payment Rule field in the iDempiere Business Partner window defines the default payment method assigned to a customer or vendor. It determines how invoices are settled — whether by cash, cheque, bank transfer, credit card, or on-account credit. iDempiere reads this field automatically during order and payment processing to pre-fill transaction forms.

In a retail environment, the Payment Rule drives the cashier workflow and provides a default payment method during transaction entry. Each customer account can carry a distinct rule — for example, walk-in customers may default to cash while corporate accounts use bank transfer. This removes manual selection errors during busy retail hours.

When a sales order or AR invoice is created, iDempiere copies the Payment Rule from the Business Partner record into the transaction header. Changing the rule on the Business Partner immediately affects all subsequent transactions without any additional setup.

Prerequisites

Ensure the following configurations are completed before assigning a Payment Rule in the Business Partner window:

  • iDempiere tenant and organization setup is complete.
  • Chart of Accounts is configured and activated.
  • Currency is defined and conversion rates are maintained.
  • Payment Terms records are created (used alongside Payment Rule for invoice scheduling).
  • Bank Account records are configured if Bank Transfer or Direct Deposit rules will be used.
  • Payment processor integration is set up if Credit Card rule will be used.
  • User roles with Business Partner access are assigned to relevant staff.

Business Rules

  • Payment Rule defaults into transactions. When a sales order or invoice is created, iDempiere automatically copies the Payment Rule from the Business Partner record into the transaction.
  • One Payment Rule per Business Partner. Each Business Partner record carries a single active Payment Rule that applies to all transactions linked to that partner.
  • Changing the rule is prospective only. Updating the Payment Rule on a Business Partner does not alter existing open invoices; it affects only new transactions created after the change.
  • Cash and Cheque rules require immediate payment. Business Partners with Cash or Cheque rules are expected to settle at the time of transaction, triggering immediate payment allocation workflows.
  • Credit and Bank Transfer rules allow deferred payment. On-Account Credit and Direct Deposit rules enable net-term billing, allowing invoices to remain open until the payment due date.
  • Credit Card rules trigger payment gateway integration. When Credit Card is selected, iDempiere can invoke configured payment processor settings to capture card details during checkout.
  • Active Business Partner records are available for transactions. Inactive Business Partners cannot be selected on new orders or invoices regardless of their Payment Rule setting.

Navigation

Menu → Partner Relations → Business Partner Rules → Business Partner

The window displays all existing Business Partner records.

Use the search bar at the top to locate a specific customer or vendor by name, search key, or tax ID.

TenthPlanet-iDempiere-Masters-BusinessPartner(PaymentRule)-1

Step-by-Step Configuration

Step 1: Open the Business Partner Window

The window lists all existing Business Partner records — customers, vendors, and employees.

Each row shows the Search Key, Name, Tax ID, and active status. Use the Filter button or the search bar to locate the record you need to update.

TenthPlanet-iDempiere-Masters-BusinessPartner(PaymentRule)-2

Step 2: Open or Create a Business Partner Record

To edit an existing partner, click the row to open the detail form. To create a new Business Partner, click the New Record icon (+) in the toolbar. A blank form opens with mandatory fields highlighted. Complete the header fields before configuring the Payment Rule. The table below lists the key fields in the Business Partner header tab.

TenthPlanet-iDempiere-Masters-BusinessPartner(PaymentRule)-3

Step 3: Navigate to the Payment Rule Field

The Payment Rule field is located on the Customer tab within the Business Partner form. Click the Customer tab after filling in the header fields.

The Customer tab contains billing, and payment configuration fields that control how iDempiere handles sales transactions for this partner.

TenthPlanet-iDempiere-Masters-BusinessPartner(PaymentRule)-4

Step 4: Set the Payment Rule

Locate the Payment Rule drop-down on the Customer tab. Click the field to open the list of available payment options. Select the appropriate rule based on how this Business Partner settles invoices.

Payment Rule Options

Payment Rule ValueiDempiere CodeUse Case in Retail
CashBWalk-in customers paying at the counter with cash.
ChequeSBusiness accounts submitting physical cheques.
Credit CardKCustomers paying by debit or credit card at POS.
Direct DepositTVendors and corporate accounts paying by bank transfer.
On CreditPCorporate or loyalty customers with approved credit limits.
Mixed POS PaymentMSystem determines payment handling based on configuration

Field Reference — Payment Configuration Fields

FieldSample ValueDescription
Payment RuleOn CreditDefault payment method applied to all transactions for this partner.
Payment TermNet 30Defines the payment due date relative to invoice date.
Credit Limit50000.00Maximum outstanding balance allowed for on-credit customers.
Credit Used(auto)System-calculated field showing total open invoice balance.
Credit StatusCredit OKAutomatic status based on Credit Used vs Credit Limit.
DunningStandardDunning rule applied to overdue invoices for this partner.

Step 5: Configure the Vendor Payment Rule

If the Business Partner is also a vendor, click the Vendor tab. A separate Payment Rule field is available here. This controls how purchase invoices and vendor payments are processed — independently of the customer payment setting.

Sample Vendor Payment Rule Configuration

NameCustomer Payment RuleVendor Payment RuleOrganizationActive
Metro SupermartOn Credit*Yes
Fresh Farms SupplierDirect Deposit*Yes
Walk-In CustomerCashHQ StoreYes
Corporate AccountOn Credit*Yes
City Stationery Co.Credit CardCheque*Yes

Step 6: Save the Business Partner Record

Click the Save icon (disk icon in the toolbar) or Alt + S to save the record. iDempiere validates all mandatory fields before saving.

Once saved, the Payment Rule is immediately active. The next sales order or purchase order created for this Business Partner will automatically carry the configured payment method.

Step 7: Activate or Deactivate a Business Partner

The Active checkbox on the Business Partner header controls availability across all of iDempiere. Unchecking Active immediately removes the partner from all transaction lookups — no orders, invoices, or payments can reference an inactive Business Partner.

Use deactivation instead of deletion to preserve transaction history. Deleted records break the audit trail of historical invoices and payments.

  • Active = Yes: Business Partner is available for orders, invoices, payments, and reports.
  • Active = No: Business Partner is hidden from transaction windows but all historical data is retained.

Configuration Summary

Configuration ItemPurpose
Business Partner HeaderDefines the partner identity — name, tax ID, organization.
Customer FlagEnables the Customer tab where Payment Rule is set.
Payment Rule (Customer)Sets the default payment method for all sales transactions.
Payment TermDefines invoice due date and discount terms.
Credit LimitControls maximum outstanding balance for on-credit accounts.
Vendor FlagEnables the Vendor tab for purchase-side payment configuration.
Payment Rule (Vendor)Sets the default payment method for all purchase transactions.
Active FlagControls whether the Business Partner is available for use.

Business Flow Overview

Business Partner — Payment Rule Configured

Sales Order Created → Payment Rule Auto-Populated

AR Invoice Generated → Payment Rule Carried Forward

Payment Allocation → Method Matches Rule

Accounting Entry Posted → AR / Cash / Bank Updated

Common Issues and Resolutions

IssueCauseResolution
Payment Rule not visible on Customer tabCustomer checkbox is unchecked on header tab.Enable the Customer flag on the Business Partner header, then save.
Wrong payment method defaults on sales orderPayment Rule on Business Partner is set incorrectly.Update the Payment Rule on the Customer tab and save. Re-create the order.
On Credit rule allows unlimited purchasesCredit Limit field is set to 0 (unlimited).Enter an appropriate Credit Limit value on the Customer tab.
Business Partner not appearing in order lookupActive checkbox is unchecked.Reactivate the Business Partner if it is still in use.
Payment Term not respecting Payment RulePayment Term and Payment Rule are independent fields.Ensure both Payment Rule and Payment Term are set correctly on the partner.
Vendor invoices using wrong payment methodVendor Payment Rule was not set on the Vendor tab.Navigate to the Vendor tab and set the correct Payment Rule.

Next Steps

After configuring the Payment Rule in the iDempiere Business Partner window, proceed with:

  • Configure Payment Terms to define invoice due dates and early payment discounts.
  • Set up Bank Accounts and link them to the Business Partner for Direct Deposit transactions.
  • Configure Payment Processors for Credit Card integration at point-of-sale.
  • Define Dunning rules to automate overdue payment reminders for On Credit customers.
  • Review the Customer Account report to validate that Payment Rules are applied correctly across all active Business Partners.

Leave a Reply

Your email address will not be published. Required fields are marked *