Creating Orders
TaxCloud’s Sales Tax API allows you to upload completed orders individually, making it well-suited for syncing data from external systems, migrating historical records, or automating post-sale compliance tasks. Each API request creates one order at a time, giving you precise control over batching, error handling, and tax reporting accuracy.
The Create Order endpoint creates one order per request. To upload multiple orders, implement client-side batching logic and process each order. You are also allowed to make multiple calls at once.
Required Fields
Each uploaded order must include:
You may also include:
- exemptFromFiling: Set to true if the order has already been filed elsewhere and should be excluded from any reports used for filing.
Sample Request (Python)
This Python request sends a single completed order to TaxCloud’s API. If successful, you receive a confirmation message along with the order ID. You can then verify the order by fetching it via the get-order endpoint.
Best Practices for Managing Uploaded Orders
- Implement Client-Side Batching: Each request creates only one order. To improve throughput, send multiple requests in parallel and rely on TaxCloud’s built-in rate limiting to manage concurrency.
- Mark Orders as Exempt When Necessary: If you’re uploading orders that were filed in another system, always set exemptFromFiling to true. This prevents duplicate filing by TaxCloud.
- Avoid Recalculating Tax for Uploaded Orders: The create-order endpoint assumes you’ve already calculated and applied tax. If you’re not sure how to calculate tax correctly before uploading, refer to our Handling Taxability and Exemptions sections.
Next Steps
Once you’ve successfully uploaded an order, the next step is to ensure that the tax treatment of each item is accurate and compliant. Continue to the Handle Taxability in Uploaded Orders section.