Revenue API
/- List posting and reversal periods
Retrieve reference data
Retrieve field configuration
Retrieve the current open period
List transaction currencies
List functional currencies for a Set of Books
Retrieve debit and credit totals
Check the soft-freeze status
Retrieve the caller's access level
List journal entry object definitions
Retrieve the revenue contract for an RC, sales order, or line
List posting and reversal...
Purpose
Returns the posting periods and reversal periods available for a book (and optionally an organization). Use the returned id as periodId or reversalPeriodId.
When to use
- Find which periods are open for posting (
periodId) or available for reversal (reversalPeriodId) for a book and organization.
Security
OneIdOAuth
- Zuora Revenue API (base URL)https://one.zuora.com/revenue/services/v1/journal-entries/metadata/periods
curl -i -X GET \
'https://one.zuora.com/revenue/services/v1/journal-entries/metadata/periods?bookId=1&orgId=101&isJeApproved=false' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Periods
Open periods an entry can be posted to (id is the periodId).
Accounting segment definitions used to build accountCode.
Variable consideration types (for typeName when the account type is a VC account).
Response
{ "postingPeriod": [ { … }, { … } ], "reversalPeriod": [ { … }, { … } ] }