60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"htmlTemplate": "statement.pdf.jinja",
|
|
"txtTemplate": "statement.txt.jinja",
|
|
"format": "html",
|
|
"email": {
|
|
"from_address": "jkent3rd@gmail.com",
|
|
"to_address": "johnkent49@gmail.com",
|
|
"server": "smtp.gmail.com",
|
|
"password": "pvyrbcnzrjoizprn",
|
|
"template": "./template.txt",
|
|
"send_pdf": "true",
|
|
"send_text": "true",
|
|
"subject": "Your loan statement...",
|
|
"body": "Your loan statement is attached.",
|
|
"text": "Please see your most recent account statement."
|
|
},
|
|
"parameters": {
|
|
"account_number": "100001",
|
|
"principal": 35000.00,
|
|
"interest_rate": 5.0,
|
|
"periods_per_year": 12,
|
|
"periods": 180,
|
|
"start_date": "2018-06-25",
|
|
"start_interest_date": "2018-07-01",
|
|
"first_payment_month": "2018-08-01",
|
|
"monthly_payment": 278.15,
|
|
"payment_day_of_month": "01"
|
|
},
|
|
"borrower": {
|
|
"name": "Grandma Tina's Properties, LLC",
|
|
"address": "743 Madison St NW",
|
|
"city": "Washington",
|
|
"state": "DC",
|
|
"zip": "20011"
|
|
},
|
|
"lender": {
|
|
"name": "John Kent",
|
|
"phone": "434-510-7272",
|
|
"address": "109 Shores Rd",
|
|
"city": "Palmyra",
|
|
"state": "VA",
|
|
"zip": "22963"
|
|
},
|
|
"header": {
|
|
"title": "Mortgage Loan Statement - 185 James River Rd, Scottsville VA",
|
|
"date": "Today"
|
|
},
|
|
"payments": [
|
|
["2018-08-01", "278.15"],
|
|
["2018-09-01", "278.15"],
|
|
["2018-10-01", "278.15"],
|
|
["2018-11-01", "278.15"],
|
|
["2018-12-01", "278.15"],
|
|
["2019-01-01", "278.15"],
|
|
["2019-02-01", "278.15"],
|
|
["2019-03-01", "278.15"],
|
|
["2019-04-01", "278.15"]
|
|
]
|
|
}
|