I have the following schemas :
const FinanceSchema = new mongoose.Schema({ moneyToBePaid: { type: Number, }, moneyPaid: { type: Number, },