Skip to main content
POST
Create journal entry batch

Authorizations

Authorization
string
header
required

An API key prefixed with finta_, or the access token from a Finta CLI browser login (finta login), prefixed with finta_oat_. A CLI login's access token lasts one hour and the CLI renews it itself.

Body

application/json
memo
string
required

What the batch is for and why.

Required string length: 1 - 1000
entries
object[]
required
Required array length: 2 - 100 elements

Response

The created batch and its entries, in the order they were sent

id
string
required

Unique identifier with jmb_ prefix.

Example:

"jmb_a1b2c3d4e5f6g7"

object
enum<string>
required
Available options:
journal_entry_batch
memo
string | null
required

What the batch is for. Null for batches made in Finta before memos existed.

Example:

"Accrue the last week of October payroll, paid November 3."

source
enum<string>
required

Where the batch was made. Any batch can be deleted through the API, whatever its source.

Available options:
ui,
api,
mcp
entry_count
integer
required
Example:

2

total_debit_cents
integer
required

Total of the batch's debits, in cents.

Example:

1800000

total_credit_cents
integer
required

Total of the batch's credits, in cents.

Example:

1800000

start_date
string<date> | null
required

The earliest entry date. Null for a batch without entries.

Example:

"2026-10-31"

end_date
string<date> | null
required

The latest entry date. Null for a batch without entries.

Example:

"2026-10-31"

created
integer
required

When the batch was created, as a Unix timestamp.

Example:

1793404800

entries
object[]
required

The batch's journal entries, in the order they were sent.