I need to sync invoice from my application to xero portal for that i had used invoice api which provided by Xero.
Invoice API URL : https://api.xero.com/api.xro/2.0/Invoices
In xero invoice api tax and discount parameter available for lineitem (invoice item), but no option of tax and discount for order so, my application'invoice have tax and discount on full order.
can anyone help me how can i sync tax and discount on full order in xero invoice api ?
For reference i have attached xero invoice api parameter image.