Invoice level profitability

Invoice level profitability

We use Zoho books for invoicing and creating Purchase orders. However, there is no way to calculate profitability at each Invoice level as there is no way to connect an invoice to a PO. 
Tags is one possible solution but the challenge is that there are only a small number of tags that can be used. Also, it is a tedious process to keep tagging each line item in the invoice. 
Is there is solution to this problem?