Ledger Entry Lines

Letter ledger entry lines

Changed on

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

  • Base URL
    https://app.pennylane.com
  • URL
    https://app.pennylane.com/api/external/v2/ledger_entry_lines/lettering
  • Auth
    OAuth 2
    Authorization code: https://app.pennylane.com/oauth/authorize
    Token URL: https://app.pennylane.com/oauth/oauth/token scopes: ledger_entries:all

Headers

X-Company-Idstring
Example:12345

Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.

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
  }
]

Changes