BoringBooks API reference

update_draft_journal

POST /api/v1/commands/update_draft_journal

Base URL: https://boringbooks.io.

Request body

FieldTypeRequiredDescription
idstring (uuid)yes
currencyCurrencyInputno
descriptionstring, nullablenoMax length: 4000.
linesarray of objectnoMin items: 1. Max items: 100.
lines[].account_idstring (uuid)yes
lines[].amountAmountInputyes
lines[].sidestringyesOne of: debit, credit.
lines[].dimensionsobject, nullableno
lines[].memostring, nullablenoMax length: 4000.
posting_datestring (date)no
rationalestring, nullablenoMax length: 4000.

Example:

{
  "description": "Corrected description",
  "id": "44444444-4444-4444-8444-444444444444"
}

Response (200)

FieldTypeRequiredDescription
idstring (uuid)yes
statusstringyes

Shared types

Fields typed with one of these names refer to it.

Errors

Every error response is a single error object with a closed type and a refining code. The codes, and the conventions every operation shares, are in llms-full.txt.