Use Case for Getting a List of Bills from a Vendor
Use the GET command and query with the vendor id to get the list of bills from a vendor.
GET {{REST_SERVICES}}/record/v1/vendorbill/?q=entity EQUAL 1722
Following is an example of the response:
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/vendorbill/?q=entity+EQUAL+%221722%22"
}
],
"count": 2,
"hasMore": false,
"items": [
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/vendorbill/1920"
}
],
"id": "1920"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/vendorbill/2020"
}
],
"id": "2020"
}
],
"offset": 0,
"totalResults": 2
}