# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cleartax.in/cleartax-docs/max-itc-api/max-itc-api-reference/max-itc-apis/upload-purchase-documents/ingest-pr-via-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
