# List contract lines for a charge number

**Purpose**
Returns the lines of a revenue contract that came from one Zuora Billing rate plan charge.
**When to use**
- Trace a subscription charge from Zuora Billing to its revenue lines.
- Find the lines to target with a charge-level hold or charge-level link and delink.

**Behavior notes**
The path `chargeNumber` always wins over a `chargeNumber` query parameter. The charge-number filter counts toward the limit of 5 filters, so you can add at most 4 more. No match returns HTTP 200 with an empty `data` array.
**Filtering**
Every query parameter other than `page`, `size`, and `sort` is treated as a filter.
- `field=value` matches records where the field equals the value.
- `field[op]=value` applies an operator. URL-encode the brackets as `%5B` and `%5D`, for example
`id%5Bgt%5D=1000`. Operators: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `like` (supply `%` wildcards yourself).
- All filters are combined with AND. At most 5 filters are allowed per request.
- Blank filter values are ignored.
- An unknown field or operator returns HTTP 400.

Endpoint: GET /contracts/{rcId}/lines/charge-number/{chargeNumber}
Version: 2026-11-02
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `rcId` (integer, required)
    Revenue contract ID.

  - `chargeNumber` (string, required)
    Zuora Billing rate plan charge number.

## Query parameters:

  - `page` (integer)
    Page number, starting at 1. `0` and an omitted value both return the first page.

  - `size` (integer)
    Records per page. Default 20, maximum 100.

  - `sort` (string)
    Sort order as `field,direction`. Separate several sort fields with `;` (for example `id,desc;rcId,asc`). Direction is `asc` or `desc`; any other value sorts ascending. Sortable fields: `id`, `rcId`, `rcPobId`, `batchId`, `chargeNumber`. When `sort` is omitted the order is not guaranteed, so always sort when paging through results.

  - `id` (integer)
    Filter by revenue contract line ID.

  - `rcPobId` (integer)
    Filter by performance obligation (POB) ID.

  - `batchId` (integer)
    Filter by the data-collection batch that created the line.

## Header parameters:

  - `X-REV-BOOK-ID` (integer)
    Revenue book to work in. Defaults to `1` (the primary book). Ignored by the revenue hold definition endpoints, because hold definitions are shared across books.

  - `Zuora-Request-Id` (string)
    Optional correlation ID, echoed in the `traceId` response header.

## Response 200:

  - `200` (unknown)
    A page of records. An empty `data` array means no record matched.

## Response 200 fields (application/json):

  - `data` (array, required)

  - `data.id` (integer, required)
    Revenue contract line ID.

  - `data.rcId` (integer, required)
    Revenue contract the line belongs to.

  - `data.indicators` (object)
    Status flags of the record. Each key is a flag name in camelCase and each value is a single-character code, usually `Y` or `N`. The set of keys depends on the record type and the Zuora Revenue release.
    Example: {"allocationEligible":"Y","multiCurrency":"N"}

  - `data.stringAttributes` (object)
    Custom text attributes `atr1` to `atr60`.

  - `data.stringAttributes.atr1` (string)

  - `data.stringAttributes.atr2` (string)

  - `data.stringAttributes.atr3` (string)

  - `data.stringAttributes.atr4` (string)

  - `data.stringAttributes.atr5` (string)

  - `data.stringAttributes.atr6` (string)

  - `data.stringAttributes.atr7` (string)

  - `data.stringAttributes.atr8` (string)

  - `data.stringAttributes.atr9` (string)

  - `data.stringAttributes.atr10` (string)

  - `data.stringAttributes.atr11` (string)

  - `data.stringAttributes.atr12` (string)

  - `data.stringAttributes.atr13` (string)

  - `data.stringAttributes.atr14` (string)

  - `data.stringAttributes.atr15` (string)

  - `data.stringAttributes.atr16` (string)

  - `data.stringAttributes.atr17` (string)

  - `data.stringAttributes.atr18` (string)

  - `data.stringAttributes.atr19` (string)

  - `data.stringAttributes.atr20` (string)

  - `data.stringAttributes.atr21` (string)

  - `data.stringAttributes.atr22` (string)

  - `data.stringAttributes.atr23` (string)

  - `data.stringAttributes.atr24` (string)

  - `data.stringAttributes.atr25` (string)

  - `data.stringAttributes.atr26` (string)

  - `data.stringAttributes.atr27` (string)

  - `data.stringAttributes.atr28` (string)

  - `data.stringAttributes.atr29` (string)

  - `data.stringAttributes.atr30` (string)

  - `data.stringAttributes.atr31` (string)

  - `data.stringAttributes.atr32` (string)

  - `data.stringAttributes.atr33` (string)

  - `data.stringAttributes.atr34` (string)

  - `data.stringAttributes.atr35` (string)

  - `data.stringAttributes.atr36` (string)

  - `data.stringAttributes.atr37` (string)

  - `data.stringAttributes.atr38` (string)

  - `data.stringAttributes.atr39` (string)

  - `data.stringAttributes.atr40` (string)

  - `data.stringAttributes.atr41` (string)

  - `data.stringAttributes.atr42` (string)

  - `data.stringAttributes.atr43` (string)

  - `data.stringAttributes.atr44` (string)

  - `data.stringAttributes.atr45` (string)

  - `data.stringAttributes.atr46` (string)

  - `data.stringAttributes.atr47` (string)

  - `data.stringAttributes.atr48` (string)

  - `data.stringAttributes.atr49` (string)

  - `data.stringAttributes.atr50` (string)

  - `data.stringAttributes.atr51` (string)

  - `data.stringAttributes.atr52` (string)

  - `data.stringAttributes.atr53` (string)

  - `data.stringAttributes.atr54` (string)

  - `data.stringAttributes.atr55` (string)

  - `data.stringAttributes.atr56` (string)

  - `data.stringAttributes.atr57` (string)

  - `data.stringAttributes.atr58` (string)

  - `data.stringAttributes.atr59` (string)

  - `data.stringAttributes.atr60` (string)

  - `data.numberAttributes` (object)
    Custom number attributes `num1` to `num15`.

  - `data.numberAttributes.num1` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num2` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num3` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num4` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num5` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num6` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num7` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num8` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num9` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num10` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num11` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num12` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num13` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num14` (string)
    Decimal value serialized as a string.

  - `data.numberAttributes.num15` (string)
    Decimal value serialized as a string.

  - `data.dateAttributes` (object)
    Custom date attributes `date1` to `date5` (`yyyy-MM-dd`).

  - `data.dateAttributes.date1` (string)

  - `data.dateAttributes.date2` (string)

  - `data.dateAttributes.date3` (string)

  - `data.dateAttributes.date4` (string)

  - `data.dateAttributes.date5` (string)

  - `data.rcLineOtrAttributes` (object)
    Other line attributes.

  - `data.rcLineOtrAttributes.rpcNum` (string)
    Zuora Billing rate plan charge number of the line.

  - `page` (object, required)
    Pagination details for a list response.

  - `page.number` (integer, required)
    Current page number (1-based).

  - `page.size` (integer, required)
    Page size applied.

  - `page.totalElements` (integer, required)
    Total records matching the filters across all pages.

  - `page.totalPages` (integer, required)
    Total number of pages. `0` when no record matches.

  - `page.first` (boolean, required)
    True when this is the first page.

  - `page.last` (boolean, required)
    True when this is the last page, or past the last page.

## Response 200 headers (application/json):

  - `traceId` (string)
    Correlation ID of the request. Quote it when you contact Zuora Global Support.

## Response 400:

  - `400` (unknown)
    The request is invalid. Correct the request and retry.

## Response 400 fields (application/json):

  - `error` (string, required)
    Human-readable error message.

## Response 500:

  - `500` (unknown)
    Unexpected failure inside Zuora Revenue, such as a database error or a non-numeric value supplied for a numeric filter. Retry later; contact Zuora Global Support if it persists.

## Response 500 fields (application/json):

  - `error` (string, required)
    Human-readable error message.

## Response 200 examples:

  - `Lines for the charge` (unknown)

  - `No line for the charge` (unknown)

## Response 400 examples:

  - `Unsupported filter field` (unknown)

  - `Page size above 100` (unknown)

  - `Page size zero or negative` (unknown)

  - `Negative page number` (unknown)

  - `Non-numeric page` (unknown)

  - `More than five filters` (unknown)

  - `Unsupported filter operator` (unknown)

## Response 500 examples:

  - `Internal server error` (unknown)

