Categories

Categories are a means of grouping together several accounts of the same type. This is useful for further subividing the financial reports beyond the classifications defined by IFRS.

Attributes

  • name: The name of the category
  • category_type: The category type must be one of the account types defined in Account. (See Accounts).
  • entity_id: The Id of the entity associated with the category. Defaults to the id of entity of the logged in user.

Relations

  • $category->entity: The entity associated with the category.
  • $category->accounts: Accounts belonging to the category.

Methods

  • $category->attributes(): Presents the category’s attributes as an object. Useful for debugging.