# 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

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FDkax5FUVwvXhP3HMPjfk%2F1.jpg?alt=media\&token=3c951397-a4a7-41b5-abfd-bb9375fea3df)

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

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

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FayXytUfQjlQa9r5rQw0Y%2F2.jpg?alt=media\&token=e4af663f-0a79-4033-8365-a3545a018505)

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FLqtk4rLfKd4yiCyr4fgY%2F3.jpg?alt=media\&token=1833d8a7-511c-4fbf-821e-623ff44e19c2)

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

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FlXR5IhvG8TSD4zLTp0MI%2F4.jpg?alt=media\&token=97247504-b684-4c78-9c5e-7f43030adda5) ![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2Fwm3bPYk1Tezav8s4CtwN%2F5.jpg?alt=media\&token=43930c5b-3d44-44df-9a58-afb44f9fd455) ![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FMg4RUnLsbJ69SlNGJWee%2F6.jpg?alt=media\&token=bcfe34fb-c880-4355-a574-148aca660c85) ![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FthUDhUK4kNWtodGwXk9B%2F7.jpg?alt=media\&token=484bd0ba-aa4e-4ed9-859a-5bafc6205c0a)

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

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2F5zCbDjyJdAA2xlUJ66rg%2F8.jpg?alt=media\&token=41a09c29-2dde-4490-aa8e-7a2472f0e323)

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FJwU8GNYbZ7DmSpiToGTl%2F9.jpg?alt=media\&token=8837366f-7e64-4fb4-928a-ac9006eff0db)

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

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FoDBCvWRR8Ai33XWdxsLc%2F4.jpg?alt=media\&token=229a56d0-9a03-45e8-8e21-3d942c6a5ac7)

![](https://2845181713-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MjcADs4oXcykQAL6hhW-1703796690%2Fuploads%2FIPiCT76k7AfNBYvTjqgJ%2F5.jpg?alt=media\&token=1e02688f-34b7-4282-b2d9-09e6e35d3bf2)
