# Read a grid's lines

Source: https://amanucci.com/nl/docs/developers/api/filings/readFilingGridLines

## GET /v1/entities/{entityId}/filings/{filingId}/grids/{grid}/lines

Read a grid's lines

The posted lines behind one grid of a return, as the form numbers it (`03`, `59`): per line its date, account, amount, its contribution to the grid and the document and party it books, oldest first by (entry date, entry, line), paged. Recomputed from the locked period, never stored; `total` (all the grid's lines) equals `frozen` (the filing's value) on every page, or the read is 409 `filing_drift` and serves no line. 422 `grid_not_drillable` for a total (71, 72), `grid_unknown` for a grid the form does not list. A firm seat reads with `filing.prepare` or `filing.sign`.

Operation ID: `readFilingGridLines`

### Parameters

```json
[
  {
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "required": true,
    "name": "entityId",
    "in": "path"
  },
  {
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "required": true,
    "name": "filingId",
    "in": "path"
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 8,
      "description": "The grid as the form numbers it (`listFilingForms`)."
    },
    "required": true,
    "description": "The grid as the form numbers it (`listFilingForms`).",
    "name": "grid",
    "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": "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"
  }
]
```

### Responses

#### 200 One page of the grid's lines.

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

#### 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"
    }
  }
}
```

#### 409 The world is not in the state the request assumed: a stale `expectedSeq`, or a transition already made.

```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"
    }
  }
}
```
