> 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/max-itc-api/max-itc-api-reference/max-itc-apis/upload-purchase-documents/ingest-pr-via-file.md).

# Ingest PR via File

A file can contain multiple purchase documents. Each document can contain one or more document line items. Each document line item represents one row in the file.

A file can contain documents belonging to one or more GSTINs belonging to the same PAN.

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

{% content-ref url="/pages/VHi1hdNho6ECHxxVosZ2" %}
[Get Pre-signed URL](/cleartax-docs/clear-finance-cloud/cfc-api-reference/ingestion-api/ingest-documents-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 %}

{% hint style="warning" %}
**Note**: Once the file is uploaded to storage, the ingestion is still not complete. The Trigger MaxITC Workflow API provides an option to ingest the file uploaded to storage at the time of triggering the reconciliation. See [Trigger MaxITC Workflow API](/cleartax-docs/max-itc-api/max-itc-api-reference/max-itc-apis/trigger-max-itc-workflow.md) for more details.
{% endhint %}
