Account

Account represents the record in the system where the business record debits and credits as evidence of accounting transactions.

Type

General entity

Fields

Field name

Type

Writable

Required

Description

code

string

The account code. Must be unique.

name

string

The account name or title.

type

AccountTypes

The account type.

payment_account

boolean

The flag to indicate if this is a payment account used in payment features.

contra_account

boolean

The flag to indicate if this is a contra account.

system_account

boolean

The flag to indicate if this is a automatically generated system account*.

System accounts cannot be removed and can only be modified partially in the code and name fields.

Sample

{
"date_created": 1499383278865,
"date_updated": null,
"company_id": "a8ddc6fd-9f34-43c9-a3e2-ecac869cc5f1",
"code": "1001",
"name": "Accounts receivable",
"type": "ASSET",
"payment_account": false,
"contra_account": false,
"system_account": true,
"_id": "be611452-a1f1-4e9e-9688-4eff00c64d84",
"_links": {
"self": {
"href": "https://api.pymlo.com/v1/businesses/a8ddc6fd-9f34-43c9-a3e2-ecac869cc5f1/setting/accounts/be611452-a1f1-4e9e-9688-4eff00c64d84"
}
}
}