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 download is a folder containing the skill (SKILL.md) plus a complete, copy-and-adapt reference client in TypeScript.

How to use a skill

  1. Download and unzip the skill below.
  2. Drop the unzipped folder into your project’s .claude/skills/ directory (or attach the SKILL.md 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.

Download skill

integrating-numeral-tax-api.zip — SKILL.md + numeral-client.example.ts
Prefer the raw files? Grab SKILL.md and numeral-client.example.ts individually.

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.

Download skill

integrating-numeral-with-stripe-elements.zip — SKILL.md + stripe-elements-numeral.example.ts
Prefer the raw files? Grab SKILL.md and stripe-elements-numeral.example.ts individually.