# Sale Order

<p class="doc-lead">A Sale Order confirms customer demand before you deliver goods or raise an invoice. Use it to track fulfillment, delivery notes, payments on order, and conversion to sale invoices, pro forma invoices, or commercial invoices.</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="#/sales/sale-order?id=overview">Overview &amp; List View</a>
<a href="#/sales/sale-order?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="#/sales/sale-order?id=header-fields">Header Fields</a>
<a href="#/sales/sale-order?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="#/sales/sale-order?id=view">View</a>
<a href="#/sales/sale-order?id=actions-status">Actions &amp; Status</a>
<a href="#/sales/sale-order?id=master-update">Master Update</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/sales/sale-order?id=best-practices">Best Practices</a>
<a href="#/sales/sale-order?id=faq">FAQ</a>
<a href="#/sales/sale-order?id=related">Related &amp; Videos</a>
</div>
</div>
</div>

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

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

The Sale Orders list shows all orders with customer, date, delivery due date, amount, balance, and status. Use quick filters to view Approved, Draft, Cancelled, Delivered, Partial Delivered, Returned, Closed, or Multi Level Approval orders. From the list you can create new orders, open existing ones, edit drafts, or delete draft orders.

<b>List View</b>

<img src="sales/images/sale-orders-list.webp" alt="Sale Orders list with number, customer, date, amount, and status" loading="lazy">

<b>List row actions</b>

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

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

<h2 id="quick-start">Quick Start — Create a Sale Order</h2>

<h3>1. Navigate</h3>
Go to <b>Sales → Sale Order</b> from the left menu.

<h3>2. Create new order</h3>
Click <b>New</b> to open the order entry screen. You can also create an order from an approved <a href="#/sales/sale-quotation">Sale Quotation</a> using <b>Create Order</b>, or from an approved <a href="#/crm/opportunity">Opportunity</a> using <b>Create Sale Order</b>. Creating the order from an opportunity typically closes that opportunity.

<img src="sales/images/sale-order-new.webp" alt="New Sale Order form with header fields, item lines, and totals" loading="lazy">

<h3>3. Fill in details</h3>
<ul>
<li>Select <b>Form Type</b> and enter the <b>Order Number</b>.</li>
<li>Choose the <b>Customer</b> and add item lines with <b>Qty</b>, <b>Unit</b>, and <b>Rate</b>.</li>
<li>Set <b>Delivery Due Date</b>, <b>Payment Term</b>, and <b>Delivery Term</b> when applicable.</li>
<li>Review totals, taxes, and discounts. Add <b>Notes</b> or <b>Internal Notes</b> if needed.</li>
</ul>

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

<h3>5. Fulfill the order</h3>
<ul>
<li>Use <b>Create Delivery Note</b> to record goods delivered against the order.</li>
<li>Use <b>Create Invoice</b> once items are Delivered or Partial Delivered.</li>
<li>Use <b>Payment In</b> to record customer receipts when payment on order is enabled.</li>
</ul>

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

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

| **Field** | **Description** |
|-----------|-----------------|
| Date * | Date of the sale order. |
| Form Type | Sale type that controls numbering, tax rules, and print layout. |
| Order Number * | Unique order reference. Auto-generated when numbering is configured on the sale type. |
| RFQ Number | Quotation reference number. Shown when linked from a quotation. |
| LPO / FPO Id | Customer purchase order reference. Shown when <b>Show Customer PO Number in Sales</b> is enabled, or when the selected Sale Type requires <b>LPO Number</b>. |
| Customer * | Customer placing the order. |
| Customer Billing Address | Customer's billing address. Choose from the searchable dropdown of active customer addresses, or open the address list with the zoom button. |
| Shipping Address | Delivery address for the order. Choose from the searchable dropdown of active customer addresses, or open the address list with the zoom button. |
| Contact person | Customer contact. Enabled after a customer is selected. Only active contacts are listed. See <a href="#/sales/customers?id=contacts">Customers — Contacts</a>. |
| Reference Name | Optional reference label. Shown when <b>Show Reference Name &amp; Phone field</b> is enabled in Sale Settings. |
| Reference Phone | Phone linked to the reference name. |
| Notify Party | Third-party notify party. Shown when <b>Show Notify Party field</b> is enabled. |
| Notify Party Address | Address for the notify party. |
| Employee | Sales employee responsible for this order. |
| Prepared By | Employee who prepared the document. Shown when <b>Show Prepared by field</b> is enabled. |
| Payment Term | Customer payment terms. |
| Delivery Term | Delivery terms text. Shown when <b>Show Delivery Terms</b> is enabled. |
| Delivery Due Date | Expected delivery date for the order. |
| Branch | Branch for the transaction. Shown when multi-branch is enabled. |
| Brand | Brand for brand-wise profit tracking. |
| Billing center * | Billing center for the transaction. |
| Project | Optional project link. |
| Project Task | Task within the selected project. |
| 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 order. |
| Internal Notes | Internal remarks not shown on print. |

