Hi,
In order to update an invoice line via API's, you should run a PATCH command like 'PATCH businesscentralPrefix/companies({id})/salesInvoices({id})/salesInvoiceLines({salesInvoiceLineId})' as indicated via the Microsoft info: https://docs.microsoft.com/en-us/dynamics-nav/api-reference/v1.0/api/dynamics_salesinvoiceline_update
So in this case, in order to update lines, you should make a specific request per invoice line.
In order to not make a specific request per line, I also tried to perform an update of lines via the extend clause: 'PATCH businesscentralPrefix/companies({id})/salesInvoices({id})?$expand=salesInvoiceLines', and I define the unique identifiers of the lines within the request body.
The PATCH command runs without error. But the invoice lines are not getting updated whatsoever.
Is there another possibility to update invoice lines via the PATCH URL of the sales invoice itself with a kind of expand for the lines?