(Deprecated) Advances
IMPORTANT NOTICE
GST 1.0 APIs are deprecated and will not be supported after 30-11-2022. If you want to integrate with ClearTax GST, please use GST 2.0 APIs instead.
You can create advance receipts (towards outward supply) or advance payments (towards inward supply).
Add an Advance
The request and response objects are the same as invoice objects.
You can add an advance receipt or an advance payment by submitting a PUT request to the GST API:
URL Query String
Request Parameter
Parameters
Parameters Type
Type
Description
X-Cleartax-Auth-Token
Header
String
Mandatory. The auth token generated from ClearTax user id and password.
taxable_entity_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
advance_payment_id
Path
String
Required. Unique advance payment ID.
Sample Request
Sample Request Payload
Sample Response
Get Advances
You can get advance receipts or advance payments by submitting a GET request to the GST API:
URL Query String
Request Parameter
Parameters
Parameters Type
Type
Description
X-Cleartax-Auth-Token
Header
String
Mandatory. The auth token generated from ClearTax user id and password.
taxable_entity_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
source
Query
String
USER, GOVERNMENT
return_period
Query
String
Return period in the format MMYYYY
start_date
Query
String
Start date by which you need to filter
end_date
Query
String
End date by which you need to filter
seller_gstin
Query
Array
Seller GSTIN number
buyer_gstin
Query
Array
Buyer GSTIN number
invoice_direction
Query
ENUM
SALE, PURCHASE
id
Query
Array
Unique Transaction ID
is_ammended
Query
Boolean
TRUE, FALSE
start
Query
String
Default: 0 /used for pagination
limit
Query
String
Default: 20 / number of invoices to limit in the response
Sample Request
Sample Response
Get an Advance
You can get an advance receipt or an advance payment by submitting a GET request to the GST API:
URL Query String
Request Parameter
Parameters
Parameters Type
Type
Description
X-Cleartax-Auth-Token
Header
String
Mandatory. The auth token generated from ClearTax user id and password.
taxable_entity_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
advance_payment_id
Path
String
Required. Unique advance payment ID.
Sample Request
Sample Response
Canceling or Deleting an Advance
Canceling an Advance
You can cancel a sales advance by submitting a DELETE
request to the GST API where the request URL and headers remain the same as in Add an advance section.
Note: The status of the advance will be "cancelled" when this action is performed.
You can cancel ONLY a sales advance. A purchase advance cannot be canceled but only be deleted.
Deleting a purchase advance
You can delete a purchase advance by submitting a DELETE
request to the GST API where the request URL and headers remain the same as in Add an advance section. In addition to the following request parameter.
Request Parameter
Parameters
Parameters Type
Type
Description
delete
query
Boolean
Mandatory, if you want to delete a document. Value: true
Last updated