Skip to main content
If you use an AI coding agent (such as Claude Code or Claude in your IDE) to build your Numeral integration, you can hand it one of the skills below. A skill is a self-contained Markdown file that teaches the agent the calculate → commit → refund lifecycle and the pitfalls that cause duplicate transactions, wrong amounts, or under-collection — so it writes correct integration code on the first try. Each skill is a single, self-contained SKILL.md — it includes a complete, copy-and-adapt reference client in TypeScript.

How to use a skill

Option A — install with the skills CLI (recommended):
This discovers and installs the skills below directly into your agent’s context. Option B — grab the file manually:
  1. Open the raw SKILL.md link below and save it.
  2. Drop it into your project’s .claude/skills/<skill-name>/ directory (or attach it to your Claude conversation).
  3. Ask your agent to build the integration — it will read the skill and follow the patterns automatically.
The skills reference a numeral-api-docs MCP server as the live source of truth for request/response shapes. That tool is optional — if your agent doesn’t have it, the patterns still apply and the agent can verify shapes against this API reference instead.

Integrating the Numeral tax API

The general-purpose integration skill. Use it for any custom checkout, invoicing, B2B quoting tool, in-house subscription billing, or marketplace that calls api.numeralhq.com directly. Covers the full calculate / commit / refund / customer lifecycle, idempotent commits, reference_* ID selection, minor-unit amounts, and the most common integration mistakes.

Get the skill

SKILL.md — includes the full numeral-client.example.ts reference client inline

Integrating Numeral with Stripe Elements

Use this skill when Stripe Elements is in the stack (any of PaymentElement, AddressElement, Subscriptions, or Invoicing). It builds on the same lifecycle but adds the Stripe-specific timing: where the Numeral commit fires for each Stripe flow, the calculation_id-via-metadata handoff between server and webhook, address-change recalculation, and webhook event mapping.

Get the skill

SKILL.md — the full skill; view the reference client in the accordion below