Retrieve a sales-tax code
Retrieves a sales-tax code by ID.
IMPORTANT: If you need to fetch multiple specific sales-tax codes by ID, use the list endpoint instead with the ids parameter. It accepts an array of IDs so you can batch the request into a single call, which is significantly faster.
Path parameters
The QuickBooks-assigned unique identifier of the sales-tax code to retrieve.
The QuickBooks-assigned unique identifier of the sales-tax code to retrieve.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
Response
Returns the specified sales-tax code.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_sales_tax_code",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Tax",
"isActive": true,
"isTaxable": true,
"description": "Standard tax rate for California",
"salesTaxItem": {
"id": "80000001-1234567890",
"fullName": "State Sales Tax"
}
}Changes
Changed in 4 of the 46 revisions of this API.1116
- ●
for the
pathrequest parameterid, the maxLength was set to36request-parameter-max-length-set
- ●
- ▲
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
response's property type changed fromobjectnullto no type for statusresponse-property-type-changed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ○
added
subschema #1subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ▲
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the
response's property type changed from no type toobjectnullfor statusresponse-property-type-changed
- ○
removed
subschema #1subschema #2from theresponse propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
response property
descriptionlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ▲
- ▲
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
response's property type changed fromobjectnullto no type for statusresponse-property-type-changed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/from the response with the statusresponse-required-property-removed
- ○
added
subschema #1subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ▲