Invoices

Invoice Statuses

Overview of different invoice statuses and their meanings in PineBill.

Status Overview

PineBill uses five distinct status codes to track invoice lifecycle:

First Invoice Screenshot
StatusPurposeWhen to UseAutomatic Behavior
DRAFTInvoice is being preparedCreating new invoice
Making edits before sending
Incomplete invoice data
None
🔵 SENTInvoice sent, awaiting paymentInvoice delivered to customer
Payment expected
Within due date
None
🟢 PAIDPayment received and confirmedCustomer payment received in full
Transaction verified
Sets paidDate to current timestamp
Clears paidDate when changed from PAID
🔴 OVERDUEPayment past due dateDue date has passed
Customer payment is late
Manual update required
No automatic SENT → OVERDUE transition
🟠 CANCELLEDInvoice voidedIssued in error
Customer order cancelled
Superseded by corrected version
None

Status Transitions

Common status workflows:

Standard flow:

DRAFT → SENT → PAID

Late payment flow:

DRAFT → SENT → OVERDUE → PAID

Cancelled flow:

DRAFT → CANCELLED
SENT → CANCELLED

Manual vs Automatic

Manual changes required:

  • All status transitions must be manually updated
  • No automatic SENT → OVERDUE transition

Automatic behavior:

  • PAID status sets paidDate timestamp
  • Changing from PAID clears paidDate

Status in Reports

Outstanding balance includes:

  • SENT invoices
  • OVERDUE invoices

Dashboard metrics show:

  • Count per status
  • Days overdue calculation for OVERDUE invoices
  • Overdue identification: status IN (SENT, OVERDUE) AND dueDate < today
Invoice Statuses | PineBill Documentation