# 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="../../../../clear-finance-cloud/cfc-api-reference/ingestion-api/ingest-documents-via-file/get-pre-signed-url" %}
[get-pre-signed-url](../../../../clear-finance-cloud/cfc-api-reference/ingestion-api/ingest-documents-via-file/get-pre-signed-url)
{% endcontent-ref %}

{% content-ref url="../../../../clear-finance-cloud/cfc-api-reference/ingestion-api/ingest-documents-via-file/upload-file-to-storage" %}
[upload-file-to-storage](../../../../clear-finance-cloud/cfc-api-reference/ingestion-api/ingest-documents-via-file/upload-file-to-storage)
{% 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](../trigger-max-itc-workflow) for more details.
{% endhint %}
