> ## 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 Commercial Auto Documents

> Extract data from any commercial auto 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 commercial auto 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\_127\_2023, loss\_run\_commercial\_auto, mvr, ifta\_mileage, drivers\_license, vehicle\_schedule.
    </ResponseField>

    <ResponseField name="extracted_fields" type="array">
      Array of extracted field objects. Fields vary by document type but commonly include: applicant\_name, business\_name, policy\_number, policy\_period, driver\_name, license\_number, vehicle\_vin,
      vehicle\_year, vehicle\_make, vehicle\_model, coverage\_limits, deductibles, premium\_amount, claim\_date, claim\_amount, violation\_date, violation\_type
    </ResponseField>

    <ResponseField name="tables" type="array">
      Array of extracted table objects. Common tables include: vehicle\_schedule, driver\_schedule, coverage\_summary, loss\_history, violation\_history, ifta\_quarterly\_summary, mileage\_by\_jurisdiction
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "data": [
      {
        "template_confidence": 94,
        "template": "acord_127_2023",
        "processing_time": "2.8s",
        "start_page": 1,
        "end_page": 4,
        "extracted_fields": [
          {
            "field_name": "applicant_name",
            "value": "ABC Trucking LLC",
            "confidence": 98,
            "location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.25, "height": 0.02},
            "data_type": "text"
          },
          {
            "field_name": "total_vehicles",
            "value": "25",
            "confidence": 95,
            "location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.05, "height": 0.02},
            "data_type": "number"
          }
        ],
        "tables": [
          {
            "table_id": "vehicle_schedule",
            "title": "Schedule of Vehicles",
            "confidence": 92,
            "location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.7},
            "structure": {
              "headers": ["Unit", "Year", "Make", "Model", "VIN", "Cost New", "Liability Limit"],
              "rows": [
                {
                  "row_index": 0,
                  "cells": [
                    {"column": "Unit", "value": "001"},
                    {"column": "Year", "value": "2022"},
                    {"column": "Make", "value": "Freightliner"},
                    {"column": "Model", "value": "Cascadia"},
                    {"column": "VIN", "value": "1FUJGBDV8NLXXXXXX"}
                  ]
                }
              ]
            }
          }
        ]
      }
    ],
    "error": null
  }
  ```
</ResponseExample>
