---
title: "Create e-invoicing batch through CSV file"
method: POST
path: "/v1/transactions/batches"
tags: ["Transactions"]
---

# Create e-invoicing batch through CSV file

`POST /v1/transactions/batches`

## Request

- The document declares no server URL.
- Auth: API key in header `Ocp-Apim-Subscription-Key`

Submit a CSV file that creates an e-invoicing batch

## Response `202`

Accepted - the batch request was successfully accepted for processing.

- BatchResponse
  - `error_result` BatchErrorResponse
    - `message` string
  - `failed_item_count` integer
  - `id` string
  - `imported_at` string
  - `name` string: Validations: - Maximum length: 256
  - `report` BatchReport
    - `expires_at` string
    - `include_failures_only` boolean
    - `uri` string
  - `status` string

## Other responses

- `400`: Bad customer request - some of the provided information is incorrect or mandatory data is missing. Check the message and errors section of the response for more details.
- `401`: Authentication failed - missing or incorrect subscription key
- `429`: Too many requests were sent for a short period of time. Try again a bit later.
- `5XX`: Internal server error. Its not you, its us! We are experiencing a rare and unexpected system disruption. Retry again later. The message field of the response will contain more information for the cause. Feel free to contact us.

---

[API](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing.md) - [All operations](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing/llms.txt) - [OpenAPI document](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing/revisions/d38890cb6fcd?raw)
