Accountant Portal

Create a balanced journal entry for an assigned customer

Uses the same validation and posting guards as the company journal-entry route. Service principals are admitted as an ordinary audited write; void and date correction remain high-impact operations.

post/accountant/companies/{customerId}/journal-entries

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

customerId, 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.