Create JournalEntry record
Changed onCreate a new 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.
Request
- Base URL: https://api.dualentry.com
- URL: https://api.dualentry.com/public/v1/journal-entries/
- Auth: none declared
Query parameters
When false, store submitted line classifications, including an empty list. When omitted, organization defaults apply to new lines with omitted or empty classifications only when the organization setting is enabled.
Headers
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 - info
added the new optional
queryrequest parameterapply_default_classifications
- breaking
- info
added the optional property
/////to the response with the status
- info