Overview
Journal Entries are the fundamental building blocks of the General Ledger. They record financial transactions by debiting one or more accounts and crediting one or more accounts. The total debits must always equal total credits.Journal Entry Properties
| Property | Type | Description |
|---|---|---|
journal_entry_id | string | Unique identifier |
tran_date | string | Transaction date (YYYY-MM-DD) |
posting_period_id | string | Associated accounting period |
memo | string | Description of the entry |
entry_type | string | Standard, Adjusting, Closing, etc. |
currency | string | ISO 4217 currency code |
status | string | Current workflow status |
lines | array | Debit and credit line items |
Entry Types
| Type | Description |
|---|---|
Standard | Regular business transactions |
Adjusting | Period-end adjustments |
Closing | Year-end closing entries |
Reversing | Automatic reversals of adjusting entries |
Document Statuses
| Status | Description |
|---|---|
Draft | Initial state, can be modified |
Pending Approval | Submitted for approval |
On Hold | Temporarily held |
Approved | All approvals obtained |
Posted | Posted to the GL |
Rejected | Rejected during approval |
Voided | Entry has been voided |
Line Item Structure
Each journal entry line contains:| Field | Type | Description |
|---|---|---|
line_number | number | Sequential line number |
account_id | string | GL account ID |
debit | number | Debit amount (0 if credit) |
credit | number | Credit amount (0 if debit) |
memo | string | Line-level description |
Endpoints
Create Entry
Create a new journal entry
Get Entry
Retrieve entry details
List Entries
List journal entries
Update Entry
Update a draft entry
Workflow Actions
Submit, approve, reject, hold
Post Entry
Post to the GL
Reverse Entry
Create reversing entry
Void Entry
Void an entry
Delete Entry
Delete a draft entry
Approval Workflow
1
Create Draft
Create a journal entry in Draft status
2
Submit for Approval
Submit the entry for approval. Required approval level is determined by amount thresholds.
3
Approve
Approvers review and approve. Multi-level approval may be required for larger amounts.
4
Post
Entry is automatically posted after final approval, or manually posted if configured.