How GL Distribution Works in iDempiere
GL Distribution is an accounting allocation mechanism in iDempiere that automatically splits a single accounting posting into multiple postings based on predefined rules and percentages.
Its primary role is to replace a posting to one account combination with multiple postings to different account combinations whenever specific matching criteria are met.
What GL Distribution Represents
GL distribution represents a rule-based accounting reallocation engine.
It ensures that when a transaction is posted to a particular account combination:
- The posting can be redirected to multiple target accounts
- The amounts are distributed proportionally
Without GL distribution, allocations must be handled manually through journal entries, increasing the risk of errors and inconsistencies.
Matching Accounting Postings to Distribution Rules
The first responsibility of GL distribution is to determine whether a posting qualifies for distribution. When a journal entry or accounting fact is generated, iDempiere evaluates the account combination used in that posting. This includes:
- Account
- Organization
- Product
- Project
- Business Partner
- Campaign
- Activity
- Location
If the posting matches the criteria defined in a GL distribution header, the distribution logic is triggered. If no matching distribution exists, the system posts the accounting entry normally without any redistribution.
Defining the Distribution Header
The GL distribution header defines when the distribution applies and what scope it covers.

At the header level, you define:
- The accounting schema under which the rule applies
- The posting type (for example, actual or budget)
- The effective date range
- The matching criteria for accounting dimensions
- Whether the distribution is valid and active
The header acts as the rule selector.
Only postings that match the header criteria will be processed by the distribution lines.