Invoice and Payment matching; variance on payment due to contra charges

SOLVED

I raise an invoice to a customer and receive payments into a linked Bank Account and want to match them. However the payment is always less than the Gross Invoice figure as I pay a management fee which varies dependant on the customers value add to the goods supplied. EG, Customer orders £1000 of goods, Completes £100 of value add so only pays £900. 

I raise a Purchase invoice for £1000 and a Sales Invoice for £100. I need both to keep the Tax man happy.

Is there a way I can match both the Purchase Invoice and Sales Invoice from a single Bank receipt of £900? On the matching screen I can only see the Sales Invoices. And keep the linked Bank Account and Sage aligned

Any help appreciated