Loading articleโฆ
Loading 4weirdโฆ
Loading 4weirdโฆ
Loading articleโฆ
4weird.com/docs/remastery/invoicing-trash ยท Wave 1
Bill clients in coins at /business/invoices โ 100 ๐ช = exactly $1.00. Draft a memorandum, send it, mark it paid when the guarded checkout settles.
These are NOT tax invoices โ internal coin accounting only. Marking one paid moves no coins by itself. Ghost (๐ป) has no monetary value and can never settle an invoice.
The remastery blueprint adds three upgrades. Status: planned โ none of these exist yet:
| Table | What it holds |
|---|---|
| invoice_clients | user_id, name, email, address, phone, vat_number. |
| invoices | user_id, client_id, invoice_number, issue_date, due_date, currency, tax_rate, subtotal, tax_amount, total_amount, status (draft | sent | paid | overdue | cancelled), sender company fields, deleted_at (trash), timestamps. |
| invoice_line_items | invoice_id, description, quantity, unit_rate, total, position. |
Invoices and clients are yours only (planned per-user RLS); line items follow their invoice.
| Action | Status | What happens |
|---|---|---|
| Void | Live today | Cancels the memorandum in place; the row stays for audit. |
| CSV download | Live today | Exports rows for the books alongside the printable view. |
| Client directory | Planned | Managed companies with billing addresses and VAT IDs. |
| Vector PDF | Planned | One-click client-ready PDF rendered from the database row. |
| 30-day trash | Planned | Soft-delete stamp, Trash tab countdown, restore, auto-purge. |
Next: Time tracking ยท Chat ยท Open invoices ยท All docs