---
name: invoiceitems-routes
description: Handle 5 OpenAPI operation(s) under /v1/invoiceitems for the invoiceitems route group.
---

# invoiceitems API Routes

Handle 5 OpenAPI operation(s) under /v1/invoiceitems for the invoiceitems route group.

Use the generated operation tools to make real API calls. Do not invent API responses.
If a tool reports missing setup, return the exact setup field name to the caller.
For write, update, or delete operations, state the intended action before calling the tool.

## Operations

### get_invoiceitems

- Operation ID: `get_invoiceitems`
- Route: `GET /v1/invoiceitems`
- Mode: READ
- Summary: List all invoice items
- Parameters:
  - `created` in `query`
  - `customer` in `query`
  - `customer_account` in `query`
  - `ending_before` in `query`
  - `expand` in `query`
  - `invoice` in `query`
  - `limit` in `query`
  - `pending` in `query`
  - `starting_after` in `query`
- Body: JSON request body accepted.

### post_invoiceitems

- Operation ID: `post_invoiceitems`
- Route: `POST /v1/invoiceitems`
- Mode: WRITE
- Summary: Create an invoice item
- Body: JSON request body accepted.

### delete_invoiceitems_invoiceitem

- Operation ID: `delete_invoiceitems_invoiceitem`
- Route: `DELETE /v1/invoiceitems/{invoiceitem}`
- Mode: WRITE
- Summary: Delete an invoice item
- Parameters:
  - `invoiceitem` in `path` required
- Body: JSON request body accepted.

### get_invoiceitems_invoiceitem

- Operation ID: `get_invoiceitems_invoiceitem`
- Route: `GET /v1/invoiceitems/{invoiceitem}`
- Mode: READ
- Summary: Retrieve an invoice item
- Parameters:
  - `expand` in `query`
  - `invoiceitem` in `path` required
- Body: JSON request body accepted.

### post_invoiceitems_invoiceitem

- Operation ID: `post_invoiceitems_invoiceitem`
- Route: `POST /v1/invoiceitems/{invoiceitem}`
- Mode: WRITE
- Summary: Update an invoice item
- Parameters:
  - `invoiceitem` in `path` required
- Body: JSON request body accepted.
