A journal entry is an accounting record that represents a complete, balanced set of debits and credits for a specific financial event. Journal entries are the building blocks of double-entry bookkeeping and serve as the primary mechanism for recording transactions in your General Ledger (GL). Each journal entry contains one or more journal lines, where each line represents either a debit or credit to a specific account. The sum of all debits in a journal entry must equal the sum of all credits, ensuring the entry is balanced.
| Attribute | Description |
|---|---|
| idstring | Unique identifier for the journal entry |
| memostring | Optional human-readable description |
| datestring | Accounting date (determines accounting period) |
| journal_report_idstring | ID of the parent journal report |
| internal_account_id string | ID of the internal account |
| journal_linesarray | Line items (must balance to zero) |
| metadatastring | Additional data represented as key-value pairs. Both the key and value must be strings. See Metadata. |
| created_atdatetime | The datetime the journal entry was created. |
| updated_atdatetime | The datetime the journal entry was last updated |
Journal Line
| Attribute | Description |
|---|---|
| line_number string | Sequence number |
| account_code string | General ledger account code |
| direction string | Either debit or credit |
| amount integer | Amount in smallest currency unit (cents) |
| currency string | ISO 4217 three-letter currency code |
| memo string | Optional line-specific descriptio |
{
"id": "5a051efe-71b4-4b38-a201-2a81e0f9079b",
"object": "journal_entry",
"live_mode": true,
"memo": "Payment processing fees",
"journal_report_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"internal_account_id": "447ec7ae-be13-4717-985f-90f553fab5cc",
"date": "2025-03-01",
"journal_lines": [
{
"line_number": 1,
"account_code": "1000",
"amount": 100000,
"direction": "credit",
"currency": "USD",
"memo": null
},
{
"line_number": 2,
"account_code": "5000",
"amount": 100000,
"direction": "debit",
"currency": "USD",
"memo": null
}
],
"metadata": {},
"created_at": "2025-03-01T00:00:00Z",
"updated_at": "2025-03-01T00:00:00Z"
}