---
title: "Get all line items of a receipt"
method: GET
path: "/receipts/{receipt_id}/line_items"
tags: ["Receipts"]
---

# Get all line items of a receipt

`GET /receipts/{receipt_id}/line_items`

## Request

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

## Path parameters

- `receipt_id` string, required

## Query parameters

- `order` 'asc' | 'desc'
- `limit` integer
- `pagination_token` string
- `sort` 'created_at' | 'updated_at'
- `created_at__gt` string, date-time
- `created_at__lt` string, date-time
- `created_at__gte` string, date-time
- `created_at__lte` string, date-time
- `name` string
- `name__iexact` string
- `name__contains` string
- `name__icontains` string
- `total__gt` integer
- `total__lt` integer
- `total__gte` integer
- `total__lte` integer
- `created_by_user_id` string, uuid

## Headers

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

## Response `200`

Successful Response

- ReceiptLineItemsPaginationResponse
  - `data` ReceiptLineItemResponseSchema[], required
    - `id` string, uuid, required: Unique line item ID.
    - `created_at` string, date-time, required: Created at.
    - `updated_at` string, date-time, required: Updated at.
    - `accounting_tax_rate_id` string, uuid: Accounting tax rate ID.
    - `cost_center_id` string, uuid: Cost center ID.
    - `created_by_entity_user_id` string, uuid: Created by user.
    - `ledger_account_id` string, uuid: Ledger account ID.
    - `name` string: Line item name.
    - `receipt_id` string, uuid, required: Receipt ID.
    - `total` integer: Total.
  - `next_pagination_token` string: Next page token.
  - `prev_pagination_token` string: Previous page token.

## Other responses

- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `403`: The specified access token does not have permissions to perform this operation.
- `404`: Not found
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

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