Chinese source (authoritative): ../../skills/billing-and-litigation-budget/SKILL.md
Time Billing and Litigation Budget Control
Overview Table
| Item |
Content |
| Capability Name |
Time Billing and Litigation Budget Control |
| Capability ID |
30 |
| Capability Type |
Legal Practice Management |
| Core Functions |
Manage attorney hours, expert fees, and investigation costs; prepare and monitor litigation budgets; keep litigation costs under control |
| Inputs |
Matter information, role time records, expense receipts, budget targets, rate schedules |
| Outputs |
Timesheets, expense statements, budget execution reports, cost variance analyses, litigation economics assessments |
| Related Capabilities |
Full Matter Lifecycle Planning (obtain matter milestones); Legal Document Generation (issue formal invoices/bills) |
| Risk Level |
Medium (billing errors may lead to client disputes or firm losses) |
Legal Disclaimer
Important notices:
- The time-tracking and fee-management methods in this skill are for reference only. Actual billing must follow the Measures for the Administration of Lawyers' Service Fees (律师服务收费管理办法) and local bar association fee standards.
- Hourly billing requires prior agreement with the client on billing method, rates, and billing granularity (typically 0.1 hour or 6 minutes).
- Contingency (风险代理), fixed-fee, and hourly billing modes use different cost-accounting logic and must be handled separately.
- Client billing data must be properly safeguarded to ensure data security and confidentiality.
- Budget control is for internal management reference only and does not constitute a service commitment to the client.
I. Core Concepts
1.1 Billing Mode Classification
| Billing Mode |
Description |
Typical Use Cases |
Budget Control Focus |
| Hourly billing |
Actual hours worked × hourly rate |
Litigation; complex non-contentious matters |
Precise time recording; control total hours |
| Fixed fee |
One-time or staged fixed fee |
Standardized legal services (contract review; ongoing/retainer legal services 常法) |
Keep actual effort within the agreed fee |
| Contingency / risk agency (风险代理) |
Base fee + percentage of outcome |
Dispute resolution; enforcement matters |
Ensure base fee covers costs; treat success fee as upside |
| Hybrid billing |
Combination of hourly + fixed + contingency |
Large, complex projects |
Manage by module; account separately |
1.2 Cost Components
Total Litigation Cost
├── Internal Labor Cost
│ ├── Partner hours × partner rate
│ ├── Lead counsel hours × attorney rate
│ ├── Paralegal / associate hours × assistant rate
│ └── Intern hours × intern rate (usually non-billable or discounted)
├── External Expert Fees
│ ├── Appraisal / forensic fees (judicial appraisal 司法鉴定, asset valuation, audit, etc.)
│ ├── Expert witness fees
│ └── Technical advisor fees
├── Investigation & Evidence Costs
│ ├── Notarization fees (公证费)
│ ├── Investigation / evidence-gathering fees
│ ├── Travel (transport, lodging, meals)
│ └── Translation fees
├── Court / Arbitration Institution Fees
│ ├── Court fees / arbitration fees (诉讼费/仲裁费)
│ ├── Preservation fees (保全费, including guarantee fees)
│ ├── Public notice fees (公告费)
│ └── Enforcement fees (执行费)
└── Other Expenses
├── Document printing and binding
├── Courier and communications
└── Third-party platform fees
1.3 Three Stages of Budget Management
| Stage |
Timing |
Core Tasks |
| Budget preparation |
Before matter kickoff / at engagement |
Estimate total cost; set rates; confirm budget cap with client |
| Budget execution |
During the matter |
Record time and expenses in real time; issue bills periodically; monitor budget utilization |
| Budget finalization |
At matter close |
Aggregate all costs; issue final bill; perform cost-benefit analysis |
II. End-to-End Workflow
Stage One: Initialization
Step 1: Confirm Billing Mode and Rates
- Confirm the matter's billing mode (hourly / fixed / contingency / hybrid)
- Specify hourly rates by role (partner, attorney, assistant, intern)
- Specify billing granularity (recommend 0.1 hour or 6 minutes as the minimum unit)
- Confirm whether a budget cap or hour cap applies
- Enter rate information into the system as the basis for subsequent automatic calculation
Step 2: Create Matter and Role Profiles
- Enter the matter name (e.g., "Company A v. Company B Infringement Dispute")
- Identify matter type (litigation / arbitration / ongoing retainer 常法 / special project)
- Create or match participating roles (partner, lead counsel, legal assistant, intern)
- Assign a rate to each role
- For ongoing/retainer legal services, also set the service period and monthly/quarterly budget
Stage Two: Time and Expense Recording
Step 3: Time Entry
- Record date, start time, end time (or duration)
- Record a work description (must be specific and verifiable; avoid vague phrases such as "handling case matters")
- Auto-calculate hours × rate = amount
- Tag work type (legal research / drafting / hearing preparation / client communication / travel, etc.)
Time-entry quality standards:
- ✅ Specific description: "Drafted initial complaint; organized evidence list; approx. 3 hours"
- ❌ Vague description: "Handled case matters; approx. 3 hours"
- ✅ Accurate time: to 0.1 hour or 6 minutes
- ❌ Fuzzy time: "half a day," "a little while"
Step 4: Expense Entry
- Enter expense type (travel, expert fees, notarization, court fees, etc.)
- Enter amount, date incurred, and payer
- Link corresponding receipts (photo/scan upload, store as PDF)
- Run OCR on receipts to extract amount, date, and issuer; reconcile against manual entry
- Mark whether the expense is client-billable or firm-borne (non-billable)
Stage Three: Billing and Budget Monitoring
Step 5: Generate Timesheets
By role:
- Aggregate all time entries for a role in a given period
- Sort by date; show daily work description, hours, and amount
- Show cumulative hours and fees for that role on the matter
By matter:
- Aggregate all role hours for a matter
- Group statistics by role (partner / attorney / assistant hours)
- Show cumulative matter hours and fees
- Compare against budget cap; show budget utilization rate
Step 6: Generate Expense Statements
- Aggregate all expenses for a matter or period
- Group by expense type (travel, expert fees, court fees, etc.)
- Link a receipt list so each expense has supporting documentation
- Show client-billable vs. firm-borne expenses
Step 7: Budget Execution Monitoring
- Calculate budget utilization rate = incurred cost / budget cap × 100%
- Green (<70%): Budget ample; proceed normally
- Yellow (70%–90%): Budget tight; remind lead counsel to control costs
- Red (>90%): Overrun risk; assess whether to request additional budget or adjust scope
- Generate a budget execution report listing incurred cost, remaining budget, and projected total cost (extrapolated from current progress)
Stage Four: Delivery and Archiving
Step 8: Issue Formal Bills
- Per client needs, choose billing cycle (monthly / quarterly / matter milestones / at close)
- Generate a firm-standard formal bill (firm letterhead, matter info, billing period, detailed time/expense line items, totals, payment account)
- Attach detailed timesheets and copies of expense receipts
- Record bill send date and expected payment date
Step 9: Cost Finalization and Analysis
- After matter close, aggregate all time and expenses
- Calculate variance of actual total cost vs. budget
- Analyze variance drivers (hours over expectation? expenses over? scope creep?)
- Assess litigation economics (cost vs. amount in dispute / client benefit)
- Prepare a closing cost report and archive for reference
III. Output Format Templates
Output 1: Role Timesheet
# Timesheet
**Matter:** Company A v. Company B Infringement Dispute
**Billing Period:** March 1, 2025 — March 31, 2025
**Role:** Attorney Wang Yi
**Hourly Rate:** RMB 500/hour
| Date | Work Description | Hours | Amount |
|------|----------|------|------|
| Mar 5 | Meeting with client to confirm litigation strategy; inquired into evidence preparation progress | 2.0h | RMB 1,000 |
| Mar 8 | Drafted initial complaint; organized evidence list | 3.5h | RMB 1,750 |
| Mar 12 | Filed case at court; submitted preservation application | 4.0h | RMB 2,000 |
| ... | ... | ... | ... |
**Month total: 15.5h, RMB 7,750**
**Matter cumulative: 45.5h, RMB 22,750**
Output 2: Matter Expense Statement
# Case Expense Statement
**Matter:** Company A v. Company B Infringement Dispute
**Expense Period:** March 1, 2025 — March 31, 2025
| Date | Expense Type | Amount | Payer | Receipt Status |
|------|----------|------|--------|----------|
| Mar 10 | Travel – train ticket | RMB 497 | Attorney Wang Yi | ✓ Archived |
| Mar 15 | Lodging | RMB 1,089 | Partner Liu Yi | ✓ Archived |
| Mar 20 | Notarization fee | RMB 800 | Assistant Zhao Yi | ✓ Archived |
**Month total: RMB 2,386**
**Matter cumulative: RMB 8,650**
Output 3: Budget Execution Report
# Budget Execution Report
**Matter:** Company A v. Company B Infringement Dispute
**Report Date:** March 31, 2025
## I. Budget Overview
| Item | Budget | Incurred | Remaining | Utilization |
|------|----------|-----------|----------|--------|
| Internal labor cost | RMB 80,000 | RMB 45,500 | RMB 34,500 | 56.9% 🟢 |
| External expert fees | RMB 20,000 | RMB 12,000 | RMB 8,000 | 60.0% 🟢 |
| Investigation & evidence costs | RMB 15,000 | RMB 8,650 | RMB 6,350 | 57.7% 🟢 |
| Court fees | RMB 5,000 | RMB 3,200 | RMB 1,800 | 64.0% 🟢 |
| **Total** | **RMB 120,000** | **RMB 69,350** | **RMB 50,650** | **57.8% 🟢** |
## II. Projected Total Cost
Based on current matter progress (first-instance proceedings ongoing; ~2 hearings and 1 judgment remaining), projected total cost:
- Internal labor cost: RMB 75,000 (remaining effort ~30 attorney hours + 10 partner hours)
- External expert fees: RMB 18,000 (one supplemental appraisal still needed)
- Investigation & evidence costs: RMB 12,000 (one more travel for evidence gathering)
- Court fees: RMB 5,000 (court fees already paid in full)
- **Projected total cost: RMB 110,000** (within budget; surplus ~RMB 10,000)
## III. Risk Alerts
- If the opposing party files a counterclaim, expect ~20 additional attorney hours; request additional budget of RMB 10,000
- If the matter proceeds to second instance, expect total cost to increase by RMB 40,000–50,000
IV. Examples
Example 1: Monthly Bill for an Hourly-Billed Matter
Input:
"We need to prepare Company A's March work-hour statement for that case with Company B."
Processing flow:
- Matter match: Company A v. Company B Infringement Dispute
- Task identification: retrieve March 2025 timesheet for the matter
- Confirm scope: include partners, attorneys, and legal assistants; exclude interns
- Generate timesheet: group by role; show all entries from March 1–31
- Also generate expense statement: show March travel, notarization, etc.
- Update budget monitoring: show cumulative utilization for the matter
Output: Role timesheet + matter expense statement + budget execution alert
Example 2: Budget Warning
Input:
"Check how much budget is left on Company A's M&A deal."
Processing flow:
- Matter match: Special legal services for Company A's acquisition of Company B
- Query budget status: total budget RMB 300,000; incurred RMB 285,000
- Trigger red alert: utilization 95%
- Analyze remaining work: final review of transaction documents, closing assistance, transitional support
- Estimate remaining cost: at least RMB 20,000 more needed
- Generate warning report: recommend discussing additional budget with client or trimming scope
Output: Budget execution report (red alert) + recommended options
Example 3: Litigation Economics Analysis
Input:
"The amount in dispute is RMB 500,000. How much have we spent so far—is it worth continuing?"
Processing flow:
- Matter match: a contract dispute
- Query incurred cost: attorney fees RMB 80,000 + court fees RMB 8,800 + appraisal fees RMB 15,000 = RMB 103,800
- Query projected remaining cost: second-instance attorney fees RMB 40,000 + court fees RMB 8,800 = RMB 48,800
- Cost-benefit ratio: incurred + projected = RMB 152,600 vs. amount in dispute RMB 500,000
- Assess win probability: ~70% based on existing evidence
- Expected value: 500,000 × 70% − 152,600 = RMB 197,400
Output: Cost-benefit analysis report
# Litigation Economics Analysis Report
**Matter:** Contract Dispute
**Amount in Dispute:** RMB 500,000
**Assessment Date:** April 15, 2025
## Cost Analysis
| Stage | Incurred Cost | Projected Remaining | Subtotal |
|------|-----------|-------------|------|
| First instance | RMB 103,800 | RMB 0 | RMB 103,800 |
| Second instance | RMB 0 | RMB 48,800 | RMB 48,800 |
| **Total** | | | **RMB 152,600** |
## Benefit Assessment
- Win probability: 70% (based on existing evidence and counterparty's ability to perform)
- Expected recovery: 500,000 × 70% = RMB 350,000
- Net expected value: 350,000 − 152,600 = RMB 197,400
## Conclusion and Recommendations
**Recommend continuing litigation.** Although incurred costs already exceed 20% of the amount in dispute, win probability is relatively high and net expected value is positive.
Recommendations:
1. Attempt mediation before second instance to reduce further costs
2. If mediation fails, seek property preservation to secure enforcement
3. Cap second-instance attorney hours at 30
V. Common Errors and Controls
| Error Type |
Description |
Consequences |
Preventive Measures |
| Delayed time entry |
Attorneys backfill hours from memory, causing inaccurate time |
Billing disputes; client distrust |
Require same-day or weekly batch entry; set reminders |
| Rate mix-up |
Different matters use different rates, but system not updated and old rates still applied |
Under- or over-billing |
Force rate confirmation when creating each new matter |
| Expense misclassification |
Firm-borne costs wrongly classified as client-billable |
Client complaints; trust crisis |
Maintain an expense classification list clarifying billable vs. non-billable |
| No overrun warning |
Client informed only after utilization hits 100% |
Client dissatisfaction; collection difficulty |
Set 70% and 90% warning thresholds; communicate proactively |
| Missing receipts |
Expense incurred but no supporting receipt |
Cannot reimburse; tax risk |
Require receipt upload on expense entry; otherwise mark as "pending" |
| Intern hour billing disputes |
Inconsistent rules on whether/how intern hours are billed |
Client challenges bill reasonableness |
Specify intern hour billing rules in the engagement letter |
VI. Special Scenario Handling
6.1 Cost Control under Fixed Fees
Under fixed fees, firm revenue is capped, so cost control is especially critical:
- At engagement, estimate an hour ceiling (e.g., fixed fee RMB 5,000 for contract review; expect ~4 attorney hours)
- Monitor actual effort in real time; if overrun is imminent, assess scope creep
- If client needs exceed original scope, issue a supplemental agreement clarifying additional fees
6.2 Cost Accounting for Contingency / Risk Agency (风险代理)
Contingency matters have low early revenue; ensure the base fee covers costs:
- Calculate floor cost (minimum hours and expenses required)
- Ensure base fee ≥ floor cost
- Probability-weight expected success fees; do not use expected upside as the basis for cost control
6.3 Multi-Client Cost Allocation
When multiple clients share the same attorney team or investigation activity:
- Record total hours / total expenses
- Allocate by benefit to each client or by a pre-agreed ratio
- Issue separate bills noting the allocation basis
6.4 Multi-Year Matters
When a matter spans multiple calendar years:
- Issue bills by year (supports client annual budgeting and firm annual revenue recognition)
- At year-end, issue a cumulative annual report showing full-year costs and budget utilization
- At the start of the new year, confirm whether the budget continues or is adjusted
VII. Quality Checklist
□ 1. Has the billing mode been confirmed with the client in writing?
□ 2. Have rates for each role been entered and verified?
□ 3. Are time entries specific, accurate, and auditable?
□ 4. Does each expense have a corresponding receipt?
□ 5. Has budget utilization been calculated and tagged with a warning level?
□ 6. Does the bill format meet firm standards?
□ 7. Are bill amounts calculated correctly (hours × rate + expenses)?
□ 8. Have client-billable and firm-borne expenses been distinguished?
□ 9. Is projected total cost within budget?
□ 10. Has the client received and confirmed the bill?
VIII. Best Practices
- Rate transparency: Specify rates by role in the engagement letter or supplemental agreement to avoid later disputes.
- Time granularity: Prefer 0.1 hour (6 minutes) as the minimum unit; coarser increments (e.g., 0.5-hour minimum) distort cost estimates.
- Real-time recording: Encourage same-day time entry; delayed entry causes omissions and estimation bias.
- Budget up front: Set a budget cap at matter kickoff rather than controlling only after overrun.
- Periodic reconciliation: Send clients bills and budget execution reports monthly or quarterly to maintain transparency.
- Cost-benefit mindset: Before major decisions (appeal, appraisal application, etc.), estimate cost and assess economics.
IX. Related Skills
| Related Skill |
Relationship |
Notes |
| Full Matter Lifecycle Planning |
Upstream / parallel |
Obtain matter milestones to estimate remaining effort and cost |
| Legal Document Generation |
Downstream |
Integrate timesheets and expense statements into firm-standard formal bills |
| Standardized Legal Terminology |
Supporting |
Ensure accurate, standardized legal terms and amount wording in bills and reports |
X. Limitations and Risk Notices
- Data dependency: Accuracy depends entirely on the quality of input time and expense data—Garbage In, Garbage Out.
- No automatic capture: Unless integrated with the firm's practice management system or email/calendar, time entry relies on manual input.
- Rate dynamics: Attorney rates may change over time (e.g., annual raises); update system rate baselines promptly.
- Client sensitivity: Billing data involves sensitive client information; transmission and storage must meet data-protection requirements.
1---2name: billing-and-litigation-budget-23description: Use this skill when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients. Typical trigger scenarios include, but are not limited to: - Mentions of keywords such as "billable hours," "expert fees," "investigation costs," "case costs," "timesheet," "expense statement," "budget," or "cost control" - Questions about a particular attorney's hours, a matter's case costs, or litigation spend - Requests to deliver attorney hour summaries, case timesheets, or case expense statements for client delivery or reimbursement - Need to prepare a budget, monitor budget execution, or analyze budget variance for a matter or ongoing (retainer) legal services (常法服务) - Need to assess litigation cost versus expected benefit and perform litigation economics analysis4---56> **Chinese source (authoritative):** [`../../skills/billing-and-litigation-budget/SKILL.md`](../../skills/billing-and-litigation-budget/SKILL.md)78# Time Billing and Litigation Budget Control910## Overview Table1112| Item | Content |13|------|------|14| **Capability Name** | Time Billing and Litigation Budget Control |15| **Capability ID** | 30 |16| **Capability Type** | Legal Practice Management |17| **Core Functions** | Manage attorney hours, expert fees, and investigation costs; prepare and monitor litigation budgets; keep litigation costs under control |18| **Inputs** | Matter information, role time records, expense receipts, budget targets, rate schedules |19| **Outputs** | Timesheets, expense statements, budget execution reports, cost variance analyses, litigation economics assessments |20| **Related Capabilities** | Full Matter Lifecycle Planning (obtain matter milestones); Legal Document Generation (issue formal invoices/bills) |21| **Risk Level** | Medium (billing errors may lead to client disputes or firm losses) |2223## Legal Disclaimer2425> **Important notices:**26> 1. The time-tracking and fee-management methods in this skill are for reference only. Actual billing must follow the Measures for the Administration of Lawyers' Service Fees (律师服务收费管理办法) and local bar association fee standards.27> 2. Hourly billing requires prior agreement with the client on billing method, rates, and billing granularity (typically 0.1 hour or 6 minutes).28> 3. Contingency (风险代理), fixed-fee, and hourly billing modes use different cost-accounting logic and must be handled separately.29> 4. Client billing data must be properly safeguarded to ensure data security and confidentiality.30> 5. Budget control is for internal management reference only and does not constitute a service commitment to the client.3132## I. Core Concepts3334### 1.1 Billing Mode Classification3536| Billing Mode | Description | Typical Use Cases | Budget Control Focus |37|----------|------|----------|-------------|38| **Hourly billing** | Actual hours worked × hourly rate | Litigation; complex non-contentious matters | Precise time recording; control total hours |39| **Fixed fee** | One-time or staged fixed fee | Standardized legal services (contract review; ongoing/retainer legal services 常法) | Keep actual effort within the agreed fee |40| **Contingency / risk agency (风险代理)** | Base fee + percentage of outcome | Dispute resolution; enforcement matters | Ensure base fee covers costs; treat success fee as upside |41| **Hybrid billing** | Combination of hourly + fixed + contingency | Large, complex projects | Manage by module; account separately |4243### 1.2 Cost Components4445```46Total Litigation Cost47├── Internal Labor Cost48│ ├── Partner hours × partner rate49│ ├── Lead counsel hours × attorney rate50│ ├── Paralegal / associate hours × assistant rate51│ └── Intern hours × intern rate (usually non-billable or discounted)52├── External Expert Fees53│ ├── Appraisal / forensic fees (judicial appraisal 司法鉴定, asset valuation, audit, etc.)54│ ├── Expert witness fees55│ └── Technical advisor fees56├── Investigation & Evidence Costs57│ ├── Notarization fees (公证费)58│ ├── Investigation / evidence-gathering fees59│ ├── Travel (transport, lodging, meals)60│ └── Translation fees61├── Court / Arbitration Institution Fees62│ ├── Court fees / arbitration fees (诉讼费/仲裁费)63│ ├── Preservation fees (保全费, including guarantee fees)64│ ├── Public notice fees (公告费)65│ └── Enforcement fees (执行费)66└── Other Expenses67 ├── Document printing and binding68 ├── Courier and communications69 └── Third-party platform fees70```7172### 1.3 Three Stages of Budget Management7374| Stage | Timing | Core Tasks |75|------|------|----------|76| **Budget preparation** | Before matter kickoff / at engagement | Estimate total cost; set rates; confirm budget cap with client |77| **Budget execution** | During the matter | Record time and expenses in real time; issue bills periodically; monitor budget utilization |78| **Budget finalization** | At matter close | Aggregate all costs; issue final bill; perform cost-benefit analysis |7980## II. End-to-End Workflow8182### Stage One: Initialization8384#### Step 1: Confirm Billing Mode and Rates8586- Confirm the matter's billing mode (hourly / fixed / contingency / hybrid)87- Specify hourly rates by role (partner, attorney, assistant, intern)88- Specify billing granularity (recommend 0.1 hour or 6 minutes as the minimum unit)89- Confirm whether a budget cap or hour cap applies90- Enter rate information into the system as the basis for subsequent automatic calculation9192#### Step 2: Create Matter and Role Profiles9394- Enter the matter name (e.g., "Company A v. Company B Infringement Dispute")95- Identify matter type (litigation / arbitration / ongoing retainer 常法 / special project)96- Create or match participating roles (partner, lead counsel, legal assistant, intern)97- Assign a rate to each role98- For ongoing/retainer legal services, also set the service period and monthly/quarterly budget99100### Stage Two: Time and Expense Recording101102#### Step 3: Time Entry103104- Record date, start time, end time (or duration)105- Record a work description (must be specific and verifiable; avoid vague phrases such as "handling case matters")106- Auto-calculate hours × rate = amount107- Tag work type (legal research / drafting / hearing preparation / client communication / travel, etc.)108109**Time-entry quality standards:**110- ✅ Specific description: "Drafted initial complaint; organized evidence list; approx. 3 hours"111- ❌ Vague description: "Handled case matters; approx. 3 hours"112- ✅ Accurate time: to 0.1 hour or 6 minutes113- ❌ Fuzzy time: "half a day," "a little while"114115#### Step 4: Expense Entry116117- Enter expense type (travel, expert fees, notarization, court fees, etc.)118- Enter amount, date incurred, and payer119- Link corresponding receipts (photo/scan upload, store as PDF)120- Run OCR on receipts to extract amount, date, and issuer; reconcile against manual entry121- Mark whether the expense is client-billable or firm-borne (non-billable)122123### Stage Three: Billing and Budget Monitoring124125#### Step 5: Generate Timesheets126127**By role:**128- Aggregate all time entries for a role in a given period129- Sort by date; show daily work description, hours, and amount130- Show cumulative hours and fees for that role on the matter131132**By matter:**133- Aggregate all role hours for a matter134- Group statistics by role (partner / attorney / assistant hours)135- Show cumulative matter hours and fees136- Compare against budget cap; show budget utilization rate137138#### Step 6: Generate Expense Statements139140- Aggregate all expenses for a matter or period141- Group by expense type (travel, expert fees, court fees, etc.)142- Link a receipt list so each expense has supporting documentation143- Show client-billable vs. firm-borne expenses144145#### Step 7: Budget Execution Monitoring146147- Calculate budget utilization rate = incurred cost / budget cap × 100%148- **Green (<70%)**: Budget ample; proceed normally149- **Yellow (70%–90%)**: Budget tight; remind lead counsel to control costs150- **Red (>90%)**: Overrun risk; assess whether to request additional budget or adjust scope151- Generate a budget execution report listing incurred cost, remaining budget, and projected total cost (extrapolated from current progress)152153### Stage Four: Delivery and Archiving154155#### Step 8: Issue Formal Bills156157- Per client needs, choose billing cycle (monthly / quarterly / matter milestones / at close)158- Generate a firm-standard formal bill (firm letterhead, matter info, billing period, detailed time/expense line items, totals, payment account)159- Attach detailed timesheets and copies of expense receipts160- Record bill send date and expected payment date161162#### Step 9: Cost Finalization and Analysis163164- After matter close, aggregate all time and expenses165- Calculate variance of actual total cost vs. budget166- Analyze variance drivers (hours over expectation? expenses over? scope creep?)167- Assess litigation economics (cost vs. amount in dispute / client benefit)168- Prepare a closing cost report and archive for reference169170## III. Output Format Templates171172### Output 1: Role Timesheet173174```markdown175# Timesheet176177**Matter:** Company A v. Company B Infringement Dispute 178**Billing Period:** March 1, 2025 — March 31, 2025 179**Role:** Attorney Wang Yi 180**Hourly Rate:** RMB 500/hour181182| Date | Work Description | Hours | Amount |183|------|----------|------|------|184| Mar 5 | Meeting with client to confirm litigation strategy; inquired into evidence preparation progress | 2.0h | RMB 1,000 |185| Mar 8 | Drafted initial complaint; organized evidence list | 3.5h | RMB 1,750 |186| Mar 12 | Filed case at court; submitted preservation application | 4.0h | RMB 2,000 |187| ... | ... | ... | ... |188189**Month total: 15.5h, RMB 7,750** 190**Matter cumulative: 45.5h, RMB 22,750**191```192193### Output 2: Matter Expense Statement194195```markdown196# Case Expense Statement197198**Matter:** Company A v. Company B Infringement Dispute 199**Expense Period:** March 1, 2025 — March 31, 2025200201| Date | Expense Type | Amount | Payer | Receipt Status |202|------|----------|------|--------|----------|203| Mar 10 | Travel – train ticket | RMB 497 | Attorney Wang Yi | ✓ Archived |204| Mar 15 | Lodging | RMB 1,089 | Partner Liu Yi | ✓ Archived |205| Mar 20 | Notarization fee | RMB 800 | Assistant Zhao Yi | ✓ Archived |206207**Month total: RMB 2,386** 208**Matter cumulative: RMB 8,650**209```210211### Output 3: Budget Execution Report212213```markdown214# Budget Execution Report215216**Matter:** Company A v. Company B Infringement Dispute 217**Report Date:** March 31, 2025218219## I. Budget Overview220221| Item | Budget | Incurred | Remaining | Utilization |222|------|----------|-----------|----------|--------|223| Internal labor cost | RMB 80,000 | RMB 45,500 | RMB 34,500 | 56.9% 🟢 |224| External expert fees | RMB 20,000 | RMB 12,000 | RMB 8,000 | 60.0% 🟢 |225| Investigation & evidence costs | RMB 15,000 | RMB 8,650 | RMB 6,350 | 57.7% 🟢 |226| Court fees | RMB 5,000 | RMB 3,200 | RMB 1,800 | 64.0% 🟢 |227| **Total** | **RMB 120,000** | **RMB 69,350** | **RMB 50,650** | **57.8% 🟢** |228229## II. Projected Total Cost230231Based on current matter progress (first-instance proceedings ongoing; ~2 hearings and 1 judgment remaining), projected total cost:232- Internal labor cost: RMB 75,000 (remaining effort ~30 attorney hours + 10 partner hours)233- External expert fees: RMB 18,000 (one supplemental appraisal still needed)234- Investigation & evidence costs: RMB 12,000 (one more travel for evidence gathering)235- Court fees: RMB 5,000 (court fees already paid in full)236- **Projected total cost: RMB 110,000** (within budget; surplus ~RMB 10,000)237238## III. Risk Alerts239240- If the opposing party files a counterclaim, expect ~20 additional attorney hours; request additional budget of RMB 10,000241- If the matter proceeds to second instance, expect total cost to increase by RMB 40,000–50,000242```243244## IV. Examples245246### Example 1: Monthly Bill for an Hourly-Billed Matter247248**Input:**249> "We need to prepare Company A's March work-hour statement for that case with Company B."250251**Processing flow:**2521. Matter match: Company A v. Company B Infringement Dispute2532. Task identification: retrieve March 2025 timesheet for the matter2543. Confirm scope: include partners, attorneys, and legal assistants; exclude interns2554. Generate timesheet: group by role; show all entries from March 1–312565. Also generate expense statement: show March travel, notarization, etc.2576. Update budget monitoring: show cumulative utilization for the matter258259**Output:** Role timesheet + matter expense statement + budget execution alert260261### Example 2: Budget Warning262263**Input:**264> "Check how much budget is left on Company A's M&A deal."265266**Processing flow:**2671. Matter match: Special legal services for Company A's acquisition of Company B2682. Query budget status: total budget RMB 300,000; incurred RMB 285,0002693. Trigger red alert: utilization 95%2704. Analyze remaining work: final review of transaction documents, closing assistance, transitional support2715. Estimate remaining cost: at least RMB 20,000 more needed2726. Generate warning report: recommend discussing additional budget with client or trimming scope273274**Output:** Budget execution report (red alert) + recommended options275276### Example 3: Litigation Economics Analysis277278**Input:**279> "The amount in dispute is RMB 500,000. How much have we spent so far—is it worth continuing?"280281**Processing flow:**2821. Matter match: a contract dispute2832. Query incurred cost: attorney fees RMB 80,000 + court fees RMB 8,800 + appraisal fees RMB 15,000 = RMB 103,8002843. Query projected remaining cost: second-instance attorney fees RMB 40,000 + court fees RMB 8,800 = RMB 48,8002854. Cost-benefit ratio: incurred + projected = RMB 152,600 vs. amount in dispute RMB 500,0002865. Assess win probability: ~70% based on existing evidence2876. Expected value: 500,000 × 70% − 152,600 = RMB 197,400288289**Output:** Cost-benefit analysis report290291```markdown292# Litigation Economics Analysis Report293294**Matter:** Contract Dispute 295**Amount in Dispute:** RMB 500,000 296**Assessment Date:** April 15, 2025297298## Cost Analysis299300| Stage | Incurred Cost | Projected Remaining | Subtotal |301|------|-----------|-------------|------|302| First instance | RMB 103,800 | RMB 0 | RMB 103,800 |303| Second instance | RMB 0 | RMB 48,800 | RMB 48,800 |304| **Total** | | | **RMB 152,600** |305306## Benefit Assessment307308- Win probability: 70% (based on existing evidence and counterparty's ability to perform)309- Expected recovery: 500,000 × 70% = RMB 350,000310- Net expected value: 350,000 − 152,600 = RMB 197,400311312## Conclusion and Recommendations313314**Recommend continuing litigation.** Although incurred costs already exceed 20% of the amount in dispute, win probability is relatively high and net expected value is positive.315Recommendations:3161. Attempt mediation before second instance to reduce further costs3172. If mediation fails, seek property preservation to secure enforcement3183. Cap second-instance attorney hours at 30319```320321## V. Common Errors and Controls322323| Error Type | Description | Consequences | Preventive Measures |324|----------|----------|------|----------|325| **Delayed time entry** | Attorneys backfill hours from memory, causing inaccurate time | Billing disputes; client distrust | Require same-day or weekly batch entry; set reminders |326| **Rate mix-up** | Different matters use different rates, but system not updated and old rates still applied | Under- or over-billing | Force rate confirmation when creating each new matter |327| **Expense misclassification** | Firm-borne costs wrongly classified as client-billable | Client complaints; trust crisis | Maintain an expense classification list clarifying billable vs. non-billable |328| **No overrun warning** | Client informed only after utilization hits 100% | Client dissatisfaction; collection difficulty | Set 70% and 90% warning thresholds; communicate proactively |329| **Missing receipts** | Expense incurred but no supporting receipt | Cannot reimburse; tax risk | Require receipt upload on expense entry; otherwise mark as "pending" |330| **Intern hour billing disputes** | Inconsistent rules on whether/how intern hours are billed | Client challenges bill reasonableness | Specify intern hour billing rules in the engagement letter |331332## VI. Special Scenario Handling333334### 6.1 Cost Control under Fixed Fees335336Under fixed fees, firm revenue is capped, so cost control is especially critical:337- At engagement, estimate an hour ceiling (e.g., fixed fee RMB 5,000 for contract review; expect ~4 attorney hours)338- Monitor actual effort in real time; if overrun is imminent, assess scope creep339- If client needs exceed original scope, issue a supplemental agreement clarifying additional fees340341### 6.2 Cost Accounting for Contingency / Risk Agency (风险代理)342343Contingency matters have low early revenue; ensure the base fee covers costs:344- Calculate floor cost (minimum hours and expenses required)345- Ensure base fee ≥ floor cost346- Probability-weight expected success fees; do not use expected upside as the basis for cost control347348### 6.3 Multi-Client Cost Allocation349350When multiple clients share the same attorney team or investigation activity:351- Record total hours / total expenses352- Allocate by benefit to each client or by a pre-agreed ratio353- Issue separate bills noting the allocation basis354355### 6.4 Multi-Year Matters356357When a matter spans multiple calendar years:358- Issue bills by year (supports client annual budgeting and firm annual revenue recognition)359- At year-end, issue a cumulative annual report showing full-year costs and budget utilization360- At the start of the new year, confirm whether the budget continues or is adjusted361362## VII. Quality Checklist363364```markdown365□ 1. Has the billing mode been confirmed with the client in writing?366□ 2. Have rates for each role been entered and verified?367□ 3. Are time entries specific, accurate, and auditable?368□ 4. Does each expense have a corresponding receipt?369□ 5. Has budget utilization been calculated and tagged with a warning level?370□ 6. Does the bill format meet firm standards?371□ 7. Are bill amounts calculated correctly (hours × rate + expenses)?372□ 8. Have client-billable and firm-borne expenses been distinguished?373□ 9. Is projected total cost within budget?374□ 10. Has the client received and confirmed the bill?375```376377## VIII. Best Practices3783791. **Rate transparency:** Specify rates by role in the engagement letter or supplemental agreement to avoid later disputes.3802. **Time granularity:** Prefer 0.1 hour (6 minutes) as the minimum unit; coarser increments (e.g., 0.5-hour minimum) distort cost estimates.3813. **Real-time recording:** Encourage same-day time entry; delayed entry causes omissions and estimation bias.3824. **Budget up front:** Set a budget cap at matter kickoff rather than controlling only after overrun.3835. **Periodic reconciliation:** Send clients bills and budget execution reports monthly or quarterly to maintain transparency.3846. **Cost-benefit mindset:** Before major decisions (appeal, appraisal application, etc.), estimate cost and assess economics.385386## IX. Related Skills387388| Related Skill | Relationship | Notes |389|----------|------|------|390| Full Matter Lifecycle Planning | Upstream / parallel | Obtain matter milestones to estimate remaining effort and cost |391| Legal Document Generation | Downstream | Integrate timesheets and expense statements into firm-standard formal bills |392| Standardized Legal Terminology | Supporting | Ensure accurate, standardized legal terms and amount wording in bills and reports |393394## X. Limitations and Risk Notices395396- **Data dependency:** Accuracy depends entirely on the quality of input time and expense data—Garbage In, Garbage Out.397- **No automatic capture:** Unless integrated with the firm's practice management system or email/calendar, time entry relies on manual input.398- **Rate dynamics:** Attorney rates may change over time (e.g., annual raises); update system rate baselines promptly.399- **Client sensitivity:** Billing data involves sensitive client information; transmission and storage must meet data-protection requirements.