Skip to main content
GET
/
billing
/
items
/
{id}
curl --request GET \
  --url "https://v1-api.ticket-plus.app/billing/items/1024" \
  --header "Authorization: Basic <base64(clientId:clientSecret)>"
import requests, base64

credentials = base64.b64encode(b"<clientId>:<clientSecret>").decode()

res = requests.get(
    "https://v1-api.ticket-plus.app/billing/items/1024",
    headers={"Authorization": f"Basic {credentials}"},
)
print(res.json())
const credentials = Buffer.from("<clientId>:<clientSecret>").toString("base64");

const res = await fetch("https://v1-api.ticket-plus.app/billing/items/1024", {
  headers: { Authorization: `Basic ${credentials}` },
});
console.log(await res.json());
{
  "data": {
    "id": 1024,
    "billing": {
      "period": "2024-05-01",
      "total": { "label": "€29.00", "value": 2900 },
      "tax": { "label": "€5.51", "value": 551 },
      "overall": { "label": "€34.51", "value": 3451 }
    },
    "charge": {
      "type": "ticket-charge",
      "employee": {
        "profile": {
          "id": 42,
          "firstName": "Anna",
          "lastName": "Müller",
          "email": "[email protected]",
          "hrId": "emp_HR_001"
        },
        "exists": true
      },
      "plan": {
        "type": "split-pay-plan",
        "companyAmount": { "label": "€20.00", "value": 2000 },
        "employeeAmount": { "label": "€9.00", "value": 900 }
      }
    },
    "billedAt": "2024-05-01T00:00:00Z",
    "resource": "billing-item",
    "_links": {
      "self": { "href": "https://v1-api.ticket-plus.app/billing/items/1024", "type": "application/json" },
      "employee": { "href": "https://v1-api.ticket-plus.app/employees/42", "type": "application/json" }
    }
  }
}
Returns the complete record for one billing item — its billing period, the charge it represents, the employee it applies to (for per-employee charges), and the net, tax, and gross amounts.
This endpoint requires the view-billing permission. See Authorization.
curl --request GET \
  --url "https://v1-api.ticket-plus.app/billing/items/1024" \
  --header "Authorization: Basic <base64(clientId:clientSecret)>"
import requests, base64

credentials = base64.b64encode(b"<clientId>:<clientSecret>").decode()

res = requests.get(
    "https://v1-api.ticket-plus.app/billing/items/1024",
    headers={"Authorization": f"Basic {credentials}"},
)
print(res.json())
const credentials = Buffer.from("<clientId>:<clientSecret>").toString("base64");

const res = await fetch("https://v1-api.ticket-plus.app/billing/items/1024", {
  headers: { Authorization: `Basic ${credentials}` },
});
console.log(await res.json());
{
  "data": {
    "id": 1024,
    "billing": {
      "period": "2024-05-01",
      "total": { "label": "€29.00", "value": 2900 },
      "tax": { "label": "€5.51", "value": 551 },
      "overall": { "label": "€34.51", "value": 3451 }
    },
    "charge": {
      "type": "ticket-charge",
      "employee": {
        "profile": {
          "id": 42,
          "firstName": "Anna",
          "lastName": "Müller",
          "email": "[email protected]",
          "hrId": "emp_HR_001"
        },
        "exists": true
      },
      "plan": {
        "type": "split-pay-plan",
        "companyAmount": { "label": "€20.00", "value": 2000 },
        "employeeAmount": { "label": "€9.00", "value": 900 }
      }
    },
    "billedAt": "2024-05-01T00:00:00Z",
    "resource": "billing-item",
    "_links": {
      "self": { "href": "https://v1-api.ticket-plus.app/billing/items/1024", "type": "application/json" },
      "employee": { "href": "https://v1-api.ticket-plus.app/employees/42", "type": "application/json" }
    }
  }
}

Path Parameters

id
integer
required
The unique numeric ID of the billing item to retrieve.

Response

data
object
required

Authorizations

Authorization
string
header
required

HTTP Basic Auth using your API key credentials. Use the username and password issued from the Developer Portal. Encode them as Base64(username:password) and pass in the Authorization: Basic <token> header.

Path Parameters

id
integer
required

The unique numeric ID of the billing item to retrieve.

Response

200 - application/json

The requested billing item.

data
object
required

A single charge on your company's invoice, tied to a billing period.