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
  • URL: https://api.medianfi.com/api/v1/accountant/companies/{customerId}/journal-entries
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

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.