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
} 

        

Related Topics

Vendor Bill Use Cases
Use Case for Creating a Vendor Bill
Use Case for Approving a Vendor Bill
Use Case for Adding Line Items to a Vendor Bill

General Notices