Create StatisticalJournalV2 record
Create a new StatisticalJournalV2 record with the provided data. Validates all required fields and business rules.
Additional validations
- Fails with
422if you set an inactive, archived, or draft customer or vendor, or an inactive company. - Fails with
422if a line account is not available to the line’s company, or to the record’s company when the line sets none. - A reference that the record or its linked source record already holds passes these checks.
Authorizations
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.
255Query 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.
Body
Response
OK
draft, posted, archived ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Date and time the record was created
Date and time the record was last updated