Journal Entries
Create a journal entry with lines (must balance)
Requires company role cfo, admin, or owner.
post/companies/{companyId}/journal-entries
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
companyId, string uuid required
Request body
Create Journal Entry Input required
entityId, string uuid
Concrete legal posting entity; defaults to the company's primary entity.
entryDate, string date required
description, string required
sourceType, 'transaction' | 'document' | 'adjustment' | 'system' required
sourceId, string uuid
periodId, string uuid
postingKey, string
Optional identity a hand-written replacement can inherit from a voided transaction-sourced entry (transaction:<uuid>). Required to keep the engine from re-posting the same transaction (#1975).
lines, object[] required
Example request
{
"entryDate": "2024-01-15"
}Response
Journal entry created
Journal Entry Response required
success, boolean
data, Journal Entry
Changes
No recorded changes to this operation across all 110 revisions of this API.