> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/cleartax-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions/ingest-deductions-via-file.md).

# Ingest Deductions via File

A file can contain multiple deductions. Each deduction can be for an invoice or for an advance payment. If there are multiple deductions for the same invoice or payment, each deduction represents one row in the file.

A file can contain documents belonging to the same TAN.

To upload a file, the following 4 APIs are to be used in the same order:

{% content-ref url="/pages/eOOrny52YxMRaoDTte7J" %}
[Get Pre-signed URL](/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions/ingest-deductions-via-file/get-pre-signed-url.md)
{% endcontent-ref %}

{% content-ref url="/pages/tkVhu4yaoUVTZWb2zjeI" %}
[Upload File to Storage](/cleartax-docs/clear-finance-cloud/cfc-api-reference/ingestion-api/ingest-documents-via-file/upload-file-to-storage.md)
{% endcontent-ref %}

{% content-ref url="/pages/OtDLJWWRNcaE24cqbUMO" %}
[Trigger File Ingestion](/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions/ingest-deductions-via-file/trigger-file-ingestion.md)
{% endcontent-ref %}

{% content-ref url="/pages/3tmF6QK1zeWG3sGcvO4U" %}
[Get File Ingestion Status](/cleartax-docs/tds-api/tds-api-reference/tds-apis/upload-deductions/ingest-deductions-via-file/get-file-ingestion-status.md)
{% endcontent-ref %}
