# Debit Note

<p class="doc-lead">A Debit Note records a reduction in the amount owed to a supplier — for returned goods, price adjustments, or other purchase corrections. It can be linked to a Purchase Invoice or Purchase Return Order, and posts to accounts and inventory when approved.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Getting started</span>
<div class="doc-toc-links">
<a href="#/purchase/debit-note?id=overview">Overview &amp; List View</a>
<a href="#/purchase/debit-note?id=quick-start">Quick Start</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Form reference</span>
<div class="doc-toc-links">
<a href="#/purchase/debit-note?id=header-fields">Header Fields</a>
<a href="#/purchase/debit-note?id=item-lines">Item Lines</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">View and actions</span>
<div class="doc-toc-links">
<a href="#/purchase/debit-note?id=view">View</a>
<a href="#/purchase/debit-note?id=actions-status">Actions &amp; Status</a>
<a href="#/purchase/debit-note?id=master-update">Master Update</a>
<a href="#/purchase/debit-note?id=eway-bill">e-Way Bill</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/purchase/debit-note?id=best-practices">Best Practices</a>
<a href="#/purchase/debit-note?id=faq">FAQ</a>
<a href="#/purchase/debit-note?id=related">Related &amp; Videos</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview &amp; List View</h2>

The Debit Note list shows all debit notes with supplier, reference document, date, amount, whether an e-Way Bill was generated, and status. Use quick filters to view Draft, Approved, Closed, or Cancelled debit notes. From the list you can create new debit notes, open existing ones, edit drafts, or delete draft debit notes.

<b>List View</b>

<img src="purchase/images/debit-notes-list.webp" alt="Debit Notes list with number, supplier, TRN, amount, pay mode, and status" loading="lazy">

<b>List row actions</b>

| **Action** | **Available when status is** |
|------------|------------------------------|
| Edit | Draft |
| Delete | Draft |
| View | All statuses |

<hr class="doc-section-divider">

<h2 id="quick-start">Quick Start — Create a Debit Note</h2>

<h3>1. Navigate</h3>
Go to <b>Purchase → Debit Note</b> from the left menu, or create a debit note from a Purchase Invoice or Purchase Return Order.

<h3>2. Create new debit note</h3>
Click <b>New</b> to open the debit note entry screen, or use <b>Create Debit Note</b> from a Purchase Invoice or Purchase Return Order to pre-fill details.

<img src="purchase/images/debit-note-new.webp" alt="New Debit Note form with header fields, item lines, and totals" loading="lazy">

<h3>3. Fill in details</h3>
<ul>
<li>Link to a <b>Purchase Invoice</b> or <b>Purchase Return Order</b>, or choose <b>Without Invoice Ref</b> for standalone adjustments.</li>
<li>Enter the <b>Bill Number</b>, <b>Payment mode</b>, <b>Cash Account</b>, <b>Due Date</b>, and <b>Supplier Invoice Number</b>.</li>
<li>Add item lines with quantities and rates to debit. Review totals and taxes.</li>
</ul>

<h3>4. Save</h3>
<ul>
<li><b>save</b> — keeps the debit note as a <b>Draft</b>.</li>
<li><b>Save And Approve</b> — approves and posts the debit note in one step.</li>
<li><b>Cancel</b> — closes the form without saving.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="header-fields">Header Fields Reference</h2>

| **Field** | **Description** |
|-----------|-----------------|
| Date * | Date of the debit note. |
| Bill Number * | Unique debit note reference. Auto-generated when numbering is configured. |
| Employee In charge | Purchase employee responsible for this debit note. |
| Supplier * | Supplier to whom the debit note is issued. |
| Without Invoice Ref | Option to create a debit note without linking to a purchase invoice. |
| Purchase Invoice | Linked purchase invoice, when applicable. |
| Purchase Return Order | Linked return order, when created from a return workflow. |
| Payment mode | Payment method associated with the debit note. |
| Cash Account | Cash or bank account for the transaction. Shown based on payment mode. |
| Payment Term | Supplier payment terms. |
| Due Date | Payment due date for the debit note. |
| Supplier Invoice Number | Supplier's original invoice or bill reference. |
| Branch | Branch for the transaction. Shown when multi-branch is enabled. |
| Brand | Brand for brand-wise profit tracking. Shown when enabled. |
| Project | Optional project link. |
| Currency / Currency Exchange Rate | Shown when multi-currency is enabled and this document is selected in <a href="#/settings/transaction-preferences?id=general">Transaction Preference</a> → <b>Transactions with currency support</b>. |
| Notes | Remarks printed on the debit note. |
| Internal Notes | Internal remarks not shown on print. |

