# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cleartax.in/cleartax-docs/e-invoicing-ksa-api/e-invoicing-ksa-xml-reporting-ftp-magnet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
