💰 Revenue Sharing

Referral Agreement Generator

Create professional referral and commission agreements. Define referral fees, payment triggers, non-circumvention, and exclusivity terms.

📄 Live Document Preview
Referral Agreement ● Live Preview
`; const blob = new Blob([html], { type: 'application/msword' }); const url = URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = `Referral Agreement - ${companyName} - ${referrerName}.doc`; document.body.appendChild(a); a.click(); document.body.removeChild(a); URL.revokeObjectURL(url); showToast('Document downloaded!', 'success'); } function showToast(message, type = '') { const toast = document.getElementById('toast'); toast.textContent = message; toast.className = 'toast show ' + type; setTimeout(() => { toast.className = 'toast'; }, 3000); } document.addEventListener('DOMContentLoaded', function() { const today = new Date().toISOString().split('T')[0]; document.getElementById('effectiveDate').value = today; updatePreview(); });