Cross-Vendor Billing Reconciliation — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Cross-Vendor Billing Reconciliation (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
MSPs purchase cloud subscriptions through distributors like Pax8 and resell them to clients, billing through an accounting platform such as Xero or QuickBooks Online. Revenue leakage occurs when active subscriptions are not reflected on client invoices -- a common problem as seat counts change, new products are provisioned, or billing staff miss updates. This skill teaches Claude how to systematically compare Pax8 subscription data against accounting invoices to identify billing gaps, quantity mismatches, price discrepancies, and margin erosion.
The reconciliation answers one fundamental question: "Is every active Pax8 subscription being billed to the correct client at the correct quantity and price?"
This is a shared skill: it owns the comparison across two platforms. Anything that lives inside one platform belongs to that platform's skill.
pax8-subscriptions, pax8-invoices, sherweb-subscriptions, or sherweb-billing.
qbo-invoices, qbo-reports, xero-invoices, or xero-reports.
against a single system, not a reconciliation; use qbo-reports or xero-reports for the aged-receivables view.
and mispriced subscriptions. Issuing the corrected invoice is a write against the accounting platform, and changing a seat count is a write against the marketplace. Hand off; do not let one analysis run make both kinds of change.
Fetch all active subscriptions from Pax8, grouped by company. Each subscription includes product name, quantity (seat count), unit price, billing term, and status.
GET /v1/subscriptions?status=Active&page=0&size=200
Authorization: Bearer YOUR_TOKENFor a specific company:
GET /v1/subscriptions?companyId={companyId}&status=Active&page=0&size=200Key fields to extract per subscription:
companyId -- resolve to company name via /v1/companies/{companyId}productId -- resolve to product name via /v1/products/{productId}quantity -- number of seats/licensesprice -- unit price (your cost from Pax8)billingTerm -- Monthly or AnnualstartDate / endDate -- subscription periodstatus -- confirm ActiveBuild a subscription ledger:
Pax8 Subscription Ledger
────────────────────────────────────────────────
Company Product Qty Unit Price Monthly Total
Acme Corp M365 Business Premium 25 $17.10 $427.50
Acme Corp Azure AD P1 25 $7.50 $187.50
Acme Corp Acronis Backup 500GB 1 $85.00 $85.00
Beta LLC M365 Business Basic 10 $7.20 $72.00
Beta LLC SentinelOne Complete 15 $4.00 $60.00
────────────────────────────────────────────────#### Xero
Fetch sales invoices (ACCREC) for the billing period:
curl -s -X GET "https://api.xero.com/api.xro/2.0/Invoices?where=Type==%22ACCREC%22&&Date>=DateTime(2026,2,1)&&Date<=DateTime(2026,2,28)" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-H "xero-tenant-id: ${XERO_TENANT_ID}" \
-H "Accept: application/json"For a specific contact (client):
curl -s -X GET "https://api.xero.com/api.xro/2.0/Invoices?where=Contact.ContactID==guid(%22${CONTACT_ID}%22)&&Type==%22ACCREC%22&&Date>=DateTime(2026,2,1)" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-H "xero-tenant-id: ${XERO_TENANT_ID}" \
-H "Accept: application/json"Key fields: Contact.Name, LineItems[].Description, LineItems[].Quantity, LineItems[].UnitAmount, LineItems[].LineAmount, Invoice.Status, Invoice.Date
#### QuickBooks Online
Query invoices for the billing period:
SELECT * FROM Invoice WHERE TxnDate >= '2026-02-01' AND TxnDate <= '2026-02-28' ORDERBY TxnDate DESCFor a specific customer:
SELECT * FROM Invoice WHERE CustomerRef = '123' AND TxnDate >= '2026-02-01'Key fields: CustomerRef.name, Line[].Description, Line[].SalesItemLineDetail.Qty, Line[].SalesItemLineDetail.UnitPrice, Line[].Amount, Balance, TxnDate
For each active Pax8 subscription, search the corresponding client's invoices for a matching line item. Matching uses a combination of product name, quantity, and amount (see Matching Strategy below).
Matching priority:
Any active Pax8 subscription that cannot be matched to an invoice line item is a billing gap. These represent potential revenue leakage.
Flag as CRITICAL:
When a match is found but the numbers do not align:
Calculate margin:
Margin % = ((Sell Price - Pax8 Cost) / Sell Price) x 100
Example:
Pax8 cost: $17.10/seat
Invoice: $22.00/seat
Margin: 22.3%
If target margin is 25%, flag as MEDIUM (margin erosion)Compile all findings into a structured report grouped by severity.
Matching Pax8 subscriptions to accounting line items is the core challenge. Product names are rarely identical across systems because MSPs abbreviate, customize, or bundle products on invoices.
| Pax8 Product Name | Possible Invoice Line Description |
|---|---|
| Microsoft 365 Business Premium | M365 Bus Premium, Microsoft 365 BP, M365 Business Premium Licenses |
| Microsoft 365 Business Basic | M365 Basic, Microsoft 365 BB, O365 Business Basic |
| SentinelOne Singularity Complete | SentinelOne, S1 Complete, Endpoint Protection |
| Acronis Cyber Protect Cloud | Acronis Backup, Cloud Backup, Acronis BDR |
| Microsoft Azure AD P1 | Azure AD Premium, Entra ID P1, AAD P1 |
| Datto SaaS Protection | Datto Backupify, SaaS Backup, M365 Email Backup |
Matching rules (apply in order):
The company name is the cross-vendor correlation key:
Contact.Name and Contact.FirstName/Contact.LastName, or QBO Customer.CompanyName vs Customer.DisplayNameInvoice amounts may differ slightly from Pax8 amounts due to rounding, tax handling, or currency conversion:
Pax8 quantity x sell price (where sell price = Pax8 cost + margin)Quantity should match exactly between Pax8 subscription and invoice line item:
The company name is the cross-vendor correlation key; price on a Pax8 subscription is your cost, while the accounting platforms' unit price is the sell price — the two are never the same field.
See references/field-mappings.md for the complete Pax8/Xero/QBO field correspondence table and the API call to use at each reconciliation step.
Each finding is assigned a severity level to help MSPs prioritize action:
| Severity | Category | Description | Example |
|---|---|---|---|
| CRITICAL | Unbilled Subscription | Active Pax8 subscription with no corresponding invoice line item. Direct revenue leakage. | M365 Business Premium (25 seats) active in Pax8, no line item on Acme Corp's February invoice |
| HIGH | Quantity Mismatch >10% | Seat count on invoice differs from Pax8 by more than 10%. Significant overbilling or underbilling. | Pax8 shows 25 seats, invoice shows 20 seats (5 unbilled = $110/month lost) |
| MEDIUM | Price Discrepancy >5% | Unit sell price does not maintain target margin over Pax8 cost. Margin erosion. | Pax8 cost $17.10, invoice price $18.00 (5.3% margin vs 25% target) |
| LOW | Naming Mismatch | Product matched by amount/quantity but name does not align. Needs manual review to confirm correct mapping. | Pax8: "Microsoft 365 Business Premium", Invoice: "Cloud Email Licenses" |
| INFO | Cancelled Still Billed | Pax8 subscription is Cancelled or PendingCancel but invoice line item still exists. Client may be overbilled. | SentinelOne cancelled in Pax8 on Feb 10, still on February invoice |
| Severity | Action | Timeline |
|---|---|---|
| CRITICAL | Create missing invoice line or investigate why unbilled | Same day |
| HIGH | Verify correct quantity and adjust invoice | Within 2 business days |
| MEDIUM | Review pricing structure and adjust if needed | Within 1 week |
| LOW | Confirm product mapping is correct, update mapping table | Next billing cycle |
| INFO | Remove cancelled product from invoice template | Next billing cycle |
Group findings by severity, lead with the CRITICAL total in estimated monthly revenue leakage, and cite the invoice number and line number for every matched discrepancy so the fix is actionable without a second lookup.
See references/report-format.md for the full report template.
Understanding how MSPs typically structure their billing helps with matching:
/v1/subscriptions/{id}/usage-summaries) provide actual consumptioncurrentCharges against invoice line amountEach data source is optional. The reconciliation should always produce a report, even with partial data:
| Missing Source | Impact | Handling |
|---|---|---|
| Xero unavailable | Cannot compare against Xero invoices | Use QBO if available, otherwise report Pax8 subscription ledger only |
| QBO unavailable | Cannot compare against QBO invoices | Use Xero if available, otherwise report Pax8 subscription ledger only |
| Both accounting platforms unavailable | No invoice data to compare | Output Pax8 subscription ledger as a standalone cost report |
| Pax8 unavailable | No subscription data | Cannot perform reconciliation -- inform user |
| Company not found in accounting | No invoices for that client | Flag as CRITICAL -- client may be entirely unbilled |
| Product name cannot be matched | Cannot confirm invoice line | Flag as LOW -- needs manual mapping review |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.