> Many optional header and line fields are controlled by <a href="#/purchase/purchase-settings-config">Purchase Settings</a> (additional item line fields, discounts, charges, bill layout).

<hr class="doc-section-divider">

<h2 id="item-lines">Item Lines — ITEMS</h2>

| **Column** | **Description** |
|------------|-----------------|
| Sl.No | Line serial number. |
| Item | Item being debited. Required. |
| Item code, Variant, Description, HSN, Brand | Optional columns enabled in Purchase Settings. |
| Qty | Quantity to debit. Required. |
| Unit | Unit of measure. Required. |
| Rate | Price per unit. Required. |
| Amount, Trade Discount, discounts, Taxable Amount, Taxes, Tax Amount, Total | Calculated based on tax and discount settings. |

<hr class="doc-section-divider">

<h2 id="view">View</h2>

Open a debit note in full view to see the document, status, and side panels. Click the expand icon on a tab to open the same data in a larger modal.

<img src="purchase/images/debit-note-view.webp" alt="Closed Debit Note view with Summary, Journal Info, Payments, History, and Attachments panels" loading="lazy">

<h3 id="view-tabs">Side panels</h3>

<b>Top panel</b>

| **Tab** | **What it shows** |
|---------|-------------------|
| Summary | Linked documents — payment vouchers, return orders, and related follow-up transactions from this debit note. See <a href="#/purchase/reports/transaction-summary">Purchase Transaction Summary</a>. |
| Journal Info | Accounting journal entries posted by this debit note. Requires journal access. See <a href="#/accounts/reports/journal-report">Journal Report</a>. |

<b>Middle panel</b>

| **Tab** | **What it shows** |
|---------|-------------------|
| Payments | Payment vouchers and refunds recorded against this debit note. |
| RP | Returnable packaging (RP) movement with the supplier — record <b>In</b> and <b>Out</b> quantities per RP Item on this debit note. Shown on Approved or Closed debit notes when returnable packaging is enabled and you have supplier RP access. |

<b>Bottom panel (all transactions)</b>

| **Tab** | **What it shows** |
|---------|-------------------|
| History | Activity log — who created, approved, edited, or cancelled the debit note and when. |
| Attachments | Files uploaded to this debit note. |
| Secondary Status | Custom secondary status history and updates, when secondary status is configured. |

Toolbar and more-menu actions on this screen are listed under <a href="#/purchase/debit-note?id=actions-status">Actions &amp; Status</a>.

<hr class="doc-section-divider">

<h2 id="actions-status">Actions &amp; Status</h2>

<h3>View toolbar actions</h3>

| **Action** | **Description** | **Available when status is** |
|------------|-----------------|------------------------------|
| Approve | Finalizes and posts the debit note to accounts and inventory. | Draft |
| Edit | Opens the debit note for editing. | Draft |
| Delete | Permanently removes the debit note. | Draft |
| Clone | Creates a copy of the debit note. | All (if permitted) |
| Print | Prints the debit note. | All |
| Export | Exports the debit note to Excel. | All |

<h3>More menu (⋮) actions</h3>

| **Action** | **Description** | **Available when status is** |
|------------|-----------------|------------------------------|
| Cancel | Cancels the debit note. | Approved |
| Revise Debit Note | Creates a revised debit note from a cancelled one. | Cancelled |
| Payment In | Records a payment received against the debit note. | Approved |
| Add Job Card Allocation | Links the debit note to job card allocations. | Approved |
| WorkFlow Request | Starts a company process linked to this debit note. Does not approve the debit note. See <a href="#/hr/workflow-request">WorkFlow Request</a>. | Approved, Closed |
| Update Secondary Status | Updates a custom secondary status. | Approved, Closed |
| Master Update | Updates selected header fields without reopening the full form. See <a href="#/purchase/debit-note?id=master-update">Master Update</a>. | Approved, Closed |
| Add Transportation | Adds or edits transporter and vehicle details. Hidden once an e-Way Bill is generated. See <a href="#/purchase/debit-note?id=eway-bill">e-Way Bill</a>. | Approved, Closed |
| Generate EWayBill | Generates a GST e-Way Bill for the return movement. Hidden once generated. See <a href="#/purchase/debit-note?id=eway-bill">e-Way Bill</a>. | Approved, Closed |
| Cancel EWayBill | Cancels a generated e-Way Bill. Shown only when one exists. | Approved, Closed, Cancelled |
| Mark As Closed | Manually closes the debit note. | Approved |
| Undo Close | Reverts a manual close. | Closed (only when manually closed) |
| Export Items | Exports item lines to Excel. | All |

