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 one of the following scopes: ledger (DEPRECATED), ledger_entries:all

Query Params
boolean
Defaults to true

If you are already using the X-Use-2026-API-Changes header, you can ignore this parameter.

The Pennylane API is introducing important changes, which will be rolled out in three phases: preview, sunset and cleanup.

For new user, please use this parameter with true value to opt in directly to the new version of the API.

Preview phase: From January 14th to April 7th 2026. Opt in by setting this attribute to true to test and migrate to the new behavior.

Sunset phase: From April 8th to June 30th 2026. The new behavior becomes the default. Set this attribute to false if you need additional time to migrate.

Cleanup phase: Starting July 1st 2026 The old behavior will no longer be available. You must have migrated by this point.

For more details, see our API documentation https://pennylane.readme.io/docs/2026-api-changes-guide for migration instructions.

Body Params
string
enum
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.
Allowed:
ledger_entry_lines
array of objects
required
length ≥ 2

The list of ledger entry lines you want to letter together.

You can provide ledger entry lines already lettered and they don't have to be part of the same lettering.

All received entry lines will be lettered together. If a passed entry line is already lettered, then the lettering will be applied to its lettered entry lines as well. For example: Ledger entry lines A and B are already lettered together. C in not lettered. When requesting [A, C] to be lettered, the final lettering will be [A, B, C].

ledger_entry_lines*
int64
required

Id of the ledger entry line

int64
required
-9223372036854776000 to 9223372036854776000

Id of the ledger entry line

Responses

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