# The F24 reminder PDF, the LIPE XML or the VAT return data (https://docs.getbeel.com/en/api/reference/taxes/getFilingFile)

## GET /filings/{id}/file

```json

{
  "operationId": "getFilingFile",
  "summary": "The F24 reminder PDF, the LIPE XML or the VAT return data",
  "description": "A \"promemoria F24\": the values to enter in F24 web or home banking, not the ministerial form. For a lipe filing, the XML file (IVP18) to check with the AdE control software, sign and upload in \"Fatture e corrispettivi\". For a vat_return, the data sheet (format csv, xlsx or json): rows, points to check and periods, to copy into the AdE \"Iva\" software or the accountant's.",
  "tags": [
    "Taxes"
  ],
  "x-required-scope": "taxes:read",
  "parameters": [
    {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "format",
      "in": "query",
      "required": false,
      "description": "vat_return: the data sheet as csv (default), xlsx or json; redditi_pf: csv (default) or json (xlsx is refused)",
      "schema": {
        "type": "string",
        "enum": [
          "csv",
          "xlsx",
          "json"
        ]
      }
    },
    {
      "name": "Getbeel-Company",
      "in": "header",
      "required": false,
      "description": "Act on one of the account's client companies (its id from GET /companies) instead of the key's own account. 404 company_not_found when the key cannot act on it.",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "PDF",
      "content": {
        "application/pdf": {
          "schema": {
            "type": "string",
            "contentMediaType": "application/pdf"
          }
        },
        "application/xml": {
          "schema": {
            "type": "string",
            "contentMediaType": "application/xml"
          }
        },
        "text/csv": {
          "schema": {
            "type": "string",
            "contentMediaType": "text/csv"
          }
        },
        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
          "schema": {
            "type": "string",
            "contentMediaType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
          }
        },
        "application/json": {
          "schema": {
            "type": "string",
            "contentMediaType": "application/json"
          }
        }
      }
    },
    "401": {
      "description": "Missing, invalid, revoked or expired API key",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "403": {
      "description": "The key lacks the 'taxes:read' scope",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "404": {
      "description": "Not found, or company_not_found (Getbeel-Company)",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

```

Full OpenAPI document: https://docs.getbeel.com/openapi.json