<h3>Statuses</h3>

| **Status** | **Description** |
|------------|-----------------|
| Draft | Saved but not yet approved. Can be edited or deleted. |
| Approved | Finalized and posted. Supplier payable and inventory are updated. |
| Closed | Debit note is closed — typically after payment or manual close. |
| Cancelled | Debit note has been cancelled. Use <b>Revise Debit Note</b> to create a replacement. |
| Multi Level Approval | Awaiting multi-level approval workflow. |

<b>Posting note:</b> Debit Notes post to accounts and inventory when approved. Supplier payable is reduced and stock is adjusted based on the debited items.

<hr class="doc-section-divider">

<h2 id="master-update">Master Update</h2>

<b>Master Update</b> lets you change selected header fields on an approved or closed debit note without editing the full document or item lines. Open the three-dot menu on the debit note and select <b>Master Update</b>.

| **Field** | **Can be updated?** | **Notes** |
|-----------|---------------------|-----------|
| Date * | Yes | Cannot be set before the accounts closing date. |
| Employee In charge | Yes | |
| Payment Term | Yes | |
| Due Date | Yes | |
| Supplier Invoice Number | Yes | |
| Branch | Yes | Shown when multi-branch is enabled. |
| Brand | Yes | Shown when brand-wise tracking is enabled. |
| Project | Yes | |
| Supplier, payment mode, item lines, totals | No | Edit the full debit note (Draft) or cancel and revise. |

Click <b>Confirm</b> to save changes or <b>Cancel</b> to close without saving.

<hr class="doc-section-divider">

<h2 id="eway-bill">e-Way Bill</h2>

An e-Way Bill (EWB) is the GST movement permit for goods above the threshold value. On an approved (or closed) debit note, add <a href="#/features/e-way-bill?id=transportation">transportation details</a> with <b>Add Transportation</b>, then use <b>Generate EWayBill</b>. A purchase debit note is an <b>Outward</b> supply — goods going back to the supplier — so the consignor (Bill From / Dispatch From) is your company and shipping center, and the consignee (Bill To / Ship To) is the supplier. Most fields are pre-filled from the debit note and remain editable in the confirm form.

For every field and transportation Part A / Part B examples, see the <a href="#/features/e-way-bill">e-Way Bill</a> guide.

This applies to the <a href="#/purchase/debit-note">Purchase Debit Note</a> only. Sale debit notes do not generate e-Way Bills.

<h3>Defaults</h3>

| **Field** | **Default on a debit note** |
|-----------|-----------------------------|
| Supply Type | <b>Outward</b> |
| Sub Supply Type | <b>Others</b> |
| Sub Supply Description | <b>Purchase Return</b> (required when Sub Supply Type is Others) |
| Document Type | <b>Debit Note</b> |
| Transaction Type | <b>Regular (1)</b> |

<h3>Parties</h3>

| **Block** | **Source on the debit note** |
|-----------|------------------------------|
| Bill From | Your company, or the branch when the branch shows its own address on the bill. |
| Dispatch From | The debit note's shipping center address. |
| Bill To | The supplier, with GSTIN from the supplier (or <code>URP</code> if unregistered). Bill To state comes from the billing address. |
| Ship To | The supplier shipping address. Ship To GSTIN is pre-filled from the supplier GSTIN, or <code>URP</code>. |

> For the complete field-by-field reference of the four party blocks and the transportation Part A / Part B fields, see the <a href="#/features/e-way-bill">e-Way Bill</a> guide — the same generation form is shared. For Ship To GSTIN rules from 1 August 2026, see <a href="#/features/e-way-bill?id=ship-to-gstin">Ship To GSTIN</a>.

Use <b>Cancel EWayBill</b> to cancel a generated e-Way Bill from the system.

<hr class="doc-section-divider">

<h2 id="best-practices">Best Practices</h2>

