# Billed Once: Time Log to Invoices, No Double Billing

> Turn your Toggl, Clockify or Harvest CSV into one clean HTML/PDF invoice per client with totals and due dates, and never bill the same hour twice. Works offline, no account, never sends anything.

Billed Once: Time Log to Invoices, No Double Billing is a paid AI agent skill on Agensi by Karma Wangchuk. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Karma Wangchuk](https://www.agensi.io/creators/karma-wangchuk)
- Version: 1.1
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/billed-once-time-log-to-invoices-no-double-billing
- Tags: finance-accounting, invoice, freelance, time-tracking, toggl, clockify, harvest, billing

## What it does

- Builds one invoice per client from one time-log export, with rates, tax line, total and due date
- Remembers every billed entry in a ledger, so overlapping exports never bill an hour twice
- Finds hours you forgot to bill in earlier months and offers to add them
- Flags duplicate rows, overlapping timers, 12-hour entries and entries edited after billing
- Prints PDFs with your installed Chrome or Edge, or gives print-ready HTML
- Merges exports from several trackers, like Toggl and Harvest, in one run

## Who it's for

- **Freelancers with several clients:** Every client invoiced in one run at month end. Try: "Invoice all my clients for November from this Toggl export."
- **Small agencies and contractors:** Per-project rates and rounding, and numbered invoices that continue every month. Try: "Make this month's invoices, 15-minute rounding for Acme."
- **Anyone who re-exports time logs:** Proof nothing gets billed twice, and a list of what is still unbilled. Try: "What have I not billed yet?"
- **People switching trackers:** One invoice from Toggl and Harvest CSVs together. Try: "Combine these two exports into invoices."

## About this skill

Month end for a freelancer means exporting hours, sorting them by client, pricing them, and hoping you did not bill last week's export again. Billed Once does it in one step and keeps a ledger of every entry it has invoiced, so re-running a month or exporting an overlapping date range can't double-bill a client.

Your agent asks once for your rates, payment terms, the tax rate you charge (if any) and your payment details, saves them in a small `clients.json`, and runs a dry run first: draft invoices stamped DRAFT plus a list of checks (duplicates, overlaps, timers left running, unknown clients, hours from earlier months never billed). You answer the checks, it runs again, and only when you say the numbers are right does it make the final invoices and record them in the ledger. Next month, the same ledger skips everything already billed.

It never emails or uploads invoices and never contacts clients. It is not tax or accounting advice: the tax line uses only the percentage you enter.

## Requires

- Python 3.8+
- Terminal
- Optional: Chrome/Edge/Chromium for PDF

Works on Windows, macOS and Linux. Without a terminal the agent follows a by-hand fallback.

## Known limitations

Reads CSV exports only; it does not connect to Toggl, Clockify or Harvest accounts. Not tax or accounting advice: the tax line uses only the percentage you enter. It never sends, emails or uploads invoices. PDF output needs Chrome, Edge or Chromium installed; otherwise print the HTML to PDF.

## Technical details

One Python 3.8+ script (billed_once.py), standard library only, under 20 KB. No API keys, no internet.
Reads Toggl, Clockify, Harvest and hand-made CSVs by header name: date, client, project, description/notes, hours, h:mm:ss durations or start/end times, billable flag. Several files at once.
Dates: ISO, DD.MM.YYYY, slash dates detected as day/month or month/day from the data; stops and asks when a file can't tell.
Money in exact decimals, half-up to cents; JPY without decimals. Rounding per entry up to N minutes (optional).
Per-client currency, hourly rate, per-project rates, payment terms, tax label and rate, address, note.
Invoice numbers: your prefix + 4 digits, continuing from the ledger.
Ledger: billed_ledger.csv, one row per billed entry (fingerprint, invoice, client, date, hours), appended only on --record.
Output: one HTML per client (print CSS, time detail on page 2), optional PDF via headless Chrome/Edge, summary.csv.
Instructions for Claude Code, Codex, Antigravity, Cursor, Gemini CLI, Grok, Windsurf, GitHub Copilot and any SKILL.md agent, with a no-terminal fallback.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Billed Once: Time Log to Invoices, No Double Billing skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Is my data sent anywhere?

No. The script runs on your computer, reads your CSV and writes files next to it. No internet, no account, no upload. Your agent sees the CSV as usual for your agent.

### Does it send the invoices to my clients?

No. It makes the files; you send them.

### Which tax rate should I use?

That is for you or your accountant. The skill only applies the percentage you enter per client (default none) and gives no tax advice.

### What if I export overlapping dates or run a month twice?

Entries already in the ledger are skipped and listed with their invoice number. Nothing is billed twice.

### I changed an entry in my tracker after billing it. What happens?

It is flagged as "edited after billing?" so you can decide before it goes out.

### Can I redo an invoice?

Yes. Dry runs change nothing. After a final run, remove that invoice's rows from the ledger and run again.

### Which trackers work?

Toggl, Clockify and Harvest CSV exports, and any CSV with date, client and hours (or start/end times).

### Different currencies per client?

Yes, set currency per client; totals are shown per currency.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
