Hi Anton,
We are having intermitted issues when using salesInvoiceLines API, getting the following error;
Unable to create Sales Invoice/Line in Dynamics Business Central. Error from Dynamics Business Central: {
"error": {
"code": "BadRequest_NotFound",
"message": "No HTTP resource was found that matches the request URI 'api.businesscentral.dynamics.com/.../{tenant id}/{environment name}/api/v1.0/companies({company id}/salesInvoices({id})/salesInvoiceLines?tenant=msweua9310t90710494&aid=FIN'."
Did you manage to resolve your problem?