For receipt and delivery notes, the amount and tax rates are specified either manually, or based on price list data, or from goods cards.
If in Store House:

Then the Set prices in accordance with the agreement/price lists group function is available for the goods from the document. This function can also be called from the context menu.
If the goods were not selected in the delivery note, then pricing according to the price list will be carried out for all goods in the document.
This function works according to the following algorithm: