Rentals Taxes

  1. List rentals taxes
  2. Get a single rentals tax

Parameters

Name Type Read/Write Description
id Integer Read Rentals Tax’s id.
tax_included_in_rate Boolean Read Tax amount already included in rental price if set to true.
created_at Time Read Rentals Tax’s create time.
updated_at Time Read Rentals Tax’s update time.

List rentals taxes

List all rentals taxes for a given account(s).

GET /rentals_taxes

Response

{
  "links": {
    "rentals_taxes.rental": "https://www.bookingsync.com/api/v3/rentals/{rentals_taxes.rental}",
    "rentals_taxes.tax": "https://www.bookingsync.com/api/v3/taxes/{rentals_taxes.tax}"
  },
  "rentals_taxes": [
    {
      "id": 3,
      "tax_included_in_rate": true,
      "created_at": "2015-08-05T15:15:47Z",
      "updated_at": "2015-08-05T15:15:47Z",
      "links": {
        "rental": 2,
        "tax": 1
      }
    }
  ]
}

Get a single rentals tax

Returns a single rentals tax identified by ID.

GET /rentals_taxes/:rentals_tax_id

Response

{
  "links": {
    "rentals_taxes.rental": "https://www.bookingsync.com/api/v3/rentals/{rentals_taxes.rental}",
    "rentals_taxes.tax": "https://www.bookingsync.com/api/v3/taxes/{rentals_taxes.tax}"
  },
  "rentals_taxes": [
    {
      "id": 3,
      "tax_included_in_rate": true,
      "created_at": "2015-08-05T15:15:47Z",
      "updated_at": "2015-08-05T15:15:47Z",
      "links": {
        "rental": 2,
        "tax": 1
      }
    }
  ]
}