StealThis .dev

Law Firm — Legal Invoice

An authoritative law-firm invoice with a firm header, client and matter block, itemized attorney time entries, expenses, tax and total due, a payment-status badge, a live recalculating subtotal, and a Pay now action with print-friendly styles.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

A trust-first invoice for a law firm. The header carries the firm name, address and invoice meta (number, dates, matter); a client/matter block names the responsible attorney and the engagement. An itemized table lists billed time entries — date, attorney initials, narrative, hours and rate — each row totalling automatically, followed by a disbursements section for filing fees and courier costs.

Subtotal, expenses, tax and the total due recompute live from the rows, and a status badge flips between Unpaid, Partially paid and Paid. A Pay now button simulates a payment and settles the balance, while a print action triggers a clean, ink-friendly layout. The palette uses a deep navy, gold rules and warm-paper background with a serif headline face.

Built with semantic markup, real labels, focus styles and a responsive breakpoint. All interaction is vanilla JS — no libraries.

Illustrative UI only — not for real legal or accounting use.