Hi every one.
I have created an API to create sales invoice on ERPNext
I had on ERPNext the below complanies
1- Main Company (is the parent)
2- UAE Company (is a child for Main Company)
3- KSA Company (is a child for Main Company)
How can I send the sales invoice to the childes companies not to the parent?
fixed by sending the below parameters:
company
cost_center
delivery_fee_account_head
vat_account_head
liability_account_head
delivery_commission_cost_account_head
delivery_charge_cost_account_head
vat_rate
vat_disctiption