# Confirm Document Upload (Company)

GraphQL endpoint: `/company`

Claims an upload prepared by prepareDocumentUpload. The server reads the stored object's real size — not the one declared up front — moves the reservation into the repository and queues the document for AI tagging.

## Query

```graphql
mutation ($id: ID!) {
  confirmDocumentUpload(id: $id) { id fileName byteSize status folderId }
}

```

## Variables

```json
{
  "id": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "confirmDocumentUpload": {
      "byteSize": "640",
      "fileName": "invoice.pdf",
      "folderId": null,
      "id": "00000000-0000-4000-8000-000000000001",
      "status": "ACCEPTED"
    }
  }
}
```
