Skip to content

Instantly share code, notes, and snippets.

@Code0987
Created April 24, 2023 15:59
Show Gist options
  • Save Code0987/5e9bdb6f366b97c3a71c7c3a51b359c6 to your computer and use it in GitHub Desktop.
Save Code0987/5e9bdb6f366b97c3a71c7c3a51b359c6 to your computer and use it in GitHub Desktop.
POST https://quickpdf.climstech.com/api/template-to-pdf
Content-Type: application/json
{
"template": "payslip",
"values": {
"month_year": "2023-04",
"company_logo": "https://i.imgur.com/alOBAKC.png",
"company_name": "Company Name",
"company_address1": "Address",
"company_address2": "",
"summary": [
{
"key": "Employee Name",
"value": ""
},
{
"key": "Employee ID",
"value": ""
},
{
"key": "Designation",
"value": ""
},
{
"key": "UAN",
"value": ""
},
{
"key": "PAN",
"value": ""
}
],
"leaves": {
"Pay Date": "",
"Work Days": "",
"Leaves": ""
},
"earnings": [
{
"key": "HRA",
"value": "10000"
},
{
"key": "Special",
"value": "100000"
}
],
"deductions": [
{
"key": "Provident Fund",
"value": ""
},
{
"key": "Profession Tax",
"value": ""
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment