Purpose
Rejects one or more journal entries that are Approval Pending. Rejected entries can be edited and resubmitted. Provide a comment explaining the rejection; it is stored in the audit trail.
When to use
- An approver sends one or more entries back to the preparer for correction. Always include a
commentexplaining why.
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/reject
{ "jeIds": [ 10046 ], "comment": "Account code is wrong; please correct line 2" }
All entries rejected
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": "Rejected", "results": [ { … }, { … } ] }