dataSights

Cin7 Core, Shopify and Xero → Claude: reconciliation and an ops command centre

Last updated

Cin7 Core has a rich API and around 130 tables behind it, which is why a "simple" report is anything but. Teams run Sales Order Details to get margin and Sales Invoice and Credit Notes to get sales-level detail, then stitch the two together in Excel. Our Sales Invoice and Credit Note with COGS view does both in one: full history, every line, cost of goods sold per line, credit notes, additional charges, every attribute available, and customisable. Connect Excel, Power BI or Claude to that one view and most teams have most of what they need.

Then the interesting part starts, because your Xero and Shopify data is in the same database.

See it live

The Inventory Ops Command Centre is a working demo on a fictional three-entity apparel group: Cin7 Core, two Shopify storefronts, three Xeros, two currencies. It was built with Lovable over the dataSights MCP, reads from the consolidated database, and posts corrections back to Xero from the page.

cin7core-shopify-xero-command-center.datasights.co

To be clear about what this is: it is not a dataSights feature. It is an example of what customers are actually building on their own data, and a showcase of what the data layer makes possible. Every check is coded against the data and drills to the source document. The same approach works for any inventory or e-commerce system we connect, not just Cin7 Core and Shopify. Tailor it to your own scenario; the joins are the same.

What it checks

Money leaking

  • Reconciliation exceptions across all three systems: missing Cin7 invoice (Shopify order with no Cin7 sale), order value mismatch, not posted to Xero, Xero tax mismatch, refund without credit note, stock shrinkage valued at cost. Each row shows dollars at risk and a button to create the missing invoice, credit note or posting in Xero

  • Shipped, not invoiced: raise the invoices before the revenue slips

  • Invoiced, not shipped: dispatch, or hold the revenue until you do

Stock and supply

  • Cin7 stock on hand versus Xero stock: the question inventory finance teams ask most, with drill-down to the account transactions behind any difference and the pending adjustments to post

  • Purchase orders ordered, not received: what is overdue, by supplier

Data quality and margin

  • SKUs with $0 cost: revenue with no COGS, so margin is overstated until costs are entered

  • Discounts: what was given away, by rule

  • Returns: rate and reasons

The result is exceptions instead of reports: a short list when something disagrees, and nothing when everything does.

The query centre behind it

The same views answer the everyday questions, saved once: how much did each entity sell this year and at what margin; how is consolidated group revenue trending; what are the top-selling products; which products are running low and need a reorder; what is total exposure across every reconciliation. Built in Claude, verified, saved as views, wrapped as a skill so the warehouse manager or the finance lead asks without a spreadsheet. See Self-service reporting with AI skills.

Why this needs a database, not a connector

An AI pointed at Cin7 Core's API sees one system and has to collate twenty sales tables on the fly. Pointed at Shopify's, it sees another. Every check above spans two or three systems, and only a shared, described data layer answers them in one step. See MCP-to-SQL vs MCP-to-API.

dataSights

Try dataSights free

See how dataSights automates your Xero consolidation and reporting. Start your 14-day free trial, no credit card required.

Start for free