Invoice and expense Notes
Save, edit or clear Notes
Use the optional Notes field when creating or editing an invoice or expense. Submit the form, then reopen the record to read or edit the saved text. For an invoice, Notes also appear in the preview and shared downloaded/emailed PDF with line breaks preserved. Clear the field and save again to remove the text.
Notes use the record's existing workspace and role permissions. Adding Notes does not change expense approval rules or invoice amounts, tax or payments. Submitted Notes are filtered from Rails request logs; the original request parameters remain available to save the text.
API field contract
The existing /api/v1/invoices and /api/v1/expenses create and update endpoints
accept optional text in invoice.notes or expense.notes, respectively.
| Update input | Stored Notes |
|---|---|
notes omitted | Existing text is preserved |
notes: "" | Text is cleared |
notes: "First line\nSecond line" | Both lines are saved |
For example, clear an invoice's Notes with this JSON body on its existing
PATCH /api/v1/invoices/:id endpoint:
{ "invoice": { "notes": "" } }
For expenses, use { "expense": { "notes": "" } } on
PATCH /api/v1/expenses/:id. Existing authentication, authorization and other
field validations still apply.
Invoice detail, create and update responses include notes. Expense detail,
create and list responses include notes; an expense update returns its usual
notice, so fetch the detail endpoint to read the saved value. Existing records
can return null until Notes are saved. Invoice list summaries do not include
the field; fetch invoice detail before editing.
The repository's synthetic QA record at
docs/qa/notes-persistence-2551-2552-20261129/README.md describes local round-trip
and preview verification. This does not establish production deployment or
migration completion.