> Many optional header and line fields are controlled by <a href="#/sales/sale-settings-config">Sale Settings</a>.

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

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

| **Column** | **Description** |
|------------|-----------------|
| Sl.No | Line serial number. |
| Item | Item being ordered. Required. |
| Item code, Variant, Description, HSN, MRP, Brand | Optional columns enabled in Sale Settings. |
| Qty | Quantity ordered. 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>

When you open a sale order in full view (not in a small modal), the right side shows tabbed panels. Click the expand icon on a tab to open the same data in a larger modal.

<img src="sales/images/sale-order-view.webp" alt="Delivered Sale Order view with more menu showing Create Invoice, Cancel, and Create Proforma Invoice" loading="lazy">

<h3>Top panel</h3>

| **Tab** | **What it shows** |
|---------|-------------------|
| Summary | Linked documents created from this order — delivery notes, sale invoices, pro forma invoices, commercial invoices, and related follow-up transactions. See <a href="#/sales/reports/sale-transaction-summary">Sale Transaction Summary</a>. |
| Customer Info. | Quick customer stats: recent sales, outstanding balance, and activity for the customer on this order. See <a href="#/sales/reports/customer-summary">Customer Summary</a>. |
| Production | Linked production orders created from this sale order. Shown when your role includes production access. |

<h3>Middle panel</h3>

| **Tab** | **What it shows** |
|---------|-------------------|
| Payments | Receipt vouchers and payments recorded against this order. Shown when <b>Payment on Order</b> is enabled in transaction preferences. |
| Deliveries | Delivery notes and delivery progress against this order. |
| Profit Summary | While the order is open, estimated profit from average inventory cost (purchase price when there is no stock). After an approved invoice exists, actual invoice profit. Requires profit report access. Cost-source notes are hidden on print. See <a href="#/sales/minimum-margin-setting?id=profit-summary">Minimum Margin Setting — Profit Summary</a>. |

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

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

<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 the order. Credit limit and minimum margin may be checked. | Draft |
| Edit | Opens the order for editing. | Draft, For Revisal |
| Delete | Permanently removes the order. | Draft, For Revisal |
| Clone | Creates a copy of the order. | All (if permitted) |
| Print | Prints the order. | All |
| Export | Exports the order to Excel. | All |

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

