I want to convert an object into an array using code node, but I’m having trouble because I don’t have basic JavaScript. so I want to merge the invoice line id to the invoice after it is created. but invoice line is an object. Meanwhile, 1 invoice can have several invoice lines stored in array
I have merged the invoice with the invoice line. and want to update the invoice. but get an error like this. what should I add in the invoice_line_ids field?