---
title: "Get the line items of a payable"
method: GET
path: "/payables/{payable_id}/line_items"
tags: ["Payable line items"]
---

# Get the line items of a payable

`GET /payables/{payable_id}/line_items`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/payables/{payable_id}/line_items`
- Auth: HTTP bearer

Get a list of all line items related to a specific payable.
Related guide: [List all payable line items](https://docs.monite.com/accounts-payable/payables/line-items#list-all-line-items-of-a-payable)

See also:

[Manage line items](https://docs.monite.com/accounts-payable/payables/line-items)

[Collect payables](https://docs.monite.com/accounts-payable/payables/collect)

## Path parameters

- `payable_id` string, required

## Query parameters

- `order` 'asc' | 'desc'
- `limit` integer
- `pagination_token` string
- `sort` 'created_at' | 'updated_at'
- `was_created_by_user_id` string, uuid

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Response `200`

Successful Response

- LineItemPaginationResponse
  - `data` LineItemResponse[], required
    - `id` string, uuid, required
    - `accounting_tax_rate_id` string, uuid: ID of the tax rate reference used for accounting integartion. May be used to override auto-picked tax rate reference in accounting platform in case of any platform-specific constraints.
    - `description` string: Description of the product.
    - `ledger_account_id` string, uuid: ID of the account record used to store bookkeeping entries for balance-sheet and income-statement transactions.
    - `name` string: Name of the product.
    - `ocr_set_quantity_to_one` boolean: Indicates whether the item's `unit_price` and `quantity` were adjusted by OCR.
    - `payable_id` string, uuid, required
    - `quantity` number, double: The quantity of each of the goods, materials, or services listed in the payable.
    - `subtotal` integer: The subtotal (excluding VAT), in [minor units](https://docs.monite.com/references/currencies#minor-units).
    - `tax` integer: VAT rate in percent [minor units](https://docs.monite.com/references/currencies#minor-units). Example: 12.5% is 1250.
    - `tax_amount` integer: Tax amount in [minor units](https://docs.monite.com/references/currencies#minor-units). For example, $12.50 is represented as 1250.
    - `total` integer: The actual price of the product.
    - `unit` string: The unit of the product
    - `unit_price` integer: The unit price of the product, in [minor units](https://docs.monite.com/references/currencies#minor-units). For example, $12.50 is represented as 1250.
    - `was_created_by_user_id` string, uuid: ID of the user who created the tag.
  - `next_pagination_token` string: A token that can be sent in the `pagination_token` query parameter to get the next page of results, or `null` if there is no next page (i.e. you've reached the last page).
  - `prev_pagination_token` string: A token that can be sent in the `pagination_token` query parameter to get the previous page of results, or `null` if there is no previous page (i.e. you've reached the first page).

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `406`: Not Acceptable
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/monite/apis/monite-3.md) - [All operations](https://skmtc.dev/monite/apis/monite-3/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-3/revisions/c13be6f83ce9?raw)
