# RP Deposit

<p class="doc-lead">RP Deposit records money collected from or refunded to a customer as security for returnable packaging. Collect ₹500 when issuing 50 milk crates at ₹10 each, then refund ₹450 when 45 are returned — the ₹50 on 5 short crates may be retained or adjusted.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/rp/rp-deposit?id=overview">Overview &amp; List View</a>
<a href="#/rp/rp-deposit?id=deposit-vs-refund">Deposit vs Refund</a>
<a href="#/rp/rp-deposit?id=quick-start">Quick Start</a>
<a href="#/rp/rp-deposit?id=header-fields">Header Fields</a>
<a href="#/rp/rp-deposit?id=line-table">Item Lines</a>
<a href="#/rp/rp-deposit?id=field-sale-app">Field Sale App</a>
<a href="#/rp/rp-deposit?id=actions-status">Actions &amp; Status</a>
<a href="#/rp/rp-deposit?id=faq">FAQ</a>
</div>
</div>

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

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

Go to <b>RP → RP Deposit / Refund</b>.

<b>List columns:</b> Id, Date, Customer, Cash Account, Type, Amount, Net, Employee, Status.

<b>Quick filter tabs:</b> Default, Approved, Draft, Cancelled, Closed.

<b>Advanced Filters:</b> Customer, Cash Account, Employee, Type (All / Deposit / Refund), Status.

<b>List row actions:</b> Edit (Draft, For Revisal), Delete (Draft, For Revisal), View.

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

<h2 id="deposit-vs-refund">Deposit vs Refund</h2>

| **Type** | **Checkbox** | **Direction** | **Example** |
|----------|--------------|---------------|-------------|
| **Deposit** | Refund unchecked | Customer pays company | ₹500 collected on 50 milk crates |
| **Refund** | <b>Refund (company pays customer)</b> checked | Company pays customer | ₹450 refunded when 45 crates returned |

List <b>Type</b> column shows Deposit or Refund.

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

<h2 id="quick-start">Quick Start</h2>

<ol>
<li>After issuing 50 milk crates on Sale Invoice, create RP Deposit.</li>
<li>Set <b>Customer</b>, <b>Cash Account</b>, leave Refund unchecked.</li>
<li>Add line: Milk Crate, Quantity 50, Rate ₹10 (or use deposit rate from RP Item).</li>
<li><b>Save And Approve</b> — ₹500 collected.</li>
<li>When 45 crates return, create new RP Deposit with <b>Refund</b> checked, Quantity 45, Rate ₹10 → ₹450 refunded.</li>
</ol>

<p><b>Freezer:</b> Single line, Quantity 1, Rate ₹15,000 — large one-time deposit on placement.</p>

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

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

| **Field** | **Description** |
|-----------|-----------------|
| Date * | Transaction date. |
| Customer * | Customer paying or receiving deposit. |
| Cash Account * | Cash or bank account. |
| Employee | Employee handling the transaction. |
| Refund (company pays customer) | Check for refund; unchecked for deposit collection. |
| Notes | Remarks. |

View shows Type, Amount, Net Amount, Sale Invoice [Id], Customer RP [Id].

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

<h2 id="line-table">Item Lines — ITEMS</h2>

| **Column** | **Description** |
|------------|-----------------|
| RP Item * | Returnable packaging item. |
| Quantity * | Number of units. |
| Rate | Deposit per unit. Defaults from RP Item deposit rate if empty. |
| Total | Quantity × Rate (read-only). |

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

<h2 id="field-sale-app">Field Sale App</h2>

Van-sales reps can collect or refund RP deposits at the customer outlet via <b>RP Deposit</b> in the Field Sale App — linked to the day's cash account on the van.

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

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

| **Action** | **Available when status is** |
|------------|------------------------------|
| Approve | Draft |
| Edit | Draft, For Revisal |
| Delete | Draft, For Revisal |
| Clone | All |
| Cancel | Approved, Open |
| Master Update | Approved, Closed |
| Add/Update Note | All |
| Print | All |

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

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

<p><b>Does RP Deposit post to accounts?</b><br>Yes — amount moves through the selected Cash Account. Deposit increases cash; Refund decreases cash.</p>

<p><b>How do I see total deposits outstanding?</b><br><a href="#/rp/reports/customer-wise-rp-deposit-balance">Customer-wise RP deposit balance</a> for all customers, <a href="#/rp/reports/customer-rp-deposit-summary">Customer RP deposit summary</a> for one customer's ledger, or <a href="#/rp/reports/customer-wise-rp">Customer Wise RP Stock</a> to see deposit value and quantity per RP item against current stock held.</p>

<p><b>Must deposit match crate quantity?</b><br>Best practice: deposit lines should match Customer RP Out on the same delivery. Adjust on return when quantity differs.</p>
<p><b>Refund exceeds balance?</b><br>Refund cannot exceed customer RP deposit balance on approve.</p>
<p><b>Liability account missing?</b><br>Configure <b>RP customer deposit</b> in <a href="#/accounts/transaction-account-map">Transaction Account Map</a>.</p>
<p><b>Rate required?</b><br>Line needs rate or RP item deposit rate.</p>

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

## Errors and warnings

Exact messages for RP Deposit / Refund 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.

### Customer, cash account, lines

- **Type:** Error
- **Action:** Save, Approve
- **When:** Customer/cash account missing, no lines, negative qty/rate, or deposit account map missing.
- **Example message:** *Please select customer and cash account*; *At least one RP deposit line is required*; *Quantity and rate must not be negative*; *Cash account is required.*; *Configure RP customer deposit liability account in transaction account map (rpCustomerDeposit).*
- **Outcome:** Not saved / not posted.
- **Solution:** Fill customer, cash account, positive lines, and the RP deposit account map.
### Refund exceeds balance

- **Type:** Error
- **Action:** Refund
- **When:** Refund is greater than the customer's RP deposit balance.
- **Example message:** *Refund exceeds customer RP deposit balance*
- **Outcome:** Refund is not posted.
- **Solution:** Lower the refund to the remaining deposit.

</section>
