---
title: "TOConline archive status of the document's latest accountant send"
method: GET
path: "/api/documents-test/{document_id}/archive-status"
tags: ["documents-test"]
---

# TOConline archive status of the document's latest accountant send

`GET /api/documents-test/{document_id}/archive-status`

Latest Z_TocArchiveSends row for this document (source='documento') —
the DocumentViewDialog status chip. Empty dict when the document was
never sent (or sent before the feedback loop shipped).
Plain `def` on purpose: sync pyodbc (see 10-api-patterns.md).

## Path parameters

- `document_id` integer, required

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