<ul>
<li>Link debit notes to the original Purchase Invoice or Purchase Return Order whenever possible for full traceability.</li>
<li>Create debit notes from a Purchase Return Order only after goods have been delivered back to the supplier.</li>
<li>Approve debit notes promptly so supplier balances and inventory reflect the adjustment.</li>
<li>Use <b>Payment In</b> to record refunds or credits received from the supplier against the debit note.</li>
<li>Use <b>Revise Debit Note</b> on cancelled debit notes instead of creating unrelated new documents.</li>
<li>Add transportation details before generating the e-Way Bill so the vehicle and transporter information is complete.</li>
<li>Configure <a href="#/purchase/purchase-types">Purchase Types</a> for correct numbering and tax rules before creating debit notes.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<b>When should I use Without Invoice Ref?</b><br>
Use it for standalone supplier adjustments that are not tied to a specific purchase invoice — for example, a general credit agreed with the supplier.

<b>Can I create a debit note directly from a Purchase Invoice?</b><br>
Yes. On an approved Purchase Invoice, use <b>Create Debit Note</b> to pre-fill supplier, items, and rates.

<b>Does approving a debit note affect stock?</b><br>
Yes. Approved debit notes post to both accounts and inventory, reducing stock for returned or adjusted items.

<b>Can I edit an approved debit note?</b><br>
No. Use <b>Master Update</b> for allowed header fields, or <b>Cancel</b> and use <b>Revise Debit Note</b>.

<b>What is the difference between Cancel and Mark As Closed?</b><br>
<b>Cancel</b> voids an approved debit note. <b>Mark As Closed</b> marks a completed debit note as closed without cancelling it.

<b>When must a debit note link to a purchase invoice or return order?</b><br>
Unless <b>Without Invoice Ref</b> is selected, the debit note must link to an approved <a href="#/purchase/purchase-invoice">Purchase Invoice</a> or <a href="#/purchase/purchase-return-order">Purchase Return Order</a>.

<b>Why does approve fail when linked to a purchase invoice?</b><br>
The debit note date must be on or after the linked invoice date. The purchase invoice must be approved and not cancelled.

<b>Why do I get Mismatch with delivery note when I approve a debit note?</b><br>
This almost always happens when the debit note was created from a <a href="#/purchase/purchase-return-order">Purchase Return Order</a> that already has a return <a href="#/inventory/goods-delivery-note">Delivery Note</a>, and you then changed <b>quantity</b>, items, or units on the debit note. Approve compares the debit-note lines to those return delivery notes — they must match what was sent back. Put the debit-note quantities back to the delivery-note quantities, then Approve. If you meant a <b>Sale Invoice</b> error with the same message, that is a customer invoice whose qty was changed after billing a delivery note — see <a href="#/sales/sale-invoice">Sale Invoice</a>.

<b>What is Without Invoice Ref used for?</b><br>
Standalone supplier credits or adjustments not tied to a specific invoice — for example, a negotiated lump-sum credit. Inventory and stock checks still apply unless configured otherwise for referenceless notes.

<b>Can I use Purchase Reversal payment mode on a referenceless debit note?</b><br>
No. <b>Purchase Reversal</b> payment mode is not allowed on debit notes created without an invoice reference.

<b>Does every debit note reduce stock?</b><br>
Approved debit notes with inventory items reduce stock on approve. Referenceless or inventory-only adjustments may behave differently depending on item type and configuration — confirm lines before approving.

<b>Why does approve fail with "payment mode missing"?</b><br>
Select a <b>Payment mode</b> before approving. Payment mode is required on every debit note.

<b>How do I record a refund from the supplier?</b><br>
Use <b>Payment In</b> from the debit note view to record money received against the debit note balance.

<b>Which header fields can I change with Master Update?</b><br>
Date, Employee In charge, Branch, Brand, Project, Due Date, payment/delivery terms, and Supplier Invoice Number. Item lines and amounts cannot be changed through Master Update.

<b>What is the difference between a Debit Note and a Purchase Return Order?</b><br>
The <a href="#/purchase/purchase-return-order">Purchase Return Order</a> tracks physical return of goods. The debit note records the supplier credit — usually after delivery notes confirm goods sent back.

<b>Which payment modes auto-close on approve?</b><br>
<b>Cash</b>, <b>Bank</b>, and <b>Digital Wallet</b> debit notes auto-close when fully settled on approve. <b>Credit</b> debit notes stay open until settled via payment workflow.

