# Custom Template

### Step 1: Create Custom Template with details

Prepare your own custom excel template with mandatory and conditional mandatory details as required by ZATCA

![](/files/sCWGjmtfGXbgQEMU0Evf)

### Step 2: Upload custom template on Cleartax platform

Goto Settings  > Import Settings > Click on New Template > Click on Select file from your computer

![](/files/ZCXDMn4XSWTwyLO1DNHF)

![](/files/1C72rrtlhI5ky984SaPh)

### Step 3: Map your custom template on Cleartax platform

Map your custom template headers against Cleartax headers > Ensure all the mandatory and conditional headers are mapped > Click on Save Template > Name your Template and Save

![](/files/KZRvdhifCuHLx2zdo3E4) ![](/files/m71VadmM5sayySAG1wFI) ![](/files/7kGZAbI5lLGICn3Qn6sF) ![](/files/fkT6fnoom5N9rHmXDyhw)

### Step 4: Import your Custom Excel Template

Click on Import Invoices > Select the Custom template > Click on Start Uploading > Click on 'Choose a file to upload'

![](/files/0WYWSchVvGXr6wQKjK6K)

![](/files/YJM0uTSnSAlREqctdwn0)

### Step 5: Review and Upload

Post uploading the excel, Cleartax will highlight the validation errors (if any) and option to correct the errors on the platform or you can download the error report and correct the excel template.

Once the correction is done, data is ready for e-Invoice generation.

![](/files/cWVaHmRBjwyxb6tCEhym)

![](/files/Uj87LaWIVykEIOHlBdWs)


---

# 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/gcc-help-and-support/english/get-started-with-cleare-invoicing/upload-documents/custom-template.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.
