Scenerio
e.g Customer A gets an invoice, company offer services against customer invoice , adds in purchase invoices
can it’s possible to add purchase invoices with respect to that Specific customer A and get report of specific customer A purchase invoice details.
So doing this we can get profit and loss report of that specific invoice of Customer.
Profit is not calculated on specific sales invoices, regardless of whether there are simultaneous purchase invoices involved. So the answer is you cannot do what you are asking about.