Create a new tax
Taxes
Create a new tax
Creates a new tax rate that can be applied to products, invoices, and payment links.
Use Cases
- Set up sales tax for different regions
- Create VAT rates for international customers
- Configure state and local tax rates
- Manage tax compliance requirements
Example: Create Basic Sales Tax
{
"name": "Sales Tax",
"description": "Standard sales tax for retail transactions",
"percentage": 8.5,
"active": true
}
Required Fields
name: Tax name for identification (1-100 characters)percentage: Tax rate percentage (0-100)
Optional Fields
description: Explanation of what this tax covers (max 255 characters)active: Whether this tax is currently active (default: true)appIds: Array of app IDs where this tax should be available
POST
Create a new tax
Authorizations
Your secret API key. Keep this secure and never expose it in client-side code.
Body
application/json
Tax creation data
Tax name. Used to identify and reference this tax rate.
Required string length:
1 - 100Example:
"Sales Tax"
Tax percentage rate. Must be between 0 and 100.
Required range:
0 <= x <= 100Example:
8.5
Optional description explaining what this tax covers.
Maximum string length:
255Example:
"Standard sales tax for retail transactions"
Whether this tax is currently active and can be applied.
Example:
true
Array of app IDs where this tax should be available. If not provided, tax will be available for the current app.
Example:
Response
Tax created successfully
