Create Collective Account RESTful API

API Details

To work with Ledger Accounts, you must first create a Collective Account of type LEDGER. This account acts as a required parent for all Ledger Accounts.

Note that:

  • Ledger Accounts are child accounts grouped under a Ledger Collective Account, enabling organised and scalable account management.
  • When creating a Ledger Account you must include the collectiveAccountId of a parent LEDGER Collective Account in the request path.
  • Attempting to use a non-LEDGER type (e.g., CUSTOMER or OFFICE) will result in an error.
  • A LEDGER Collective Account provides a summary of its child accounts:
    • Aggregated balances
    • Combined intraday transactions
  • The total balance of a Ledger Collective Account is calculated by summing the balances and intraday activity of all its child Ledger Accounts.