---
title: "List tracked line items for an invoice"
method: GET
path: "/invoices/{invoice_id}/tracked_line_items"
tags: ["Invoices"]
---

# List tracked line items for an invoice

`GET /invoices/{invoice_id}/tracked_line_items`

## Request

- Base URL: `https://api.streamtime.net/v2`
- URL: `https://api.streamtime.net/v2/invoices/{invoice_id}/tracked_line_items`
- Auth: HTTP bearer

Returns related tracked line items grouped by type.

## Path parameters

- `invoice_id` integer, required

## Response `200`

Tracked line items fetched.

- object
  - `quoteLineItemInvoiceLineItems` QuoteLineItemInvoiceLineItem[]
    - `id` integer: The ID of the tracked line item
    - `totalAmountExTax` number, float, nullable: How much of the source has been invoiced by this invoice line item
    - `invoiceLineItemId` integer: The ID of the invoice line item where the source has been invoiced
    - `quoteLineItemId` integer: The ID of the quote line item this relates to
  - `jobItemInvoiceLineItems` JobItemInvoiceLineItem[]
    - `id` integer: The ID of the tracked line item
    - `totalAmountExTax` number, float, nullable: How much of the source has been invoiced by this invoice line item
    - `invoiceLineItemId` integer: The ID of the invoice line item where the source has been invoiced
    - `jobItemId` integer: ID of the Job Item this invoice line item is linked to
  - `loggedExpenseInvoiceLineItems` LoggedExpenseInvoiceLineItem[]
    - `id` integer: The ID of the tracked line item
    - `totalAmountExTax` number, float, nullable: How much of the source has been invoiced by this invoice line item
    - `invoiceLineItemId` integer: The ID of the invoice line item where the source has been invoiced
    - `loggedExpenseId` integer: The ID of the Expense this line item relates to

---

[API](https://skmtc.dev/streamtime/apis/public-api.md) · [All operations](https://skmtc.dev/streamtime/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/streamtime/apis/public-api/revisions/cda8d1405534?raw)
