Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mikearnaldi/accountability/llms.txt
Use this file to discover all available pages before exploring further.
Journal Entries API
The Journal Entries API provides comprehensive endpoints for creating and managing journal entries with support for multi-level approval workflows, posting, and reversal.Base Path
Entry Workflow
Journal entries follow a structured workflow:- Draft - Initial creation, can be edited or deleted
- Pending Approval - Submitted for review (optional)
- Approved - Ready for posting
- Posted - Locked, affects account balances
- Reversed - Posted entry that has been reversed
List Journal Entries
Retrieve a paginated list of journal entries with comprehensive filtering.GET /api/v1/journal-entries
Organization UUID
Company UUID
Filter by status:
Draft, PendingApproval, Approved, Posted, ReversedFilter by type:
Standard, Adjusting, Closing, Reversing, RecurringFilter by source:
GeneralLedger, AccountsPayable, AccountsReceivable, Payroll, Inventory, FixedAssetsFilter by fiscal year (e.g., 2025)
Filter by fiscal period (1-13)
Filter by transaction date start (ISO 8601: YYYY-MM-DD)
Filter by transaction date end (ISO 8601: YYYY-MM-DD)
Maximum items per page
Number of items to skip
Get Journal Entry
Retrieve a single journal entry with all its line items.GET /api/v1/journal-entries/{id}
Journal entry UUID
Organization UUID
Create Journal Entry
Create a new journal entry in draft status. Entries must have at least 2 lines and debits must equal credits.POST /api/v1/journal-entries
Organization UUID
Company UUID
Entry description
Transaction date (ISO 8601: YYYY-MM-DD)
Document date if different from transaction date
Fiscal period reference (auto-computed from transactionDate if null)
year: integerperiod: integer (1-13)
Entry type:
Standard, Adjusting, Closing, Reversing, RecurringSource module:
GeneralLedger, AccountsPayable, AccountsReceivable, Payroll, Inventory, FixedAssetsOptional reference number
Optional source document reference
Array of journal entry lines (minimum 2)Each line must have:
accountId(string, required): Account UUIDdebitAmount(MonetaryAmount | null): Debit amountcreditAmount(MonetaryAmount | null): Credit amountmemo(string): Optional line memodimensions(object): Optional key-value pairs for dimensionsintercompanyPartnerId(string): Optional related company UUID
Either
debitAmount or creditAmount must be provided for each line, but not both. Total debits must equal total credits.Update Journal Entry
Update a draft journal entry. Only entries in Draft status can be updated.PUT /api/v1/journal-entries/{id}
Journal entry UUID
Organization UUID
Delete Journal Entry
Delete a draft journal entry. Only entries in Draft status can be deleted.DELETE /api/v1/journal-entries/{id}
Submit for Approval
Submit a draft entry for approval (changes status from Draft to PendingApproval).POST /api/v1/journal-entries/{id}/submit
Approve Journal Entry
Approve a pending entry (changes status from PendingApproval to Approved).POST /api/v1/journal-entries/{id}/approve
Reject Journal Entry
Reject a pending entry and return to draft for corrections.POST /api/v1/journal-entries/{id}/reject
Optional reason for rejection
Post Journal Entry
Post an approved entry to the general ledger. This updates account balances and locks the entry.POST /api/v1/journal-entries/{id}/post
Organization UUID
User UUID who is posting the entry
Optional posting date (defaults to current date)
Reverse Journal Entry
Reverse a posted entry by creating a new entry with opposite debits and credits.POST /api/v1/journal-entries/{id}/reverse
Organization UUID
Date for the reversal entry (ISO 8601: YYYY-MM-DD)
Optional description for the reversal entry
User UUID who is reversing the entry
Error Responses
Entry Not Found (404)
Entry Not Found (404)
Unbalanced Entry (400)
Unbalanced Entry (400)
Invalid Status Transition (400)
Invalid Status Transition (400)
Fiscal Period Closed (400)
Fiscal Period Closed (400)
Already Reversed (409)
Already Reversed (409)