> ## Documentation Index
> Fetch the complete documentation index at: https://integrations.docs.commenda.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Line items across invoices, bills, orders, and other parent records.

Line items are individual rows on parent documents (invoices, bills, purchase orders, etc.). Query them directly with `parent_id` and `parent_type` filters.

## Attributes

### Line Item Attributes

| Property                  | Type    | Description |
| ------------------------- | ------- | ----------- |
| `rootfi_id`               | integer |             |
| `rootfi_created_at`       | string  |             |
| `rootfi_updated_at`       | string  |             |
| `rootfi_integration_type` | enum    |             |
| `platform_id`             | string  |             |
| `parent_id`               | string  |             |
| `parent_type`             | enum    |             |
| `item_id`                 | string  |             |
| `name`                    | string  |             |
| `description`             | string  |             |
| `quantity`                | double  |             |
| `unit_amount`             | double  |             |
| `tax_amount`              | double  |             |
| `discount_amount`         | double  |             |
| `sub_total`               | double  |             |
| `total_amount`            | double  |             |
| `tax_id`                  | string  |             |
| `account_id`              | string  |             |
| `variant_id`              | string  |             |
| `tracking_category_ids`   | array   |             |
| `created_at`              | string  |             |
| `updated_at`              | string  |             |

## Expandable Attributes

Use the `expand` query parameter to include related objects:

* `expand=item` — includes the related Item object(s).
* `expand=tax` — includes the related Tax object(s).
* `expand=account` — includes the related Account object(s).
* `expand=variant` — includes the related Variant object(s).
