v1

latestOpenAPI 3.0.12026-07-141671231.8 MB
Ledger Entry Lines

Letter ledger entry lines

This endpoint lets you letter ledger entry lines together. All received entry lines will be lettered together. If a passed entry line is already lettered, then the lettering will be applied to its associated lettered entry lines as well.

ℹ️ This endpoint requires the following scope: ledger_entries:all

post/api/external/v2/ledger_entry_lines/lettering

Request body

unbalanced_lettering_strategy'none' | 'partial' required
  • none: the API won't let you create an unbalanced lettering and will respond with an error.
  • partial: a potentially unbalanced lettering will be created.

Example request

{
  "ledger_entry_lines": [
    {
      "id": 3455
    }
  ]
}

Response

Returns all the ledger entry lines of the new lettering

idinteger required

Id of the ledger entry line

Example response

[
  {
    "id": 1
  }
]