Get the List of Receipts in an Expense Report
GET  /expense-reports/{id}/receipts/ — Use this method to retrieve the collection of receipts in the expense report with the specified internal ID.
Parameters
Path parameters
| Path parameter | Required / Optional | Description | Type | 
|---|---|---|---|
| 
                         | Required | The internal ID of the expense report. | integer | 
Query string parameter
| Path parameter | Required / Optional | Description | Type | 
|---|---|---|---|
| 
                         | Optional | A comma-separated list of attributes available for expansion. The comma-separated list may include spaces (or  | string | 
| 
                         | Optional | A comma-separated list of attributes to include in the response. If not specified, the response includes all attributes for each receipt returned. Response Data Modifiers. For information about  | string | 
| 
                         | Optional | The internal ID of the filter set to be applied. 
 | integer | 
| 
                         | Optional | A limit on the length of the page. See Pagination. | integer | 
| 
                         | Optional | A cursor for use in pagination. See Pagination. | integer | 
| 
                         | Optional | The attribute to sort the list by. Use a plus sign ( | string | 
| 
                         | Optional | A URL-encoded query expression used to filter the resource collection and return the objects matching the specified search criteria. See Filtering. | string | 
Response definitions
A successful request returns a JSON object with the following properties:
| Property | Description | 
|---|---|
| 
                       | An array containing the list of receipts in the expense report with the specified internal ID. See Returned Data. For information about  | 
| 
                       | An array of expanded objects, if the  | 
| 
                       | An object containing response metadata. The  
 | 
| 
                       | A string containing a brief message about the status of your request — for example,  | 
A failed request returns a JSON object with the following properties:
| Property | Description | 
|---|---|
| 
                       | A string containing a brief message about the status of your request — for example,  | 
Sample request
            GET /rest/v1/expense-reports/237/receipts/ HTTP/1.1
Host: company-id.app.netsuitesuiteprojectspro.com
Authorization: Bearer <OAuth2_access_token> 
          
          In the example, <OAuth2_access_token> is the OAuth 2.0 access token obtained for the client application connecting to SuiteProjects Pro. See Authentication.
Sample response
            {
    "data": [
        {
            "foreignCurrencySymbol": "",
            "expenseReportId": 237,
            "date": "2019-10-01",
            "costPerUnit": 680,
            "taxLocationId": 0,
            "foreignCurrencyRate": 0,
            "projectTaskId": 0,
            "updated": "2019-10-21 03:04:58",
            "id": 2659,
            "slipId": 0,
            "paymentTypeId": 0,
            "total": 680,
            "description": "Miscellaneous",
            "itemId": 7,
            "customerId": 50,
            "totalTaxPaid": 0,
            "costCenterId": 0,
            "trackingNumber": "1",
            "isForeignCurrencyExchangeIntolerance": false,
            "externalId": "",
            "userLocationId": 0,
            "isNonBillable": false,
            "accountingDate": "0000-00-00",
            "foreignCurrencyCost": 0,
            "currency": "USD",
            "foreignCurrencyTotalTaxPaid": 0,
            "projectId": 54,
            "isTaxIncludedInCost": false,
            "attachments": [3719],
            "userId": 49,
            "quantity": 1,
            "created": "2019-10-01 14:12:50",
            "isReimbursable": true,
            "totalNoTax": 680,
            "notes": ""
        },
        {
            "foreignCurrencySymbol": "",
            "expenseReportId": 237,
            "date": "2019-10-01",
            "costPerUnit": 580,
            "taxLocationId": 0,
            "foreignCurrencyRate": 0,
            "projectTaskId": 0,
            "updated": "2019-10-21 03:04:58",
            "id": 2674,
            "slipId": 0,
            "paymentTypeId": 0,
            "total": 580,
            "description": "Miscellaneous",
            "itemId": 7,
            "customerId": 50,
            "totalTaxPaid": 0,
            "costCenterId": 0,
            "trackingNumber": "2",
            "isForeignCurrencyExchangeIntolerance": false,
            "externalId": "",
            "userLocationId": 0,
            "isNonBillable": true,
            "accountingDate": "0000-00-00",
            "foreignCurrencyCost": 0,
            "currency": "USD",
            "foreignCurrencyTotalTaxPaid": 0,
            "projectId": 54,
            "isTaxIncludedInCost": false,
            "attachments": [3745],
            "userId": 49,
            "quantity": 1,
            "created": "2019-10-01 14:13:03",
            "isReimbursable": true,
            "totalNoTax": 580,
            "notes": ""
        }
    ],
    "message": "success",
    "meta": {
        "relationships": [
            {
                "attachments": {
                    "data": {
                        "id": [
                            3719
                        ],
                        "type": "attachment"
                    }
                },
                "userId": {
                    "data": {
                        "id": 49,
                        "type": "userDisplayName"
                    }
                }
            },
            {
                "attachments": {
                    "data": {
                        "id": [
                            3745
                        ],
                        "type": "attachment"
                    }
                },
                "userId": {
                    "data": {
                        "id": 49,
                        "type": "userDisplayName"
                    }
                }
            }
        ],
        "rowsPerPage": 100,
        "totalPages": 1,
        "totalRows": 2,
        "links": [
            {
                "rel": "self",
                "href": "https://company-id.app.netsuitesuiteprojectspro.com/rest/v1/expense-reports/237/receipts"
            }
        ]
    }
}