I am connecting stripe to xero.
I need it to create an invoice with multiple line items including discount lines as needed.
Applicable tax needs to be transferred
then payments need to be attached when they happen
I also need to move deferred income to income in xero when applicable - automatically created.
I want deposits and fees to transfer also.