/
/
Check a Rillet invoice's tax against AvaTax in one question
For finance analysts who want to confirm that Rillet and Avalara AvaTax agree on an invoice's tax, just by asking.
On this page
Connector
Connect Rillet, pick your AI tool and paste the prompt.
The problem
Checking invoice tax means two systems open side by side
To confirm an invoice carries the right tax, an analyst opens it in Rillet and the matching transaction in Avalara AvaTax and compares them line by line. A difference is easy to miss, or to chase in the wrong record.
Without PopdockAI
- Find the invoice in Rillet
- Search AvaTax for the matching transaction
- Compare tax, taxable amount and date by eye
- Chase a mismatch in the wrong record
With PopdockAI
- The invoice and its AvaTax transaction found together
- A stop when nothing or several records match
- Tax, taxable amount and date compared, currency checked first
- Nothing written to Rillet or AvaTax
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 Rillet invoice numbered `{invoice-number}`, compare its tax and totals with the AvaTax transaction recorded for it (AvaTax company `{company}`, default: the only or default company).
**Step 1: Read the invoice from Rillet**
Call `rillet-get-invoices` and pick the row whose invoice-number equals `{invoice-number}`. The tool has no filters, so match on the returned rows. If no row matches, report that the invoice is not in Rillet and stop. Keep invoice-number, customer-id, invoice-date, subtotal, tax-amount, total, status and purchase-order-number.
**Step 2: Name the customer**
Call `rillet-get-customers` and find the row whose customer-id equals the invoice's customer-id. Keep its name.
**Step 3: Find the AvaTax transaction**
Call `avalara-avatax-get-transaction` with `code` set to `{invoice-number}` (and `company` if given). If nothing comes back, call it again with `purchase-order-number` set to the invoice's purchase-order-number when there is one, then with a `date.from` and `date.to` window of the invoice date and the customer's AvaTax customer-code if you can find it with `avalara-avatax-get-customer` using `name.contains`. If still nothing, report the invoice as present in Rillet and absent from AvaTax, and stop. If several transactions match, list them and stop.
**Step 4: Compare**
Compare Rillet tax-amount with AvaTax total-tax, Rillet subtotal with AvaTax total-taxable plus total-exempt, and the invoice date with the AvaTax date. Treat differences under 0.01 as equal. If the AvaTax document-type is not a sales invoice, say so.
**Step 5: Report**
Give a short table: field, Rillet value, AvaTax value, difference. End with one verdict line: Matches, Tax differs, Amount differs or Not found.
**Rules & Guidelines:**
* Tools whose names start with avalara-avatax are on the avalara-avatax server; tools whose names start with rillet are on the rillet server. Both servers must be connected.
* This prompt is read-only. Never call any AvaTax action tool (for example `avalara-avatax-transaction-create`, `avalara-avatax-transaction-adjust`, `avalara-avatax-transaction-void`, `avalara-avatax-transaction-commit`) or any Rillet add, update, apply or set tool (for example `rillet-add-invoice`, `rillet-update-invoice`, `rillet-add-credit-memo`).
* Report what the two systems show. Do not present the result as a filed tax return or as tax advice.
**Validation:**
* If either system returns nothing, say which one and stop.
* If the currencies differ (Rillet currency against AvaTax currency-code), do not compare amounts; report the mismatch.Who it's for
One answer, three teams that use it
Tax analysts
Confirm an invoice was taxed correctly
Get the tax, taxable amount and date compared in one answer instead of two open screens.
Does the tax on Rillet invoice INV-2207 for Contoso match what Avalara AvaTax recorded?
Billing specialists
Answer customer tax questions with facts
When a customer queries the tax on an invoice, check it against AvaTax before you reply.
Fabrikam says invoice INV-3310 was overtaxed. Compare it with the AvaTax transaction.
Controllers
Spot tax mismatches before they reach a filing
Check the invoices you are unsure of and see exactly where Rillet and AvaTax disagree.
Compare Rillet invoice INV-1188 with Avalara AvaTax and list any difference in tax or date.
How it works
What PopdockAI does when you ask
You name the invoice and your AI assistant finds it in Rillet and in Avalara AvaTax and compares them. It only reads, and it stops rather than guess when the match is unclear.
01
Ask
You name the Rillet invoice.
02
Match
It finds the invoice and its AvaTax transaction, and stops if there is no match or several.
03
Compare
It checks currency, then compares tax, taxable amount and date.
04
Report
You get the differences, or a confirmation that they agree.
What PopdockAI provides
The tools behind the answer
Ready made tools for Rillet and one secure connection to your AI tool. No code, no exports.
rillet-get-invoices
rillet-get-customers
avalara-avatax-get-transaction
avalara-avatax-get-customer
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
Invoice tax checked against AvaTax in one answer
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)
