This paper presents an integrated framework for decentralized invoice-backed loan underwriting combining interpretable machine learning, dynamic pricing algorithms, and on-chain trust infrastructure. We develop and validate SHAP-explainable ML models for real-time default probability assessment, design a Reverse Kelly AMM smart contract for optimal risk-adjusted loan pricing, integrate ERC-725 identity and on-chain reputation scoring with an automated insurance reserve, and deploy the system on Ethereum testnet with end-to-end functional and security testing. Stress testing across simulated default and fraud scenarios demonstrates the model achieves AUC-ROC of 0.89 on validation data, maintains LP yields of 12–18% under normal conditions while containing non-performing loan ratios below 3% under adverse scenarios, and sustains reserve solvency across 95th percentile stress events. The framework addresses critical gaps in DeFi lending by bridging regulatory interpretability requirements with decentralized credit assessment, demonstrating both technical feasibility and economic viability for permissionless SME financing at scale.