POST
/
api
/
v1
/
submission
/
commercial-auto
All Commercial Auto Documents
curl --request POST \
  --url https://api.ferofill.com/api/v1/submission/commercial-auto \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "files": [
    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
}
Processing time may vary based on document complexity. For faster processing when you know the specific document type, use the template-specific endpoints.

Request

files
file[]
required
Upload one or more commercial auto documents for extraction. Supported file formats: pdf, jpeg, png, xlsx, docx, pptx, csv, and txt.

Response

data
array
required
Array of extracted document data objects
{
  "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
}