---
title: "Delete Gl Journal Entry"
method: DELETE
path: "/companies/{company_id}/gl/journal-entries/{entry_id}"
tags: ["gl"]
---

# Delete Gl Journal Entry

`DELETE /companies/{company_id}/gl/journal-entries/{entry_id}`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/gl/journal-entries/{entry_id}`
- Auth: none declared

Discard a **draft** entry and its lines (ZET-127).

409 for a posted or reversed entry (reverse it instead), a locked entry, a closed
period, or a draft a commercial document / AI posting decision / payment / VAT close
waiver still names. The discard is audited; ``entry_no`` is assigned at post, so
discarding a draft leaves no gap in the journal sequence.

## Path parameters

- `company_id` string, required
- `entry_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- MsgResponse: The ``{"msg": "..."}`` envelope — the error contract and many successes.
  - `msg` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
