---
title: "[Internal] Set invoice status"
method: PATCH
path: "/api/received-invoices/{aggregate_id}/status"
tags: ["Received invoices"]
---

# \[Internal\] Set invoice status

`PATCH /api/received-invoices/{aggregate_id}/status`

## Request

- Base URL: `https://api.typless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.typless.com/api/received-invoices/{aggregate_id}/status`
- Auth: none declared

## Path parameters

- `aggregate_id` string, uuid, required

## Request body

- SetInvoiceStatusRequest
  - `status` 'CREATED' | 'EXTRACTION_IN_PROGRESS' | 'EXTRACTION_FINISHED' | 'EXTRACTION_FAILED' | 'WAITING_REVIEW' | 'IN_REVIEW' | 'CONFIRMED' | 'WAITING_EXPORT' | 'IN_EXPORT' | 'REJECTED' | 'EXPORTED' | 'EXPORT_ERROR' | 'MERGED', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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