In developing countries, modern production contracts offered by supermarkets or agro-export firms entail a loan component under the form of input advances. Like traditional moneylenders, supermarkets want to make sure that this investment is not diverted. However, unlike moneylenders, supermarkets do care about the attributes of the product (form, quality, food safety, etc.). Whether such attributes are present in the harvested product is largely influenced by the advice and the extension services received by the farmer. We built a financial contracting model where we show that supermarkets, choosing to forgo specialization, optimally delegate to a multi-tasking agent both the monitoring and the advisory missions. This contract is shown to potentially enhance credit access for small farmers and sometimes to involve excessive monitoring.