Supergood | PCLaw API
Programmatically access clients, matters, time entries, invoices, and trust accounting from LexisNexis PCLaw with a stable REST API. Supergood builds and operates production-grade, unofficial PCLaw integrations so your team can automate legal billing and accounting without heavy custom engineering.
Plain English: PCLaw is practice management and legal accounting software used by law firms to manage clients and matters, capture time and expenses, generate and post invoices, handle trust/IOLTA funds, payables/receivables, bank reconciliation, and the general ledger—all in one system.
For a tech company integrating with PCLaw, an unofficial API lets you pull client and matter records, unbilled time, invoice status and PDFs, trust transactions, and payments—and push new matters, time entries, expenses, prebills, and approvals. If your customer uses iManage for document and email management, you can sync PCLaw matter IDs and billing metadata into iManage workspaces, auto-provision iManage folders when a matter opens in PCLaw, attach final invoices and trust statements to the correct workspace, and build features like budget alerts, time capture from emails, and unified financial + document dashboards.
What is PCLaw?
PCLaw (https://www.lexisnexis.com/en-us/products/pclaw.page) is a legal practice management and accounting platform from LexisNexis designed for law firms. It centralizes client and matter records, time and expense capture, billing and collections, trust/IOLTA compliance, payables, and firm financials.
Core product areas include:
- Time & Expense Tracking (activities, task codes, billable flags, rates)
- Matter & Client Management (responsible lawyer, practice area, status, budgets)
- Billing & Invoicing (prebills, approvals, posting, payments, common e-billing formats)
- Trust Accounting & Compliance (IOLTA handling, deposits/withdrawals, safeguards)
- AP/AR & General Ledger (chart of accounts, bank reconciliation, posting cycles)
- Reporting (WIP, AR aging, realization, matter profitability, trust balances)
Common data entities:
- Clients (client number, name, contacts, billing preferences)
- Matters (matter number, client linkage, responsible timekeeper, status, rate schedule)
- Timekeepers/Users (roles, permissions, default rates)
- Time Entries (date, hours, rate, activity/task codes, narrative, billable)
- Expense Entries (date, amount, cost codes, billable)
- Bills/Invoices (prebill/final status, totals, line items, delivery format)
- Payments (date, amount, method, applied invoices)
- Trust Accounts (account metadata, balances)
- Trust Transactions (deposits, withdrawals, transfers linked to matters)
- Rate Tables (standard, client/matter-specific rates and exceptions)
- Activity/Task Codes (ABA/UTBMS-aligned where applicable)
- Chart of Accounts & Journal Entries (posting, reconciliation)
- Users/Roles & Audit Events (who did what, when)
The PCLaw Integration Challenge
Operational teams rely on PCLaw daily, but turning desktop-centric financial workflows into API-driven automation can be challenging:
- Posting cycles & approvals: Prebills, edits, approvals, and posting to AR/GL must be orchestrated without duplication or premature posting
- Trust safeguards: Withdrawals must be tied to client/matter and never overdraft; audit precision is required for compliance
- On-prem environments: Many firms run PCLaw on-prem with Windows authentication and SQL backends; secure, reliable automation needs careful session and connectivity handling
- Rate and code complexity: Matter-specific rate tables, discounts, and UTBMS codes require normalization for consistent downstream use
- iManage alignment: Mapping PCLaw matter numbers to iManage workspace keys and keeping documents (invoices, trust statements) in sync across systems
- Long-running jobs: Batch billing cycles and postings span minutes; they benefit from polling or webhooks
How Supergood Creates PCLaw APIs
Supergood reverse-engineers authenticated flows and underlying system interactions to deliver a resilient API endpoint layer for your PCLaw environment.
- Handles username/password, Windows/SSO, and role-based access securely
- Maintains session continuity with automated refresh and change detection
- Normalizes client, matter, time, invoice, and trust objects into consistent schemas
- Aligns with customer entitlements and permissions to ensure compliant access
- Supports high-volume operations (time capture, batch billing) with polling or webhooks for long-running jobs
- Bridges to iManage by synchronizing matter identifiers and routing generated documents to the right workspace or folder
Use Cases
Matter Provisioning & iManage Workspace Sync
- Push new PCLaw matters and auto-create matching iManage workspaces
- Keep responsible lawyer, practice area, and matter status aligned across systems
- Attach posted invoices and trust statements back to the correct iManage workspace
Time Capture & Billing Automation
- Streamline time entry creation from emails or calendar events
- Generate prebills, route for approval, and finalize posting with audit trails
- Export invoices in common legal e-billing formats and archive PDFs to iManage
Trust Compliance & Reconciliation
- Ingest trust balances and transactions to power compliance dashboards
- Validate allowable withdrawals against matter balances with automated checks
- Deliver monthly trust statements to designated document libraries
Financial Reporting & Audit Unification
- Centralize WIP, AR, realization, and profitability metrics
- Capture evidence for billing adjustments and approvals
- Export immutable audit logs for partner reviews or external audit
Available Endpoints
Authentication
POST /sessions: Establish a session using credentials. Supergood manages SSO/Windows auth where enabled and returns a short-lived auth token maintained by the platform.
curl --request POST \
--url https://api.supergood.ai/integrations/<integration_id>/sessions \
--header 'Authorization: Basic <Base64 encoded token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "[email protected]",
"password": "<password>",
"mfa": { "type": "totp", "code": "123456" }
}'
Example response
{
"authToken": "eyJhbGciOi...",
"expiresIn": 3600,
"user": {
"id": "u_pclaw_6f21c9",
"name": "Billing Coordinator",
"entitlements": ["clients", "matters", "time", "invoices", "trust"]
}
}
POST /sessions/refresh: Refresh an existing token to keep sessions uninterrupted.
Clients
GET /clients: List clients with filters for number, name, status, and update windows.
Query parameters
- clientNumber: string (e.g., CL000123)
- name: string (partial match)
- status: active | inactive
- updatedFrom, updatedTo: ISO 8601 timestamps
- page, pageSize: integers for pagination
Example response
{
"items": [
{
"clientId": "clt_9c2bf1",
"clientNumber": "CL000123",
"name": "Acme Holdings, Inc.",
"contacts": [{"type": "billing", "name": "Dana Lee", "email": "[email protected]", "phone": "+1-212-555-0199"}],
"billingAddress": {
"line1": "200 Park Ave",
"city": "New York",
"region": "NY",
"postalCode": "10166",
"country": "US"
},
"billingPreferences": {"currency": "USD", "terms": "Net 30", "delivery": ["pdf", "email"]},
"status": "active",
"updatedAt": "2026-01-21T10:03:11Z"
}
],
"page": 1,
"pageSize": 50,
"total": 1
}
Matters
POST /matters: Create or update a matter and optionally link to an iManage workspace.
curl --request POST \
--url https://api.supergood.ai/integrations/<integration_id>/matters \
--header 'Authorization: Bearer <authToken>' \
--header 'Content-Type: application/json' \
--data '{
"clientId": "clt_9c2bf1",
"matterNumber": "MAT-2026-0047",
"displayName": "Acme v. Smith - Employment",
"openDate": "2026-01-20",
"status": "open",
"responsibleLawyerId": "usr_lwy_441",
"practiceArea": "Employment",
"rateScheduleId": "rate_std_2026",
"budget": {"hours": 250.0, "fees": 85000.00},
"externalIds": {"imanageWorkspaceId": "IM-WS-000183"},
"tags": ["high-priority"]
}'
Example response
{
"matterId": "mtr_41a8f1",
"clientId": "clt_9c2bf1",
"status": "open",
"externalIds": {"imanageWorkspaceId": "IM-WS-000183"},
"createdAt": "2026-01-21T10:25:44Z"
}
Time Entries
POST /time-entries: Create a billable or non-billable time entry for a matter.
curl --request POST \
--url https://api.supergood.ai/integrations/<integration_id>/time-entries \
--header 'Authorization: Bearer <authToken>' \
--header 'Content-Type: application/json' \
--data '{
"matterId": "mtr_41a8f1",
"timekeeperId": "usr_lwy_441",
"date": "2026-01-21",
"hours": 1.7,
"activityCode": "CONF",
"taskCode": "L110",
"rate": 350.00,
"billable": true,
"narrative": "Conference with client re: discovery schedule",
"source": "email_capture"
}'
Example response
{
"timeEntryId": "tme_7ab229",
"matterId": "mtr_41a8f1",
"status": "unbilled",
"createdAt": "2026-01-21T11:02:17Z"
}
Invoices
POST /invoices: Generate a prebill or finalize an invoice for one or more matters.
curl --request POST \
--url https://api.supergood.ai/integrations/<integration_id>/invoices \
--header 'Authorization: Bearer <authToken>' \
--header 'Content-Type: application/json' \
--data '{
"matters": ["mtr_41a8f1"],
"period": {"from": "2026-01-01", "to": "2026-01-31"},
"includeUnbilledTime": true,
"includeExpenses": true,
"finalize": false,
"format": {"pdf": true, "ebilling": {"type": "ledes1998b"}},
"delivery": {"imanage": {"workspaceId": "IM-WS-000183", "folder": "Billing/2026-01"}}
}'
Example response
{
"invoiceId": "inv_b1e720",
"number": "2026-000143",
"status": "prebill",
"totals": {"fees": 595.00, "expenses": 0.00, "tax": 0.00, "grandTotal": 595.00},
"documents": [
{"type": "pdf", "fileName": "Acme-2026-000143.pdf", "fileUrl": "https://files.supergood.ai/upl_7fa223"},
{"type": "ledes1998b", "fileName": "Acme-2026-000143.led", "fileUrl": "https://files.supergood.ai/upl_09aa51"}
],
"createdAt": "2026-01-31T18:15:12Z"
}
Technical Specifications
- Authentication: Username/password with MFA and SSO/Windows auth where enabled; supports service accounts or customer-managed credentials
- Response format: JSON with consistent resource schemas and pagination across modules
- Rate limits: Tuned for firm-scale throughput while honoring permissions and usage controls
- Session management: Automatic reauth and session rotation with health checks
- Data freshness: Near real-time retrieval of clients, matters, time, invoices, and trust activity
- Security: Encrypted transport, scoped tokens, and audit logging; respects PCLaw role-based permissions
- Webhooks: Optional asynchronous delivery for long-running workflows (e.g., batch invoice posting, trust statement generation)
Performance Characteristics
- Latency: Sub-second responses for list/detail queries under normal load; billing job completion reflects underlying system behavior
- Throughput: Designed for high-volume time capture and batch billing cycles
- Reliability: Retry logic, backoff, and idempotency keys minimize duplicates and support at-least-once processing
- Adaptation: Continuous monitoring for UI/API changes with rapid adapter updates
Getting Started
- Schedule Integration Assessment
Book a 30-minute session to confirm your modules, licensing, and authentication model.
- Supergood Builds and Validates Your API
We deliver a hardened PCLaw adapter tailored to your workflows and entitlements.
- Deploy with Monitoring
Go live with continuous monitoring and automatic adjustments as PCLaw evolves.
Frequently Asked Questions
Q: Which PCLaw modules can this integration cover?
Supergood supports workflows commonly used for practice management and legal accounting, including Clients/Matters, Time & Expenses, Billing & Invoicing (prebills, approvals, posting), Trust/IOLTA, AR/AP, and Reporting, subject to your licensing and entitlements. We scope coverage during the integration assessment.
Q: How do you handle on-prem PCLaw environments?
We operate with customer-managed credentials and secure connectivity to your environment. Sessions are refreshed automatically, and we implement health checks, retries, and idempotency to safely interact with posting cycles and trust safeguards.
Q: Do you support approval/posting cycles for billing?
Yes. We can generate prebills, capture edits and approvals, and finalize posting to AR/GL with immutable audit records and optional document delivery to iManage.
Q: Can you sync PCLaw with iManage?
Yes. We map PCLaw client/matter identifiers to iManage workspace keys, route posted invoices and trust statements to the correct workspace/folder, and keep status metadata aligned.
Q: How do you enforce trust compliance programmatically?
We validate transactions against matter/client eligibility and balances, block overdrafts, and create auditable events with rationale and timestamps. We can also deliver monthly trust statements and reconciliation outputs.
Related Integrations
iManage API - Programmatically access iManage workspaces and documents with Supergood
Ready to automate your PCLaw workflows?
Supergood can have your PCLaw integration live in days with no ongoing engineering maintenance.