Gets accounts list, both access and expense accounts

Supported Formats

json

Examples

[
  {
    "id": 3,
    "code": 123,
    "accountable_type": "AssetAccount",
    "name": "Another Asset Account",
    "url":"https://app.bezala.com/api/accounts/3",
    "assignee_ids":[2],
    "position": 1,
    "default_vat_id": null,
    "credit_cards": []
  },
  {
    "id": 66,
    "code": 7680,
    "accountable_type": "ExpenseAccount",
    "name": "Atk-laitteet (<3v. kalusto)",
    "url": "https://app.bezala.com/api/accounts/66",
    "assignee_ids": [3, 4, 5],
    "position": 25,
    "default_vat_id": 4
  }
]