---
title: "Creates a batch with transactions"
method: POST
path: "/books/transactions/createbatch/"
tags: ["Books (Transactions)"]
---

# Creates a batch with transactions

`POST /books/transactions/createbatch/`

## Headers

- `Content-Language` unknown

## Request body

- BooksTransactionsCreateBatchRequest
  - `Credentials` CoreAPICredentials, required
    - `CompanyID` integer, required — Company identifier
    - `APIKey` string, required — API key secret
  - `DatabaseID` integer — Database identifier
  - `BatchDescription` string, nullable — Batch description Defaults to "מנה שנוצרה ב-API - {Date}"
  - `Transactions` BooksTypedCreateBatchTransaction[], required
    - `Reference1` string, nullable — אסמכתא 1
    - `Reference2` string, nullable — אסמכתא 2
    - `ReferenceDate` string, date-time, nullable — תאריך אסמכתא
    - `ValueDate` string, date-time, nullable — תאריך ערך
    - `DebitAccountCode` string, nullable — מפתח חשבון חובה
    - `CreditAccountCode` string, nullable — מפתח חשבון זכות
    - `AmountILS` number, double, nullable — סכום התנועה בש"ח
    - `Details` string, nullable — פרטים

## Response `200`

OK

- ResponseBooksTransactionsCreateBatchResponse
  - `Status` 'Success (0)' | 'BusinessError (1)' | 'TechnicalError (2)'
  - `UserErrorMessage` string, nullable — Error message, in a user readable format
  - `TechnicalErrorDetails` string, nullable — Technical error details, let us know if you received this.
  - `Data` BooksTransactionsCreateBatchResponse
    - `BatchURL` string, nullable

---

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