Understanding Integration Types
Every Kintsugi integration falls into one of three categories based on your business requirements:Tax Calculation Only
Calculate sales tax during checkout or billing. Use
/v1/tax/estimate to get tax amounts before payment processing.Transaction Sync Only
Sync completed transactions for compliance tracking. Use
/v1/transactions to record sales for nexus determination and filing preparation.Both
Calculate tax at checkout and sync transactions after completion. This provides real-time tax rates and maintains compliance records.
Choosing Your Integration Pattern
Your choice depends on where you are in your business lifecycle and what compliance obligations you face.Tax Calculation Only
This pattern suits teams who need accurate tax rates during checkout but handle compliance reporting through other systems. You’ll use:POST /v1/productsto create product records with tax classificationsPOST /v1/customers(optional) if you sell to exempt entities like nonprofits or resellersPOST /v1/tax/estimateto calculate tax before collecting payment
When to use this pattern: You’re replacing another tax calculation service, your compliance team handles filings separately, or you’re a marketplace platform calculating tax for sellers but not handling their compliance.
Transaction Sync Only
This pattern focuses on compliance tracking without real-time tax calculations. You’ll use:POST /v1/productsto sync your product catalogPOST /v1/customers(optional) if you track exempt customersPOST /v1/transactionsto record completed sales
Both: Tax Calculation and Transaction Sync
Most production integrations use both patterns. Calculate tax during checkout for accurate pricing, then sync the completed transaction for compliance tracking.Historical Transaction Requirements
If you’re building a transaction sync integration or using both patterns, you must send historical transaction data covering the previous full calendar year through today.Why Historical Data Matters
Kintsugi determines nexus liability by analyzing your sales volume and transaction counts across jurisdictions. Economic nexus thresholds (like $100,000 in sales or 200 transactions) are evaluated using either rolling 12-month periods, or full calendar years. Some states, like New York, operate on a unique fiscal year (March 1st through the last day of February). Without historical data, we cannot:- Determine when you crossed nexus thresholds
- Calculate accurate compliance start dates
- Prepare accurate tax filings
- Track nexus status changes over time
What if I don't have historical data?
What if I don't have historical data?
If you cannot provide a full year of historical transactions, Kintsugi will still track your future transactions and calculate nexus going forward. However, you may need to manually set registration effective dates and nexus status based on your own records. Contact our support team to discuss your specific situation.
What date range should I sync?
What date range should I sync?
Sync transactions from January 1st of the previous calendar year through today. For example, if you’re integrating in March 2025, sync transactions from January 1, 2024 through March 2025. This ensures we have complete data for nexus calculations.
Do I need to sync transactions for tax calculation only?
Do I need to sync transactions for tax calculation only?
No. Tax calculation only integrations don’t require historical data. The
/v1/tax/estimate endpoint calculates tax based on current nexus status and doesn’t rely on historical transaction records.When to Use Each Endpoint
Understanding when to call each endpoint in your workflow prevents unnecessary API calls and ensures data consistency.Tax Estimate Endpoint (POST /v1/tax/estimate)
Call this endpoint during your checkout or billing flow, before payment is collected. Typical integration points include:
- Shopping cart pages: When customers review their order before payment
- Checkout flows: After address entry but before payment processing
- Subscription billing: When calculating tax for recurring charges
- Quote generation: When providing estimates to customers
Transaction Sync Endpoint (POST /v1/transactions)
Call this endpoint after a sale is completed and payment is confirmed. Typical integration points include:
- Order confirmation: After payment succeeds and order is finalized
- Invoice creation: When generating invoices for completed sales
- Daily batch jobs: Syncing transactions from your order management system
- Webhook handlers: Processing order completion events from e-commerce platforms
status: "COMMITTED" to ensure they’re included in compliance calculations.
Integration Setup Workflow
Your setup process depends on your integration type, but follows a consistent pattern.Step 1: Create Product Records
All integration types start with product records. Products define tax classifications, which determine whether items are taxable in specific jurisdictions. Create products before calculating tax or syncing transactions. See the Product & Customer Records guide for detailed product creation workflows.Step 2: Create Customer Records (If Needed)
Customer records are only required if you sell to exempt entities like nonprofits, resellers, or government agencies. If all your customers are regular consumers, you can skip customer creation and pass customer data directly in transaction requests. See the Product & Customer Records guide for when and how to create customer records.Step 3: Historical Transaction Sync (Transaction Sync or Both)
If you’re using transaction sync, sync historical transactions from the previous calendar year. This is a one-time bulk operation that establishes your baseline for nexus tracking. See the Syncing Transaction Records guide for best practices on bulk syncing historical data.Step 4: Real-Time Integration
Once setup is complete, integrate the appropriate endpoints into your live workflows:- Tax calculation only: Integrate
/v1/tax/estimateinto checkout - Transaction sync only: Integrate
/v1/transactionsinto order completion flows - Both: Integrate both endpoints at their respective points in your workflow
Common Integration Patterns
Different business models require different integration approaches.E-Commerce Platforms
Most e-commerce platforms need both tax calculation and transaction sync. Calculate tax during checkout to show accurate totals, then sync completed orders for compliance.Subscription Billing Platforms
Subscription platforms typically need tax calculation during subscription creation and renewal, plus transaction sync for compliance. Calculate tax when subscriptions are created or renewed, then sync transactions monthly or per billing cycle.Marketplace Platforms
Marketplace platforms often calculate tax for sellers but don’t handle seller compliance. Use tax calculation only, letting sellers handle their own transaction sync if needed.Accounting System Integrations
Accounting system integrations usually focus on transaction sync for compliance tracking. Sync invoices and completed sales from your accounting system without real-time tax calculations.Next Steps
Once you’ve determined your integration type:- Set up authentication: Get your API key and organization ID from the Kintsugi dashboard. See Creating and Managing API Keys for details.
- Create product records: Start with your product catalog. See the Product & Customer Records guide for product creation workflows.
- Plan your data sync: If you need transaction sync, plan your historical data import. See the Syncing Transaction Records guide for bulk import strategies.
- Build your integration: Integrate the appropriate endpoints into your workflows following the patterns outlined in this guide.