> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.refrens.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How To Fetch Batch-Specific Prices While Creating Documents?

When working with batch-tracked items, different batches of the same item may have different prices.

Entering or adjusting these prices manually while creating documents can take extra time.

With the **batch-specific pricing** option, you can fetch the price associated with a selected batch while creating a document.

This helps you use the relevant batch price and makes document creation easier when working with batch-tracked inventory.

## How to Fetch Batch-Specific Prices:


1. Open a document (such as an invoice or expense).
2. Add the batch-tracked item to the document.

   ![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/image_1b4yhlv.png =686xauto)
3. Select the required batch from the batch-selection drawer.

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/image_1ih26ir.png =672xauto)

\=> Mark the **Use Batch Price** checkbox to fetch the price saved for that batch.

For sales documents, the batch's selling price is applied and for purchase documents, expenses etc. the batch's cost price is applied.


![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/image_1vzsvuq.png =579xauto)
6. Review the fetched price and the remaining item details.
7. Complete the document and save it.

###### Review the Item Price Before Saving:

After fetching the batch-specific price, review the item details to make sure the selected batch and price are correct.

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/image_3n6dpb.png =706xauto)

If the document contains multiple batch-tracked items, review the batch and price for each relevant item before saving.

## Troubleshooting Error When Using Batch-Specific Prices:

You may encounter the following validation error when an item has multiple batches with different prices:

*“This item has multiple batches with different prices. Turn on ‘Display Batch Info in Separate Columns’ to price each line from its own batch, or turn off ‘Use batch price’ to save this as one line.”*

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/image_1bfz64m.png =711xauto)

This happens when the selected configuration attempts to use different batch prices without displaying the batches as separate line items.

### How to resolve this error:

You can resolve the error in either of the following ways, depending on how you want your document to appear.

###### Option 1: Display each batch in separate columns
######
If you want to apply the price associated with each batch separately:

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/image_1lcyfdu.png =319xauto)
1. Keep **Use batch price** enabled.
2. Enable **Display Batch Info in Separate Columns**.
3. Review the batch quantities and prices.
4. Click **Save Changes**.

Refrens can then price each line from its own batch.

###### Option 2: Save all selected batches as one line

If you want to keep the selected batches together as a single line item:

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/image_1snhgwn.png =333xauto)
1. Open **Add Batches** or **Edit Batches** for the item.
2. Disable **Use batch price**.
3. Keep the required batch allocations and quantities.
4. Click **Save Changes**.

This lets you save the selected batches as one line without applying separate batch-specific prices.

|| Important: If you need different prices for different batches, use the first option. Disabling Use batch price means the document will not apply the selected batches' prices separately.

In case you need further assistance, reach out to us via live chat support or drop an email at [__care@refrens.com__](mailto:care@refrens.com).