Create a ledger entry

Create a ledger entry

ℹ️

This endpoint requires the following scope: ledger_entries:all

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Existing company identifier (id)

Body Params
date
required

Date of the ledger entry (ISO 8601)

string
required

Label that describes the ledger entry

integer
required

The journal ID where you want to create the ledger entry

integer

File attachment ID

string
enum
Defaults to EUR
ledger_entry_lines
array of objects
required
length ≥ 1

Array of ledger entry lines. The entry lines must be
balanced. The max number of ledger entry lines that you can create
using this endpoint is 1000 per request.

ledger_entry_lines*
string
required
^(-?\d+(\.\d+)?)?$

Debit amount for the entry line

string
required
^(-?\d+(\.\d+)?)?$

Credit amount for the entry line

integer
required

Ledger account ID

string

Label that describes the entry line

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json