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
  • URL: https://api.medianfi.com/api/v1/companies/{companyId}/journal-entries
  • Auth: HTTP bearer

Request body

entityIdstring uuid

Concrete legal posting entity; defaults to the company's primary entity.

entryDatestring date required
descriptionstring required
sourceType'transaction' | 'document' | 'adjustment' | 'system' required
sourceIdstring uuid
periodIdstring uuid
postingKeystring

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).

Example request

{
  "entryDate": "2024-01-15"
}

Response

Journal entry created

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.