---
title: "Batch Create Draft Invoice Records"
method: POST
path: "/api/v3/record/invoicedraft/batch/create"
---

# Batch Create Draft Invoice Records

`POST /api/v3/record/invoicedraft/batch/create`

## Request body

- object
  - `data` object[]
    - `accountid` string, required — The related account's GUID.
    - `companyname` string, required — The name of the related account or company receiving the invoice.
    - `Items` object — Add an object for each item you'd like to add to this draft invoice. You must include at least one item.
      - `Item` object[]
        - `itemprice` number, float, required — Set the price of the product.
        - `itemquantity` number, float, required — Set the quantity of the product.
        - `itemtotalprice` number, float, required — Set the total price of the item, must be equal to the quantity of the item multiplied by the price.
        - `productname` string, required — Set the name of the related or custom product.
        - `description` string — Free text description of the order item or product.
        - `invoiceitemid` string — Use the GUID of an invoice item to update it here. Use GET to retrieve the GUID. This option is only relevant when updating an invoice.
        - `itemorder` integer — Set the order the items will be listed in, will appear in ascending order starting with the lowest at the top.
        - `ownerid` string — A system user's GUID, will fill in automatically with the user who created the item and be used for permissions. Can be set manually.
        - `productid` string — Use a product's GUID to relate it to this item.
    - `address` string — Full address of the related account.
    - `amountdiscount` number, float — Provide a discount on the whole invoice by amount.
    - `amountdiscountpercent` number, float — If you've filled out the amountdiscount field, use this field to display the relevant percentage. Leave this field blank to display the percentage as 0.
    - `crmorderid` string — The related order's GUID.
    - `currencycode` integer — Type of currency, defaults to NIS (Picklist).
    - `description` string — Description of up to 4,000 characters.
    - `emailaddress` string — Email of the related account, must be in email format.
    - `fax` string — Fax of the related account.
    - `idnumber` string — ID number of the related account.
    - `ownerid` string — The GUID of the system user who created the record, can also be set manually. Will be used for permissions.
    - `rounddiscountcode` integer — Enter 1 to apply a round discount to the total amount (Picklist).
    - `taxincludecode` integer — Enter 1 to add tax to the total amount (Picklist).
    - `telephone` string — Phone number of the related account.

## Response `200`

200

## Other responses

- `400` — 400
- `401` — 401

---

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