Recurring Journal Entries

Create RecurringJournalEntry record

Changed on

Create a new RecurringJournalEntry record with the provided data. Validates all required fields and business rules.

Side effects

  • If a schedule date is already due, DualEntry can create records from this template in the same request.
post/public/v2/recurring/journal-entries/

Request

  • Base URL: https://api.dualentry.com
  • URL: https://api.dualentry.com/public/v2/recurring/journal-entries/
  • Auth: none declared

Query parameters

apply_default_classificationsboolean

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

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

rrulestring rrule required

Recurrence rule in iCalendar RRULE format (RFC 5545)

memostring required
namestring required
datestring date required
company_idinteger required
status'active' | 'inactive' required
recurring_type'automatic' | 'reminder' required

Example request

{
  "rrule": "FREQ=DAILY"
}

Response

OK

internal_idinteger required
numberinteger required
codestring nullable
namestring required
memostring required
datestring date required
company_idinteger required
company_namestring required
company_currencystring required
status'active' | 'inactive' required
record_payloadunknown required
rrulestring required
next_occurrencestring date-time nullable required
last_generatedstring date-time nullable required
recurring_type'automatic' | 'reminder' required
created_atstring date-time required

Date and time the record was created

updated_atstring date-time required

Date and time the record was last updated

Changes

    • breaking

      the request property / became not nullable

    • breaking

      the request property / became required

    • info

      added the new optional query request parameter apply_default_classifications

    • info

      added the new optional request property /