In short
The CGST Act rules on assessment, input tax credit, short-levy, interest, appeals, offences and penalties apply to cess on intra-State supplies, and the IGST Act rules apply to cess on inter-State supplies. Credit of compensation cess can be used only to pay compensation cess.
(1)The provisions of the Central Goods and Services Tax Act, and the rules made there under, including those relating to assessment, input tax credit, non-levy, short-levy, interest, appeals, offences and penalties, shall, as far as may be, mutatis mutandis, apply, in relation to the levy and collection of the cess leviable under section 8 on the intra-State supply of goods and services, as they apply in relation to the levy and collection of central tax on such intra-State supplies under the said Act or the rules made there under.
(2)The provisions of the Integrated Goods and Services Tax Act, and the rules made there under, including those relating to assessment, input tax credit, non-levy, short-levy, interest, appeals, offences and penalties, shall, mutatis mutandis, apply in relation to the levy and collection of the cess leviable under section 8 on the inter-State supply of goods and services, as they apply in relation to the levy and collection of integrated tax on such inter-State supplies under the said Act or the rules made there under:
Provided that the input tax credit in respect of cess on supply of goods and services leviable under section 8, shall be utilised only towards payment of said cess on supply of goods and services leviable under the said section.
Source: Goods and Services Tax (Compensation to States) Act, 2017 — official text published by the Central Board of Indirect Taxes and Customs (CBIC) on its Tax Information Portal (taxinformation.cbic.gov.in), including the amendments noted above.
This page is educational. It is not professional advice or a formal tax computation. Verify the position against the official source above for the period that applies to you, and consult an authorised professional before acting on it.