To enable support for Sprout Invoices, go to AffiliateWP » Settings » Integrations and check the box that says Sprout Invoices.
Once enabled, AffiliateWP will automatically generate referral records when a visitor is successfully referred to an invoice via an affiliate link.
That’s it, you’re done!