Purpose
Deletes one or more journal entries that have not been approved. Entries that cannot be deleted are reported individually.
When to use
- Clean up several draft or rejected entries in one call, for example after a failed batch load.
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/bulk-delete
{ "jeIds": [ 10045, 10046 ] }
All entries deleted
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, "results": [ { … }, { … } ] }