How Document Base Type Group Works in iDempiere
A Document Base Type Group in iDempiere is a configuration that groups multiple document base types for a shared business purpose, helping the system manage and control documents consistently across modules like accounting, inventory, and period control.
It lets implementers define sets of related document behaviors so that processes like period open/close, reporting, and filtering can act on a group of base types as a unit.
Each document base type group consists of:
- A group header that identifies the purpose of the grouping
- Lines that list each individual document base type included in the group
What the Header Defines
The document base type group header acts as a container with:
A unique identifier and name
This helps users and processes recognize the group.
A description/help text
Provides context about the purpose of the group.
Active status
Only active groups influence system logic.
The group itself does not perform processing it defines a logical set of document categories used by other system controls (e.g., period control).

What are the Group Lines Define
Each line in a document base type group specifies one document base type that belongs to that group.
A document base type is a three-letter code that represents the fundamental nature of a document, such as:
- AP Invoice (Accounts Payable)
- AR Invoice (Accounts Receivable)
- Material Receipt
- Material Shipment
By listing document base types as group lines, the system knows which base types logically belong together.

How iDempiere Uses Document Base Type Groups in Practice
When processes like period control management reference a document category, iDempiere will:
- Look up the document base type of the document
- Match it to the corresponding document base type group lines
- Apply period open/close rules, filtering, and constraints based on the group configuration
This ensures that all related document base types are treated consistently during period operations and business workflows.