<b>Can I generate an e-Way Bill on a purchase debit note?</b><br>
Yes. On an approved debit note, use <b>Add Transportation</b> then <b>Generate EWayBill</b>. The movement is treated as an outward purchase return to the supplier. See <a href="#/purchase/debit-note?id=eway-bill">e-Way Bill</a>.

<b>Does this apply to Sale Debit Note as well?</b><br>
No. e-Way Bill is available on the purchase Debit Note only, not on <a href="#/sales/sale-debit-note">Sale Debit Note</a>.

<h2 id="related">Related Topics &amp; Videos</h2>

<b>Related documentation</b>
<ul>
<li><a href="#/purchase/purchase-invoice">Purchase Invoice</a> — source document for direct debit note creation.</li>
<li><a href="#/purchase/purchase-return-order">Purchase Return Order</a> — return workflow that leads to debit notes.</li>
<li><a href="#/purchase/reports/bill-item-wise-purchase?id=include-returns">Bill Item Wise Purchase</a> — include debit note lines with purchase invoices.</li>
<li><a href="#/purchase/reports/supplier-outstanding">Supplier Outstanding Invoices</a> — open debit notes listed with a supplier's unpaid bills.</li>
<li><a href="#/purchase/purchase-types">Purchase Types</a> — configure numbering and tax rules.</li>
<li><a href="#/purchase/purchase-settings-config">Purchase Settings</a> — configure fields, discounts, and bill layout.</li>
<li><a href="#/sales/sale-debit-note">Sale Debit Note</a> — customer-side debit document in Sales (different from this purchase debit note).</li>
<li><a href="#/features/e-way-bill">e-Way Bill</a> — field-by-field reference and transportation examples.</li>
<li><a href="#/features/e-invoice">E-Invoice / E-Way Bill</a> — generate and cancel GST e-Way Bills from debit notes, sale invoices, and delivery challans.</li>
</ul>

<b>Video — Debit Note overview</b>
<iframe width="560" height="315" src="https://www.youtube.com/embed/iaTXTXUo9Es?si=q44VeDRTwP1NEAnK" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<section class="ai-index-only">

## Errors and warnings

Exact messages for Purchase Debit Note from the ERP screen and `fs_api`. Visitors do not see this section; Vertex AI Search uses it to answer questions about on-screen errors.


### Future or back-dated date

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** Date is in the future and future-date transactions are off, or the user cannot enter previous dates, or the date is before the allowed cutoff.
- **Example message:** *Future date transactions are not allowed.* or *Previous date transaction entries are not allowed.* or *Transaction date cannot be before YYYY-MM-DD.*
- **Outcome:** The document is not saved.
- **Solution:** Set Date to an allowed date, then save.

### Accounts closed for the date

- **Type:** Error
- **Action:** Approve, Save And Approve, Master Update
- **When:** The document date is in a closed accounting period.
- **Example message:** *Accounts closed for the date*
- **Outcome:** Not posted, or the date is not changed.
- **Solution:** Use a date after the accounts closing date.

### Multi-level approval required

- **Type:** Error / workflow
- **Action:** Approve, Save And Approve
- **When:** An active multi-level approval template matches this document.
- **Example message:** *Multi level approval is required*
- **Outcome:** Direct approve is blocked.
- **Solution:** Use Send Request on the first stage. For Send Request, stage Approve, Reject, Send For Revise, and Cancel Request messages, see <a href="#/features/multiapproval?id=action-errors">Multi Approval — Action error messages</a>.

### Edit or delete not allowed

- **Type:** Error
- **Action:** Edit, Delete
- **When:** Status is not Draft or For Revisal, or auto bill-number is on for delete.
- **Example message:** *Edit not allowed in the current status* or *Invalid status* or *Delete prevented..*
- **Outcome:** Posted documents stay in the ledger.
- **Solution:** Cancel a posted document after unlinking related records. Delete only drafts.

### Cancel date restriction

- **Type:** Error
- **Action:** Cancel
- **When:** User cannot cancel previous-date transactions, or the date is before the cancel cutoff.
- **Example message:** *Cancelling previous date transactions are not allowed* or *Cancelling transactions before YYYY-MM-DD is not allowed.*
- **Outcome:** Not cancelled.
- **Solution:** Cancel only dates the user is allowed to cancel.

### Items missing or invalid

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** Item lines are empty, a required field is missing, or line totals do not match.
- **Example message:** *items not found* or *Invalid Data in lines {N}* (`fs_api`). ERP: *Items contains invalid data* or *Items required*.
- **Outcome:** Not saved.
- **Solution:** Add valid item lines, then save.

