Gets accounts list, both asset and expense accounts

Supported Formats

json

Examples

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