(Deprecated) Advances

circle-exclamation

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 objectsarrow-up-right.

You can add an advance receipt or an advance payment by submitting a PUT request to the GST API:

URL Query String

{{HOST}}/gst/api/v0.1/taxable_entities/{{taxable_entity_id}}/advance_payments/{{advance_payment_id}}

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

https://api.clear.in/gst/api/v0.1/taxable_entities/249baf74-7392-4fa2-b3a0-685c6c7ad87e/advance_payments/ck9uzrsp100083b6cu3glr4u9

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 advancearrow-up-right section.

circle-info

Note: The status of the advance will be "cancelled" when this action is performed.

triangle-exclamation

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 advancearrow-up-right 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

Was this helpful?