Revenue Contract Lines
Revenue API Reference
Introduction
Authentication
Adapter
File Upload
Inbound
Stage Error
Transfer Accounting
Transfer Accounting Files
Revenue Jobs
Data Collection
Report Catalog
Report Runs
Report Files
BI Views
BI View Tasks
Journal Entries
Service Health
Journal Entry Lines
Schedules and Waterfall
Approval Workflow
Reference Data
Attachments
Templates and Exports
Revenue Contracts
Revenue Holds
Contract Status
Apply and Release Holds
Revenue Deferral and Release
Cost Deferral and Release
Allocation
Lines and POBs
Contract Grouping
Variable Consideration
Impairment
Usage
Billing
Forecast
Purpose
Returns a paginated list of the transaction lines grouped into one revenue contract.
When to use
- Review the sales order, contract, and invoice lines that make up a contract.
- Find line IDs, POB IDs, and charge numbers to use in Manual Action calls such as edit line, line-level holds, or variable consideration.
Behavior notes
A contract that does not exist returns HTTP 200 with an empty data array, not HTTP 404.
Filtering
Every query parameter other than page, size, and sort is treated as a filter.
field=valuematches records where the field equals the value.field[op]=valueapplies an operator. URL-encode the brackets as%5Band%5D, for exampleid%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.
Security
bearerAuth
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.
Example:sort=id,asc
- Productionhttps://one.zuora.com/revenue/services/v1/contracts/{rcId}/lines
curl -i -X GET \
'https://one.zuora.com/revenue/services/v1/contracts/111442/lines?page=1&size=20&sort=id%2Casc&id=85922&rcPobId=156912&batchId=5001&chargeNumber=C-00012345' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-REV-BOOK-ID: 1' \
-H 'Zuora-Request-Id: b8f1c2d4-6e1a-4c7b-9d2e-0f3a5b7c9e11'A page of records. An empty data array means no record matched.
Response
{ "data": [ { … } ], "page": { "number": 1, "size": 20, "totalElements": 1, "totalPages": 1, "first": true, "last": true } }