Invoices
The Invoices screens show all financial records generated from orders and subscriptions. An invoice tracks what was billed, when payment is due, whether it has been paid, and links to the corresponding tax invoice (NFSe) when applicable. Invoices originate from Stripe (for card payments) or from Banco Inter (for Pix and Boleto payments processed through MIDDAG BR).
List view
Open MIDDAG Account > Invoices to see all invoices across all organizations.
Columns
| Column | What it shows |
|---|---|
| Number | The invoice number (clickable -- opens detail view) |
| Order | The WooCommerce order number this invoice belongs to (clickable) |
| Organization | The customer organization (clickable link to Organization detail) |
| Amount | Total amount with currency (BRL or USD) |
| Status | Draft (gray), Issued (blue), Paid (green), Overdue (red), or Cancelled (red) |
| Issue Date | When the invoice was issued |
| Due Date | Payment deadline. Overdue invoices highlight this column in red. |
| Payment Date | When payment was received (blank if unpaid) |
Filters and search
Above the table you can narrow down the list:
- Search -- type an invoice number, order number, or organization name
- Status -- filter by Draft, Issued, Paid, Overdue, Cancelled, or All
- Billing Entity -- filter by MIDDAG BR, MIDDAG GLOBAL, or All
- Date range -- filter by issue date or due date
- Payment method -- filter by Stripe Card, Pix, Boleto, or All
The filter bar shows the total count ("Showing 1-25 of 318").
Bulk actions
Select multiple invoices using the checkboxes, then use the bulk action dropdown:
- Export CSV -- download selected invoices as a spreadsheet
- Mark as Paid -- manually mark selected invoices as paid (requires confirmation)
Detail view
Click any invoice number in the list to open the detail view.
Header
The header shows:
- Invoice number with a status badge (color-coded)
- Organization name (clickable link to Organization detail)
- Action buttons: Edit, Regenerate PDF, Trigger NFSe, Mark as Paid (when applicable)
Invoice data
A metadata grid shows key information:
| Field | Description |
|---|---|
| Number | Invoice number |
| Status | Current status with color badge |
| Organization | Customer name (clickable) |
| Order | Linked WooCommerce order number (clickable) |
| Amount | Total in the invoice currency |
| Issue Date | When the invoice was created |
| Due Date | Payment deadline |
| Payment Date | When payment was received |
| Payment Method | Stripe Card, Pix, Boleto, or manual |
| Billing Entity | MIDDAG BR or MIDDAG GLOBAL |
| Stripe ID | External Stripe invoice ID (if origin is Stripe) |
| PDF Link | Link to the invoice PDF document |
NFSe status
Below the invoice data, the NFSe (Tax Invoice) section shows:
- NFSe Number -- the tax invoice number issued by ISSNet (Brasilia/DF municipality)
- NFSe Status --
IssuedorCancelled - NFSe Link -- link to the tax invoice PDF on the municipality portal
- Not applicable -- displayed when the invoice belongs to MIDDAG GLOBAL (no Brazilian NFSe required)
Linked records
Links to related records appear below the NFSe section:
- Order -- the WooCommerce order that generated this invoice
- Organization -- the customer
- Entitlement -- the entitlement linked through the order pipeline
- Tax Invoice -- the corresponding NFSe record (if issued)
Actions
| Action | When to use it |
|---|---|
| Edit | Update notes, due date, or payment method |
| Regenerate PDF | Re-generate the PDF document (useful after editing invoice details) |
| Trigger NFSe | Request NFSe issuance via ISSNet for this invoice (MIDDAG BR only) |
| Mark as Paid | Manually record payment when it was confirmed outside of Stripe/Inter |
| Cancel | Cancel the invoice. Also cancels the linked NFSe if one was issued. |
Trigger NFSe sends a SOAP request to the Brasilia/DF ISSNet system. A background cron job checks the issuance status every 5 minutes until the NFSe is confirmed or rejected by the municipality.
Related pages
- Orders -- the purchases that generate invoices
- Organizations -- the customer that was billed
- Entitlements -- what the customer received
- Dashboard -- overdue invoices appear in the action items
- How Concepts Connect -- the full relationship diagram