Unit economics by brand with Verimetriq
Send customers, payments, accruals and refunds from the Witstally ledger to Verimetriq per brand: revenue, retention and payback by product.
Verimetriq shows where paying customers come from and how much they bring over time. Witstally already keeps the money side: invoices, acts, payments, refunds and the CRM deals behind them. This integration connects the two. Every day Witstally sends the last 90 days of money to Verimetriq, grouped by brand, so each brand sees its own customers, products and cohorts.
Who can do this. The workspace Owner (the Settings area in Witstally; an admin of each organisation in Verimetriq).
What Verimetriq receives
| From Witstally | To Verimetriq | Notes |
|---|---|---|
| Counterparty with a shared organisation, plus the contacts of its deals | customer | Contacts (email, phone) let Verimetriq stitch the customer to site visits, so the acquisition channel appears without any extra work |
| Posted incoming payment | revenue row payment | one row per project the payment belongs to |
| Posted outgoing payment to a client, return note | refund | amounts stay positive |
| Issued act or invoice | accrual | |
| Witstally subscription invoices and states | payment / subscription | for the witstally brand only |
A project in Witstally maps to a brand (a Verimetriq organisation) and a product code: bots, bm-id, call-id, sms, smtp, chat, rcs, cascade, saas. Money of a project without a product lands in Verimetriq’s “(not assigned)” line, so you still see it.
Step 1. A key per brand in Verimetriq
In Verimetriq switch to the brand’s organisation, open Settings → Data layer → + New key and copy the key (vmq_…). Repeat for every brand. The key is the only thing that ties Witstally data to that organisation.
Step 2. Add the brands and keys in Witstally
Open Settings → Integrations → Verimetriq, press Add brand, enter a code (for example smsbat), a name, and paste the key from step 1. Repeat for every brand. The key is stored encrypted and never shown again, only its last four characters. Until a brand has a key, its data is shown in the preview but not sent.
Step 3. Give the money a project
Money reaches a brand through a project, so first open Projects, pick a project, press Project settings and fill in Brand in Verimetriq and Product. Do it for every project whose money should count.
Then payments and documents need a project. Instead of tagging them one by one, Settings → Integrations → Verimetriq has a “Money without a project” block: posted payments and issued documents from all your workspaces that have no project, grouped by counterparty. Pick a project in the counterparty’s row and press Assign — every payment of that counterparty gets it. The “remember for the counterparty” checkbox makes the counterparty’s new payments pick the project up on their own.
A payment without a project or without a counterparty is not exported.
Stripe payments. If a brand takes money through Stripe, do not wait for the bank statement: in Settings → Integrations → Banks & e-docs → Stripe press “Add Stripe account”, paste a restricted read-only key (Charges, Customers, Balance, Products, Invoices, Subscriptions, Prices, plus Checkout Sessions for one-off payments) and pick a default project. You can add several accounts, one per Stripe account or sub-account. After saving, the account’s Stripe products appear: map each one to a project and every paid invoice is split across projects by its lines. Every payment becomes a posted payment on the customer (matched by e-mail), the Stripe fee a separate expense payment, every refund an outgoing payment to the customer. The import runs daily; “Import now” runs it immediately. Leave Stripe payouts in Wise or the bank without a project, or revenue is counted twice.
Step 4. Preview, then send
Open Settings → Integrations → Verimetriq, choose the period and press Check. You get one row per brand: whether its key is in place, how many customers and money rows would go, the totals per currency, and the first rows exactly as Verimetriq will receive them. When the numbers match your ledger, press Send now. Each brand answers with how many customers and rows it stored.
After the first manual send the daily job is switched on by the Witstally team. Re-sending is safe: a row with the same id replaces the previous one, so corrected days simply overwrite.
Step 5. Check in Verimetriq
Settings → Data layer → “Intake, last 24 h” lists the accepted packages, repeats and refusals with reasons. CRM / Retention → Unit economics shows customers, channels, products and cohorts built from this data.
Attribution for leads
Leads that arrive through the leads API can carry utmSource, utmMedium and utmCampaign. Witstally keeps them on the deal and passes them to Verimetriq as the customer’s source, which is the fallback channel when the visitor could not be matched by cookie.
When numbers differ
- A brand says “no key”: no key has been pasted for it in Settings → Integrations → Verimetriq (step 2).
- The amount is empty or lower than expected: the payments have no project and the workspace is not mapped to a brand (step 3), or the payments are still drafts (only posted payments and issued documents count), or a payment has no counterparty.
- Verimetriq answers 402: the organisation is blocked for billing reasons in Verimetriq.
- Verimetriq answers 400 with
rows[i]: that row is invalid; the message names the field. Check the document’s currency and date.