Skip to content

Instantly share code, notes, and snippets.

@jvkumar

jvkumar/quote.json

Last active Oct 5, 2016
Embed
What would you like to do?
quote json
IMPORTANT: ALL AMOUNT VALUES (DOLLAR) WILL BE RETURNED IN CENTS
================================================================
{
"_id": "kuhi7fn7n8b7ow827y99w",
"property_id": 22354,
"is_multidimensional": true,
"furnishing_elected_flag": true,
"pet_elected_flag": true,
"parking_elected_flag": true,
"furnishing_allowed_flag": true,
"pet_allowed_flag": false,
"parking_allowed_flag": true,
"window_rent": "variable|flat",
"session_uid": "jytgu76i8w72o998hidy",
"user_id": 2435,
"start_date": "2016-10-12",
"end_date": "2016-11-30",
"other_fee_description": "This is fee for water delivery and garbage disposal",
"average_monthly_rent": 3244,
"rent_type": "seasonal",
"homesuite_commission_percentage": 10.00,
"discount_amount": 200,
"currency": "USD",
"total_stay": {
"months": 2,
"days": 3,
"total_in_days": 63
},
"upfront_fees": {
"security_deposit": 1000,
"cleaning": 200,
"application": 700,
"pet_cleaning": 100,
"pet_security_deposit": 800,
"other": 300
},
"monthly_utility_rates": {
"parking": 100,
"furnishing": 1000,
"occupancy_tax_percentage": 10.10,
"pet": 100,
"utility": 300
},
"monthly_fees": [
{
"month": 10,
"year": 2016,
"num_of_days_in_month": 31,
"num_of_days_staying": 12,
"staying_whole_month": false,
"start_date": "2016-10-12",
"end_date": "2016-10-31",
"line_items": {
"base_rent": 2000,
"prorated_base_rent": 1700,
"tenant_rent": 2200,
"prorated_tenant_rent": 800,
"prorated_parking_fee": 120,
"prorated_furnishing_fee": 800,
"prorated_occupancy_tax": 10,
"prorated_pet_fee": 100,
"prorated_utility_fee": 300
},
"tenent_total_payment": 2389,
"hs_commission": 230,
"landlord_money": 2189
},
{
"month": 11,
"year": 2016,
"num_of_days_in_month": 30,
"num_of_days_staying": 30,
"staying_whole_month": true,
"start_date": "2016-11-01",
"end_date": "2016-11-30",
"line_items": {
"base_rent": 2000,
"prorated_base_rent": 1700,
"tenant_rent": 2200,
"prorated_tenant_rent": 800,
"prorated_parking_fee": 120,
"prorated_furnishing_fee": 800,
"prorated_occupancy_tax": 10,
"prorated_pet_fee": 100,
"prorated_utility_fee": 300
},
"tenent_total_payment": 2389,
"hs_commission": 230,
"landlord_money": 2189
}
],
"move_out_refunds": {
"security_deposit": 1000,
"pet_security_deposit": 100
},
"subtotal": {
"base_rent": 2000,
"prorated_base_rent": 1700,
"tenant_rent": 2200,
"prorated_tenant_rent": 800,
"prorated_parking_fee": 120,
"prorated_furnishing_fee": 800,
"prorated_occupancy_tax": 10,
"prorated_pet_fee": 100,
"prorated_utility_fee": 300,
"hs_commission": 1500,
"landlord_money": 23000
},
"grandtotal": {
"tenant_payment": 23343,
"landlord_money": 45366,
"hs_commission": 1500,
"refund": 1200
},
"change_log": {
"2019-06-01T00:00:00Z": [
"updated pet_fee from 10 to 60",
"updated xyz_fee from 10 to 60"
],
"2019-06-01T00:00:00Z": [
"updated pet_fee from 10 to 60",
"updated xyz_fee from 10 to 60"
],
},
"created_at": "2019-06-01T00:00:00Z",
"updated_at": "2019-06-01T00:00:00Z"
}
//Changelog *MAY* be implemented in future, not in V1
@foohomesuite

This comment has been minimized.

Copy link

@foohomesuite foohomesuite commented Sep 29, 2016

occupancy_tax_percetnage misspelled

@foohomesuite

This comment has been minimized.

Copy link

@foohomesuite foohomesuite commented Sep 29, 2016

I would also need the full month's rent for each of the months

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment