Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to 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?