/
/
Answer billing questions from BigCommerce and Business Central
For support teams who want a customer's store orders and Business Central balance in one answer, just by asking their AI assistant.
On this page
Connector
Connect BigCommerce, pick your AI tool and paste the prompt.
The problem
Store payment status and ERP balance tell different stories
A support agent answering a billing question checks orders in BigCommerce and the balance in Business Central separately. Payment status in the store and the remaining amount in the ERP can disagree, and it is easy to infer one from the other.
Without PopdockAI
- Look up recent orders in BigCommerce
- Find the customer again in Business Central
- Match invoices to orders by number by hand
- Assume a paid order means a paid invoice
With PopdockAI
- Recent orders are read from BigCommerce
- Balance, credit limit and open posted invoices come from Business Central
- Invoices are linked to orders only where numbers match
- Store status and ERP amounts stay separate, and nothing is changed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** For the customer with email `{email}`, show recent BigCommerce orders and what they currently owe in Business Central, looking back `{lookback-days}` days (default 90) in Business Central company `{company}` (omit when the tenant has one company).
**Step 1: Identify the customer in BigCommerce**
Call `bigcommerce-get-customer` with `email` = `{email}`. If none or several match, say so and stop. Then call `bigcommerce-get-order` with `customer-id` = that customer's `id` and `date-created.from` = today minus `{lookback-days}` days.
**Step 2: Find the receivables in Business Central**
Call `business-central-get-customer` with `email` = `{email}`. If none matches, report that the customer has no Business Central account and skip to Step 4. If several match, list them and stop. Take its `customer-number` and call `business-central-get-posted-sales-invoice` with `sell-to-customer-number` = that number and `remaining-amount.min` = 0.01.
**Step 3: Link orders to invoices**
For each open invoice, note whether its `external-document-number` or `order-number` equals one of the BigCommerce order ids.
**Step 4: Report**
* Customer: name, email, Business Central customer-number, `balance`, `balance-due`, `credit-limit`.
* BigCommerce orders in the window: id, date, status, total-including-tax, payment-status.
* Open Business Central invoices: invoice-number, due-date, remaining-amount, linked order id if any.
* One-line summary: total ordered, total outstanding, any order whose payment-status is paid but whose invoice is still open.
**Rules & Guidelines:**
* Tools whose names start with bigcommerce- are on the bigcommerce server; tools whose names start with business-central- are on the business-central server. Both must be connected.
* Read-only: do not call any `-add`, `-update`, `-delete`, `-create` tool on either server.
**Validation:**
* If balance-due is greater than credit-limit and credit-limit is above zero, flag it.
* Do not infer payment from order status alone; use payment-status for BigCommerce and remaining-amount for Business Central.Who it's for
One answer, three teams that use it
Support agents
Answer what do I owe questions correctly
Open invoices and recent orders sit together, so you can explain a balance without guessing.
What does jo@contoso.com owe in Business Central, and which BigCommerce orders are those invoices for?
Accounts receivable
Find paid orders with open invoices
Flags such as a paid store order with an open ERP invoice point to items that need posting.
For lee@fabrikam.com, are there BigCommerce orders marked paid that still have open invoices in Business Central?
Credit controllers
See who is over their credit limit
Balances over the limit are flagged next to new orders, before more goods ship.
Is dana@northwindtraders.com over her Business Central credit limit given her recent BigCommerce orders?
How it works
What PopdockAI does when you ask
You give a customer email and your AI assistant reads both systems for that customer. It never infers payment from one side and stops if a match is missing or unclear.
01
Ask
You give the customer email, a lookback and the company if needed.
02
Orders
It finds the BigCommerce customer and reads recent orders.
03
Receivables
It finds the Business Central customer and open posted invoices.
04
Report
You get balances, linked invoices and flags such as paid orders with open invoices.
What PopdockAI provides
The tools behind the answer
Ready made tools for BigCommerce and one secure connection to your AI tool. No code, no exports.
bigcommerce-get-customer
bigcommerce-get-order
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
Billing questions answered from both systems at once
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)
