Skip to content
Display

Display

Star12.2k

AI with Leantime

Turn timesheets into an invoice

At a glance

TimeAbout 10 min

LevelBeginner

You need

  • An AI assistant connected to Leantime
  • The Company Manager role or higher (for the quick draft, Company Manager in that project is enough)
  • Your rates and the client's details

Where you'll work

  1. Your AI assistant
  2. Leantime, under Company → All Timesheets, for the export and the Invoiced marks

At the end

An invoice for the billable time, and the time marked Invoiced in Leantime

Markdown

Your AI assistant can turn the time your team logged in Leantime into an invoice: the billable hours per person or per to-do, your rates, and the client’s details, as a spreadsheet or a PDF. It shows you the lines and the total first, and makes the file once you agree. Then you mark the time as invoiced in Leantime, so it isn’t billed twice.

What Quick draft Exact lines
Where the hours come from The assistant reads them from Leantime A timesheet export you give the assistant
One line per Person To-do, with what was done
Leaves out time that’s already invoiced No Yes
Use it when Nothing in the period has been invoiced yet You invoice part of the time, or the client wants details
Make an invoice from my Leantime time for the project "Website Redesign",
for time logged from 1 to 30 November 2026:
- Only billable time (type "General, billable"). Look up each person
separately, so their billable hours are exact.
- One line per person: name, billable hours, rate, amount.
Rates per hour: Ada 95, Ben 85, Chloe 80.
- Bill to: Riverside Food Bank, 12 Main Street, Springfield.
- From: [your company name and address].
- Invoice number INV-2026-011, dated today, due in 30 days, in USD.
Show me the lines and the total first. Once I say it's right,
make it as a PDF.

The assistant reads the project’s timesheets for each person, keeps the billable hours, and shows you something like this:

Invoice INV-2026-011: Website Redesign, November 2026

  • Ada Lovelace: 7.0 hours × 95 = 665.00
  • Ben Ortiz: 9.5 hours × 85 = 807.50
  • Chloe Nguyen: 6.5 hours × 80 = 520.00

Total: 1,992.50 USD

The assistant can’t see which hours are already invoiced, so these totals include them. If you’ve invoiced part of the period, use the exact lines below.

  1. Open Company → All Timesheets.
  2. Click Filter and choose the project, the dates, the type General, billable and Not invoiced.
  3. Click Export. Leantime downloads the list as a CSV file, one row per entry, with the to-do, the person, the type, the description and an Invoiced column.
  4. Give the file to your assistant with a request like this:
Here's my Leantime timesheet export (attached). Make an invoice from it:
- Only entries for the project "Website Redesign", dated 1 to 30
November 2026, with Type "General, billable" and an empty Invoiced
column (it shows the date an entry was invoiced).
- One line per to-do: the to-do, total hours, rate, amount.
Rate: 90 per hour. List the entries' descriptions under each line.
- Bill to: Riverside Food Bank, 12 Main Street, Springfield.
- From: [your company name and address].
- Invoice number INV-2026-011, dated today, due in 30 days, in USD.
Show me the lines and the total first, and list any entries you
left out and why. Once I say it's right, make it as a spreadsheet and a PDF.

The filter already leaves out other projects, other dates, and time that’s invoiced or not billable. The request checks all of it again, in case you exported without the filter.

Once the invoice is sent, mark the same entries in Leantime, so the next invoice leaves them out:

  1. In All Timesheets, use the same filter as for the export.
  2. Under the Invoiced column, tick Select all, at the bottom of the table.
  3. Compare the ticked entries with the invoice. Untick any entry that isn’t on it, such as time someone logged for the period after you exported. It stays open for the next invoice.
  4. Click Save. Each ticked entry’s checkbox is replaced by today’s date.

Leantime’s All Timesheets filtered to one project’s billable time that isn’t invoiced yet: seven entries with the Invoiced boxes ticked, and Export, Select all and Save outlined

The assistant can’t mark time as invoiced for you. See How do I mark time as invoiced, approved or paid?

  • Rates aren’t in Leantime. Put them in the request, per person or one for everyone.
  • Billable means the type. Time logged as General, billable counts. If your team logs billable work under other types, like Development or Project Management, name those types in the request. For the exact lines, also choose All Types in the filter, because it takes one type at a time. The request then keeps only the types you named, and when you mark the time as invoiced, untick the entries of other types.
  • Check the hours before you invoice. People sometimes log time late. Ask the assistant which to-dos finished in the period have no time logged (see Catch up on your timesheet).
  • No file? Not every assistant can make a PDF or a spreadsheet. Ask for a table instead, and paste it into your invoicing tool.
  • Use the same dates everywhere. The same dates in the request, the filter and the export keep the invoice and the Invoiced marks to the same time.

Was this page helpful?