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

# E-Invoicing KSA XML reporting FTP Magnet

<figure><img src="/files/20ibs2YBgYsl1KAJmNLb" alt=""><figcaption></figcaption></figure>

FTP Magnet is a middleware application between your FTP server and ClearTax E-Invoicing KSA application. You can load signed XMLs generated at your POS/store servers into your own FTP server. As a part of onboarding, ClearTax configures it’s FTP Magnet to connect to your FTP server. The FTP Magnet reads the input XML files from your FTP server and uploads them to ClearTax E-Invoicing KSA application. Once the uploaded files are processed, it writes the response back to your FTP server.

## Downloads

**Specification document and a typical project plan**:

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

### **Sample Request**

Request Body

[Reporting Signed XML](https://drive.google.com/file/d/1wdhQ3kgJAkOdjVDrIR_9wqISYuuk5qEV/view)

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

## **Security**

The incoming requests from ClearTax to your FTP server will be sent from the below IPs:

Sandbox: 150.230.54.220

Production: 144.24.210.78
