Sales Tax Item

For help working with this record in the UI, see Sales Taxes.

This record is not a subrecord.

Note:

REST web services do not support legacy tax features. To work with taxation through REST web services, you must have the SuiteTax feature enabled. For more information about using SuiteTax, see SuiteTax.

The REST API Browser includes information about the field names and field types of the sales tax item record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s salesTaxItem reference page.

For information about using the REST API Browser, see The REST API Browser.

Record ID

The record ID for the sales tax item REST record is salesTaxItem.

Prerequisites

The SuiteTax feature must be enabled.

Actions

The sales tax item record has the following actions through REST web services:

  • Submit new

  • Submit

Code Samples

This code sample shows how to post the sales tax item record:

            POST /services/rest/record/v1/salesTaxItem { "name": "Test Tax Code", "description": "Test Tax Code", "taxType": "13"
} 

          

This code sample shows how to get the sales tax item record:

            GET /services/rest/record/v1/salesTaxItem/91 { "links": [ { "rel": "self", "href": "https://barochpatrik-runbox-parity-deuf1-001.eng.netsuite.com/services/rest/record/v1/salesTaxItem/91" } ], "description": "Test Tax Code", "id": "91", "isInactive": false, "itemType": "TaxItem", "name": "Test Tax Code", "taxType": { "links": [ { "rel": "self", "href": "https://barochpatrik-runbox-parity-deuf1-001.eng.netsuite.com/services/rest/record/v1/taxtype/13" } ], "id": "13", "refName": "US Tax Type" }
} 

          

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices