# E-Invoicing FTP Magnet

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

{% file src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FL5sFh9wMVQzTtEpP2U3g%2FEINV%20FTP%20Magnet%20-%20Specification%20Document%20and%20Project%20Plan.pdf?alt=media&token=88dd2d0b-9dcd-49e5-af56-a5619bc439ca" %}

## 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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FPj2SRxGqVAVEf6HL8PGk%2FEINV%20SFTP%20Sample%20Success%20File.csv?alt=media&#x26;token=c5911210-f2f3-431e-92df-9ca398bc6599">EINV SFTP Sample Success File.csv</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-INVOICE Standard</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FLES7cMd0S5cMmeVtLCIS%2FEINV%20SFTP%20Sample%20Generation%20Error%20File.csv?alt=media&#x26;token=3e1895af-8414-4eb1-85f2-d6d900879887">EINV SFTP Sample Generation Error File.csv</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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FA1sl60fUwqq5yF3y9qGk%2FEWB%20WITH%20IRN%20SFTP%20SAMPLE%20SUCCESS.csv?alt=media&#x26;token=2138d6a7-cfd3-49fa-9b7e-3a0939f9e424">EWB WITH IRN SFTP SAMPLE SUCCESS.csv</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-Invoice E-Way Bill Template</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FpWKNAg8awMitcd8QpJ4Q%2FEWB%20WITH%20IRN%20SFTP%20SAMPLE%20GENERATION%20ERROR.csv?alt=media&#x26;token=083e2e08-4309-474f-b778-959a197c8092">EWB WITH IRN SFTP SAMPLE GENERATION ERROR.csv</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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2F7fZLLKLXg6LqN9NUIsO8%2FEWB%20SFTP%20SAMPLE%20SUCCESS.csv?alt=media&#x26;token=38076d66-0431-4bdf-bb9b-7de4b82c3962">EWB SFTP SAMPLE SUCCESS.csv</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-Invoice Unified EWB Template</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FMSy5fAqBvXgV19kRB9ya%2FEWB%20SFTP%20SAMPLE%20GENERATION%20ERROR.csv?alt=media&#x26;token=9b7466d6-8a86-41f1-980e-1e3e9e9ba6ed">EWB SFTP SAMPLE GENERATION ERROR.csv</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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2F1vo2IVVodTOYF5udGw0u%2FB2C%20QRCODE%20SFTP%20SAMPLE%20SUCCESS.csv?alt=media&#x26;token=e4bac69c-44b1-41fe-946f-b633408d4440">B2C QRCODE SFTP SAMPLE SUCCESS.csv</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>E-INVOICE Standard</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FPKrH9jc0iTjwyupvCqp0%2FB2C%20QRCODE%20SFTP%20SAMPLE%20GENERATION%20ERROR.csv?alt=media&#x26;token=99fc91f6-5035-48e1-865f-34222aa1dca7">B2C QRCODE SFTP SAMPLE GENERATION ERROR.csv</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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FOgwLnW6WTeX6466tsfgm%2FIRN%20CANCEL%20SFTP%20SAMPLE%20REQUEST.xlsx?alt=media&#x26;token=c7407b02-bc3b-49c5-aeb9-6164d33325aa">IRN CANCEL SFTP SAMPLE REQUEST.xlsx</a></td></tr><tr><td>OUTPUT/UPLOAD_ERROR</td><td>IRN CANCELLATION</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2F3NwsrjkxbNPpzx2yBHF8%2FIRN%20CANCEL%20SFTP%20SAMPLE%20UPLOAD%20ERROR.csv?alt=media&#x26;token=39b5713e-82a1-4623-9149-6e3f7bb16b02">IRN CANCEL SFTP SAMPLE UPLOAD ERROR.csv</a></td></tr><tr><td>OUTPUT/SUCCESS</td><td>IRN CANCELLATION</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FkSOqbM29YDGdfqfnzfo4%2FIRN%20CANCEL%20SFTP%20SAMPLE%20SUCCESS.csv?alt=media&#x26;token=7fe3d236-fad8-471a-b06d-906f83d36500">IRN CANCEL SFTP SAMPLE SUCCESS.csv</a></td></tr><tr><td>OUTPUT/GENERATION_ERROR</td><td>IRN CANCELLATION</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FeUKcbIJ2BascXnTgUihK%2FIRN%20CANCEL%20SFTP%20SAMPLE%20GENERATION%20ERROR.csv?alt=media&#x26;token=2b5ac145-91e1-4d87-955b-fd756222012b">IRN CANCEL SFTP SAMPLE GENERATION ERROR.csv</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="../clear-finance-cloud/learn-clear-finance-cloud-basics/ftp-client" %}
[ftp-client](../clear-finance-cloud/learn-clear-finance-cloud-basics/ftp-client)
{% endcontent-ref %}
