Journal Entries
Update JournalEntry record
Changed onUpdate an existing JournalEntry record with the provided data. Validates all required fields and business rules.
Side effects
- If an approval workflow matches this request, DualEntry can set record_status back to draft.
- If a line sets eliminated to true, DualEntry writes an elimination transaction in the elimination company, with the date, memo, and status of the entry. If the entry has a reversal, DualEntry writes a second elimination transaction for that reversal, with the date, memo, and status of the reversal.
- If no line sets eliminated, DualEntry removes the elimination transaction and the reversal elimination transaction of this journal entry. If you remove the reversal and a line stays eliminated, DualEntry removes only the reversal elimination transaction.
put/public/v2/journal-entries/{record_number}/
Request
- Base URL: https://api.dualentry.com
- URL: https://api.dualentry.com/public/v2/journal-entries/{record_number}/
- Auth: none declared
Path parameters
record_numberinteger required
The number attribute of the record.
Headers
Idempotency-Keystring
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
Request body
Response
OK
Changes
- breaking
the request property
became not nullable - breaking
the request property
became required
- breaking
- info
added the optional property
/////to the response with the status
- info