| **Action** | **Description** | **Available when status is** |
|------------|-----------------|------------------------------|
| Create Invoice | Opens a new Sale Invoice from delivered quantities. | Delivered, Partial Delivered |
| Create Delivery Note | Opens a new Delivery Note pre-filled from this order. | Approved, Partial Delivered, Returned |
| Revise Order | Creates a revised order from a cancelled order. | Cancelled |
| Payment In | Records a customer receipt against the order. Shown when payment on order is enabled. | Approved, Delivered, Partial Delivered |
| Cancel | Cancels the order. | Approved, Open, Delivered |
| Create ProForma Invoice | Opens a new Pro Forma Invoice from this order. | Approved, Delivered, Partial Delivered |
| Create Commercial Invoice | Opens a new Commercial Invoice from this order. | Approved, Delivered, Partial Delivered |
| Create Service Completion Note | Opens a <a href="#/service/service-completion-note">Service Completion Note</a> for service lines. | Approved, Partial Delivered, Delivered |
| Create Material Request | Opens a Material Request linked to this order. | Approved, Partial Delivered |
| Create Production Order | Opens a Production Order linked to this order. | Approved |
| Create Production Plan | Opens a <a href="#/production/production-plan">Production Plan</a> pre-filled with the order's producible items. | Approved |
| Create Purchase Order | Opens a Purchase Order linked to this order. | Approved, Partial Delivered |
| WorkFlow Request | Starts a company process linked to this order (purchase, stock in, delivery, invoice). Does not approve the order. See <a href="#/hr/workflow-request">WorkFlow Request</a>. | Approved, Closed |
| Create Shipment | Creates a shipment linked to this order. | Approved, Closed, Delivered, Partial Delivered |
| Create Inventory Conversion | Opens an Inventory Conversion linked to this order. | Approved, Partial Delivered |
| Create Stock Reservation | Reserves stock against this order. | Approved, Partial Delivered |
| Add/Update Note | Adds or edits an internal note. | All |
| Master Update | Updates selected header fields. See <a href="#/sales/sale-order?id=master-update">Master Update</a>. | Approved, Closed, Returned, Delivered, Partial Delivered |
| Update Secondary Status | Updates a custom secondary status. | Approved, Closed, Delivered, Partial Delivered, Returned |
| Mark As Delivered | Manually marks the order as fully delivered. | Partial Delivered |
| Mark As Closed | Manually closes the order. | Delivered, Partial Delivered |
| Undo Close | Reverts a manual close. | Closed (only when manually closed) |
| Get PDF | Downloads a PDF copy. | All except Draft |
| Export Items | Exports item lines to Excel. | All |


<h3>Statuses</h3>

| **Status** | **Description** |
|------------|-----------------|
| Draft | Saved but not yet approved. Can be edited or deleted. |
| For Revisal | Sent back for changes. Treated like Draft for edit and delete. |
| Approved | Finalized. Ready for delivery notes, invoicing, or production. |
| Partial Delivered | Some quantities have been delivered. |
| Delivered | All ordered quantities have been delivered. |
| Returned | Goods have been returned against this order. |
| Closed | Order is closed — typically after invoicing or manual close. |
| Cancelled | Order has been cancelled. Use <b>Revise Order</b> to create a replacement. |
| Multi Level Approval | Awaiting multi-level approval workflow. |

<b>Posting note:</b> Sale Orders do not post to accounts or inventory. Stock and ledger entries are created when you approve Delivery Notes or Sale Invoices linked to the order.

<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 in-progress order without editing item lines. Open the three-dot menu and select <b>Master Update</b>.

| **Field** | **Can be updated?** | **Notes** |
|-----------|---------------------|-----------|
| Date * | Yes | Cannot be set before the accounts closing date. |
| Payment Term | Yes | |
| Delivery Term | Yes | Shown when delivery terms are enabled in Sale Settings. |
| Delivery Due Date | Yes | Expected delivery date for the order. |
| Employee In charge | Yes | |
| Prepared By | Yes | Shown when prepared-by is enabled in Sale Settings. |
| LPO / FPO Id | Yes | Customer purchase order reference. |
| Branch | Yes | When multi-branch is enabled. |
| Brand | Yes | When brand-wise tracking is enabled. |
| Project | Yes | |
| Customer, centers, item lines, totals | No | Edit the full order (Draft / For Revisal) or cancel and revise. |

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

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

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

<ul>
<li>Approve the order before <b>Create Delivery Note</b> so quantities and rates carry forward correctly.</li>
<li>Use <b>Create Invoice</b> only when status is Delivered or Partial Delivered to invoice delivered quantities.</li>
<li>Enable payment on order in transaction preferences if you collect advance payments against orders.</li>
<li>Link production orders early using <b>Create Production Order</b> for make-to-order items.</li>
<li>Configure <a href="#/sales/sale-types">Sale Types</a> for correct numbering and tax rules before creating orders.</li>
</ul>

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

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

<b>How do I set the footer note on a sale order?</b><br>
On the web, set <b>Sale Order Footer Note</b> under <b>Footer Notes</b> on the <a href="#/sales/sale-types">Sale Type</a>. The web order shows the footer note of the sale type selected as <b>Form Type</b>. Field Sale App prints use <b>Custom Footer in Print</b> on <a href="#/settings/field-sale-app-settings?id=print-header-footer">Field Sale App Settings</a>.

