# E-Invoicing KSA XML reporting FTP Magnet

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FCq7YKyjlTJKdoE17sh4H%2Fassets_-LZ9fXxeBEm3pJiVldcu_-M2YqTVu7CMjjpFP8zq3_-M2YrcdBxKcuuYZP7rBK_FTP%20Magnet%20Banner.webp?alt=media&#x26;token=2e80278f-5966-45c6-8a2b-a5057771e285" 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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2F46LWfp6fV39FhH16bstt%2FClearTax%20KSA%20EINV%20XML%20reporting%20FTP%20Magnet%20Specification%20Document_v3.pdf?alt=media&token=db3da58b-9bf6-4c0b-aa6e-da8414cdaa70" %}

### **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