### Serial Number missing

- **Type:** Error
- **Action:** Approve, Save And Approve
- **When:** A serial-tracked item line has no serial numbers when stock posts.
- **Example message:** *Serial Number missing*
- **Outcome:** Not approved.
- **Solution:** Select one serial number per unit for the line quantity. Shared catalog: <a href="#/inventory/serial-numbers">Serial Numbers</a>.

### Duplicate Serial Number found

- **Type:** Error
- **Action:** Save, Approve, Save And Approve
- **When:** The same serial name or id appears more than once on a line, or approve stock posting finds duplicate serial ids.
- **Example message:** *Duplicate Serial Number found <b>SN-001</b> for Item <b>Widget</b> ( ItemId 1160 ) in line 2* or *Duplicate Serial Number found for  Item <b>Widget ( ItemId 1160 ) </b> in line 2*
- **Outcome:** Not saved / not approved.
- **Solution:** Enter each serial only once on the line.

### Serial Number Quantity Mismatch

- **Type:** Error
- **Action:** Approve, Save And Approve
- **When:** The count of serial numbers differs from the line quantity (or out quantity).
- **Example message:** *Serial Number Quantity Mismatch for  Item <b>Widget ( ItemId 1160 ) </b> in line 2*
- **Outcome:** Not approved.
- **Solution:** Enter exactly as many unique serials as the line quantity.

### SerialNumber not found

- **Type:** Error
- **Action:** Save, Save And Approve
- **When:** A serial name (or name in a serial range) is missing or cancelled for that item during select validation.
- **Example message:** *SerialNumber <b>SN-999</b> in line 2 not found*
- **Outcome:** Not saved.
- **Solution:** Pick serials that exist in stock for the item, or correct the range.

### Inventory not available

- **Type:** Error (blocks the action)
- **Action:** Approve
- **When:** On approve, normal stock (not work-in-progress) is short at the shipping center for the line's item, batch, inventory bin, and variant. An inventory-less debit note does not move quantity.
- **Example message:** *Inventory not available* or *Inventory Not Found for Item … in line N*
- **Outcome:** Not posted.
- **Solution:** Check <b>normal stock</b> — the Inventory Summary row where <b>WIP</b> is blank — at the shipping center. Open <a href="#/inventory/reports/item-enquiry">Item Enquiry</a> and search the item for a basic view (<b>Item Stock</b>, and <b>In hand</b> versus <b>WIP</b> by center). For the exact layer, open <a href="#/inventory/reports/inventory-summary">Inventory Summary</a>, turn on every <b>Group by</b> button (<b>Item</b>, <b>WIP</b>, <b>Center</b>, <b>Variant</b>, <b>Batch</b>, <b>Inv Bin</b>), search the item, and match the center, batch, inventory bin, and variant on the line. The system does not allow negative stock, so that row must already hold the quantity. Reduce the quantity, or receive or transfer stock into that same layer.

### Quality inspection pending

- **Type:** Error (blocks approve)
- **Action:** Approve
- **When:** QC is required and still pending (`qcStatus` pending).
- **Example message:** *Quality Inspection is Pending*
- **Outcome:** Approve fails.
- **Solution:** Complete Quality Inspection first, then Approve.

### Referenceless debit note warning

- **Type:** Warning (confirm)
- **Action:** Save, Save And Approve
- **When:** The debit note has no purchase invoice / return-order reference.
- **Example message:** *Debit note without reference is not advisable. Do you want to continue ?* (ERP)
- **Outcome:** Save continues only if confirmed.
- **Solution:** Prefer linking a Purchase Invoice or Purchase Return Order.
### Damaged / expired — inventory not affected

- **Type:** Warning (confirm)
- **Action:** Save
- **When:** Without Inventory / Damaged-Expired is on.
- **Example message:** *Inventory will not be affected when debit note is enabled with Damaged/Expired. Do you want to continue ?* (ERP). User setting can block with *Inventoryless debitNote entries are not allowed for this user.*
- **Outcome:** Quantity does not change if you confirm. On approve, the line's taxable amount is still removed from the item's stock value.
- **Solution:** Confirm only when the goods themselves will not leave stock.

### Value cannot be negative

