Management
Create a new ledger
Create a new accounting ledger with specified type and settings
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Unique ledger code
Example:
"MAIN-USD-001"
Ledger description
Example:
"Main USD Operating Account"
Type of ledger
Available options:
asset
, liability
, equity
, income
, expense
Example:
"asset"
Currency UUID
Example:
"550e8400-e29b-41d4-a716-446655440000"
ISO currency code
Required string length:
3
Example:
"USD"
Current balance in cents
Example:
100000
Available balance in cents
Example:
100000
Enable overdraft facility
Maximum overdraft amount in cents
Ledger opening date
Parent ledger UUID
Additional metadata
Response
201
application/json
Ledger created successfully