Key points
- Pull worklogs by the date the work was done, not by the issue’s total Time Spent.
- Decide client mapping and rate rules once, and write them down.
- Approve a period before anything becomes an invoice, and record what was billed.
- QuickBooks Online and Xero both accept CSV invoice imports, with limits worth knowing.
What Jira gives you
A worklog in Jira Cloud records time against a work item. People log it from the work item’s More actions → Log work menu or the Time tracking field, in weeks, days, hours and minutes such as 2d 4h 30m (Atlassian: Log time on a work item). Logging time needs the Work On Work Items permission, and admins set the working-hours-per-day and default unit (Atlassian: Configure time tracking).
Each worklog has an author, a started date and time, and a duration (timeSpentSeconds), which you can read through the Get issue worklogs endpoint, filtered with startedAfter and startedBefore (Atlassian: Jira Cloud REST API, Issue worklogs). That is the data an invoice should be built from. The work item’s own Time Spent is a running total across everyone and every date, so it is the wrong number for “hours for Client A in November”.
The workflow, step by step
- Fix the billing period and the date rule. Bill by the date the work was done (the worklog’s
starteddate). Watch for one trap: in the “Export Excel CSV (all fields)” file, the work log fields show the date the log was submitted, not the date entered for the work. Atlassian tracks this as an unresolved bug, and its suggested workaround is the Get issue worklogs endpoint, which returnsstarted(Atlassian issue JRACLOUD-77926). - Find the work items that have time in the period. JQL’s
worklogDatefield finds work items with work logged on a date, for exampleworklogDate >= "2026-11-01" AND worklogDate <= "2026-11-30". Two caveats from Atlassian: it returns work items, not worklogs, and if a work item has more than 1,000 worklogs, JQL only searches the most recent ones (Atlassian: JQL fields). - Collect the individual worklogs in range. For each work item, keep only the worklogs whose
starteddate falls in the period. Out-of-period worklogs on the same item belong to another invoice. - Map each worklog to a client. Pick one rule and stick to it: by project, by epic, or by a label such as
client-acme. Decide in advance what happens when two rules disagree. Guessing is how hours end up on the wrong invoice. - Separate non-billable time. Internal meetings, rework and pre-sales usually stay off the invoice. See billable vs non-billable hours in Jira for the common ways to mark it.
- Apply rates and rounding. Write down the order rates are chosen in (for example a per-person rate beats a project rate) and your rounding rule (nearest, up or down, and the increment). Round per worklog or per invoice line, not a mix of both.
- Review and approve the period. Look at the leftover list too: unmapped work, work with no rate, non-billable time. Approve only when the leftovers are explained.
- Create the invoice and record what was billed. Keep a record of which worklogs went on which invoice. If someone edits a worklog after it was billed, you want to notice, not bill it again next month.
Worked example (invented)
Invented example: names, hours and rates are made up for illustration.
Client “Acme Analytics” is mapped by the Jira label client-acme. Default rate $120/h, one developer has a person rate of $150/h, rounding is to the nearest 15 minutes per worklog, and a comment tag marks non-billable time.
| Work item | Logged | Rounded | Rate | Amount |
|---|---|---|---|---|
| ACME-12 Dashboard filters | 2h 10m | 2.25 h | $120 (client default) | $270.00 |
| ACME-14 CSV import bug | 1h 20m | 1.25 h | $120 (client default) | $150.00 |
| ACME-15 Data model review | 3h 05m | 3.00 h | $150 (person rate) | $450.00 |
| ACME-16 Internal retro (non-billable tag) | 0h 50m | — | — | not invoiced |
| Invoice total | 6.50 h | $870.00 | ||
The 50 minutes of internal time stays visible in a “not invoiced” list with its reason, so nobody wonders where it went.
Getting it into QuickBooks Online
You can type the invoice in by hand, or import several at once. Intuit’s invoice import (Intuit: Import multiple invoices at once) has rules worth checking before you build a spreadsheet:
- Each line item needs its own invoice number, customer, invoice date, due date and item amount.
- Up to 1,000 rows per file and a maximum of 100 invoices at a time; no negative charges such as discounts or credit memos.
- If you have set up sales tax in your account, you can’t import invoices this way.
QuickBooks Online also has its own billable time (time entries marked billable, then added to invoices), described in Intuit: Enter billable time by job. That works if time is entered in QuickBooks; if your team logs time in Jira, it means entering the same hours twice.
Getting it into Xero
Xero imports customer invoices from its CSV template under Sales → Invoices → Import (Xero Central: Import customer invoices). Per Xero Central:
- Invoices are imported as drafts, which you approve afterwards.
- Only
ContactNameandInvoiceNumberare required; each row is one invoice line, and rows sharing an invoice number become one invoice. - Invoice numbers must be unique (an existing number is not imported), dates use DD/MM/YYYY, and Xero recommends no more than 500 items per file.
Through the API, a sales invoice is type ACCREC, and draft invoices can be updated or deleted (Xero Developer: Invoices).
Where WorklogBooks fits
WorklogBooks for Jira automates steps 2 to 8 inside Jira Cloud. It reads worklogs for the period you pick (out-of-period work is left out), maps them to a client by label, epic or project (and refuses to guess when mappings conflict), applies rates in a fixed order (issue, person, role, project, client default, global default) with your rounding rule, and builds one invoice preview per client with lines that add up to the cent. A second tab lists work that was not invoiced and why. You approve the period, and an audit trail records what was billed; a worklog edited after billing is held for review instead of being billed twice.
After approval it builds a QuickBooks Online Invoice or Xero ACCREC draft invoice payload in the format those APIs expect, for you to review. Direct posting to a connected QuickBooks or Xero organisation is not enabled yet, so you create the invoice in your accounting system from the reviewed preview.
FAQ
- Can I bill from the Time Spent column in a Jira export?
- Only if one client and one period own the whole work item. Time Spent is the work item’s total across every person and date, so a monthly invoice should be built from individual worklogs filtered by their started date.
- Does the Jira CSV export include worklog dates?
- The all-fields CSV includes work log fields, but Atlassian’s open issue JRACLOUD-77926 says they show the date the log was submitted rather than the date entered for the work. The REST API returns the started date.
- Can I import Jira hours straight into QuickBooks Online or Xero?
- Not as worklogs. Both accept invoice CSV imports (with the limits listed above), so the usual path is to summarise approved hours into invoice lines first.
Sources
Vendor documentation read on December 4, 2026. Product behaviour can change; check the linked page before relying on a limit.
- Atlassian: Log time on a work item
- Atlassian: Configure time tracking
- Atlassian: JQL fields
- Atlassian issue JRACLOUD-77926
- Atlassian: Jira Cloud REST API, Issue worklogs
- Intuit: Import multiple invoices at once
- Intuit: Enter billable time by job
- Xero Central: Import customer invoices
- Xero Developer: Invoices