
Use Get Invoice History in a read-only BerryDesk workflow after a trusted system has verified that the requester can see that Stripe customer. Start with invoice date, status, amount, currency, and the Stripe-hosted page where permitted. Keep changes to payments, subscriptions, and refunds outside this workflow.
Bind the billing lookup to the verified account
Connect Stripe in workspace Settings → Integrations if it is available in your deployment. Open the agent’s Actions tab and add Get Invoice History. Configure when the agent should ask the billing team to take over. A customer’s name, an email typed into a chat, or an invoice number should never be the only authorization for a lookup.
Use your approved signed-in account context or a support verification step to resolve the Stripe customer associated with the user. Review one synthetic billing response to make sure it returns the right account and invoice period. If you cannot establish authorization for that requester, provide a generic next step to find invoices, or hand the request to the authorized billing queue.
Translate the provider’s status before replying. Open means payment is pending or still collectible depending on the invoice. Paid should only be shown when Stripe reports paid. A void invoice should not be described as payable. Share a hosted invoice page only through an approved billing channel for the verified account.
Run these synthetic pilot cases
| Scenario | Expected state | Expected response |
|---|---|---|
| Authorized customer, one invoice is open | Open invoice on verified customer | Give the due status and the authorized hosted invoice link if allowed. |
| Authorized customer, invoice is paid | Paid invoice on verified customer | State the provider’s paid status. Keep any receipt claim tied to the invoice data. |
| Customer pasted another business’s invoice ID | Invoice ownership cannot be verified | Keep the response generic and route to billing. |
| Two invoices with the same amount | Multiple items match | Ask for the invoice date or period rather than guessing which record they mean. |
What to measure before rollout
Track the proportion of eligible billing questions answered without help, confirmed account mismatches, and escalations from unclear matches. Require zero restricted fields and zero cross-account disclosures in your test cases before expanding the pilot.
Download the workflow pilot cases to record observed behavior beside the expected results.
Related guides
Documentation
Launch your AI agent in minutes
- Train on your docs, websites, Notion, Drive and YouTube
- Deploy to web, WhatsApp, Slack, Instagram and more
- No credit card required
Set up in minutes

