---
updatedAt: 2025-08-05T11:01:34.000Z
agentTools:
  projectIndex: https://rivhit-api.readme.io/llms.txt
---

# 📥 Discounts Rules

Sending a discount in a document production

## In the Discount Section of the Document

To set the discount amount and type send request parameters:

`'discount_type'`

1 - Percentage\
2 - Amount

Will set the discount value type.

<br />

`'discount_value'`

The percentage/amount discount value.

<br />

<Callout icon="🚧" theme="warn">
  #### Discount by amount will not be possible if the document format type is items Vat combined (לא חייב מע"מ)
</Callout>

<br />

The discount will show on the items list summary as follows:

<Image align="center" className="border" border={true} src="https://files.readme.io/08ca6b31a4d27cea9ac650038be38b4af06d3df84058087063d5d5af31e3bf52-image.png" />

<br />

## Discount as an Item

It is possible to send the discount as a negative amount of the item under the items list.

Send in request parameters items array:

`'price_nis'`

or

`'price_mtc'`

> By the item currency - nis for ILS and mtc for all others

Send a ***negative amount*** of the discount.

<br />

`'description'`

Send the description of the item that represent the discount.

<br />

The discount will show as an item in the items list as follows:

<Image align="center" className="border" border={true} src="https://files.readme.io/d155aeb47efd01b50f0c0e7766f073d18a6e7c7ee1426295bc51aeff7824a98d-image.png" />

<br />

## Display and Calculate Discount in the Item line

The discount will appear in each item line in the items list - with amounts before and after.

Send the request parameter values:

`'bruto_price_nis'`

The Item price before the discount

<br />

`'price_nis'`

The item price after the discount

<br />

> The system will calculate the discount in percentage and display it on each item line.

<br />

> 🚧 Terms of USE
>
> * **The document format needs to be - 'עסק מסחרי 3 הנחה בשורה ללא מט"ח'.**
> * **This option won’t work with MTC currency and an English document**

<br />

The discount calculation on the items line will appear as follows:

<Image align="center" className="border" border={true} src="https://files.readme.io/b66d76c6cdc42e674d766a92b40ea46ebd3725137c9b90873bf434dcee1cf7ea-image.png" />