API Documentation

Beans_Account_Create

Create a new account.


Parameters

auth_uid INTEGER The ID for your API key.
auth_key STRING The API key.
auth_expiration INTEGER Unique ID tied to your key; changes if you reset your key.
account_type_id The Beans_Account_Type of this account.
parent_account_id The Beans_Account that is a direct parent of this one in the Chart of Accounts.
name The plain-text name to assign to this account.
code A hash or word to represent the account by.
writeoff A boolean representing whether or not this account can record writeoffs.
terms The terms ( in days ) to assign to invoices tied to this account.

Returns

account The Beans_Account that was created.