Skip to content

docs: correct Invoices area labels, steps and claims against the app - #59

Merged
cohenrobinson merged 1 commit into
mainfrom
docs/audit-invoices-2026-11-23
Nov 22, 2026
Merged

cohenrobinson merged 1 commit into
mainfrom
docs/audit-invoices-2026-11-23

Conversation

@utilified-agent

Copy link
Copy Markdown
Contributor

Rolling docs audit, Invoices area (2026-11-23), checked against the monorepo at origin/main 39330234ee. Paths below are in ums-web: (inv) is src/app/(main)/(invoices)/invoices and C is src/components.

Page ratings

  • invoices.mdx: partly stale
  • guides/editing-invoices.mdx: partly stale
  • validation.mdx, invoice-exceptions.mdx, guides/invoice-validation.mdx, guides/utiliread-review.mdx: accurate apart from small gaps

Fixes

invoices.mdx

  • The invoice detail tab is Line items, not "Lines" ((inv)/[id]/page.tsx:275). The upload detail tab casing is fixed too ((inv)/uploads/[id]/page.tsx:222).
  • The upload button label is Migrate to UMS ((inv)/uploads/[id]/page.tsx:307).
  • The balance columns are visible by default; only Custom Fields is hidden (C/DataGrid/grids/InvoiceGrid.tsx:319-338, configuredGrid.tsx:45-48).
  • Edit selected also offers Payment exclusion reason (C/Invoice/BulkEditInvoicesDrawer.tsx:52-56).
  • Needs Validation also includes invoices whose latest run is Not validated (platform-api/api/management/invoices/filters.py:155-159).
  • Reprocess from inbox asks you to confirm, deletes the import records and OCR data, and is hidden while the record is processing ((inv)/uploads/[id]/page.tsx:87-91,314).
  • Activity: added the three cases where Revert is unavailable (C/Activity/ActionDetail.tsx:20-25).
  • New sections:
    • "Editing extracted data" covers inline edits on upload detail ((inv)/uploads/[id]/tabs/InvoicesTab.tsx:46-77, LineItemsTab.tsx:103-153).
    • "Corrections" covers the More menu: Record payment, Apply supplier credit, and admin-only Not an invoice (C/Invoice/CorrectionActions.tsx:186-206).

validation.mdx

  • The run detail tab is Line items ((inv)/validations/[id]/page.tsx:44).
  • Fix tariff opens a group menu, with shared groups marked (C/Validation/queue/ValidationReviewPanel.tsx:363-376,585-597).
  • The review panel shows billing-error cards (C/Validation/billing-errors/BillingErrorPanel.tsx:36-45).

invoice-exceptions.mdx

  • On billing gaps, clicking a row in By supplier switches to By account, filtered to that supplier. It does not open completeness (C/Gaps/GapOverview.tsx:212-219).
  • Documented Sort by for groups (C/Workbench/QueueGrid.tsx:102-107).
  • Billing errors can also be recorded from the invoice Review tab and from Variance exceptions (C/Validation/review/InvoiceReviewWorkspace.tsx:466-470, C/Workbench/layouts/VarianceLayout.tsx:41-46).
  • Keyboard shortcuts now point only to ?. The page claimed j/k/a/d work, but the page binds only ? (C/Workbench/JouleReviewTab.tsx:445-472); see UTI-540.

guides/invoice-validation.mdx

  • The Record billing error dialog has a checkbox for each direction and a hold switch (C/Validation/billing-errors/RecordErrorDialog.tsx:66-78,200-293).
  • Added the two other places a billing error can be recorded.

guides/editing-invoices.mdx

  • The tab is Line items.
  • Hold from payment needs a Reason (C/Invoice/PaymentHoldControl.tsx:151-166).
  • Added the More corrections menu.

guides/utiliread-review.mdx

  • The button label is Migrate to UMS.
  • Resolving the last field approves the record automatically. Review Decision shows only in Needs review ((inv)/uploads/[id]/tabs/ReviewTab.tsx:129-130,241,281; platform-api/api/integration/utiliread/views.py:1663-1680).
  • Reject sets the record to Failed (views.py:1479).

No headings were renamed or removed, and the new anchors resolve. docs.json is untouched and no nav or redirect is needed.

Checks

  • mint@4.2.1070 broken-links: pass
  • Every ](/page#anchor) link resolves: pass
  • In the monorepo at origin/main with platform-docs on this branch, sync-docs-pages.mjs and the docsDrift plus docsLinks jest suites: pass (2/2)

Left for a human

  • Payment status chip values are not documented. The header chip can say "Overdue" for an invoice on a committed payment file, which contradicts the list's Overdue view (UTI-537). Document the values once that is fixed.
  • invoices.mdx ums_routes lists /import/batches/[id] but not /import/history, where the Import history icon goes. Decide whether that route belongs here or on imports.mdx.
  • ums-web/src/config/docsPages.json on main was generated from docs commit bd648f7 and still lists the removed routes /invoices/import-batches and /invoices/import-batches/[id]. Regenerate it in the monorepo.
  • Activity tab wording. It says "review actions". The log records user and Joule actions, but its empty state reads "inspect what Joule did". Worth a product look.

Product bugs filed in Linear: UTI-537, UTI-538, UTI-539, UTI-540.

Do not enable auto-merge: merging publishes the site.

@cohenrobinson
cohenrobinson merged commit 5c14443 into main Nov 22, 2026
2 checks passed
@cohenrobinson
cohenrobinson deleted the docs/audit-invoices-2026-11-23 branch November 22, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant