# Retrieve a revenue contract line

**Purpose**
Returns one line of a revenue contract.
**When to use**
- Read the attributes of a specific line before or after you edit it.
- Verify that a line belongs to the contract you expect.

**Behavior notes**
A line that exists but belongs to a different contract returns HTTP 404.

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

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

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

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

## 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)
    The revenue contract line.

## Response 200 fields (application/json):

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

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

  - `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"}

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

  - `stringAttributes.atr1` (string)

  - `stringAttributes.atr2` (string)

  - `stringAttributes.atr3` (string)

  - `stringAttributes.atr4` (string)

  - `stringAttributes.atr5` (string)

  - `stringAttributes.atr6` (string)

  - `stringAttributes.atr7` (string)

  - `stringAttributes.atr8` (string)

  - `stringAttributes.atr9` (string)

  - `stringAttributes.atr10` (string)

  - `stringAttributes.atr11` (string)

  - `stringAttributes.atr12` (string)

  - `stringAttributes.atr13` (string)

  - `stringAttributes.atr14` (string)

  - `stringAttributes.atr15` (string)

  - `stringAttributes.atr16` (string)

  - `stringAttributes.atr17` (string)

  - `stringAttributes.atr18` (string)

  - `stringAttributes.atr19` (string)

  - `stringAttributes.atr20` (string)

  - `stringAttributes.atr21` (string)

  - `stringAttributes.atr22` (string)

  - `stringAttributes.atr23` (string)

  - `stringAttributes.atr24` (string)

  - `stringAttributes.atr25` (string)

  - `stringAttributes.atr26` (string)

  - `stringAttributes.atr27` (string)

  - `stringAttributes.atr28` (string)

  - `stringAttributes.atr29` (string)

  - `stringAttributes.atr30` (string)

  - `stringAttributes.atr31` (string)

  - `stringAttributes.atr32` (string)

  - `stringAttributes.atr33` (string)

  - `stringAttributes.atr34` (string)

  - `stringAttributes.atr35` (string)

  - `stringAttributes.atr36` (string)

  - `stringAttributes.atr37` (string)

  - `stringAttributes.atr38` (string)

  - `stringAttributes.atr39` (string)

  - `stringAttributes.atr40` (string)

  - `stringAttributes.atr41` (string)

  - `stringAttributes.atr42` (string)

  - `stringAttributes.atr43` (string)

  - `stringAttributes.atr44` (string)

  - `stringAttributes.atr45` (string)

  - `stringAttributes.atr46` (string)

  - `stringAttributes.atr47` (string)

  - `stringAttributes.atr48` (string)

  - `stringAttributes.atr49` (string)

  - `stringAttributes.atr50` (string)

  - `stringAttributes.atr51` (string)

  - `stringAttributes.atr52` (string)

  - `stringAttributes.atr53` (string)

  - `stringAttributes.atr54` (string)

  - `stringAttributes.atr55` (string)

  - `stringAttributes.atr56` (string)

  - `stringAttributes.atr57` (string)

  - `stringAttributes.atr58` (string)

  - `stringAttributes.atr59` (string)

  - `stringAttributes.atr60` (string)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - `dateAttributes.date1` (string)

  - `dateAttributes.date2` (string)

  - `dateAttributes.date3` (string)

  - `dateAttributes.date4` (string)

  - `dateAttributes.date5` (string)

  - `rcLineOtrAttributes` (object)
    Other line attributes.

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

## 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 404:

  - `404` (unknown)
    The revenue contract line does not exist in this tenant and book, or the caller's organization cannot see it.

## Response 404 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:

  - `Revenue contract line` (unknown)

## Response 400 examples:

  - `Non-numeric rcId` (unknown)

  - `Non-numeric lineId` (unknown)

## Response 404 examples:

  - `Revenue contract line not found` (unknown)

## Response 500 examples:

  - `Internal server error` (unknown)

