Sales

Collect and Settle an Unpaid Saved Sale

Settle the original unpaid bill from Sales History so Posnic records the collection without creating a duplicate sale or changing its product lines.

Menu path
Home -> Sales History -> open unpaid bill -> Settle payment
Verified from
Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence

frontend/static/script/js/modules/js/sales.js showPayment, renderSaleDoc, openTenderModel and update payload, frontend/modules/sales_write.html unpaid toggle and tender controls, api/src/controllers/sales.controller.js update permission and existing-sale update flow, api/src/services/sale.service.js payment status, paid amount, pending amount and Edit processing, Current local Posnic POS unpaid bill and payment-only tender reviewed on 2026-09-08

Open the exact unpaid billThe saved bill remains visible with its number, Unpaid status, customer, items and total before collection starts.
Payment-only tenderThe tender carries the original bill into collection, prefills the full amount due and labels the final action Pay.

Use Settlement for the Original Bill

An unpaid sale is already a saved sales document. Collect against that document. Creating a second sale may duplicate revenue, item history and stock movement while leaving the original due open.

SituationCorrect actionDo not use
Customer now pays the whole outstanding billOpen the unpaid bill and use Settle payment.A new sale for the same items.
Customer pays only part todayUse the approved partial-payment or customer-account workflow and confirm the remaining due is preserved.Full settlement with an invented payment amount.
Bill contents or price are wrongCorrect the bill under the edit policy before collection.Settlement as a way to hide a billing error.
Goods are being returnedUse Return items and its refund controls.Settle payment or whole-sale Delete.
The complete bill is invalid or duplicatedUse the authorised void/delete workflow.Collecting money against the wrong bill.

Check Access and Collection Evidence

The current settlement button and update endpoint require Sales Write access. Before opening tender, collect enough evidence to match the payment to one bill and one customer.

  • Use bill number as the primary match; also compare customer, sale date, items and total.
  • Confirm the amount still due with the customer or approved account record.
  • Identify the real tender method before entry: cash, card, UPI, bank transfer or another configured label.
  • Keep the provider reference or shop collection note when policy requires one.
  • Do not share customer dues or receipt details with staff who lack Sales or customer-account access.

Open the Payment-Only Tender

  1. Open Home -> Sales History.
  2. Find a row whose Status is Unpaid and open it.
  3. Verify the receipt header, bill number, Unpaid stamp, customer, line items and total.
  4. Select Settle payment.
  5. Wait for the payment-only tender to open and compare its Sale Summary with the receipt you just verified.

Review Every Tender Control

ControlCurrent behaviorOperator check
Paid switchOpens switched on for an ordinary unpaid Add sale.Leave it on only when money is actually being collected now.
Amount dueThe large payment value and Pay amount are prefilled with the full bill total in the current payment-only flow.Compare it with the outstanding amount; do not assume a partial history is represented correctly without checking.
Payment methodConfigured methods such as Cash and card are selectable; Add exposes additional tender handling when enabled.Choose the method that received the money, not the convenient default.
DenominationsCash denomination buttons and Tender calculate return balance.Use for cash only and count the amount handed over.
Sale SummaryShows the original customer, items, quantities and total.Stop if it is not the intended bill.
PaySubmits an update to the existing sale rather than creating another bill.Click once after the payment is confirmed.

Record the Full Settlement

  1. Confirm Paid is on and the displayed amount equals the amount being collected.
  2. Select the actual payment method.
  3. For cash, enter or build the tendered amount and verify Return balance before handing back change.
  4. For card, UPI or bank payment, confirm approval in the provider or terminal before recording it in Posnic.
  5. Select Pay once and wait for the success response and screen transition.
  6. Do not repeat Pay because the screen feels slow; first check Sales History and the provider record.

What the Save Changes

The current UI reuses the normal Edit endpoint with the original sale ID, date, customer and lines. The service recalculates payment status from the tender payload: a paid full amount produces Paid with no pending balance; an unpaid selection keeps the bill due. The same edit path also rewrites the stored payment mode and update audit fields.

  • The original bill is updated; no replacement bill number should be created.
  • The sale requires at least one valid existing line because settlement loads and resubmits the bill.
  • Sales Write permission is checked server-side before the update.
  • Because the general edit engine is reused, compare inventory after an unexpected item or quantity difference.
  • A payment recorded in Posnic does not itself settle or refund an external card, bank or gateway transaction.

Verify the Collection

  1. Return to Sales History and reopen the same bill number.
  2. Confirm the status is Paid and the Unpaid stamp and Settle payment button are gone.
  3. Check that the stored payment method matches the actual tender.
  4. For a named credit customer, verify the customer outstanding or wallet balance changed as expected.
  5. Review Payment Report and Pending Payments for the same branch and date.
  6. Include the collection in register close; reconcile cash physically and non-cash against the provider.

Troubleshoot Before Retrying

ProblemLikely checkSafe response
Settle payment is missingThe selected bill is not Unpaid, or the user lacks Sales Write access.Recheck status and role instead of creating a duplicate sale.
Wrong amount is prefilledThe stored sale total, partial amount or pending balance needs review.Cancel tender and reconcile the customer account before collecting.
Required payment method is absentThe method is not configured or multi-payment is disabled.Ask an administrator to configure it; do not mislabel the tender.
Provider approved but Posnic did not finishThe update may have succeeded despite a delayed screen.Search the bill and payment report before pressing Pay again.
Posnic says Paid but provider failedThe POS and external settlement disagree.Escalate immediately and correct under the shop's authorised payment policy.
Customer balance remains wrongPartial/wallet transaction history may not match the saved bill.Review the customer transaction and pending-payment records before manual adjustment.