/sherweb:billingfrom sherweb
Retrieves Sherweb distributor billing data including charge types, pricing breakdowns, deductions, fees, taxes, and MSP margin calculations. Cannot retrieve billing periods or invoices.
Ships in sherweb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Billing in Sherweb represents the financial data flowing from the distributor to the service provider (MSP). When Sherweb provisions or manages cloud subscriptions on behalf of an MSP's customers, it generates payable charges dated within a billing period. Each charge includes detailed pricing breakdown with list prices, net prices, proration, deductions (promotional and performance), fees, and taxes. Understanding Sherweb billing data is critical for MSPs to calculate margins, reconcile costs, and ensure accurate client billing. Note that the tool surface reaches charges, not periods and not invoices — see What this plugin cannot retrieve.
qbo-invoices,
xero-invoices, autotask-billing, or halopsa-invoices. Getting the
direction wrong inverts every margin calculation.pax8-invoices.shared-skills-billing-reconciliation.qbo-reports or xero-reports; see
sherweb-customers for what Sherweb's own AR data covers.| Tool | Description | Key Parameters |
|---|---|---|
sherweb_billing_payable_charges | Get payable charges for a date range | billingCycleType (OneTime|Monthly|Yearly), periodFrom, periodTo, page, pageSize |
sherweb_billing_charge_details | Get detailed breakdown of a specific charge | chargeId (required) |
Two capabilities that earlier revisions of this skill described do not exist on the shipped server. Do not substitute a near-miss for either.
periodFrom/periodTo on
sherweb_billing_payable_charges; you cannot ask the server which periods
exist. If an operator says "the latest period", resolve that from the
calendar and the MSP's own billing cycle, then pass explicit dates — never
guess a billingPeriodId, which is not a parameter of any tool here.sherweb_billing_charge_details returns the line items of a single
charge by charge ID, and sherweb_customers_accounts_receivable returns a
customer's outstanding balance and aging. Neither is an invoice. When an
operator asks for a Sherweb invoice, say so plainly and offer charge-level
reconciliation or the AR balance instead. Invoice documents live in the
Sherweb partner portal.Call sherweb_billing_payable_charges with an explicit date range:
periodFrom / periodTo: ISO 8601 dates bounding the window
(e.g. 2026-02-01 to 2026-02-28). You choose these; there is no period
list to pick from.billingCycleType: OneTime, Monthly, or Yearly. If you call the
tool with none of billingCycleType, periodFrom, or periodTo, the
server elicits the cycle type from the caller before proceeding.page (1-based) and pageSize for large result setsExample: Get monthly recurring charges for February 2026:
sherweb_billing_payable_charges with billingCycleType=Monthly,
periodFrom=2026-02-01, periodTo=2026-02-28, pageSize=100Call sherweb_billing_charge_details with the chargeId of a charge returned
by sherweb_billing_payable_charges to see its line items, pricing tiers,
deductions, fees, and tax.
Sherweb categorizes charges into three types:
| Charge Type | Description | When Generated |
|---|---|---|
Setup | One-time provisioning or activation fees | When a new subscription is created |
Recurring | Ongoing subscription charges | Each billing cycle (monthly/yearly) |
Usage | Consumption-based charges (e.g., Azure metered) | Based on actual usage during the period |
| Cycle | Description | Charge Frequency |
|---|---|---|
OneTime | Single charge, no recurrence | Once at setup |
Monthly | Charged every month | Monthly billing period |
Yearly | Charged annually | Annual billing period |
Every charge in Sherweb includes a detailed pricing structure:
| Field | Type | Description |
|---|---|---|
listPrice | decimal | Vendor's published list price per unit |
netPrice | decimal | Partner's net price after distributor discounts |
quantity | integer | Number of units (seats, licenses, etc.) |
prorated | boolean | Whether the charge is prorated for a partial period |
proratedDays | integer | Number of days in the prorated period |
subTotal | decimal | Calculated subtotal before deductions (netPrice x quantity) |
Sherweb applies deductions to reduce the partner's cost. Deductions come in three types:
| Deduction Type | Description | Calculation |
|---|---|---|
PromotionalMoney | Fixed dollar amount promotional discount | Subtracted from subTotal |
PromotionalPercentage | Percentage-based promotional discount | Percentage off subTotal |
PerformancePercentage | Performance-based rebate for hitting volume targets | Percentage off subTotal |
After deductions, additional line items may apply:
| Item | Description |
|---|---|
fees | Administrative or platform fees added by Sherweb |
taxes | Applicable sales tax, GST, HST, or VAT |
total | Final amount payable (subTotal - deductions + fees + taxes) |
To calculate your MSP margin on a Sherweb charge:
MSP Cost = charge.total (what you pay Sherweb)
Client Price = your retail price to the customer
Margin = Client Price - MSP Cost
Margin % = (Margin / Client Price) * 100
Tips for margin analysis:
listPrice vs netPrice to see your distributor discount| Field | Type | Description |
|---|---|---|
id | string | Charge unique identifier |
customerId | string | Customer the charge belongs to |
customerName | string | Customer display name |
subscriptionId | string | Associated subscription |
productName | string | Product or SKU name |
chargeType | string | Setup, Recurring, or Usage |
billingCycle | string | OneTime, Monthly, or Yearly |
listPrice | decimal | Vendor list price per unit |
netPrice | decimal | Partner net price per unit |
quantity | integer | Number of units |
prorated | boolean | Whether charge is prorated |
proratedDays | integer | Days in prorated period |
subTotal | decimal | Subtotal before deductions |
deductions | array | List of applied deductions |
fees | decimal | Additional fees |
taxes | decimal | Tax amount |
total | decimal | Final payable amount |
No invoice fields are documented here because no tool on this server returns an invoice. See What this plugin cannot retrieve, above.
sherweb_billing_payable_charges with periodFrom and periodTo set
to that window and billingCycleType set to the cycle you are reconciling,
paginating through all resultscustomerId to see per-customer totalstotal field across all chargesdeductions arraysInvoice retrieval is not available through this plugin — see What this plugin cannot retrieve. Verify at the charge level instead:
sherweb_billing_payable_charges for the window under reviewsherweb_billing_charge_details with
its chargeId to see the line items, deductions, fees, and taxsherweb_billing_payable_charges
once per month, with periodFrom/periodTo bounding each month explicitlyPayable Charge:
{
"id": "chg-2026-02-001",
"customerId": "cust-abc-123",
"customerName": "Acme Corporation",
"subscriptionId": "sub-def-456",
"productName": "Microsoft 365 Business Premium",
"chargeType": "Recurring",
"billingCycle": "Monthly",
"listPrice": 22.00,
"netPrice": 17.10,
"quantity": 25,
"prorated": false,
"proratedDays": null,
"subTotal": 427.50,
"deductions": [
{
"type": "PerformancePercentage",
"description": "Volume rebate - Gold tier",
"percentage": 3.0,
"amount": 12.83
}
],
"fees": 0.00,
"taxes": 33.17,
"total": 447.84
}
| Error | Cause | Resolution |
|---|---|---|
| No charges found | The periodFrom/periodTo window contains no charges, or the wrong billingCycleType was requested | Widen the date range and re-check the cycle type. There is no period list to validate against — the window is whatever you passed |
| Charge details unavailable | Charge ID does not exist | Verify the charge ID from the sherweb_billing_payable_charges result |
| Authentication error | Expired or invalid token | Re-authenticate using OAuth 2.0 client credentials flow |
What SKILL.md sets; muted values are Claude Code's defaults
When reviewing Sherweb payable charges, costs, or MSP margins — or when asked for a Sherweb invoice, which this plugin cannot retrieve. Use when: sherweb billing, sherweb invoice, sherweb charges, sherweb payable, sherweb pricing, sherweb deductions, sherweb fees, sherweb taxes, sherweb margin, sherweb cost, sherweb billing period, sherweb recurring, or sherweb prorated.
Three short reads, in order
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin sherweb4 skills in this plugin
/api-patternsSherweb API PatternsSherweb Partner API fundamentals: OAuth 2.0 client-credentials auth, token caching, subscription-key header, scopes and base URLs, endpoint and MCP tool catalog, page-based pagination, Accept-Language localization, rate limits, and error codes.
/customersSherweb CustomersSherweb customer records: the distributor > service provider > customer hierarchy and its API scoping consequences, customer lifecycle stages, core address and contact fields, accounts-receivable data with aging buckets, and cross-referencing customers with PSA, subscription, and billing data.
/subscriptionsSherweb SubscriptionsSherweb subscription management: the subscription lifecycle and its states, seat/license quantity rules (absolute values, minimums, proration, commitment restrictions), the quantity-change workflow, subscription and change-response fields, and state-transition errors.
Other plugins' skills for the same job