<b>Can I invoice before delivery?</b><br>
<b>Create Invoice</b> is available only when the order is Delivered or Partial Delivered. Deliver goods first using <b>Create Delivery Note</b>, or use <b>Mark As Delivered</b> on Partial Delivered orders when appropriate.

<b>What is the difference between Delivered and Closed?</b><br>
<b>Delivered</b> means all items have been delivered. <b>Closed</b> means the order lifecycle is complete — often after invoicing or a manual close.

<b>Does approving a sale order post to accounts?</b><br>
No. Only Sale Invoice, Credit Note, and Advance Tax Invoice post to accounts.

<b>Why is the Payments tab not visible?</b><br>
The Payments tab appears only when <b>Payment on Order</b> is enabled in your company's transaction preferences.

<b>Why is Profit Summary not visible?</b><br>
You need access to profit reports. The tab appears only when your role includes profit report access.

<b>Why was delivery quantity blocked?</b><br>
When <b>Prevent over delivery from sale order</b> is on, delivered quantity cannot exceed the remaining order quantity. This usually happens after Create Delivery Note from this order, then the delivery **Qty** is raised. Lower the delivery qty or cancel another open delivery on this order. Message: *Delivered quantity exceeds sale order*.

<b>Why can I not cancel this order?</b><br>
Cancel open delivery notes, service completion notes, and receipt vouchers linked to the order first.

<b>Is credit limit checked on order approve?</b><br>
Yes, when configured in <a href="#/sales/credit-limit-setting">Credit Limit Setting</a> for sale orders. The check runs on approve, not on save.

<b>Is minimum margin checked on order approve?</b><br>
Yes, when Sale Order is included in <a href="#/sales/minimum-margin-setting">Minimum Margin Setting</a>. Cost is estimated: Est. cost (value) if set, otherwise average unit value plus estimated cost margin % when that percent is set, otherwise the average unit value when the item is in stock. If there is no stock and no usable estimate, approve shows *Estimated cost is not available*. Draft save is not checked.

<b>Why does Profit Summary differ from the margin warning?</b><br>
Profit Summary uses average inventory cost, or the item purchase price when there is no stock. The approve check adds estimated cost margin % on that average, or uses Est. cost (value), when those are set on the item. Notes under the item (<b>Item cost price</b>, <b>No stock</b>) and the banner are hidden on print.

<b>Can I reserve stock from a sale order?</b><br>
Yes. On an approved order use <b>Create Stock Reservation</b> to hold inventory for fulfilment before delivery.

<b>Can I create a sale order from an opportunity?</b><br>
Yes. On an approved <a href="#/crm/opportunity">Opportunity</a> use <b>Create Sale Order</b>. Customer and item lines are prefilled. Creating the order typically closes the opportunity.

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

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

<ul>
<li><a href="#/crm/opportunity">Opportunity</a></li>
<li><a href="#/sales/sale-quotation">Sale Quotation</a></li>
<li><a href="#/sales/sale-invoice">Sale Invoice</a></li>
<li><a href="#/sales/pro-forma-invoice">Pro Forma Invoice</a></li>
<li><a href="#/sales/commercial-invoice">Commercial Invoice</a></li>
<li><a href="#/sales/sale-settings-config">Sale Settings</a></li>
<li><a href="#/sales/minimum-margin-setting">Minimum Margin Setting</a></li>
<li><a href="#/sales/reports/delivered-not-invoiced">Delivered Not Invoiced</a></li>
</ul>

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

## Errors and warnings

Exact messages for Sale Order 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.


### Customer required

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** Customer is empty.
- **Example message:** *Customer is required* (`fs_api` create). ERP *Please fill customerId* / *Field is required*.
- **Outcome:** The order is not saved.
- **Solution:** Select a customer, then save.

### Delivery due date before order date

- **Type:** Error (inline)
- **Action:** Save
- **When:** Delivery Due Date is before Date.
- **Example message:** *Invalid due date*
- **Outcome:** Save is blocked.
- **Solution:** Set Delivery Due Date on or after Date.

### No pending delivery notes when creating an invoice

