Skip to main content

Create Transaction Templates

This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing.

Process

Deposit Transaction Template

  • Identification and Description: The template is uniquely identified by a txTemplateId and a descriptive code. The description explains that this template is for an ACH credit into a customer's account.

  • Parameters: Parameters like the account ID (account), transaction amount (amount), and effective date (effective) are defined, which are necessary inputs for executing a deposit transaction.

  • Transaction and Entries Definition: The transaction input specifies which journal to log this transaction under and when it becomes effective. Entries detail the movement of funds, specifying which account to debit and which to credit, in what amount, and under what transaction conditions, e.g., currency and transaction type (entryType).

Withdrawal Transaction Template

  • Identification and Description: Similarly, this template has its unique identifier and code, and is described for use in ACH debits from a customer's account.

  • Parameters: It uses the same types of parameters as the deposit template, allowing for consistency across templates.

  • Transaction and Entries Definition: This template defines how funds will be withdrawn, including debiting the customer's account and crediting an asset account, with specifics on the transaction type and conditions.

GraphQL Request Body


Variables

  • depositTemplateId: A unique identifier for the deposit transaction template. This ensures that the template is uniquely recognized within the system.
  • depositTemplateCode: A code that describes the deposit transaction template. This provides an easy reference for users.
  • withdrawalTemplateId: A unique identifier for the withdrawal transaction template. This ensures that the template is uniquely recognized within the system.
  • withdrawalTemplateCode: A code that describes the withdrawal transaction template. This provides an easy reference for users.
  • journalId: The identifier for the journal where the transactions will be logged. This links the transaction to the correct financial journal.
  • assetAccountId: The identifier for the asset account involved in the transactions. This specifies which account will be debited or credited during the transaction.
{}

Response

Upon successful submission of the GraphQL mutations, the system creates these templates and returns their IDs in the response. This confirms that the templates are ready for use in future transactions.

{}

Significance

Creating transaction templates standardizes the execution of frequent transaction types, reducing errors and the time needed for transaction entry. This systematization is crucial for large organizations or financial institutions where transactions occur regularly and need to adhere to strict regulatory and internal standards. The use of GraphQL allows for clear, customizable, and direct communication with the database, facilitating dynamic interaction with the financial data.