Fields returned
| Field | What it is |
|---|---|
gstin | 15 characters, checksum verified |
legal_name, trade_name | Business names |
constitution, registration_type | e.g. Partnership, Regular |
address, pincode | Principal place of business |
liability_date, valid_from | Dates |
Every field comes with a confidence score from 0 to 1.
Checks
- GSTIN checksum
- Embedded PAN is valid
- State matches the address
If a required field is missing, unsure, or a check fails, the response hasneeds_review: true and a warning explaining why.
Used for
- MSME and business loans
- Supplier onboarding
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=gst_certificateQuestions about the gst certificate API
Does it verify the GSTIN?
It validates the GSTIN's checksum, state code and the PAN inside it. Confirming the registration is active needs the GST portal, which you can check alongside.
Can I send a phone photo of a gst certificate?
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 gst certificate 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.