(Deprecated) Credit Debit Notes (CDN)

circle-exclamation

When goods supplied are returned or when there is a revision in the invoice value due to goods (or services) not being up to the mark or extra goods being issued a Debit Note or Credit Note is issued.

Resource Objects

Credit debit note Object

The request and response objects are same as invoice objectsarrow-up-right except the following.

Parameter

Type

Field Validation

Description

cdn_status

String

Is the document created?

cdn_type

String

[CREDIT, DEBIT]

Mandatory.

original_invoice_serial_num

String

Optional. Original invoice document number against which this CDN is raised.

original_invoice_date

String

Optional. Original invoice date.

original_note_number

String

Conditional. Original note number, mandatory if you are amending a CDN

original_invoice_type

String

[SALE, PURCHASE]

Mandatory. Original Invoice Type.

original_invoice_classification

String

[B2B, B2BUR, B2BA, B2CL, B2CS, EXPORT, IMPORT, ISD, COMPOSITE, B2B_EXPORT, NIL_BOS, B2C]

Mandatory. Original Invoice Classification.

original_note_date

String

Conditional. Original note date, mandatory if you are amending a CDN

note_num

String

Mandatory. CDN number

transaction_date

String

Mandatory. Credit note issued date

itc_type

String

Optional. [ NOT_SELECTED, INELIGIBLE, INPUT, CAPITAL_GOOD, INPUT_SERVICE, BLANK ]

Get a CDN

You can get a CDN 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.

cdn_id

Path

String

Required. Unique CDN ID.

Sample Request

Sample Response

GET CDNs

You can get multiple CDNs by submitting a GET request to the GST API:

URL Query String

Parameters

Parameters Type

Type

Description

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

Add a CDN

You can add a CDN 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.

cdn_id

Path

String

Required. Unique CDN ID.

Sample Request

Sample Request Payload

Sample Response

Add CDNs

You can add multiple CDNs by submitting a PUT request to the GST API:

URL Query String

Request Parameter

Parameters

Parameters Type

Type

Description

taxable_entity_id

Path

String

Required. This is the unique ID associated with the GSTIN in your account.

Sample Request

Sample Request Payload

Sample Response

Canceling or Deleting a CDN

Canceling a CDN

You can cancel a sales CDN by submitting a DELETE request to the GST API where the request URL and headers remain same as in Add a CDNarrow-up-right section.

circle-info

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

triangle-exclamation

Deleting a CDN

You can delete a purchase CDN by submitting a DELETE request to the GST API where the request URL and headers remain same as in Add a CDNarrow-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?