Revenue API
/- Retrieve a revenue contract line
List lines of a revenue contract
List contract lines for a charge number
List charge lines across contracts
Retrieve a revenue contra...
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.
Security
bearerAuth
- Productionhttps://one.zuora.com/revenue/services/v1/contracts/{rcId}/lines/{lineId}
curl -i -X GET \
https://one.zuora.com/revenue/services/v1/contracts/111442/lines/85922 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-REV-BOOK-ID: 1' \
-H 'Zuora-Request-Id: b8f1c2d4-6e1a-4c7b-9d2e-0f3a5b7c9e11'The revenue contract line.
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" }
Response
{ "id": 85922, "rcId": 111442, "indicators": { "allocationEligible": "Y" }, "stringAttributes": { "atr1": "EMEA", "atr2": null }, "numberAttributes": { "num1": "12.50", "num2": null }, "dateAttributes": { "date1": "2026-01-31", "date2": null }, "rcLineOtrAttributes": { "rpcNum": "C-00012345" } }