Post a manual entry
post/accounting/journal
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:write- Sdk
accounting.journal.post- Cli
accounting journal post
Request bodyapplication/json, required
- datestringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- memostringrequiredAt most 300 characters.
- currencystringPattern: ^[a-z]{3}$.
- lineslist of objectrequired
- accountstringrequiredaccount code At most 40 characters.
- debitMinorintegerDefault: 0. At least 0. At most 99999999999.
- creditMinorintegerDefault: 0. At least 0. At most 99999999999.
- memostringDefault: . At most 200 characters.
- accountstringrequired
- idempotencyKeystringrequiredAt most 120 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring