(Deprecated) How to upload an invoice from File?
ClearTax supports uploading of documents in different types of templates. For the purpose of this walk-through, let us upload a sales invoice in ClearTax template. Download a sample file from here.
Upload a sales invoice
You can upload the sales invoice in ClearTax template by submitting a POST request to the URL query string:
The request should have the following headers:
If you do not have a user authentication token, click here to learn how to generate an authentication token.
The body of the request is sent as form-data and requires the following properties:
excelFile
- The location of the asset on your file system.
Sample Request:
Sample Response:
The activity_id is the unique ID associated with this upload activity. To fetch the status or any details of the upload activity, you will have to send this ID along with consequent API calls.
For a complete list of File Upload API calls and request properties, see the File Upload API Reference.
(Deprecated) GST File Upload API ReferenceLast updated