← All documentation · Catalog & Commerce
Orders, invoices, payments & returns
Run your commerce operations in LogAI: track and fulfil orders, sell at the counter with Point of Sale, build GST invoices that manage stock, collect payments with Razorpay links, process refunds and exchanges, and recover abandoned carts.
9 min read · Last updated
Commerce → Accounts is your money screen, with four tabs: Orders (default), Invoices, Payments, and Returns — each with stat cards, search, filters, CSV export, and bulk actions. Commerce → Abandoned Carts rounds it out with recovery tools for your online store.
Create an invoice
- Open the wizard. On the Invoices tab, click
Create Invoice. A step-by-step builder opens with a live invoice preview. (First time? The wizard checks that your organization address and tax settings (HSN codes) are configured, and links you to Settings if not.) - Fill the details. Title, an editable
Code(defaults to INV-…), theCustomer, status, notes, and invoice date. If the customer is missing address fields, a warning lists exactly what's needed with anEdit Detailsshortcut — the invoice can't submit until the address is complete. - Add line items. Click
Add Items, then per line: product (and variant for variable products), HSN code, quantity, rate, and discount. Totals, GST tax breakdowns, and the preview recalculate live. Quantities are stock-checked — “Only N available in stock.” - Save. Click
Save All→Done. The invoice view opens withDownload(A4 PDF),Print, andMake Paymentactions plus a full activity log.
Invoices move stock: Every saved line immediately deducts its quantity from product/variant stock; deleting the invoice restores it. Once an invoice is marked Paid it becomes read-only — no edits, added items, deletion, or further payments.
Collect payments
Record payments on the Payments tab (Create Payment) or straight from an invoice (Make Payment, prefilled with the pending balance). Payments track customer, optional invoice link, total/paid amounts, type (Credit/Debit), and status (Not Paid/Paid) — and a payment can exist without an invoice for advances.
Razorpay payment links: With Razorpay configured and type Credit, toggle Share a payment link and click Create & generate link — you get a link with one-click WhatsApp and Email sharing, and the payment flips to Paid automatically when your customer completes it.
Track and fulfil orders
Orders arrive from your online storefront and from the built-in Point of Sale (Create Order): add products to the ticket, pick the customer and shipping address, choose Razorpay or Cash on Delivery, apply a coupon, and Create Order. Order numbers follow ORD-{year}-{org}-{sequence}.
| Order lifecycle | Notes |
|---|---|
| Created → Processed → Confirmed → Shipped → Out for Delivery → Delivered | The order sidebar's Mark as next button advances one step; a dropdown sets any status manually. |
| Cancelled / Failed | Terminal problem states. |
| Refund Initiated → Refunded | Driven by the returns flow; a fully-refunded order flips to Refunded. |
| Cash on Delivery | Starts at Confirmed automatically; Mark Payment Received records the cash payment. |
Each order's sidebar shows the customer, line items with full GST breakdowns (IGST/CGST/SGST), coupon discounts, addresses, and payment details — plus printable receipts and shipping labels as PDFs.
Returns and exchanges
- Create the return. From an eligible order (Processed through Delivered) click
Create return / exchange, or use Returns →New Return. Choose Refund (money back) or Exchange (replace items — variable products can swap variants). - Pick the items. Set per-item quantities up to what's still returnable, add a reason, and decide whether to
Restock itemswhen they're received (on by default). The footer estimates the refund tax-inclusive. - Work the lifecycle. Returns move Requested → Approved → Received → Refunded (records a refund payment) or Exchanged (creates a replacement order automatically). Rejected and Cancelled are terminal.
Recover abandoned carts
Commerce → Abandoned Carts lists storefront carts that never checked out, classified by freshness — Hot (under 1 hour), Warm (under 24 hours), Cold (older). Open a cart to see the shopper, items, totals, and coupon history, then either send an existing coupon or click Create new coupon for this lead for a personal offer. The recovery email (“You left something behind! – {your store}”) lists their items and the code.
SMTP required for recovery emails: Recovery coupons send through your organization's own email (SMTP) settings — configure them first, and make sure the lead has an email address, or nothing goes out.
Access
The Accounts tabs and Abandoned Carts need the Commerce permission — Viewer to browse, Editor to create orders, invoices, payments, returns, and to send recovery coupons. Invoicing additionally requires your organization address and HSN tax settings to be configured.
Frequently asked questions
Why can't I start adding items to my invoice?
Two possible blocks: “Configuration Required” means your organization address or tax settings (HSN codes) are missing — complete them via the Configure Now link. A red customer warning means the selected customer lacks address fields; fill them via Edit Details.
Does creating an invoice reduce stock?
Yes — each saved line immediately deducts from the product or variant's stock, quantities are capped at what's available, and deleting the invoice restores the stock.
How do I send a customer an online payment link?
Open the invoice → Make Payment (or Payments → Create Payment), choose type Credit, toggle “Share a payment link”, and generate. Share via the built-in WhatsApp/Email/Copy buttons; the payment marks itself Paid when completed. Requires Razorpay credentials in Settings.
Can I edit an invoice after it's paid?
No — paid invoices are read-only: editing, adding items, deleting, and further payments are all disabled. Download or print remains available.
How are orders created?
Two ways: customers checking out on your online storefront, and you at the counter via Create Order — the full-screen Point of Sale with product search, coupons, shipping, and Razorpay or Cash on Delivery.
When can an order be returned?
Once it's Processed, Confirmed, Shipped, Out for Delivery, or Delivered. Choose Refund or Exchange, per-item quantities up to what's still returnable, and optional restocking. Refunds record a refund payment; exchanges create a replacement order automatically.
What makes an abandoned cart Hot, Warm, or Cold?
Age alone: under 1 hour is Hot, under 24 hours Warm, 24+ hours Cold. Only carts that still contain items appear — they come from your storefront and can't be created manually.
Why didn't my cart recovery email send?
Recovery emails go through your organization's own SMTP settings and need the shopper's email on file. Configure Email settings first; failed sends roll back the sent counter.
Can I download invoices and receipts as PDFs?
Yes — invoices download/print as A4 PDFs from the invoice view, and orders offer printable receipts and shipping labels from the order sidebar.
Open the LogAI app — start free, no credit card required.