- **Type:** Error
- **Action:** Create Invoice
- **When:** There are no approved Delivery Notes or Service Completion Notes still pending for this order.
- **Example message:** *No pending delivery notes*
- **Outcome:** The invoice form does not open from the notes picker.
- **Solution:** Create and approve a Delivery Note or Service Completion Note first, or wait until status is Delivered / Partial Delivered.

### Over-delivery from the sale order

- **Type:** Error (blocks delivery / mark delivered)
- **Action:** Approve Delivery Note / Service Completion Note, or Mark As Delivered
- **When:** Prevent over delivery from sale order is on, and delivered or service-completed quantity exceeds remaining order quantity.
- **Example message:** *Delivered quantity exceeds sale order* or *Service completed quantity exceeds sale order*
- **Outcome:** Delivery / mark delivered is blocked.
- **Solution:** Reduce the delivery quantity to the remaining order quantity.

### Cancel blocked by linked documents

- **Type:** Error (blocks cancel)
- **Action:** Cancel
- **When:** Receipt vouchers, active Delivery Notes, or Service Completion Notes are still linked.
- **Example message:** *Cancel Receipts before cancelling Order (Id:…)* or *Cancel Delivery Notes before cancelling Order (Id:…)* or *Cancel Service Completion Notes before cancelling Order (Id:…)*
- **Outcome:** The order is not cancelled.
- **Solution:** Cancel or unlink those documents first, then Cancel the order.

### Payment against a cancelled order

- **Type:** Error
- **Action:** Payment In / receipt against the order
- **When:** Order status is Cancelled.
- **Example message:** *Sale order is cancelled*
- **Outcome:** The receipt is not applied.
- **Solution:** Do not collect against a cancelled order.

### Mixed receipt currencies

- **Type:** Error
- **Action:** Payment In
- **When:** A new receipt uses a different currency from earlier receipts on the same order.
- **Example message:** *Payment currency is different from previous payment.*
- **Outcome:** The receipt is not applied.
- **Solution:** Use the same currency as previous payments on this order.


### Sale margin below the minimum

- **Type:** Error (blocks approve unless the user may bypass)
- **Action:** Approve, Save And Approve. Draft Save is not checked. Master Update is not checked.
- **When:** An active Minimum Margin Setting matches this customer and Sale Order is in Allowed Transaction Types (or that list is empty). Estimated document margin is below **Minimum Margin %**. Unit cost per stock line: **Est. cost (value)** if filled; otherwise average unit value × (1 + estimated cost margin % ÷ 100) when that percent is set and the item is in stock; otherwise the average unit value when the item is in stock; otherwise last purchase with the zero-stock add-on when that sale setting is on. Service and fixed-asset lines are in the taxable total and not in cost.
- **Example message:** *Sale margin is below the minimum.* / *Taxable: …* / *Cost: …* / *Margin: …%* / *Minimum margin: …%* / *Required taxable: …* / *Required margin value: …*. If taxable is 0 and cost is greater than 0, the Margin line is omitted. If the minimum is 100% or more: *Required taxable: a minimum margin of {minimum}% cannot be met with cost {cost}*. Bypass users also see *You are about to sell below the minimum margin. Do you want to proceed and bypass the limit?*
- **Outcome:** Approve fails, or a bypass user confirms and the order records that minimum margin was bypassed.
- **Solution:** Raise the taxable amount to **Required taxable**, set item cost so the estimate is realistic, or add the user under Users allowed to bypass.

### Estimated cost is not available

- **Type:** Error (blocks approve unless the user may bypass)
- **Action:** Approve, Save And Approve
- **When:** A stock line has no Est. cost (value), is not in stock, and the zero-stock estimate cannot be built (Show estimated cost on zero stock is off, or there is no last purchase price).
- **Example message:** *Estimated cost is not available for {item} (line {serial})*. Several items are comma-separated. Bypass users also see *You are about to sell below the minimum margin. Do you want to proceed and bypass the limit?*
- **Outcome:** Approve fails. A bypass confirm approves without comparing the margin percentage on that attempt, and records the bypass.
- **Solution:** Receive stock, set Est. cost (value) or a margin % that can be applied, enable the zero-stock estimate when a last purchase exists, or add the user under Users allowed to bypass.

