Purpose
Approves one or more journal entries that are Approval Pending and assigned to the caller. On final approval the entry's schedules are posted and the final waterfall is generated asynchronously (track it with GET /journal-entries/{jeId}/waterfall-status).
When to use
- An approver (or an approval step in your workflow tool) accepts one or more entries that are
Approval Pending. - Approving several entries at once during period close.
Notes
- Check
successon the response and on every item inresults. HTTP 200 is also returned when every entry failed; HTTP 207 means a mix of successes and failures. - Each
resultsitem currently reports the entry insidemessage;idmay be omitted.
IDs of the journal entries to act on. Required for approve, reject, recall, reverse and bulk-delete. Reverse accepts exactly one ID. Ignored by submit (the ID comes from the path).
[ 10045, 10046 ]
Comment recorded in the audit trail with the action.
Identifier of the accounting book (for example the primary book or a secondary/parallel book) the entry belongs to. Optional.
- Zuora Revenue API (base URL)https://one.zuora.com/revenue/services/v1/journal-entries/approve
{ "jeIds": [ 10045, 10046 ], "comment": "Approved for September close", "bookId": 1 }
All entries approved
Journal entry status after the action as reported by the service (for example Approved after approve, Rejected after reject, Approval Pending after submit); for reverse, the reversal status. May be omitted (for example bulk delete).
{ "success": true, "status": "Approved", "results": [ { … }, { … } ] }