[REST API] create a vendor payment with more than 1 item
hey guys, I am having the following weird error when trying to make a vendor payment with more than 2 items. In my case, when a vendor has only 1 item, it’s sufficient for me to create a vendor payment by running ‘apply = true and line = 0’ (see below). But this is not the case for a vendor with more than 2 items.
Does anyone have any suggestions on this? ty