Skip to main content

Sales

Sales runs the whole order-to-cash story: turn a confirmed order into goods dispatched, a GST invoice raised, and payment received — with stock, GST and the accounting ledger kept in step automatically. You enter each document once; the next department inherits it, and Finance posts the vouchers itself.

Sales module overview

The worked example we follow

Every page in this module threads the same order so you can watch one deal move end to end:

Order SO-1043 — customer Sunrise Polymers (a dealer in Maharashtra; our warehouse is in Gujarat, so this is an inter-state supply → IGST).

#ProductHSNQtyRate (₹/MT)Taxable (₹)
1HDPE Granules390112 MT27,0003,24,000
2LDPE Film39204 MT39,5001,58,000
Sub-total4,82,000
IGST @18%86,760
Total5,68,760

That order is confirmed, shipped with an IRN + QR + e-Way Bill invoice, paid by NEFT, and then partially returned with a credit note — each on its own page.

The order lifecycle

Every order moves through the same statuses. Stock is allocated when you confirm and only deducted when goods ship, so you never oversell and never lose the trail.

Draft → Pending → In Progress → Shipped → Completed → Invoiced → Paid
└────────────── Cancelled (any point before Completed) ──────────────┘
StatusWhat it meansStock effect
DraftBeing prepared. Fully editable.None
PendingConfirmed by sales.Stock allocated (held, not removed)
In ProgressOperations is fulfilling — picking, making or packing.Allocation held
ShippedGoods dispatched to the customer.Stock deducted
CompletedCustomer has received the goods.Deducted; vouchers post
CancelledAbandoned before completion.Allocations released

A Completed order flows on to Invoiced → Paid as you raise the invoice and record receipts. It can be Cancelled at any point before it completes.

Where each document posts to Finance

The power of the module is that the paperwork posts its own accounting. For SO-1043, four balanced vouchers land automatically — no journal typed by hand:

TriggerVoucherPosting (₹)
Order Completed / invoicedSalesDr Sunrise Polymers (AR) 5,68,760 → Cr Sales 4,82,000 + Cr Output IGST 86,760
Order Completed (FIFO cost)COGSDr Cost of Goods Sold 4,28,000 → Cr Inventory 4,28,000
NEFT receipt recordedReceiptDr Bank 5,68,760 → Cr Sunrise Polymers (AR) 5,68,760
Credit note (1 MT LDPE back)Credit NoteDr Sales 39,500 + Dr Output IGST 7,110 → Cr Sunrise Polymers (AR) 46,610

The Sales and COGS vouchers together book a gross margin of ₹54,000 (Sales ₹4,82,000 − FIFO cost ₹4,28,000) — computed for you when the order completes.

:::tip Stock is reserved on confirm The moment you confirm an order it allocates stock, so two salespeople can't sell the same 12 MT of HDPE twice. See Inventory for how allocation and FIFO costing work. :::

Tax modes at a glance

Set the tax mode on the order header. For Indian customers Raya reads the two GSTINs and picks the split automatically:

ModeWhen to useSO-1043 result
Item-level tax (default)Mixed GST rates across linesEach line carries 18%
Invoice-level taxOne rate for the whole orderSingle 18% block
Intra-state (same state)Buyer's state = your stateCGST 9% + SGST 9%
Inter-state (different state)Buyer's state ≠ your stateIGST 18% = ₹86,760

Sunrise Polymers is in a different state, so Raya applies IGST — a single ₹86,760 line rather than a CGST + SGST split.

Sub-pages

Sub-tabWhat it's for
OverviewSales KPIs and quick links
Sales OrdersCreate, edit, submit, recall and cancel orders
Invoices & e-InvoiceTax invoices, IRN/QR, e-Way Bill and sharing
Sales Returns & Credit NotesReturns, restocking and refunds
Export SalesZero-rated sales to foreign customers
Targets & LeaderboardRevenue targets and team ranking
Sales ReportsSales register, pending and cancelled orders