> 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/resources-and-masters/input-and-output-templates.md).

# Input and output templates

## **Clear Purchase Document Template**

**Format**: CSV, XLS, XLSX (In the case of XLS or XLSX, Clear will read only the first sheet in the file).

**Template**:&#x20;

{% content-ref url="/pages/NeMbEIaJApkNDkBvOe6E" %}
[Purchase Document Line Object](/cleartax-docs/clear-finance-cloud/cfc-api-reference/resources-and-masters/purchase-document-line-object.md)
{% endcontent-ref %}

In addition to the fields in the Clear PR template, we support up to 10 additional fields that can be ingested into Clear as custom fields (eg. Tax codes / ERP usernames/others).

## Ingestion Error

**Format**: CSV (irrespective of the input file)

**Template with Sample Data**:&#x20;

{% file src="/files/XxbHOA1VCwLDuiFRRICl" %}

The template of the file will be the same as the input file. However, in addition to the columns in the input file, there will be 2 additional columns that have "No. of Errors" and "Error Message".

## Reconciliation Result

**Format**: GZIP File

This file will be in JSON Lines format where each line in the file is a separate JSON object.&#x20;

**Sample File**:&#x20;

{% file src="/files/sMyZIqg7FmDDhFQ2S5YX" %}

## Vendor File

**Format**: GZIP File&#x20;

**Sample File**:&#x20;

{% file src="/files/x7usRmuWwGlvwdcKAwRf" %}
