> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ferofill.com/llms.txt
> Use this file to discover all available pages before exploring further.

# All General Liability Documents

> Extract data from any general liability insurance document. The system will automatically identify the document type and extract relevant information.

<Note>Processing time may vary based on document complexity. For faster processing when you know the specific document type, use the template-specific endpoints.</Note>

### Request

<ParamField body="files" type="file[]" required>
  Upload one or more general liability documents for extraction. Supported file formats: pdf, jpeg, png, xlsx, docx, pptx, csv, and txt.
</ParamField>

### Response

<ResponseField name="data" type="array" required>
  Array of extracted document data objects

  <Expandable title="Document Data Object">
    <ResponseField name="template" type="string">
      Identified document template. Supported templates: acord\_126\_gl\_2023, supplemental\_application, loss\_run\_general\_liability, operations\_questionnaire, product\_liability\_supplement,
      contractors\_supplement, liquor\_liability\_application, professional\_liability\_application.
    </ResponseField>

    <ResponseField name="extracted_fields" type="array">
      Array of extracted field objects. Fields vary by document type but commonly include: applicant\_name, business\_address, business\_description, years\_in\_business, number\_of\_employees,
      annual\_revenue, policy\_limits, aggregate\_limits, products\_completed\_operations, premises\_liability, claim\_date, claim\_amount, retention\_amount
    </ResponseField>

    <ResponseField name="tables" type="array">
      Array of extracted table objects. Common tables include: operations\_schedule, location\_schedule, products\_schedule, subcontractor\_schedule, claims\_history, coverage\_summary, premium\_breakdown,
      exposure\_analysis
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "data": [
      {
        "template_confidence": 97,
        "template": "acord_126_gl_2023",
        "processing_time": "2.1s",
        "start_page": 1,
        "end_page": 3,
        "extracted_fields": [
          {
            "field_name": "applicant_name",
            "value": "Premier Construction Services LLC",
            "confidence": 99,
            "location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.35, "height": 0.02},
            "data_type": "text"
          },
          {
            "field_name": "annual_revenue",
            "value": "2500000",
            "confidence": 96,
            "location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.12, "height": 0.02},
            "data_type": "currency"
          }
        ],
        "tables": [
          {
            "table_id": "operations_schedule",
            "title": "Schedule of Operations",
            "confidence": 94,
            "location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.6},
            "structure": {
              "headers": ["Operation", "Revenue", "Percentage", "Location", "Description"],
              "rows": [
                {
                  "row_index": 0,
                  "cells": [
                    {"column": "Operation", "value": "Commercial Construction"},
                    {"column": "Revenue", "value": "1800000"},
                    {"column": "Percentage", "value": "72%"},
                    {"column": "Location", "value": "Texas, Oklahoma"},
                    {"column": "Description", "value": "Office buildings, retail centers"}
                  ]
                }
              ]
            }
          }
        ]
      }
    ],
    "error": null
  }
  ```
</ResponseExample>
