---
title: "Update an Invoice Receipt"
method: PUT
path: "/api/record/invoicereno/{id}"
---

# Update an Invoice Receipt

`PUT /api/record/invoicereno/{id}`

## Path parameters

- `id` string, required

## Request body

- 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, required — Add an object for each item you'd like to add to this invoice receipt. 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.
  - `ReceiptItems` object, required — Add an object for each receipt item you'd like to add to this invoice receipt. You must include at least one item.
    - `ReceiptItem` object[]
      - `itemtotal` number, float, required — Total amount to be paid for this receipt item.
      - `paymentdate` string, date, required — Date the payment was made.
      - `paymenttypecode` integer, required — Type of payment (Picklist). Insert a number between 1 and 18.
      - `bankcode` '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '23' | '24' | '25' | '26' | '27' | '28' — Select the relevant bank code.
      - `branch` string — Bank branch
      - `cardnumber` string — Card or check number
      - `credittypecode` integer — Type of payment (Picklist). Use 1 for multiple payments and 2 for a single payment.
      - `invoicereceiptitemid` string — Use the GUID of a receipt item to update it here. Use GET to retrieve the GUID. This option is only relevant when updating a receipt.
      - `numofpayments` integer — Number of payments. Relevant if you've selected the multiple payments option in the credittypecode field.
      - `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.
      - `voucher` string — Page number in accounting book.
  - `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.
  - `invoicecreditid` string — The related credit invoice's GUID.
  - `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)
