GET
/
v2
/
billable-item
curl --request GET \
  --url https://api.sonderplan.com/v2/billable-item \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 92834,
      "name": "Aspera Upload",
      "description": "Upload to Aspera (per TB)",
      "unit_name": "Terabyte",
      "buy_cost": "10.00",
      "sell_cost": "20.00",
      "taxes": [
        {
          "id": 3247,
          "name": "GST",
          "rate": "10.00",
          "total": "151.00"
        }
      ],
      "custom_fields": [
        {
          "id": 7823,
          "name": "Type",
          "value": "Video Editing",
          "value_id": 8973,
          "update_key": "2_1_7823"
        }
      ],
      "currency": "AUD",
      "created_id": 3,
      "created": 1388552400,
      "updated_id": 3,
      "updated": 1388552400
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 1,
      "current_page": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string

One or more (comma seperated) IDs of billable items to retrieve

name
string

Perform a partial match text search for the billable item name

taxes[id]
string

Return billable items based on a tax id attribute

taxes[name]
string

Return billable items based on a tax name attribute

fields
string

Comma seperated list of fields you wish to return

page
integer

Specify the page of results you wish to return

limit
integer

The number of results returned per page. Default if not specified is 10

order_asc
string

Specify the field (with type of string or integer) you wish to order (ascending) the response with

order_desc
string

Specify the field (with type of string or integer) you wish to order (descending) the response with

filter_operator
enum<string>
default:OR

Specify if multiple filters should be combined with OR or AND logic

Available options:
OR,
AND

Response

200
application/json
Successful Operation
data
object[]

Standard billable item model

meta
object