Toshl Developer

Category sums

Category sum endpoint can be used to retrieve a list of category expense and income sums and counts. Categories without expenses and incomes are not returned.

Resource representation

{
  "category": "42",
  "expenses": {
    "sum": 15.30,
    "count": 2
  },
  "modified": "2012-09-04T13:55:15Z"
}

Properties

category
readonly
string

Category id.

category_name
readonly
string

Category name.

category_type
readonly
string

Category type.

Possible values: expense, income, system
expenses
readonly
object

Category summary.

sum
readonly
number

Category expense sum

Minimum: >= 0
Maximum: < 1000000000000000
count
readonly
integer

Category expense count.

Minimum: >= 0
incomes
readonly
object

Category summary.

sum
readonly
number

Category income sum

Minimum: >= 0
Maximum: < 1000000000000000
count
readonly
integer

Category income count.

Minimum: >= 0
modified
readonly
string

Specifies when the sum was last modified.