> For the complete documentation index, see [llms.txt](https://restapi.wyzio.com/llms.txt)

# Upload expense ticket and create the draft (recognition in the background)

> POST /api-v1/expenses/draft/upload-async
> 
> Uploads a single expense ticket file, creates a draft expense dated today with the ticket attached and answers at once (202) with {draftId, documentFileId}. The AI recognition runs afterwards and fills the empty fields of the draft. Used by the mobile app.



## Servers
- Generated server url: https://wyzio.app (Generated server url)



## Parameters
### Headers

- **WEAL-TOKEN** ()
  API token (can be retrieved from account settings)

- **TARGET-ORGANIZATION-ID** ()
  ID of organization, for which the operation must be performed




### Body: multipart/form-data (object)

- **file** (string(binary))



## Responses
### 200
OK

#### Body: application/json (object)
object
### 400
400 Bad Request

### 401
401 Unauthorized

### 403
403 Access Denied

### 404
404 Not Found

### 500
500 Internal Server Error


[Powered by Bump.sh](https://bump.sh)
