Make sure you generate an API key before making any requests. See API Keys for details.
Overview
The Numeral API allows you to calculate and collect sales tax for your business. With our API, you can:- Get tax information for products and addresses
- Record completed sales
- Handle refunds
- Manage products and customers
- Support business-to-business (B2B) transactions
- Configure automatic tax collection behavior
Authentication
All API endpoints are authenticated using Bearer tokens. Include your API key in the Authorization header of all requests:Base URL
All API requests should be made to:API Version
This documentation covers the2025-05-12 API version. You must explicitly specify this version in your API requests by including the X-API-Version header:
New Features in 2025-05-12
Customer Types
Support for business-to-business (B2B) transactions with thecustomer.type field:
BUSINESS- Business customer (requires tax IDs)CONSUMER- Consumer customer (default)
Tax IDs
Whencustomer.type is set to BUSINESS, you must provide tax identification:
- Supports VAT and GST tax IDs
- Required for
BUSINESStype customers - Not allowed for
CONSUMERtype customers
Automatic Tax
Control over tax collection and registration with theorder_details.automatic_tax field:
auto- Return tax rates everywhere you have an active registrationdisabled- Always return 0 tax regardless of thresholds