spv_documents_list
Retrieve a company's archived ANAF SPV inbox, with messages classified by category and severity, PDF status, and critical legal deadlines.
Instructions
List the archived ANAF SPV inbox for a company: every message (somatii / enforcement notices, decizii, notificari, adrese, recipise, certificate, plati...) classified by category and severity, with archived-PDF status. Critical items (SOMATII, inactivation/VAT-cancellation decisions, risk reports) carry short legal deadlines. Documents get into the archive through the local storno-agent sync (certificate/mTLS), see spv_sync_prepare.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ANAF date to (YYYY-MM-DD) | |
| from | No | ANAF date from (YYYY-MM-DD) | |
| page | No | Page number (default: 1) | |
| limit | No | Items per page (default: 10, max: 100) | |
| search | No | Search in message type, details or ANAF id | |
| unread | No | Only documents not yet read | |
| category | No | Filter by category | |
| severity | No | Filter by severity | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |