
Real response for this sample
| Field | Value | Confidence |
|---|---|---|
| employer | ACME TECHNOLOGIES PRIVATE LIMITED | 99% |
| month | 2026-10 | 100% |
| employee name | RAVI KUMAR | 100% |
| employee id | ACM1042 | 99% |
| designation | Senior Engineer | 100% |
| pan | ABCPK1234F | 99% |
| gross earnings | 55000.00 | 100% |
| total deductions | 2000.00 | 100% |
| net pay | 53000.00 | 97% |
| basic | 30000.00 | 100% |
| hra | 15000.00 | 100% |
| provident fund | 1800.00 | 100% |
| professional tax | 200.00 | 100% |
No review needed. Read in 260 ms.
Fields returned
| Field | What it is |
|---|---|
employer, month | Employer and pay month |
employee_name, employee_id, designation | Employee |
gross_earnings, total_deductions, net_pay | Totals |
basic, hra, provident_fund, professional_tax | Components |
pan, uan, bank_account | Where printed |
Every field comes with a confidence score from 0 to 1.
Checks
- Net pay = gross earnings − total deductions
- Net pay is plausible
If a required field is missing, unsure, or a check fails, the response hasneeds_review: true and a warning explaining why.
Used for
- Salaried income assessment
- Personal loans
Request
Send a JPEG, PNG, WebP, TIFF, BMP or PDF up to 10 MB. Leave out document_type to detect it automatically.
curl https://api.lendocr.com/v1/documents:extract \
-H "Authorization: Bearer lo_test_..." \
-F file=@document.jpg \
-F document_type=salary_slipQuestions about the salary slip API
What if the salary slip numbers do not add up?
LendOCR checks that net pay equals gross earnings minus deductions. If it does not, the slip is flagged for review with a warning.
Can I send a phone photo of a salary slip?
Yes. Send a JPEG, PNG, WebP, TIFF, BMP or PDF up to 10 MB. Tilted and low-resolution photos are handled; if an image is too unclear, the response is flagged for review and says why.
Do you store the salary slip after reading it?
No. On the extract API the document is processed in memory and dropped. For background jobs it is kept encrypted only until processed, and results are erased after 24 hours.