{ //Grab this id from your response to use in the next step "id": "calc_1723161922573fea429d8-f237-41f0-8467-bf860404d5a9", "customer_currency_code": "USD", "expires_at": 1723248322, "line_items": [ { "amount_excluding_tax": 2000, "amount_including_tax": 2165, "product": { "product_tax_code": "GENERAL_MERCHANDISE", "reference_line_item_id": "line_123456789" }, "quantity": 1, "tax_amount": 165, "tax_jurisdictions": [ //This is an in depth breakdown of all applicable taxes { "fee_amount": 0, "jurisdiction_name": "21", "rate_type": "COUNTY SALES TAX", "tax_rate": 0.0025 }, { "fee_amount": 0, "jurisdiction_name": "", "rate_type": "STATE SALES TAX", "tax_rate": 0.06 }, { "fee_amount": 0, "jurisdiction_name": "994", "rate_type": "DISTRICT TAX (TAMC) (SMRT) (MPSF)", "tax_rate": 0.01 }, { "fee_amount": 0, "jurisdiction_name": "21", "rate_type": "LOCAL SALES TAX", "tax_rate": 0.01 } ] } ], "object": "tax.calculation", "tax_included_in_amount": false, "testmode": true, "total_amount_excluding_tax": 2000, "total_amount_including_tax": 2165, "total_tax_amount": 165 //Total amount of tax to charge on this calculation}
You can also find the complete calculation request and response in your developer dashboard under the Logs tab. If your calculation isn’t showing up, make sure Test Mode in the top right is toggled on.
Once you’ve queried a calculation for tax information, you can record that calculation as a successful and completed sale.
In production, Numeral will use these recorded transactions complete your tax filings and monitor your nexus exposure.
Add your API key to the below snippet
Replace <your_calculation_id> with the calculation id you grabbed in step 2.
You’ll then be able to see the transaction populate in the dashboard’s Transactions tab. Make sure your filters and Test Mode toggle are set correctly.
With that, you’ve walked through the core sales flow to collect and remit sales tax with Numeral.
When you’re ready to integrate further, check out our integration guides to learn more about creating products, managing exempt customers, processing refunds, and more.