---
title: "Run Gl Capitalization Rescan"
method: POST
path: "/companies/{company_id}/gl/capitalization-rescan"
tags: ["gl-fixed-assets"]
---

# Run Gl Capitalization Rescan

`POST /companies/{company_id}/gl/capitalization-rescan`

## 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/capitalization-rescan`
- Auth: none declared

Run one bounded rescan pass — accountant (or admin). 422 while the
capitalization feature is off.

Evaluates the already-re-analyzed coded invoices first (deterministic, no
LLM — reclassifications post in today's open period with the original
acquisition date; with autonomy `off` nothing is evaluated), then queues
cache-bypass re-analysis for up to ``body.limit`` pre-signal files.
Re-analysis is async: run the scan again once it finishes to evaluate the
fresh results — repeated calls converge, except `skipped_no_document`, which
never drains by rescanning: capitalization detection is document-gated, so a
journal entry authored directly (the JE API/MCP tools, the AI accountant's
chat) carries no coded document and is never evaluated — `evaluated: 0`
beside a nonzero `skipped_no_document` means "nothing was evaluable", not
"nothing qualified". The sanctioned route for a capital purchase is
`upload_document` → pipeline coding → rescan.

`skipped_no_signal` (ZET-269) is the other standing count: analyzed items
whose extraction answered null. No phase touches them either, and rescanning
never drains them — re-analysing the document does.

## Path parameters

- `company_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- CapitalizationRescanIn: ``POST …/gl/capitalization-rescan`` body — the re-analysis cost bound.
  - `limit` integer

## Response `200`

Successful Response

- CapitalizationRescanRunOut: One rescan run's merged counts (evaluate phase + queue phase).
  - `evaluated` integer
  - `posted` integer
  - `held` integer
  - `shadow` integer
  - `queued_files` integer
  - `queued_items` integer
  - `remaining` integer
  - `skipped_below_minimum` integer
  - `skipped_no_document` integer
  - `skipped_no_signal` integer

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