> 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/e-invoicing-api/e-invoicing-ftp-magnet.md).

# E-Invoicing FTP Magnet

To download the specification document and a typical project plan, click on the link below.

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

## Sample templates for various actions

{% hint style="info" %}
For files in INPUT/INIT, to download a ClearTax template for reference, go to your ClearTax account and click on the “Import” tab.\
Files in INPUT/UPLOAD\_ERROR will have the same template as above with a new column named "Error" added at the end of the file.
{% endhint %}

#### GENERATE\_IRN

<table><thead><tr><th>Directory</th><th width="215.33333333333331">Standard template name</th><th data-type="files">Sample template</th></tr></thead><tbody><tr><td>OUTPUT/SUCCESS</td><td>E-INVOICE Standard</td><td><a href="/files/c3zBzKFc76Jy2ZoljjB0">/files/c3zBzKFc76Jy2ZoljjB0</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-INVOICE Standard</td><td><a href="/files/5TBiH9z9zxGNsRa6BxRG">/files/5TBiH9z9zxGNsRa6BxRG</a></td></tr></tbody></table>

#### GENERATE\_EWB\_WITH\_IRN

<table><thead><tr><th>Directory</th><th width="219.33333333333331">Standard template name</th><th data-type="files">Sample template</th></tr></thead><tbody><tr><td>OUTPUT/SUCCESS</td><td>E-Invoice E-Way Bill Template</td><td><a href="/files/aYDrsRBPbJIRsEDeH7Ad">/files/aYDrsRBPbJIRsEDeH7Ad</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-Invoice E-Way Bill Template</td><td><a href="/files/7oUaSpyrUPFNQS2JAUU7">/files/7oUaSpyrUPFNQS2JAUU7</a></td></tr></tbody></table>

#### GENERATE\_EWB

<table><thead><tr><th>Directory</th><th width="227.33333333333331">Standard template name</th><th data-type="files">Sample template</th></tr></thead><tbody><tr><td>OUTPUT/SUCCESS</td><td>E-Invoice Unified EWB Template</td><td><a href="/files/ztB3RrenMF3umJXYbV2B">/files/ztB3RrenMF3umJXYbV2B</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-Invoice Unified EWB Template</td><td><a href="/files/lzQxy83C5wk6b9Rg3VCS">/files/lzQxy83C5wk6b9Rg3VCS</a></td></tr></tbody></table>

#### GENERATE\_B2C\_QR\_CODE

<table><thead><tr><th>Directory</th><th width="232.33333333333331">Standard template name</th><th data-type="files">Sample template</th></tr></thead><tbody><tr><td>OUTPUT/SUCCESS</td><td>E-INVOICE Standard</td><td><a href="/files/PV7DmaZGxFIlrNTT2fup">/files/PV7DmaZGxFIlrNTT2fup</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-INVOICE Standard</td><td><a href="/files/rWW0YKSKwPpizMPC7vHx">/files/rWW0YKSKwPpizMPC7vHx</a></td></tr></tbody></table>

#### CANCEL\_IRN

<table><thead><tr><th>Directory</th><th width="237.33333333333331">Standard template name</th><th data-type="files">Sample template</th></tr></thead><tbody><tr><td>INPUT/INIT</td><td>IRN CANCELLATION</td><td><a href="/files/ybBv9eJjHU0iVTJhnaa7">/files/ybBv9eJjHU0iVTJhnaa7</a></td></tr><tr><td>OUTPUT/UPLOAD_ERROR</td><td>IRN CANCELLATION</td><td><a href="/files/Qs7JgcuVy3OiD6vHYaa3">/files/Qs7JgcuVy3OiD6vHYaa3</a></td></tr><tr><td>OUTPUT/SUCCESS</td><td>IRN CANCELLATION</td><td><a href="/files/Qy1AXbd5VcEhwkJ4luFC">/files/Qy1AXbd5VcEhwkJ4luFC</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>IRN CANCELLATION</td><td><a href="/files/58xIPGRi49kKfz8ksSBB">/files/58xIPGRi49kKfz8ksSBB</a></td></tr></tbody></table>

{% hint style="warning" %}
**Note**: These template names and samples are applicable only if you are using our standard templates available in the product. In case you have created custom templates, then the template names and headers might vary based on your customizations.
{% endhint %}

{% hint style="info" %}
The success and error file templates are subject to change. Both the headers and the order of columns may change. We recommend you map the output with flexible options to add or change the headers in the future.
{% endhint %}

## All about FTP client

To know more about creating and configuring FTP client, security, FAQs, click on the link below.

{% content-ref url="/pages/1EkrCUu80x7GyvaPZW9N" %}
[FTP client](/cleartax-docs/clear-finance-cloud/learn-clear-finance-cloud-basics/ftp-client.md)
{% endcontent-ref %}
