Litigation invoice expense capture
For Legal spend accounting teams
Prepare matter, timekeeper, task and billed amount from a law firm bill with fields you can edit. Billing guideline audit external.
25 free credits/month · No card needed
See the workflow and review checksInspect a document example.
Synthetic documents · Expected output- law firm name
- Example Law Firm - synthetic
- client name
- Example Client - synthetic
- matter reference
- DEMO-MATTER-0042
- invoice reference
- DEMO-INVOICE-0042
- invoice date
- 2026-09-30
- time entries
- [ { "service_date": "2026-09-30", "timekeeper_name": "Example Timekeeper - synthetic", "task_code": "Example task code - synthetic", "description": "Example document line - original synthetic data", "hours": 4, "stated_rate": 250, "amount": 1000 } ]
- expense rows
- [ { "expense_date": "2026-09-30", "description": "Example document line - original synthetic data", "amount": 250 } ]
- stated total
- 1250
{
"law_firm_name": "Example Law Firm - synthetic",
"client_name": "Example Client - synthetic",
"matter_reference": "DEMO-MATTER-0042",
"invoice_reference": "DEMO-INVOICE-0042",
"invoice_date": "2026-09-30",
"time_entries": [
{
"service_date": "2026-09-30",
"timekeeper_name": "Example Timekeeper - synthetic",
"task_code": "Example task code - synthetic",
"description": "Example document line - original synthetic data",
"hours": 4,
"stated_rate": 250,
"amount": 1000
}
],
"expense_rows": [
{
"expense_date": "2026-09-30",
"description": "Example document line - original synthetic data",
"amount": 250
}
],
"stated_total": 1250
}A complete synthetic document with the visible values shown below. Real responses also include model-reported confidence, validation and result status. Test your own file with this schema.
When this work lands on your desk
A law firm bill arrives for legal spend accounting teams. The next step needs matter, timekeeper, task and billed amount, recorded under the correct document reference before the information enters your contract document register.
A bill separates attorney time, expenses and a courtesy discount. Preserve each category before applying billing guidelines. This schema keeps the source labels and values explicit so the reviewer can resolve the issue before downstream use.
Start with the documents you already collect
- Law firm bill PDFs
- Scanned or photographed law firm bill pages
PDF, JPEG, PNG, TIFF, or WEBP. Send one file per extraction call; create separate schemas when the document types need different fields.
Define the fields
Open the starter schema. Edit field descriptions, mark the values your process requires, and save it in your account.
Extract at intake
Send the document and saved schema slug to
POST /api/v1/extract, or collect the file through a branded upload site.Hand off reviewed data
After checking law firm name, client name, matter reference, your application maps the reviewed record into your contract document register. Keep the original document reference with the result. Billing guideline audit external. Dokyumi processes one file with a saved schema; your application owns record matching, business rules and updates to other systems.
A schema shaped around the next step.
Start with these fields, then adjust them to match your documents and destination system. The example above shows the data object you are asking Dokyumi to extract.
Download editable starter schemaChoose required fields for your process. The starter schema preserves any defined nested fields; refine line-item structures and test them on representative files.
| Field | Type | What to capture |
|---|---|---|
law_firm_name | string | Law firm name exactly as printed in this law firm bill. Preserve identifiers and qualifiers; do not look up or infer missing information. |
client_name | string | Client name exactly as printed in this law firm bill. Preserve identifiers and qualifiers; do not look up or infer missing information. |
matter_reference | string | Matter reference exactly as printed in this law firm bill. Preserve identifiers and qualifiers; do not look up or infer missing information. |
invoice_reference | string | Invoice reference exactly as printed in this law firm bill. Preserve identifiers and qualifiers; do not look up or infer missing information. |
invoice_date | date | Invoice date explicitly printed in this law firm bill. Keep it distinct from other dates; leave it empty if no calendar date is stated. |
time_entries | array | Every visible time entries row in this law firm bill. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones. |
expense_rows | array | Every visible expense rows row in this law firm bill. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones. |
stated_total | currency | Stated total explicitly labeled in this law firm bill. Preserve its sign and stated currency; do not calculate a missing amount. |
Give exceptions a clear path to review.
Dokyumi returns a model-reported confidence map, validation details, and a completed or review status for produced results. Check required fields and your business rules before passing data onward.
A completed extraction describes the extraction result. Your application and reviewers own matching, approvals, routing, and updates to other systems.
Read the response contractChecks for this process
- A bill separates attorney time, expenses and a courtesy discount. Preserve each category before applying billing guidelines.
- Check invoice date against their own printed labels; leave an unstated date empty instead of deriving it.
- Check stated total for signs, decimal placement and stated currency before any downstream calculation or posting.
- Compare every time entries, expense rows row with the source, including continuation pages, separate categories and repeated table headings.
Prove the fit on a representative batch.
Test law firm bill examples from the layouts your team actually receives. Include the exception described here: A bill separates attorney time, expenses and a courtesy discount. Preserve each category before applying billing guidelines. Compare the extracted law firm name, client name, matter reference and any line rows with a reviewer's checked reference before enabling downstream actions.
Compare extracted values with a reviewer’s reference set. Record corrections, unresolved fields, review time, and credits used before connecting downstream actions.
The free plan’s credit limits apply. Assisted pilots are scoped with Dokyumi before work begins.
Expand when the next process is ready
Add recurring extraction capacity when law firm bill intake becomes routine. Reuse this field contract for layouts that express the same information; create a separate schema when the next document has different fields or review requirements.
For a tailored implementation
Discuss document volume, page lengths and schema setup for legal spend accounting teams. Bring difficult law firm bill samples and the review requirements your implementation must preserve.
Talk through document mix and volumeStart small. Add capacity as intake grows.
All self-service plans include the REST API, upload-site webhooks, custom confidence thresholds, and schema inference. Choose by volume, schema count, and upload sites.
Each document uses one credit per 5 pages, rounded up. An 8-page file uses 2 credits. Self-service files can be up to 50 pages; larger files, custom-built schemas, and additional volume are quoted through Enterprise. Full pricing details
Questions about litigation invoice expense capture
Which fields can I capture from a law firm bill?
The starter schema contains law firm name, client name, matter reference, invoice reference, invoice date, time entries, expense rows, stated total. Edit those definitions and choose your required fields before saving. Array fields include defined sub-fields so row values have a validation structure.
What needs review in litigation invoice expense capture?
A bill separates attorney time, expenses and a courtesy discount. Preserve each category before applying billing guidelines. Check the original source alongside model-reported confidence and validation output; completion status describes the extraction result, not the business decision.
How does this data reach your contract document register?
Save the schema, then send one supported PDF or image to POST /api/v1/extract with its slug. The response contains the data, model-reported confidence, validation and result status. Your application maps reviewed values to the destination; upload-site submissions can use a configured webhook. Billing guideline audit external.
How do I test this workflow on my own documents?
Start free with 25 credits per month, 2 schemas, and 1 branded upload site. The starter schema opens in the schema builder after sign-up. Edit the fields, save it, and upload a representative file through your account or the extraction API. Account documents are stored according to Dokyumi’s privacy policy; contact hello@dokyumi.com for deletion requests and retention requirements.