- List journal entry lines by sales order number
Purpose
Returns the lines of a journal entry that reference the given sales order number (soNum).
When to use
- Find the lines of an entry that relate to a specific sales order, for example when an auditor or customer asks about one order.
- Zuora Revenue API (base URL)https://one.zuora.com/revenue/services/v1/journal-entries/{jeId}/lines/search/{soNumber}
curl -i -X GET \
https://one.zuora.com/revenue/services/v1/journal-entries/10045/lines/search/SO-50012 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Matching lines (may be empty)
Unique system-generated identifier of the journal entry line.
Identifier of the journal entry (header) this record belongs to.
Identifier of your Zuora Revenue client (tenant partition). Informational.
Organization (operating unit) identifier the entry belongs to, also called the security attribute value (secAtrVal). Valid values come from orgId in GET /journal-entries/metadata.
Timestamp when the record was created (ISO 8601).
Timestamp when the record was last updated (ISO 8601).
Identifier of the accounting book (for example the primary book or a secondary/parallel book) the entry belongs to.
Date the exchange rates apply to.
Functional exchange rate: converts transaction currency to functional currency.
Global (reporting) exchange rate: converts functional currency to the reporting currency.
Start date of the revenue recognition period for the line.
End date of the revenue recognition period for the line.
Free-text description of the line.
Revenue activity (account) type of the line, for example Revenue, Contract Liability, Adjustment Revenue. Valid values come from accountTypes in GET /journal-entries/metadata.
Sales order (document) line identifier the line relates to.
Indicates whether typeName is a cost type or a variable consideration type.
Set number that groups lines into a balanced set. Debits and credits within the same set number must net to zero. Use 1, 2, 3 ... to post several independent balanced sets in one entry.
Unbilled accounting flag (Y/N). Y posts the line to unbilled (contract asset/unbilled receivable) accounts.
General ledger account code (accounting segments joined by your configured delimiter), for example 1000-200-4000.
Name of the cost type or variable consideration (VC) type when accountType is a cost or VC account.
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference1 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference2 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference3 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference4 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference5 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference6 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference7 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference8 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference9 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference10 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference11 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference12 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference13 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
Customer-defined reference field. Use for your own identifiers (for example a ticket number or source-system key). reference14 is one of 15 reference fields; your tenant may assign it a custom label (see GET /journal-entries/configurations).
[ { "id": 70001, "headerId": 10045, "clientId": 1, "orgId": "101", "bookId": 1, "rcId": 1001, "rcLineId": 50001, "currency": "USD", "debit": 1500, "credit": null, "exchangeRateDate": "2026-09-30T00:00:00.000+00:00", "exchangeRate": 1, "gexchangeRate": 1, "startDate": "2026-09-01T00:00:00.000+00:00", "endDate": "2026-09-30T00:00:00.000+00:00", "accountType": "Contract Liability", "accountCode": "2400-100-000", "jeSetNo": 1, "soNum": "SO-50012", "soLineId": "SO-50012-1", "unbillAccounting": "N", "description": "Release deferred revenue", "errorMessage": null, "reference1": "TCK-4471", "createdBy": "jane.doe@example.com", "createdDate": "2026-09-28T10:21:04.000+00:00", "updatedBy": "jane.doe@example.com", "updatedDate": "2026-09-28T10:21:04.000+00:00" }, { "id": 70002, "headerId": 10045, "clientId": 1, "orgId": "101", "bookId": 1, "rcId": 1001, "rcLineId": 50001, "currency": "USD", "debit": null, "credit": 1500, "exchangeRateDate": "2026-09-30T00:00:00.000+00:00", "exchangeRate": 1, "gexchangeRate": 1, "startDate": "2026-09-01T00:00:00.000+00:00", "endDate": "2026-09-30T00:00:00.000+00:00", "accountType": "Revenue", "accountCode": "4000-100-000", "jeSetNo": 1, "soNum": "SO-50012", "soLineId": "SO-50012-1", "unbillAccounting": "N", "description": "Recognize revenue", "errorMessage": null, "reference1": "TCK-4471", "createdBy": "jane.doe@example.com", "createdDate": "2026-09-28T10:21:04.000+00:00", "updatedBy": "jane.doe@example.com", "updatedDate": "2026-09-28T10:21:04.000+00:00" } ]