/
/
Spot unbilled Teamwork.com time before it is written off
For finance and project leads who want a client's billable Teamwork.com time compared with Dynamics 365 Business Central invoices by their AI assistant.
On this page
Connector
Connect Teamwork.com, pick your AI tool and paste the prompt.
The problem
Billable hours that never reach an invoice
Billable time logged in Teamwork.com should turn into Dynamics 365 Business Central invoices, but some projects never get billed. Finding them means totalling time per project, finding the client's invoices and working out which lines were time.
Without PopdockAI
- Total billable time per project from Teamwork.com
- Find the client's invoices in Business Central for the period
- Work out which invoice lines were for time
- Write off unbilled work nobody noticed
With PopdockAI
- Billable time and value are totalled per project
- Invoices posted in the same period are found for the client
- The gap gets a verdict: under-billed, over-billed or square
- Projects with no invoice line are listed, and no invoice is raised
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** For client `{customer-name}`, compare the billable time logged in Teamwork from `{from-date}` to `{to-date}` (default: today) with the sales invoices Business Central posted to them in the same period, and show any unbilled work.
**Step 1: Find the client in Teamwork**
Call `teamwork-get-companies` (Teamwork server) with `name.contains` set to `{customer-name}`. If more than one company matches, list them and ask which one is meant. Then call `teamwork-get-projects` with that `company-id` to get every project for the client.
**Step 2: Read the billable time**
For each project, call `teamwork-get-time` with `project-id`, `is-billable` set to true, `time-logged.from` set to `{from-date}` and `time-logged.to` set to `{to-date}` (today when blank). Use dates in YYYY-MM-DD form. Sum `minutes` and `billable-total` per project, and note whether each entry is `verified`.
**Step 3: Find the customer in Business Central**
Call `business-central-get-customer` (Business Central server) with `name.contains` set to `{customer-name}`, matching on name while ignoring case, punctuation and legal suffixes. If there is no customer, report the time as work with no customer to bill and stop after Step 5.
**Step 4: Read the invoices**
Call `business-central-get-posted-sales-invoice` with `sell-to-customer-number` set to the customer-number, and `posting-date.from` and `posting-date.to` set to the same period. Then call `business-central-get-posted-sales-invoice-line` with each `invoice-number` to see what was billed. Treat lines with line-type Resource, or a description that names a project, as time billing.
**Step 5: Report**
* A table per project: hours logged, billable-total from Teamwork, and whether the hours are verified.
* A table of invoices: invoice-number, posting-date, total-amount, and the amount of time-billing lines.
* **Gap:** total billable-total from Teamwork minus the time billed in Business Central. Say whether the client looks under-billed, over-billed or square. Treat a difference within 2 percent as square.
* List the projects with billable time in the period and no invoice line that mentions them.
**Rules & Guidelines:**
* `teamwork-get-companies`, `teamwork-get-projects` and `teamwork-get-time` are on the Teamwork server. `business-central-get-customer`, `business-central-get-posted-sales-invoice` and `business-central-get-posted-sales-invoice-line` are on the Business Central server.
* This prompt is read-only. Do NOT call `business-central-create-sales-invoice`, `business-central-create-sales-invoice-line` or `teamwork-update-time-entry`. To raise the invoice, use the invoice-billable-time prompt.
* Invoices are often posted after the month they bill. Say so when the gap could be timing rather than missed billing.
**Validation:**
* If there is no billable time in the period, say so and stop.
* Teamwork totals are in the site currency and Business Central totals are in the customer's currency. If they differ, report both totals and do not work out a gap.Who it's for
One answer, three teams that use it
Billing teams
Catch under-billing before month end
See the gap between billable time and invoiced value for a client, with the projects that have no invoice line at all.
Is Northwind Traders under-billed for August? Compare Teamwork.com billable time with Business Central invoices.
Finance controllers
Check revenue against delivered work
A billing verdict per client tells you whether delivered work is turning into revenue, with timing noted when it may explain the gap.
Compare Fabrikam's billable Teamwork.com time with Business Central invoices for last quarter.
Project managers
Make sure your project gets billed
Check that the hours your team logged were invoiced, so your project's numbers reflect the work actually done.
Has all the billable time on Contoso projects in Teamwork.com been invoiced in Business Central this month?
How it works
What PopdockAI does when you ask
You name the client and a period, and your AI assistant compares billable Teamwork.com time with Business Central invoices. It is a check only, so no invoice is created.
01
Ask
You name the client and a period.
02
Total
It totals billable Teamwork.com time and value per project.
03
Read
It finds the customer in Business Central and the invoices posted in the period.
04
Report
You get the gap, a billing verdict and projects with no invoice line.
What PopdockAI provides
The tools behind the answer
Ready made tools for Teamwork.com and one secure connection to your AI tool. No code, no exports.
teamwork-com-get-companies
teamwork-com-get-projects
teamwork-com-get-time
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Unbilled project work caught project by project
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
