Skip to content

Account Transaction Create

Sean Callan edited this page Jun 9, 2020 · 2 revisions

Beans_Account_Transaction_Create

Create a new transaction in the journal.


Parameters

  • auth_uid (required) INTEGER - The ID for your API key.

  • auth_key (required) STRING - The API key.

  • auth_expiration (required) INTEGER - Unique ID tied to your key; changes if you reset your key.

  • account_transactions (required) - An array of objects describing individual splits within the transaction.

    • account_id (required) - The ID of the Beans_Account.

    • amount (required) - The credit (+) or debit (-) to the account.

  • account_id (required) - The ID of the Beans_Account.

  • amount (required) - The credit (+) or debit (-) to the account.

  • date (required) - The date for the transaction.

  • code (optional) - A code to assign to the transaction for easy lookup.

  • description (optional) - A short string describing the transaction.

  • reference (optional) - The check ( or reference ) number tied to a transaction.


Returns

  • transaction - The resulting Beans_Transaction.
Clone this wiki locally