---
title: "Erp Upload Attachment"
method: POST
path: "/api/erp/attachments/upload"
tags: ["ERP"]
---

# Erp Upload Attachment

`POST /api/erp/attachments/upload`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/erp/attachments/upload`
- Auth: none declared

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Request body `multipart/form-data`

- BodyErpUploadAttachmentApiErpAttachmentsUploadPost
  - `files` string[], required
  - `workspace_key` string, nullable
  - `doctype` string, nullable
  - `document_name` string, nullable
  - `visibility_scope` string, nullable
  - `batch_name` string, nullable
  - `processing_profile` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6fe617c112ef`: 1 info
  - added the new optional request property `processing_profile`
- **2026-09-02** `497967424011`: 1 info
  - endpoint added
- **2026-08-29** `7a7c8e2b5afc`: 1 breaking
  - api path removed without deprecation
- **2026-08-20** `50ddd7b86210`: 2 warning
  - removed the request property `processing_profile`
  - removed the request property `workflow_run_id`
- **2026-08-15** `11d770ad7302`: 1 info
  - added the new optional request property `workflow_run_id`

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/erp/attachments/upload/post.md)

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
