xero-php icon indicating copy to clipboard operation
xero-php copied to clipboard

Set line items to the end of an invoice instead of the top when updating an invoice

Open mikejatech opened this issue 5 years ago • 1 comments

Hi,

Is there a way when adding line items to an existing invoice (which already has line items) to add them to the end of the invoice instead of them being added to the top which happens by default?

Or is there a way to re-order line items via the API?

Any help on this would be great.

Thank you.

mikejatech avatar Mar 26 '19 11:03 mikejatech

Great question. I'm not sure - have you tested in the API previewer? I believe the LineItem endpoints an invoice should respect the order.

calcinai avatar Apr 02 '19 06:04 calcinai