---
title: "Dispose Asset"
method: POST
path: "/companies/{company_id}/gl/fixed-assets/{asset_id}/dispose"
tags: ["gl-modules"]
---

# Dispose Asset

`POST /companies/{company_id}/gl/fixed-assets/{asset_id}/dispose`

## 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/fixed-assets/{asset_id}/dispose`
- Auth: none declared

Dispose of a fixed asset: cost and accumulated depreciation leave the books, the net
proceeds land on ``proceeds_account_id``, the difference is the category's gain or loss.

``reason`` is ``scrapped`` (no proceeds), ``sold`` (proceeds) or ``withdrawn`` (by the
owner, or a gift — no proceeds); omitted, it follows the proceeds. A **sale** at a
company that is VAT-registered, or has not said it is not, names the posted customer
invoice that sold the asset in ``sale_document_id`` — the invoice carries the VAT and
must credit ``proceeds_account_id`` with exactly the net ``proceeds`` in the disposal's
fiscal year (``invalid.assetSaleNeedsInvoice`` / ``invalid.assetSaleInvoice``). A
withdrawal is refused for such a company (a VAT self-supply Zeno does not compute yet).
409 when the asset is already disposed of, or has depreciation booked after the disposal
date (reverse that first). The posting is reversible; a reversal puts the asset back.

## Path parameters

- `company_id` string, required
- `asset_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- GlDisposeRequest
  - `proceeds` union, required
    - number
    - string
  - `proceeds_account_id` string, nullable
  - `period_id` string, required
  - `posting_date` string, date, required
  - `reason` 'scrapped' | 'sold' | 'withdrawn', nullable
  - `sale_document_id` string, nullable

## Response `200`

Successful Response

- GlPostResultModule
  - `journal_entry_id` string, nullable

## 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)
