New CereTax SmartResearch. AI tax research. Cited answers. SmartResearch. Cited answers. SmartResearch. Learn more
You need sandbox access from each vendor and a sample set of your own transactions. Include an ordinary sale, a shipped order, an exempt sale, a voided sale, and several addresses that are hard to match. A match on your sample shows agreement on that sample only.
The checklists apply to any calculation API. The examples come from the CereTax public API documentation. The page does not cover which items are taxable, how a sale is sourced to a jurisdiction, or filing.
A request must tell the API which rules and rates apply, what kind of sale it is, what was sold, and where. Compare each vendor's required fields with the data your system holds.
In CereTax's public documentation, POST /sale takes two required sections, configuration and invoice. The docs say the create-transaction endpoints return an error when a required field is missing.
| Level | Required fields | Notes in the docs |
|---|---|---|
| Configuration | contentYear, contentMonth, calculationType, profileId | Content year and month set the rules and rates used. An invoice dated 2024-04-01 takes 2024 and 04. calculationType is S for sales or P for purchases. |
| Invoice | invoiceDate, businessType, customerType, sellerType, lineItems | The schema defaults businessType to 01 (Retail), customerType to 02 (Business/Commercial), and sellerType to 01 (Physical Nexus in State). |
| Line item | dateOfTransaction, psCode (a product or service code), revenue, units (quantity and type), situs (the transaction addresses) | A psCode identifies the product or service for the line item. The situs section holds the transaction addresses. Revenue is the line total. A negative charge takes a minus sign in the first position. |
Read a vendor's guide pages and its schema side by side. CereTax's Best Practices page marks an invoice number and the psCode field as required. The request schema lists invoiceNumber as optional. It also says psCode does not need to be passed when rules in your profile apply a valid one. Where a guide and a schema differ, ask the vendor which one the API enforces.
In the situs section, the schema's required list names both shipFromAddress and shipToAddress. Its description says to include at least one of shipFromAddress, shipToAddress, orderPlacementAddress, or orderApprovalAddress. The documented example sends only shipToAddress. For any address, CereTax can calculate tax with partial data: at a minimum one of postalCode, latitude and longitude, plusCode, phoneNumber, or country and state (Canada only). With validateAddress set to true, the request needs addressLine1 with city and state, or addressLine1 with postalCode.
The docs also recommend passing as many non-required fields as you can, to take full advantage of the reporting and rules engine. They name Customer Account, custom attributes, Item Number, and a transactionCharges group of fields for shipping, handling, insurance, and miscellaneous charges.
CereTax's documented example request, for an invoice dated April 1, 2024:
{
"configuration": {
"status": "Active",
"contentYear": "2024",
"contentMonth": "04",
"decimals": 2,
"calculationType": "S",
"profileId": "default"
},
"invoice": {
"invoiceDate": "2024-04-01",
"invoiceNumber": "89991",
"invoiceTotalAmount": 110.42,
"customerAccount": "100001",
"businessType": "01",
"customerType": "02",
"sellerType": "01",
"lineItems": [
{
"lineId": "1",
"dateOfTransaction": "2024-04-01",
"psCode": "10010100",
"revenue": 100.42,
"units": {
"quantity": 1,
"type": "01"
},
"transactionCharges": [
{
"shipping": 10,
"handling": 0,
"isMandatory": true,
"freightOnBoard": "D",
"deliveryType": "C"
}
],
"situs": {
"taxSitusRule": "T",
"shipToAddress": {
"addressLine1": "3440 Preston Ridge Rd #430",
"city": "Alpharetta",
"state": "GA",
"postalCode": "30005",
"country": "US",
"validateAddress": true
}
}
}
]
}
}A usable response gives the tax for each invoice and line. It lists one entry for each tax, with its authority, rate, and base. It also returns the exempt amount, a jurisdiction code, a validity flag, error detail, and a transaction ID.
| Look for | CereTax response field |
|---|---|
| Invoice and line totals | totalTaxInvoice, totalTaxLine |
| One entry for each tax | taxes array: tax, description, taxAuthorityId, taxAuthorityName, taxable |
| Level and type of each tax | taxLevel, taxLevelDesc, taxType, taxTypeDesc, taxTypeClass, taxTypeClassDesc |
| Rate and base | rate, calculationBaseAmt, originalCalcBase, percentTaxable, taxOnTax |
| Exempt and nontaxable amounts | exemptAmount, nonTaxableAmount |
| Jurisdiction | geocode group: geocode, country, county, local, state, district |
| Line validity and errors | valid flag; errorMessages with a 4-digit code, type, message, summary, and an errors group naming the fields that triggered it |
| Transaction status and ID | status.currentStatus, ksuid, systemTraceAuditNumber |
For one line, the documented example returns three tax entries on a calculation base of 110.42. The state sales tax is 4.42 at rate 0.04. The district sales tax is 0.83 at rate 0.0075. The county sales tax is 3.31 at rate 0.03. They total 8.56. These are documentation sample values for an invoice dated April 1, 2024.
Run the same sample set against each vendor in its sandbox. The two public sources below give you comparison points. A match on your sample addresses shows agreement on those addresses and nothing more about a vendor's accuracy.
The Washington Department of Revenue runs an address-based rate lookup URL interface that takes output (xml or text), addr, city, and zip (5 or 9 digits). The text response returns LocationCode, Rate, and ResultCode. The lookup is designed to return the current sales tax rates for an address, and Rate is the total state and local tax rate. The ResultCode shows how well the lookup matched the address.
Try an exact address, one with a changed house number, and one with only a ZIP code, and record the ResultCode each returns. Send each to the API with the current content year and month. Add up the rates the API returns for the line and compare the sum with the lookup's Rate.
Each Streamlined Sales Tax Member State is required to provide a rate file and a boundary file. A boundary file maps an address to tax codes for each taxing jurisdiction, usually by 5- or 9-digit ZIP code. A rate file gives the rate for each tax code. Single-rate states that have not changed their rate since October 1, 2006, are not required to provide either file.
The files are updated quarterly and are to be posted by the first day of the month before each calendar quarter begins. States are only required to post a new file if changes were made, and corrected files can post at any time. File names show the state and the effective date of the file.
Map member-state addresses through the boundary file to tax codes, read each code's rate, and compare it with the API's rate for the same rate period. Some states key tax codes to the actual address, so test full street addresses and not only ZIP codes. The Governing Board recommends that you read chapter 5 of its Technology Guide. Repeat when a new quarter's files post. A match on one sample address shows agreement on that sample only.
The CereTax API requires configuration and invoice sections in a POST /sale request. It runs in two environments, CERT (Sandbox) for testing and Production for live transactions. An invoice allows at most 1,000 line items. POST /status sets a transaction to Active, Posted, or Suspended, and POST /reverse reverses a Posted transaction.
Reviewed November 18, 2026. We review this page again within 30 days.
Complex tax. Calculated correctly.