---
title: "Complete Deal File Upload"
method: POST
path: "/api/deals/{deal_id}/files/{file_identifier}/complete"
tags: ["dealFiles"]
---

# Complete Deal File Upload

`POST /api/deals/{deal_id}/files/{file_identifier}/complete`

## Request

- Base URL: `https://api.electricair.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.electricair.io/api/deals/{deal_id}/files/{file_identifier}/complete`
- Auth: none declared

## Path parameters

- `deal_id` integer, required
- `file_identifier` string, required

## Request body

- StoredFileUploadActionRequest
  - `version_identifier` string, required

## Response `200`

OK

- StoredFileSchema
  - `id` integer, required
  - `identifier` string, required
  - `display_name` string, required
  - `content_type` string, required
  - `file_size_bytes` integer, required
  - `current_version_number` integer, required
  - `version_count` integer, required
  - `created_by_name` string, nullable
  - `created_at` string, date-time, required
  - `uploaded_at` string, date-time, required
  - `permit_id` integer, nullable
  - `incentive_application_id` integer, nullable
  - `project_area` string

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-10-25** `a181801f95f1`: 3 info
  - added the optional property `incentive_application_id` to the response with the `200` status
  - added the optional property `permit_id` to the response with the `200` status
  - added the optional property `project_area` to the response with the `200` status

[Operation history](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/changes/api/deals/:deal_id/files/:file_identifier/complete/post.md)

---

[API](https://skmtc.dev/electricair/apis/electric-air-autoquote-api.md) - [All operations](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/revisions/a13d832a5676?raw)
