Skip to content

Retrieve debit and credit totals

Request

Purpose

Returns the total debits, credits and net amount of a journal entry in transaction, functional and reporting currency. A balanced entry has netAmt = 0.00.

When to use

  • Check that an entry is balanced (netAmt = 0.00) and see its totals before submitting or approving.
  • Control totals for reconciliation with the source system.
Security
OneIdOAuth
Path
jeIdinteger, (int64)required

ID of the journal entry.

Example:10045
cURL
curl -i -X GET \
  https://one.zuora.com/revenue/services/v1/journal-entries/10045/summary \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Totals by currency type

Headers
traceIdstring

Identifier of the request. Quote it when you contact Zuora Support.

Bodyapplication/json
Array [
currencyTypestring or null

Which currency the totals are in: transaction, functional or reporting.

Example:"Transaction"
currencystring or null

ISO 4217 currency code.

Example:"USD"
drAmtstring or null

Total debits (formatted string).

Example:"1500.00"
crAmtstring or null

Total credits (formatted string).

Example:"1500.00"
netAmtstring or null

Debits minus credits. 0.00 for a balanced entry.

Example:"0.00"
]
Response
[ { "currencyType": "Transaction", "currency": "USD", "drAmt": "1500.00", "crAmt": "1500.00", "netAmt": "0.00" }, { "currencyType": "Functional", "currency": "USD", "drAmt": "1500.00", "crAmt": "1500.00", "netAmt": "0.00" }, { "currencyType": "Reporting", "currency": "USD", "drAmt": "1500.00", "crAmt": "1500.00", "netAmt": "0.00" } ]