---
title: "Unletter ledger entry lines"
method: DELETE
path: "/api/external/v2/ledger_entry_lines/lettering"
tags: ["Ledger Entry Lines"]
---

# Unletter ledger entry lines

`DELETE /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`

This endpoint lets you unletter ledger entry lines.

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

## Headers

- `X-Company-Id` string

## Request body

- object
  - `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.
  - `ledger_entry_lines` object[], required: The list of ledger entry lines you want to unletter.
    - `id` integer, required: Id of the ledger entry line

## Response `204`

No content

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access to this resource forbidden
- `404`: The resource was not found
- `422`: Unprocessable content

## Changes

- **2026-11-03** `871f863307e5`: 1 info
  - added the new optional `header` request parameter `X-Company-Id`

[Operation history](https://skmtc.dev/pennylane/apis/company-v2/changes/api/external/v2/ledger_entry_lines/lettering/delete.md)

---

[API](https://skmtc.dev/pennylane/apis/company-v2.md) - [All operations](https://skmtc.dev/pennylane/apis/company-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pennylane/apis/company-v2/revisions/871f863307e5?raw)
