Xero Create Invoice - discount not working

Hello,

We’re creating invoices on Xero using Make and facing an issue with customer discounts. The invoices created by Make don’t get the discount applied to them, even though one is set in Xero When creating invoices manually in Xero, they do get the discount applied.

I can see the Make “Create an Invoice” module output includes “Is discounted: false”, and I’m guessing this is the reason. How can we set this to true and allow Xero to apply discounts on the invoices?

Thank you!