Invoicing & Accounts Receivable Guide
Module: Sales → AR Invoices Roles: Admin, Sales, Accountant Last Updated: July 2026
Overview
The Accounts Receivable (AR) Invoices module allows you to generate invoices linked to sales orders, track payment status, record incoming payments, and communicate with customers via email. All invoice data is centralized in the AR Invoices tab within the Sales page.
AR Invoices Tab
Viewing the Invoice List
Navigate to Sales → AR Invoices. All invoices are displayed in a sortable, searchable, paginated DataTable.
Columns Explained
| Column | Description |
|---|---|
| Invoice # | A unique auto-generated invoice identifier (e.g., INV-0001) |
| Date | The date the invoice was issued |
| Customer | The customer company name |
| Amount | The total invoice amount |
| Status | Current payment status (see below) |
| Actions | Record Payment, View, Send Email, Delete |
Invoice Statuses
Each invoice displays a color-coded status badge:
| Status | Badge Color | Meaning |
|---|---|---|
| Pending | Yellow | Invoice has been issued but no payment has been received yet |
| Paid | Green | The full amount has been paid |
| Overdue | Red | The payment due date has passed without full payment |
| Partial | Blue | A partial payment has been received but the balance remains |
Creating an Invoice
From a Sale Record
- Navigate to Sales → Sales Orders.
- Locate a Completed sale.
- Click the Create Invoice button (or use the post-save prompt after completing a sale).
- The invoice form opens pre-filled with:
- Customer — from the linked sale
- Amount — the sale total
- Date — today's date
- Review the details, add any additional notes if needed, and click Save.
- The invoice is created with a Pending status.
- A prompt appears to send the invoice to the customer via email.
Manually
- Navigate to Sales → AR Invoices.
- Click the + New Invoice button.
- Fill in the required fields:
- Customer — Select from the dropdown
- Amount — Enter the invoice amount
- Date — Select the invoice date
- Notes — (Optional) Add any notes
- Click Save to create the invoice.
Recording a Payment
- Navigate to Sales → AR Invoices.
- Locate the invoice you want to record a payment against.
- Click the Record Payment button in the Actions column.
- The Record Payment dialog opens.
- Fill in the payment details:
Step-by-Step
| Field | Description |
|---|---|
| Amount | Enter the payment amount received from the customer |
| Payment Method | Select one of: Cash, Bank Transfer, POS, or Cheque |
| Reference | Enter a reference number (e.g., bank transfer reference, cheque number, POS terminal ID) |
- Click Save to record the payment.
What Happens After Saving
- The payment is logged in the Payments tab with a timestamp.
- The invoice status automatically updates:
- If the payment equals the invoice amount → status changes to Paid (green).
- If the payment is less than the invoice amount → status changes to Partial (blue).
- The customer's outstanding balance in the Customers module is updated accordingly.
Understanding Partial Payments
The system supports partial payments, allowing customers to pay invoices in installments.
Scenario 1: Partial Payment
- Invoice Amount: ₦500,000
- Payment Received: ₦200,000
- Invoice Status: Changes to Partial (blue badge)
- Remaining Balance: ₦300,000
Scenario 2: Remaining Payment
- Invoice Amount: ₦500,000
- Additional Payment Received: ₦300,000
- Invoice Status: Changes to Paid (green badge)
- Remaining Balance: ₦0
Note: Each payment is recorded as a separate transaction in the Payments tab, giving you a complete audit trail of all payments received against an invoice.
Sending an Invoice via Email
- Navigate to Sales → AR Invoices.
- Locate the invoice in the list.
- Click the Send Email button in the Actions column.
- The system retrieves the customer's email address from the database.
- A branded HTML invoice template is generated and sent via the Resend API.
- A toast notification confirms the email was sent successfully.
What the Customer Receives
- A professionally formatted HTML email with the Lofty Golden Oil branding.
- The invoice details: invoice number, date, amount, line items, and payment instructions.
- A clear call to action for making payment.
Note: Ensure the customer's email address is correctly entered in the Customer profile before sending.
Viewing Invoice Details
- Navigate to Sales → AR Invoices.
- Click the View (eye) icon in the Actions column.
- The invoice detail view opens, showing:
- Full invoice information (number, date, customer, amount)
- Payment history (all payments recorded against this invoice)
- Current balance outstanding
- Notes and additional details
Deleting an Invoice
- Navigate to Sales → AR Invoices.
- Click the Delete (trash) icon in the Actions column.
- A ConfirmDialog appears asking you to confirm the deletion.
- Click Confirm to permanently remove the invoice, or Cancel to abort.
Warning: Deleting an invoice is irreversible. Any payments recorded against this invoice will become orphaned. Use this action with caution.
Tracking Outstanding AR
Quick Overview
The AR Invoices tab provides an at-a-glance view of your receivables:
- Total Outstanding: Sum of all invoices with Pending or Partial status.
- Overdue Amount: Sum of all invoices with Overdue status.
- Paid Invoices: All invoices with Paid status.
Using Filters
- Click the Status column header to sort invoices by status.
- Group all Pending and Partial invoices together to see what is owed.
- Group all Overdue invoices to identify customers who need follow-up.
- Click Export CSV to download the filtered data for further analysis.
CSV Export
- Click the Export CSV button at the top of the AR Invoices table.
- The current filtered and sorted view is downloaded as a
.csvfile. - Open the file in Excel, Google Sheets, or any spreadsheet application for reporting.
Role Access Summary
| Role | Access Level |
|---|---|
| Admin | Full access — create, record payments, send email, delete, export |
| Sales | Full access — create, record payments, send email, delete, export |
| Accountant | Record payments, view invoices, export (no delete) |
| Production | No access to Invoicing module |