Vault API
Auto-generated from
openapi-snapshot.json. Do not edit by hand — changes are overwritten byscripts/docs/generate_api_reference.py.
5 endpoints in this group.
DELETE /api/vault/documents
Delete Documents
Request body: application/json
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET /api/vault/documents
List Documents
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_id | query | integer | optional | |
document_type | query | — | optional | |
tax_year | query | — | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
POST /api/vault/documents
Upload Document
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_id | query | integer | optional | |
document_type | query | string | optional | |
tax_year | query | — | optional |
Request body: multipart/form-data
Responses
| Code | Description |
|---|---|
201 | Successful Response |
422 | Validation Error |
GET /api/vault/documents/{doc_id}
Download Document
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
doc_id | path | integer | required | |
tenant_id | query | integer | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
PATCH /api/vault/tax-status
Update Tax Status
Request body: application/json
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |