Customers referred by a partner company

You could use an affiliate app (https://apps.shopify.com/search?q=affiliate%20links) to generate affiliate links for your partners to share with their customers, so that when they use the affiliate link, the discount is automatically applied to their order for them (and you can track the sales that the charity is referring to you).