Consignment stock transfer, raise an invoice when stock sold by the retailer

Business Case

In retail and distribution business the distributor have to transfer the stock to retailers without invoice, periodically the stock is reviewed at retailer location and invoice will be raised for the stock sold or consumed.

Distributor wants to track the stock assigned to the retailer and manage the returns for the unsold items.