Statistical Journals

Create StatisticalJournal record

Changed on

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

post/public/v2/statistical-journals/

Request

  • Base URL: https://api.dualentry.com
  • URL: https://api.dualentry.com/public/v2/statistical-journals/
  • 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

account_idinteger required
datestring date nullable
memostring
record_status'draft' | 'posted' | 'archived'

Response

OK

idinteger required
numberinteger required
codestring nullable
account_idinteger required
account_namestring required
account_numberinteger required
periodstring date required
datestring date required
memostring required
record_status'draft' | 'posted' | 'archived' required
total_quantitystring 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

    • info

      added the new optional query request parameter apply_default_classifications

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status