---
title: "Create file emission"
method: POST
path: "/files/{companyId}/{bankId}"
tags: ["Files"]
---

# Create file emission

`POST /files/{companyId}/{bankId}`

Submits a file to a bank (`bankId`) on behalf of a company, e.g. a payment order file. Returns the Embat ID of the created file emission; retrieve its status later with `GET /files/emissions`.

## Path parameters

- `companyId` string, required
- `bankId` string, required

## Response `200`

Successful Response

- PostFilesEmissionResponseSchema
  - `id` string, required — Embat ID of the created file emission.

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — Not found. The requested resource or `companyId` does not exist.
- `422` — Validation Error
- `500` — Unexpected error. Contact support if it persists.

---

[API](https://skmtc.net/embat/apis/embat-api.md) · [All operations](https://skmtc.net/embat/apis/embat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/embat/embat-api/versions/36ca48bf4489/schema)
