Mashroo3 uses order-based invoices.
Flow
-
Create an order.
-
Open that order.
-
Select View Invoice.
-
See total, paid amount, and remaining amount.
-
Generate/download PDF invoice.
Why this model
-
No separate invoice table to maintain manually.
-
Invoice always stays in sync with order data.
-
Easier tracking of payment and refund impact.