Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
How to fetch the list of TaxType and TaxCode for SuiteTax using SOAP SuiteTalk
Hi everyone,
We have an application that integrates with NetSuite using SuiteTalk SOAP API. We are trying to add support for SuiteTax.
When I send a VendorBill to NetSuite, and fetch the created invoice, I can see it adds some tax related information to the lines:
"expenseList": {
"expense": [
. . . some other fields. . .
"taxDetailsList": {
"taxDetails": [
{
"taxDetailsReference": "306_1",
"lineType": "Expense",
"lineName": "Expense Line 1",
"netAmount": 100,
"grossAmount": null,
"taxType": {
"name": "CA_GST",
"internalId": "7",
"externalId": null,
"type": null
},
"taxCode": {
"name": "CA_GST",
"internalId": "17",
"externalId": null,
"type": null
},
"taxBasis": 100,
"taxRate": 5,
"taxAmount": 5,
"calcDetail": null
}
. . . some other fields. . .
My question is how can I fetch the list of TaxType and TaxCodes (highlighted fields above) from NetSuite using SuiteTalk SOAP API? We would need to fetch these values to display to the user and allow them to make selection for them. Is there a SOAP operation available for these lists?
Tagged:
0