- **Type:** Error (blocks approve)
- **Action:** Approve, Save And Approve
- **When:** Two cases. **Without Inventory** on: approve does not reduce quantity. It subtracts each line's taxable amount from that item's stock value at the shipping center (same batch, inventory bin, and variant). The value already on that stock is smaller than the amount being removed, so the remaining value would be negative. **Without Inventory** off: the quantity is issued, and the cost taken off that layer would leave a negative stock value.
- **Example message:** *Value cannot be negative for item id 723 with value -643.5* or *Insufficient stock value of {amount} for item id {id}*
- **Outcome:** Not approved. Stock value is not changed.
- **Solution:** Approving this debit note will result in a negative item value. Increase the item value through <a href="#/inventory/inventory-revaluation">Inventory Revaluation</a> on that same layer, then approve the debit note.

### Reference missing or invalid

- **Type:** Error
- **Action:** Approve
- **When:** No PI/PRO, or the source is not approved / cancelled / different supplier, or date is before the invoice.
- **Example message:** *purchaseReturnOrderId or purchaseInvoiceId not found*; *Purchase invoice is not approved*; *Different Supplier in purchase invoice*; *Debit note date must be greater than the purchase invoice date.*
- **Outcome:** Not approved.
- **Solution:** Link an approved purchase document for the same supplier and date the debit note after the invoice.
### Reversal not allowed on referenceless

- **Type:** Error
- **Action:** Approve
- **When:** Payment mode is Reversal and there is no reference.
- **Example message:** *Reversal payment mode not allowed in reference less debit note*
- **Outcome:** Not approved.
- **Solution:** Link a Purchase Invoice, or use Credit / Cash / Bank.
### Mismatch with delivery note — debit note quantity changed

On a Debit Note this is the purchase-return case (not the Sale Invoice case).

- **Type:** Error (blocks approve)
- **Action:** Approve, Save And Approve
- **When:** The debit note was created from a Purchase Return Order that already has return Delivery Notes. After the lines were copied, someone changed **Qty**, items, or unit. Approve compares debit-note lines to those return delivery notes.
- **Example message:** *Mismatch with delivery note*. Detail lists item, item code, and quantity difference. Related: *Inventory not available*; *Item Mismatch with purchase*
- **Outcome:** Debit note is not approved. Return delivery notes stay open.
- **Solution:** Restore debit-note Qty/items to the return delivery notes, then Approve. If the return dispatch was wrong, cancel the draft debit note and correct the Delivery Note first. If the same message appeared on a **Sale Invoice**, restore that invoice qty to the customer delivery note — see [Sale Invoice](sales/sale-invoice.md).
### Cancel blocked

- **Type:** Error
- **Action:** Cancel
- **When:** Receipt vouchers, RP, or payment-voucher adjustments remain.
- **Example message:** *Cancel Receipt Voucher adjustments before cancelling Debit Note (Id:…)*; *Unlink debit note from receipt voucher before cancelling debit note*; *Cancel RP before cancelling debit note (Id:…)*
- **Outcome:** Not cancelled.
- **Solution:** Unlink receipts/RP/adjustments first.
### e-Way Bill — sub supply description

- **Type:** Error
- **Action:** Generate EWayBill
- **When:** Sub Supply Type is Others without description. Checked on the ERP screen before the API call.
- **Example message:** *Sub supply description is required* (ERP). Defaults on this document are Others / Purchase Return.
- **Outcome:** e-Way Bill is not generated.
- **Solution:** Enter Sub Supply Description (Purchase Return is the usual value), then generate.

### e-Way Bill — generate validation

- **Type:** Error
- **Action:** Generate EWayBill
- **When:** Transportation is missing, company phone is missing, a party block is incomplete, or Ship To GSTIN fails the type 2 / 4 rules.
- **Example message:** *Transportation details required*; *Consignor Phone number is required*; *Consignor Address2 is required*; *Ship To GSTIN is required*; *Ship To GSTIN should not be the same as Bill To GSTIN* (`fs_api`). Full list: [e-Way Bill](features/e-way-bill.md).
- **Outcome:** e-Way Bill is not generated.
- **Solution:** Use **Add Transportation**, complete both address lines and state codes, then generate.

### e-Way Bill — cancel without a bill

- **Type:** Error
- **Action:** Cancel EWayBill
- **When:** No e-Way Bill is stored on the debit note.
- **Example message:** *EWayBill not generated for this debit note*
- **Outcome:** Cancel is rejected.
- **Solution:** Generate the e-Way Bill first.

</section>
