Create Accounts
POST
/api/v2/accounts
Use this method to create accounts. See our HTTP POST documentation for complete queries method.
The following are elements for create accounts :
Body Request
Element | Description |
---|---|
code | Account code String. |
name | Account name String. |
alias_name | Account aliase name String. |
is_cash | Boolean true if cash false if not cash. |
Is_active | Boolean true if cash false if not cash. |
currency* | Element for Currency Required. |
currency.id | Currency id String. |
currency.code | Currency code String. |
subclassification* | Element for Subclassification Required. |
subclassification.id | Subclassification id String. |
subclassification.code | Subclassification code String. |
subclassification.name | Subclassification name String. |
subclassification.alias_name | Subclassification alias name String. |
classification* | Element for Classification. |
classification.id | Classification id String. |
classification.code | Classification code String. |
classification.name | Classification name String. |
classification.alias_name | Classification alias name String. |
Body Response
Element | Description |
---|---|
id | Account id String. |
code | Account code String. |
name | Account name String. |
alias_name | Account alias name String. |
is_cash | Boolean true if cash false if not cash. |
Is_active | Boolean true if cash false if not cash. |
currency* | Element for Currency. |
currency.id | Currency id String. |
currency.code | Currency code String. |
currency.name | Currency name String. |
currency.symbol | Currency symbol String. |
subclassification* | Element for Subclassification. |
subclassification.id | Subclassification id String. |
subclassification.code | Subclassification code String. |
subclassification.name | Subclassification name String. |
subclassification.alias_name | Subclassification alias name String. |
classification* | Element for Classification. |
classification.id | Classification id String. |
classification.code | Classification code String. |
classification.name | Classification name String. |
classification.alias_name | Classification alias name String. |
created* | Created. |
created.user* | created User. |
created.user.id | Unique code for identifier user. String 36 characters . |
created.user.name | String maximum 15 characters . |
created.user.email | Boolean true Automaticaly. |
created.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
other_fields* | Element of other fields. |
other_fields.id | other_fields id String. |
other_fields.key | other_fields key String. |
other_fields.type | other_fields data type Ex: string or integer or number |
other_fields.value | value of other_fields String. |
created* | Element for Created Automatically . |
created.user* | Created User. |
created.user.id | User id String Automaticaly. |
created.user.name | User name String. |
created.user.email | User email String. |
created.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |
update* | Element for Update Automatically . |
update.user* | Update user. |
update.user.id | User id String Automaticaly. |
update.user.name | User name String. |
update.user.email | User email String. |
update.time | Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format) . Automaticaly. |