Journal Entries

Create a journal entry with lines (must balance)

Requires company role cfo, admin, or owner.

post/companies/{companyId}/journal-entries

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Request body

CreateJournalEntryInput 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

JournalEntryResponse required
success, boolean
data, JournalEntry

Changes

No recorded changes to this operation across all 110 revisions of this API.