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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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