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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List invoice items

> List Stripe invoice items with filters and pagination.

Use `stripe.listInvoiceItems` to inspect pending customer charges or the line items feeding a draft invoice.

```ts automations/stripe-list-invoice-items.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { stripe } from "automate.ax/stripe"

export default automation("List invoice items", () => {
  onDashboardRun({ title: "List invoice items" })
  stripe.listInvoiceItems({ customer: "cus_123", pending: true, limit: 25 })
})
```

## Inputs

Filter by customer, invoice, pending state, or creation time. `limit` accepts 1–100; use Stripe cursor fields for another page.

## Output

Returns Stripe's paginated invoice-item list. Stripe decimal fields such as `quantityDecimal` are lossless strings.
