# List filings

Source: https://amanucci.com/docs/developers/api/filings/listFilings

## GET /v1/entities/{entityId}/filings

List filings

These books' filings, each with its periods (label and lock state), the filing it replaced, a listing's customer count and who signed, superseded ones included unless asked (the history of a public act is part of it), in the walk `order` names. `includeSuperseded=false` lists live filings only. Filters: `period` or `from`/`to` on the day (inclusive), `kind`, `status`, `q` (a covered period's label or the proof reference). Pages by cursor. A firm seat reads with `filing.prepare` or `filing.sign`.

Operation ID: `listFilings`

### Parameters

```json
[
  {
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "required": true,
    "name": "entityId",
    "in": "path"
  },
  {
    "schema": {
      "type": "string",
      "description": "An opaque position, taken verbatim from a previous response's `nextCursor`. Never construct one: its encoding is an implementation detail and may change within `/v1` (rule 6 governs FIELDS, not the contents of an opaque token)."
    },
    "required": false,
    "description": "An opaque position, taken verbatim from a previous response's `nextCursor`. Never construct one: its encoding is an implementation detail and may change within `/v1` (rule 6 governs FIELDS, not the contents of an opaque token).",
    "name": "cursor",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "date"
    },
    "required": false,
    "name": "from",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "true",
        "false"
      ],
      "default": "true",
      "description": "`true` (the default): superseded filings are listed beside their replacements. `false`: live filings only."
    },
    "required": false,
    "description": "`true` (the default): superseded filings are listed beside their replacements. `false`: live filings only.",
    "name": "includeSuperseded",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "vat_return",
        "ic_listing",
        "client_listing",
        "oss_return",
        "ioss_return",
        "fiche_281_50",
        "annual_accounts",
        "cit_return",
        "withholding_return",
        "social_security_return",
        "cit_prepayment",
        "pit_prepayment"
      ]
    },
    "required": false,
    "name": "kind",
    "in": "query"
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 200,
      "description": "How many rows at most. The hard ceiling is 200; a larger value is refused with 422, never silently reduced."
    },
    "required": false,
    "description": "How many rows at most. The hard ceiling is 200; a larger value is refused with 422, never silently reduced.",
    "name": "limit",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "id",
        "day",
        "day.desc",
        "day.asc",
        "amount.desc",
        "amount.asc"
      ],
      "default": "id",
      "description": "The walk. `id` (the default): oldest first by id — the walk to export. `day`: newest day first (the deadline's due date, else the last period's end), then kind, then newest id. `day.desc` / `day.asc`: the day, then the id, in the walk's direction, a filing with no deadline (a client listing, the annual accounts) after every dated one both ways. `amount.desc` / `.asc`: a return's position as the list shows it (what it pays, a refund negative), a filing with none last both ways. A cursor resumes only the walk that minted it: change the order and start at the first page."
    },
    "required": false,
    "description": "The walk. `id` (the default): oldest first by id — the walk to export. `day`: newest day first (the deadline's due date, else the last period's end), then kind, then newest id. `day.desc` / `day.asc`: the day, then the id, in the walk's direction, a filing with no deadline (a client listing, the annual accounts) after every dated one both ways. `amount.desc` / `.asc`: a return's position as the list shows it (what it pays, a refund negative), a filing with none last both ways. A cursor resumes only the walk that minted it: change the order and start at the first page.",
    "name": "order",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "description": "The days to list, resolved by the server against today in the books' own day (Europe/Brussels): `7d` and `30d` (the last 7 or 30 days, today included), `month`, `last-month`, `quarter`, `last-quarter` and `year` (the whole calendar unit holding today, or the one before it), a year `2026`, a quarter `2026-q3`, a month `2026-03`, `all` (no bound), or a day range `2026-01-05..2026-02-10` (inclusive, its ends in order). Not with `from` or `to`.",
      "example": "quarter"
    },
    "required": false,
    "description": "The days to list, resolved by the server against today in the books' own day (Europe/Brussels): `7d` and `30d` (the last 7 or 30 days, today included), `month`, `last-month`, `quarter`, `last-quarter` and `year` (the whole calendar unit holding today, or the one before it), a year `2026`, a quarter `2026-q3`, a month `2026-03`, `all` (no bound), or a day range `2026-01-05..2026-02-10` (inclusive, its ends in order). Not with `from` or `to`.",
    "name": "period",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "A case-insensitive substring of a covered period's label or the proof reference (1..100 characters)."
    },
    "required": false,
    "description": "A case-insensitive substring of a covered period's label or the proof reference (1..100 characters).",
    "name": "q",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "draft",
        "generated",
        "validated",
        "submitted",
        "accepted_evidence"
      ]
    },
    "required": false,
    "name": "status",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "date"
    },
    "required": false,
    "name": "to",
    "in": "query"
  }
]
```

### Responses

#### 200 One page of filings.

```json
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/FilingPage"
    }
  }
}
```

#### 401 Dead or absent credential (`unauthenticated`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 403 Authenticated, present, and refused: a missing grant, a missing seat, or a missing step-up.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 404 Absent, or hidden from this asker — the two are indistinguishable (`not-found`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 422 The request did not satisfy the schema (`invalid-input`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 429 Too many requests on this door's bucket (`rate-limited`); refused before any handler ran, `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 503 Temporarily unavailable; `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```
