app\models\Invoice::affectsBalance PHP Method