### Credit limit exceeded

- **Type:** Error (blocks approve unless the user may bypass)
- **Action:** Approve, Save And Approve (not checked on draft Save)
- **When:** An active Credit Limit Setting matches this customer and this document type is in Allowed Transaction Types. Bill total, customer outstanding, open credit-bill count, or maximum credit days is exceeded.
- **Example message:** *Credit Limit on Bill Exceeded. Bill Total: X, Allowed Limit: Y, Excess: Z* or *Credit Limit for Customer Exceeded. Current Balance: …* or *Maximum Credit Bill Limit For Customer Exceeded. …* or *Maximum Credit Days Exceeded. …* Bypass users: same text plus *You are about to exceed the credit limit. Do you want to proceed and bypass the limit?*
- **Outcome:** Approve fails, or a bypass user can confirm and proceed.
- **Solution:** Reduce the total, collect outstanding, or add the user under Users allowed to bypass.


### 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 previous-date 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 (blocks approve or Master Update)
- **Action:** Approve, Save And Approve, Master Update → Confirm
- **When:** The document date is in a closed accounting period.
- **Example message:** *Accounts closed for the date*
- **Outcome:** The document is not posted, or the date is not changed.
- **Solution:** Use a date after the accounts closing date.

### Items missing or invalid

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** The items table is empty, a line is missing Item / Qty / Unit / Rate, quantity is zero (except Sale Quotation when zero qty is allowed), or line totals do not match.
- **Example message:** *items not found* or *Invalid Data in lines {N}* (`fs_api`). ERP: *Items contains invalid data* with *Quantity must be a greater than zero* or *{field} must be a positive number*.
- **Outcome:** The document is not saved.
- **Solution:** Add valid item lines with quantity greater than zero, then save.

### FOC / zero price on a line

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** A line price is 0 and Allow FOC sale is off.
- **Example message:** *Foc sale is not allowed for item in line {N}*
- **Outcome:** The document is not saved.
- **Solution:** Enter a rate greater than zero, or turn on Allow FOC sale.

### Tax required on every item line

- **Type:** Error (blocks approve; ERP may also block save)
- **Action:** Save, Approve, Save And Approve
- **When:** The sale type has Require tax for every item, and a line has no tax.
- **Example message:** *Tax Required for all items*
- **Outcome:** Approve / save is blocked.
- **Solution:** Add tax on every line or set Sale Tax Config defaults.

### Sale type required fields

- **Type:** Error (blocks approve)
- **Action:** Approve, Save And Approve
- **When:** The sale type lists LPO Number, Employee, Brand, or Route as required and that field is empty.
- **Example message:** *LPO number is required.* or *fields required - {fields}*
- **Outcome:** Approve fails.
- **Solution:** Fill the required sale-type fields, then Approve.

### 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>.

### Customer inactive or missing

- **Type:** Error (blocks save or approve)
- **Action:** Save, Approve
- **When:** No customer is selected, or the customer master is inactive / suspended.
- **Example message:** *Customer is required* or *Customer is not active*
- **Outcome:** The document is not saved or posted.
- **Solution:** Select an active customer, or activate the customer master.

### Duplicate LPO or bill number

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** Prevent Duplicate invoice number (or LPO check) is on and the same number already exists.
- **Example message:** *Same bill number … exist* or *Same LPO number … exist*
- **Outcome:** The document is not saved.
- **Solution:** Use a unique bill / LPO number.

### Master Update — date before accounts closing

- **Type:** Error
- **Action:** Master Update → Confirm
- **When:** The new Date is on or before the accounts closing date.
- **Example message:** *Accounts closed for the date* or ERP *Date is required* if Date is empty.
- **Outcome:** The header is not updated.
- **Solution:** Pick a date after the closing date. Item lines cannot be changed in Master Update.

### Delete only Draft or For Revisal

- **Type:** Error / restriction
- **Action:** Delete
- **When:** Status is not Draft or For Revisal.
- **Example message:** *Delete prevented..* (`fs_api`) or ERP confirm *Are you sure ?* only when delete is allowed.
- **Outcome:** Posted documents stay in the ledger.
- **Solution:** Cancel a posted document after unlinking related records. Delete only drafts.

</section>
