Skip to main content

Posting Matrix

The Posting Matrix is the visual interface for configuring the Accounting Rules Engine. It allows users to define rules that automatically assign GL dimensions to financial transactions.

Visual Structure Overview

Core Concepts

Column

A Column represents a field from transaction data that can be used to define criteria. Each column has a type that determines what data it accesses.
Examples of Columns:
  • Sales Channel (e.g., shopify, amazon)
  • Transaction Type (e.g., sale, refund)
  • Amount
  • Currency
  • Line Item Type

Rule

A Rule is a horizontal row in the matrix. It defines a set of conditions (criteria) that, when ALL are satisfied, assigns a specific GL dimension to the transaction.
Rule Properties:
  • Order: Priority for rule evaluation (lower = higher priority)
  • Criteria: List of conditions (AND logic - all must match)
  • GL Dimension: Target account to assign when matched
  • Is Fallback: Special flag for catch-all rules

Criterion

A Criterion is the combination of an Operator and a Value applied to a specific column. It defines a single condition to check within a rule.

Operator

An Operator defines the comparison logic between the actual transaction data and the criterion value.

Value

A Value is the expected data to compare against when evaluating a criterion.

Complete Example

Here’s how all the concepts work together:

Relationship Diagram

Key Takeaways

For detailed technical implementation and code examples, see the Accounting Rules Engine documentation.