Zoho Books Create Invoice API - Cannot enter account type for line items

Zoho Books Create Invoice API - Cannot enter account type for line items

Hi,

I am trying to create invoice via Create Invoice API and select different sales account types for the invoice line items, but this doesn't seem to be possible via Create Invoice API. I don't see any way to select "Account" for line items when creating invoice via API. However, this is very much possible via the UI, I want to be able to specify Sub Accounts of Sales for different line items (please see the attached screenshot). How do I do this via API?

Thanks