AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Nov 30, 2026, 22:01 JST

Offline Qwen3-VL pipeline turns timesheets into billing data

Send on LINE
Offline Qwen3-VL pipeline turns timesheets into billing data

3 Key Points

  1. What happened

    The write-up describes an offline pipeline where Qwen3-VL transcribes printed figures only, and deterministic Python normalizes formats like 160:30 and 160.5h, flags impossible values such as monthly totals over 300 hours, and outputs text for billing systems.

  2. Why it matters

    By keeping AI to transcription only and forcing all calculation and normalization into deterministic code, the design sidesteps the hallucination and column-shift errors that the author says derail typical invoice and payroll automation projects.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The write-up frames the problem less as a model-quality issue than as a division-of-labor issue. Timesheets carry names, employee numbers, hours and rate-linked data, so security and legal reviews often block sending them to cloud LLMs such as GPT, Claude or Gemini. Conventional OCR then struggles with merged cells and bespoke layouts, and coordinate-based extraction can misread break time as working time. Letting an autonomous agent handle extraction through validation and ledger entry adds hallucination and behavioral drift on top.

The proposed split puts AI in exactly one step. Files are rasterized to images, Qwen3-VL transcribes only the printed target numbers, and Python performs normalization, consistency checks and exception routing. In the demo, three layouts — a merged-cell Excel sheet, a custom-format PDF and a scanned image — produced 168.25, 160.25 and 148.75 hours respectively as text output for billing systems. The author is also offering redesign support for projects stuck on similar constraints, scoped to GPUs in the VRAM 12GB–24GB class.

FAQ
What hardware does the pipeline run on?
A single GPU with VRAM 12GB or less, in a fully offline environment with no external API calls and no usage-based billing.
How does it handle different timesheet formats?
Excel and PDF files are rasterized to images first, so Qwen3-VL reads them visually like a person would. Python then normalizes notation such as 160:30, 160.5, 160時間30分 and 160.5h into a unified decimal format.
What happens to values the AI misreads?
Strings that cannot be parsed, or values outside a plausible range such as negative numbers or monthly totals over 300 hours, are detected as errors and isolated from the normal record flow for human review.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleTaroBird: phone-first ADE for Codex and Claude Code agents