Match the deals marked won in Pipedrive with the invoices in Stripe. See which wins have no invoice, a draft that was never sent, a voided invoice with no replacement or an amount that differs from the deal.
Which deals we won this month have no invoice yet?
Won deal group
Deals
Amount
No invoice the customer can pay
3
$9,600
Open invoice below the deal value
1
$900 short
Deals won Oct 15–Nov 13 UTC · Invoices created Sep 15–Nov 13 UTC · Both sources read Nov 13, 12:00 UTC
Eight deals were won Oct 15–Nov 13. Three of them, worth $9,600, have no invoice the customer can pay: one was voided without a replacement, one has no invoice at all and one is still a draft. Orchard Labs has an open invoice that is $900 below the deal value.
WHERE THE RESULT GOES
Google Sheets
Export each data source report to Google Sheets, then add your analysis or checklist to the review Sheet.
Example use case
Ask. Follow up. Take the next step.
✦ AI assistantSample use case
YOU
Which deals we won this month have no invoice yet?
✦
Eight deals were won Oct 15–Nov 13. Three of them, worth $9,600, have no invoice the customer can pay: one was voided without a replacement, one has no invoice at all and one is still a draft. Orchard Labs has an open invoice that is $900 below the deal value.
01
Three won deals · No invoice the customer can payPinecrest Legal 9106 · Ridgeway Dental 9103 · Saltmarsh Coffee 9104Invoice this week
Pinecrest Legal was won on Oct 16. Its invoice DP-1042 was voided the next day and no other invoice carries deal ID 9106 or the customer’s email. Ridgeway Dental was won on Nov 3 and nothing in Stripe matches the deal ID or the person’s email. Saltmarsh Coffee’s invoice was created on Nov 6 and is still a draft, so it has no number and the customer has not received it.
NextAsk the deal owners to confirm the billing details, then agree with finance who issues each invoice. Ask why DP-1042 was voided before anyone creates a replacement, in case the terms changed. Together these three deals are worth $9,600 in Pipedrive.
02
Orchard Labs · Invoice $900 below the dealDeal 9105 · $9,000 · Invoice DP-1046 open for $8,100Check the amount
The open invoice carries deal ID 9105 and totals $8,100, which is $900 less than the deal value. Neither source explains the difference. It could be an agreed discount the rep did not record, a missing line item or a deal value that includes something billed later.
NextAsk the deal owner and finance to compare the signed terms with the invoice before the Dec 11 due date. Update whichever record is wrong in its own tool.
03
Kestrel Tours · Matched by email onlyDeal 9108 · €5,000 · Invoice DP-1044 paid in EURConfirm the match
This invoice has no deal ID in its metadata. Its customer email, billing@kestreltours.example, is the second address on the person linked to the deal, and the paid total equals the deal value in the same currency.
NextTreat it as paid once finance confirms it belongs to this deal. Adding the deal ID to future invoices removes the guesswork. Brightwater Studio, won on Nov 11, has no invoice yet but is still inside the five-day billing window in this example.
Deals won Oct 15–Nov 13 UTC · Invoices created Sep 15–Nov 13 UTC · Both sources read Nov 13, 12:00 UTC
01 · CONNECT YOUR DATA
Your tools. One place to ask.
2 of 3 Free data sources No credit card · Daily refresh
DatapipeYour project
✦Your AI assistantor a report in Sheets / Data Studio
Create your free workspace
Sign up with your company email. Your first project opens on Data sources.
Add the data sources
Choose the accounts for this use case. Authorize access and select the property or site.
Bring your question
Connect your project to a supported AI assistant, or build your source reports.
Email/password signups confirm their email first. Use Google signup with a company account if you prefer.
Pipedrive: Add the intended Pipedrive company using its supported sign-in or your personal API token. You see the people and deals your Pipedrive permissions allow. Setup guide ↗
Stripe: Authorize the intended Stripe account using its supported sign-in or dedicated read-key setup. Setup guide ↗
Free includes 3 data sources across the workspace. One account/property added to one project counts as one. Extra properties or the same account in another project use another slot.
02 · ASK A USEFUL QUESTION
Start with a prompt. Follow the evidence.
Copy these in order into your connected assistant. Each builds on the answer before it.
01
List the deals we won and who they belong to
Read the full prompt
Use only this Datapipe project’s authorized data. Discover the connected accounts, datasets and compatible fields first. Confirm dates, timezones, currencies and data coverage. Keep missing or unmatched rows visible; never substitute sample data. Compare the sources explicitly and explain every match. Do not change source records or send messages.
From the connected Pipedrive company, read Deals inventory with Deal ID, Deal title, Owner ID, Person ID, Deal value, Currency, Deal status and Won at, and People with Person ID, Person name and Email addresses. Keep deals with status won whose Won at falls in the last 30 days in UTC, and tell me the exact window you used. Return one row per deal with its person and every email address on that person. Flag deals with no linked person or a person with no email address. An empty result can mean a record is outside my Pipedrive permissions, so say that instead of calling it missing. Do not add values across currencies.
02
Find the Stripe invoices for those deals
Read the full prompt
From the connected Stripe account, read the invoice resource only, for a 60-day creation window ending today in UTC, and show its boundaries. Return invoice.id, invoice.number, invoice.customer, invoice.customer_email, invoice.created, invoice.status, invoice.currency, invoice.total, invoice.amount_due, invoice.amount_paid, invoice.amount_remaining, invoice.due_date, invoice.billing_reason and invoice.metadata. Convert amounts from the smallest currency unit for each currency. For each won deal, look for an invoice whose metadata holds that deal ID first; otherwise compare invoice.customer_email with every email on the deal’s person after trimming spaces and lowering case, and mark that match as email only. List invoices that match more than one deal, and deals that match more than one invoice, as questions.
03
Prepare the billing review list
Read the full prompt
Prepare one table of the won deals with deal title, owner ID, Won at, deal value and currency, matched invoice number, invoice status, invoice total, amount remaining and how the match was made. Group it into: paid, open with the same amount, open with a different amount, draft only, voided with no other invoice, no invoice found, and still inside our five-day billing window. Show the difference for any amount or currency mismatch without guessing the reason. Total the deal values only within one currency. Draft the table in this conversation. Do not create, send or change anything in Stripe or Pipedrive.
Match each deal to its invoice and agree who bills.
01
Read the deals your team won and the people behind them.
02
Read the Stripe invoices that could belong to those deals.
03
Match each deal to its invoice and agree who bills.
↗
Check the result at your next review.
Run the same review a week later. Each of the four deals on this list should have an open or paid invoice with the agreed amount, or a recorded reason why not. Then count the won deals older than five days that still have no invoice the customer can pay, and compare it with this week’s three.
Implementation tips for this use case
Match on a deal ID stored in the invoice metadata first, if your team records one. Otherwise compare the invoice customer email with every address on the deal’s person, after trimming spaces and lowering case, and label those matches as email only. Group each won deal: paid, open, draft, voided with no replacement, no invoice found, and amount or currency differs. Leave deals still inside your own billing window off the action list. Take the list to the finance and sales review, where the deal owner confirms the details and finance issues the invoice in Stripe.
WHEN YOU NEED MORE CONTEXT
Go a little deeper.
The method and reporting checks behind this example.
How to find won Pipedrive deals that have no Stripe invoice
Read the deals your team won and the people behind them.
Add your Pipedrive company and the Stripe account you bill from to one project. Read Deals inventory with Deal ID, Deal title, Owner ID, Person ID, Deal value, Currency, Deal status and Won at, and People with Person ID, Person name and Email addresses. Both are current records at the read time, so keep the won deals whose Won at falls in your window, in UTC. Archived deals are a separate dataset; read it too if your team archives deals after closing them.
Read the Stripe invoices that could belong to those deals.
Read invoices with ID, number, customer, customer email, created, status, currency, total, amount due, amount paid, amount remaining, due date and metadata. The window filters by invoice creation date in UTC, so start it before the earliest win in case an invoice was created first. Stripe amounts are in the smallest currency unit: divide USD and EUR amounts by 100. A finalized invoice keeps the customer email it had when it was finalized.
Match each deal to its invoice and agree who bills.
Match on a deal ID stored in the invoice metadata first, if your team records one. Otherwise compare the invoice customer email with every address on the deal’s person, after trimming spaces and lowering case, and label those matches as email only. Group each won deal: paid, open, draft, voided with no replacement, no invoice found, and amount or currency differs. Leave deals still inside your own billing window off the action list. Take the list to the finance and sales review, where the deal owner confirms the details and finance issues the invoice in Stripe.
See the complete example report
EXAMPLE REPORT
Which deals we won this month have no invoice yet?
Deals won Oct 15–Nov 13 UTC · Invoices created Sep 15–Nov 13 UTC · Both sources read Nov 13, 12:00 UTC
Which deals we won this month have no invoice yet?
Won deal group
Deals
Amount
No invoice the customer can pay
3
$9,600
Open invoice below the deal value
1
$900 short
WHAT TO LOOK ATEight deals were won Oct 15–Nov 13. Three of them, worth $9,600, have no invoice the customer can pay: one was voided without a replacement, one has no invoice at all and one is still a draft. Orchard Labs has an open invoice that is $900 below the deal value.
Match each deal to its invoice and agree who bills.
Pinecrest Legal was won on Oct 16. Its invoice DP-1042 was voided the next day and no other invoice carries deal ID 9106 or the customer’s email. Ridgeway Dental was won on Nov 3 and nothing in Stripe matches the deal ID or the person’s email. Saltmarsh Coffee’s invoice was created on Nov 6 and is still a draft, so it has no number and the customer has not received it. The open invoice carries deal ID 9105 and totals $8,100, which is $900 less than the deal value. Neither source explains the difference. It could be an agreed discount the rep did not record, a missing line item or a deal value that includes something billed later. This invoice has no deal ID in its metadata. Its customer email, billing@kestreltours.example, is the second address on the person linked to the deal, and the paid total equals the deal value in the same currency.
Try the example with sample CSVs
Fictional rows matching the example above. Attach these files to your assistant for a sample analysis.
Data method, reporting checks & sources
Add your Pipedrive company and the Stripe account you bill from to one project. Read Deals inventory with Deal ID, Deal title, Owner ID, Person ID, Deal value, Currency, Deal status and Won at, and People with Person ID, Person name and Email addresses. Both are current records at the read time, so keep the won deals whose Won at falls in your window, in UTC. Archived deals are a separate dataset; read it too if your team archives deals after closing them. Read invoices with ID, number, customer, customer email, created, status, currency, total, amount due, amount paid, amount remaining, due date and metadata. The window filters by invoice creation date in UTC, so start it before the earliest win in case an invoice was created first. Stripe amounts are in the smallest currency unit: divide USD and EUR amounts by 100. A finalized invoice keeps the customer email it had when it was finalized. Match on a deal ID stored in the invoice metadata first, if your team records one. Otherwise compare the invoice customer email with every address on the deal’s person, after trimming spaces and lowering case, and label those matches as email only. Group each won deal: paid, open, draft, voided with no replacement, no invoice found, and amount or currency differs. Leave deals still inside your own billing window off the action list. Take the list to the finance and sales review, where the deal owner confirms the details and finance issues the invoice in Stripe.
A deal is counted once, even when its person has several email addresses or several invoices. Deal ID in the invoice metadata is used before email, and email-only matches are labeled for finance to confirm. Stripe amounts are converted from the smallest currency unit, and totals never mix USD and EUR. Deals are current Pipedrive records at the read time; invoices are selected by creation date in UTC, starting before the earliest win.
A deal is counted once, even when its person has several email addresses or several invoices.
Deal ID in the invoice metadata is used before email, and email-only matches are labeled for finance to confirm.
Stripe amounts are converted from the smallest currency unit, and totals never mix USD and EUR.
Deals are current Pipedrive records at the read time; invoices are selected by creation date in UTC, starting before the earliest win.
Access to the intended Pipedrive account or property.
Access to the intended Stripe account or property.
A deal is counted once, even when its person has several email addresses or several invoices.
For blended reports, align dates, normalized URLs, and reporting grain. Query-level search rows must not duplicate page-level sessions.
Pipedrive records which deals were won, for how much and who owns them. Stripe records whether an invoice was created, sent, paid or voided. A deal can only be missing an invoice when you compare the two.
How are deals matched to invoices?
By a deal ID stored in the invoice metadata when your team records one. Otherwise by email: the invoice customer email is compared with every email address on the person linked to the deal, ignoring case and surrounding spaces. Company names are not used, because they are often written differently in each tool.
Why does a draft invoice count as not invoiced?
A draft has no invoice number, no payment page and has not been sent to the customer. Stripe can finalize drafts automatically on some setups, so the deal owner checks whether this one is waiting on someone.
What if the invoice total is different from the deal value?
The list shows the difference without explaining it. Discounts, tax, missing line items or a deal value that covers later billing can all cause one. The deal owner and finance compare it with the signed terms.
Does this work for subscriptions?
Yes, if the first invoice for a new subscription is created in Stripe. Renewal invoices for older customers appear in the read but match no recent win, so they stay off the list.
Does the assistant create or send invoices?
No. It prepares the review list in your conversation. Finance issues invoices in Stripe and the deal owner updates Pipedrive.
YOUR NEXT STEP
Try it with your own data.
Start free with up to 3 data sources. No credit card.