CN/DNBillNest guide

Credit notes, debit notes and cancelled invoices.

Once an invoice is issued it stops being editable — not as a product restriction, but because the series has to stay gapless and the return has already seen it.

Updated 24 September 2026 · 4 min read

A customer returns something and Shopify refunds them. On the GST side that refund is not a correction to the original invoice — it is a new document, with its own number, in its own series, landing in this month's return. Editing the invoice is not a shortcut to the same outcome; it is a different, wrong thing.

This guide covers which note applies when, why an issued invoice cannot be edited, and what "locked" means when the app refuses.

Credit note or debit note

The test is direction, not fault.

  • Credit note — the value goes down after the invoice was issued. A return, a refund, a post-sale discount, goods rejected, or tax overcharged the first time. Section 34 of the CGST Act requires the reduction to be made this way.
  • Debit note — the value goes up. A post-sale price revision, an undercharge, or tax that should have been higher.
A GST credit note generated by BillNest, numbered CN/26-27/0001, referencing original invoice INV/26-27/1000 of the same date, for one line of wireless headphones at 2,000 taxable with CGST 180 and SGST 180 and a total of 2,360
A credit note names the invoice it reverses. Same place of supply, same intra-state treatment, same rate — so the reversal lands in the heads the charge did.

Note what it carries: Original Invoice INV/26-27/1000 and its date. A credit note that does not reference the document it corrects is not much use to anyone, and the reference is what lets the return net the two against each other.

The debit note is the same shape in the other direction:

A GST debit note numbered DN/26-27/0001 referencing original invoice INV/26-27/1004, for a post-sale price revision of 200 taxable with CGST 18 and SGST 18, issued to a registered buyer whose GSTIN is shown
A debit note for a post-sale price revision. This one is B2B, so the buyer's GSTIN is on the document and it will be reported under CDNR.

They mirror the original on purpose

A credit note copies the original invoice's treatment rather than recomputing it from today's settings:

  • The same place of supply, so an inter-state charge is reversed inter-state.
  • The same intra-state or inter-state split, so CGST and SGST are reversed as CGST and SGST — not converted into IGST because a setting changed since.
  • The same tax-inclusive basis. If the order's prices included tax, the refunded amounts are read on the same basis.

That last one has a wrinkle worth knowing about on a tax-inclusive store: Shopify's refunded line subtotals include tax, but a refunded shipping amount does not. They are handled separately rather than being forced onto one basis, which is the difference between a credit note that balances and one that is off by the tax on the shipping.

Why the original cannot be edited

Two reasons, and both are external to the app:

The series has to stay gapless. Each document type keeps its own sequence per financial year. Deleting an issued document leaves a hole, and a hole in an invoice series is a question you will be asked. So an issued document is cancelled, never deleted — the number stays consumed and the cancellation is reported in the documents-issued table of your return.

The return has already seen it. Once a period is filed, the invoice in your records has to match the invoice the portal has. Changing it afterwards puts the two permanently out of step.

When the app says a document is locked

Three states make a document immovable:

  • It is in a filed period. You marked the period filed; the app is holding you to it.
  • It carries an IRN. Once registered on the e-invoice portal, the document belongs to the IRP as much as to you.
  • It has a credit or debit note against it. The correction already exists; a second correction to the same original is how a reconciliation becomes unrecoverable.

Locked documents are skipped by bulk regeneration rather than silently rewritten, and they are never deleted. If you genuinely need to change one, the route is another note — not a reopened lock.

Removing the filing lock is possible and deliberately awkward: it makes every previously filed document editable again and asks you to type REOPEN to confirm. Use it when you locked the wrong period, not when you dislike the answer.

Credit notes are on every plan, including Free

This is not a pricing decision, and it is worth saying why. Section 34 requires a refund against an issued tax invoice to be reversed by credit note. Putting that behind a paid tier would mean a store on the free plan either stops refunding or keeps books that are wrong — so credit notes sit on Free alongside automatic invoicing.

Debit notes, along with proforma invoices, delivery challans and Bills of Supply, are on Starter and above.

Where they land in your return

Credit and debit notes are reported in two GSTR-1 sections, split by whether the counterparty is registered:

  • CDNR — against a buyer with a GSTIN.
  • CDNUR — against an unregistered buyer.

And they reduce the headline: GSTR-1 totals and GSTR-3B table 3.1(a) are reported net of credit notes in the period. A month with heavy returns showing outward supply well below invoices issued is not an error. See GSTR-1 and GSTR-3B.

The short version

Refund going out, credit note. Extra charge going in, debit note. Never edit an issued invoice, and never delete one — cancel it, and let the number stand.

BillNest is on the Shopify App Store. Credit notes are on every plan; debit notes and the other documents start at Starter.

BillNest icon

BillNest: GST Invoice India on the Shopify App Store

Auto-generate GST-compliant tax invoices on every paid order. Export GSTR-1 and GSTR-3B in a click.

View on the Shopify App Store

FAQCommon questions

Do I need a credit note for a Shopify refund?
Yes. Section 34 requires the reduction against an issued tax invoice to be made by credit note. BillNest keeps credit notes on every plan, including Free, for exactly this reason — withholding them would leave a store's books wrong.
When do I raise a debit note instead?
When the value goes up after the invoice was issued — a post-sale price revision, or tax undercharged the first time. A credit note is for value going down.
Can I delete or edit an invoice after it is issued?
No. It is cancelled, which keeps the number in the series and the series gapless. Documents in a filed period, documents carrying an IRN, and documents with credit or debit notes against them are locked and are never deleted.
Does a credit note keep the original invoice's tax split?
Yes. It mirrors the original — the same place of supply, the same intra-state or inter-state treatment, and the same tax-inclusive basis — so the reversal matches what was charged.

NEXTKeep reading

INBOXStill stuck?

If something here doesn't match what you see in the app, tell us — the guides are written from BillNest's own behaviour and we fix them when it changes. support@appnest.studio.

About BillNest