> ## Documentation Index
> Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Resident non-salary payments

> Prepare Form 140 Sheet JSON for the TDS Potential Notices API. Upload payment and challan details and download the assessment.

Use Form 140 to check potential TDS notices for resident non-salary payments. Submit `form: "140"` with a `tax_year` such as `TY 2026-27`, then upload a `form140_workbook` in Sheet JSON format.

Form 140 supports Q1 to Q4. Cash withdrawals and online-game winnings are outside the supported calculation scope.

## Prepare your workbook

Start with the [Form 140 sample](https://developer.sandbox.co.in/data/tds/analytics/forms/form140_workbook.data.json) and validate it against the [input schema](https://developer.sandbox.co.in/data/tds/analytics/forms/form140_workbook.schema.json). Keep table headers in schema order. Each value in a row corresponds to the header at the same position.

* Set `is_pan_operative` to a JSON boolean in each payee row.
* Set `utilized_amount` to the challan credit already used outside the payments in this workbook.
* Use Unix timestamps in milliseconds for date fields. `payment_date_epoch` means the earlier of payment or credit.
* Match the workbook TAN, tax year, and quarter to the job request.

The sample uses synthetic data with TAN `AHMA00000C`, tax year `TY 2026-27`, and quarter `Q1`. Its deductions and deposits are on time, but submitting it after the filing deadline can still produce a filing fee.

## Generate the report

1. [Create a job](https://developer.sandbox.co.in/api-reference/tds/analytics/tds-analytics/endpoints/submit_job.md) and save its `job_id` and `input_json_url`.
2. Upload the workbook to `input_json_url` using a PUT request and `Content-Type: application/json`.
3. [Poll the job](https://developer.sandbox.co.in/api-reference/tds/analytics/tds-analytics/endpoints/poll_job.md) until its status is `succeeded` or `failed`.
4. On success, download `output_json_url` for Sheet JSON or `output_excel_url` for Excel. If row validation fails, download `validation_json_url` for JSON issues or `validation_excel_report_url` for annotated Excel.

The report uses the job creation time as its calculation cutoff. Earlier-payment totals start at zero and accumulate the payments supplied in your workbook. Include the relevant earlier payments if you want them counted toward thresholds.

See the [output workbook](https://developer.sandbox.co.in/api-reference/tds/analytics/tds-analytics/get_response/form140.md) for summary flags, interest fields, and assessment limits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.