Reports

Find, Verify and Settle Pending Customer Payments

Pending Payments is the operational debt register for saved sales. It identifies each due invoice, rolls debt up by customer and category, and opens product and contact evidence for an invoice.

Menu path
Reports -> Sales -> Pending Payments
Verified from
Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence

frontend/modules/pendingReport.html, frontend/static/script/js/modules/js/report_pending.js, api/app/routes/sales.js, api/app/controllers/sales.js, api/app/repositories/sales.js

Pending invoicesSale Details lists each qualifying invoice with total, amount already paid and amount still due.
Invoice evidenceSelect a Sale Id to verify the customer, branch and item-level quantity and value before contacting the customer.
Customer roll-upCustomer Details combines qualifying sales for each customer and retains phone and referral context.
Category roll-upCustomer Category Details shows how much product value and debt belongs to each saved customer category.

Before Selling on Credit

  • Create or select the real customer instead of Walk-in Customer when the balance must be collected later.
  • Enable Allow credit (pay later) on that customer and apply the store's credit limit and reminder policy.
  • Save a phone or email address and, when useful, a customer category before the sale. Missing customer context produces weak collection evidence and blank grouped fields.
  • At tender, use Unpaid or enter a partial Pay amount only when the customer has agreed to the balance.
  • Give the customer the sale receipt and record any agreed due date outside this report. Pending Payments does not provide ageing buckets, invoice due dates or collection-status notes.

Run the Report

  • The range is applied to the sale record's last updated date, not necessarily its original creation date. A payment, edit or partial return can move a sale into a later reporting period.
  • The report includes qualifying Add, Edit and PartialReturn sale records when their saved status or payment_pending value still indicates debt.
  • Users with Sales Session Filter can see only sales in their permitted login-session window even when the screen says All Time.
  • Report read permission is required. Free-plan report panels are blurred and export actions are restricted.
  1. Open Reports -> Sales -> Pending Payments.
  2. Choose the date range and one or more branches, then select Apply.
  3. Start with Sale Details to identify the exact invoices that still carry a balance.
  4. Use Customer Details to plan customer-level collection and Customer Category Details to review exposure by credit group.
  5. Refresh after a settlement and confirm that the due amount has reduced or the fully settled invoice has left the report.

Read Sale Details

  • Sale Details is sorted by the largest total/pending value rather than by newest date.
  • An Unpaid status can still appear when payment_pending is greater than zero even if the status label differs from Pending or Partialy Paid.
ColumnMeaningCheck
IdSaved sale identifier and invoice drill-down link.Match the receipt and Sales History before requesting payment.
DateSale record's last updated date in the selected period.Do not assume this is the original sale date.
No. Of ProductSaved number_of_items value for that sale.Use the sidebar for item names and quantities.
TotalSaved item total for the qualifying sale.Compare with the sale receipt after discounts, tax and returns.
PartialAmount already retained as partial payment on the sale.This is paid value despite the internal partial_balance field name.
DueCurrent payment_pending balance.Normally Total minus Partial, subject to later edits or returns.

Inspect One Pending Sale

  • Phone and email become call and mail links only when those fields are saved.
  • The sidebar does not show the cashier even though the report service retains user context.
  • The sidebar is read-only evidence. It does not collect payment or modify the sale.
  1. Select the Sale Id.
  2. Confirm the invoice number and branch in the right sidebar.
  3. Verify customer name, phone, email and address before discussing the account.
  4. Review Product history for each grouped item name, summed quantity and amount.
  5. Page through the product list when the invoice has more than five distinct items.
  6. Close the sidebar and open the same sale in Sales History for receipt, tender and settlement actions.

Use Customer Details

Customer Details combines all qualifying sales in the range for each customer and shows Name, Phone, Referred By, Products, Total, Partial and Due.

  • Products is the sum of saved item counts across that customer's qualifying sales. It is not the number of invoices.
  • Total, Partial and Due are summed across those sales; confirm individual invoices in Sale Details before accepting a lump-sum payment.
  • Walk-in Customer debt can appear with blank phone or referral information. Investigate the original sale because this row is not a reliable customer account.
  • Rows are sorted by total value, so the largest customer exposure appears first.

Use Customer Category Details

Customer Category Details combines qualifying sales by the category saved on the sale, with Name, Products, Total, Partial and Due.

  • Products is summed item count, not customer count and not invoice count.
  • Use categories such as business accounts or wholesale customers to monitor policy exposure, then return to Customer Details and Sale Details for collection.
  • Sales without a useful category can appear as a blank group in current data. Assign categories before future credit sales; do not rewrite historical evidence merely to clean this report.
  • This view is a policy roll-up, not an ageing schedule or customer statement.

Export the Three CSV Files

  • The small export/share action inside each tab requests all matching rows, not only the visible page.
  • `PartialyAmount` is the current exported spelling on the customer and category files; keep it when building an import or reconciliation template.
  • Set and apply filters before exporting, then compare the exported row count and due total with the screen.
  • The shared top PDF, CSV, Excel and Email toolbar is registered to a report surface; verify its output against the active tab before distributing it.
Tab exportCurrent CSV fieldsFilename
Sale DetailsSalesId, Date, CustomerName, CustomerPhone, NoofProduct, TotalAmount, PartialAmount, DueAmountpending-reports
Customer DetailsCustomerName, CustomerPhone, ReferredBy, NoofProduct, TotalAmount, PartialyAmount, DueAmountpending-customer-reports
Customer Category DetailsCategoryName, NoofProduct, TotalAmount, PartialyAmount, DueAmountpending-customercategory-reports

Collect and Settle the Balance

  1. Confirm the customer and every open invoice in Pending Payments.
  2. Open Sales History or the customer's credit and wallet settlement workflow; Pending Payments itself is read-only.
  3. Record the amount actually received against the intended invoice or account using the correct payment method.
  4. Issue payment evidence or a revised receipt and keep provider evidence for non-cash payments.
  5. Rerun Pending Payments with a period that includes the sale's updated date.
  6. Confirm Due reduced by exactly the receipt amount and reconcile the payment in Payment Reports and Day-End Summary.

Troubleshooting

ProblemWhat to checkAction
Known debt is missingUpdated date, branch, licence, report permission and Sales Session Filter.Open the sale in Sales History, verify payment_pending, then rerun the period containing its latest update.
Settled sale still appearsWhether payment was saved against this exact sale and whether Due changed.Refresh, inspect the sale and correct the settlement workflow; do not delete the sale.
Partial plus Due does not match TotalReturns, edits, discounts and the latest saved sale values.Reconcile Sales History, receipts and return documents before collecting more money.
Customer contact is blankThe customer saved on the sale and its phone/email fields.Use the original receipt and customer record; update current contact details only after verification.
Products seems too highGrouped tabs sum item counts across invoices.Count invoices in Sale Details; treat Products as item count.
Blank category rowQualifying sales without retained category context.Identify customers in Customer Details and apply categories prospectively.
Export is disabled or blurredNo matching records or Free-plan restriction.Check filters, report permission and plan access.

Daily Credit Control

  • Every due invoice is tied to the correct named customer and branch.
  • Customer and category Products values are treated as item counts, not invoice counts.
  • Collections are posted through Sales History or customer settlement, never through the report.
  • Due reductions match receipts and Payment Reports.
  • Walk-in, blank-contact and blank-category debt is investigated before close.
  • Unresolved differences are documented and escalated before the next shift.