# Emburse Certify

> Read your Emburse Certify expense reports, expenses, receipts and invoices, and manage users and departments.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/emburse-certify

## Actions

### Create department

Add a department to your company.

**Inputs**

- Name (`Name`, text, required): The department's name.
- Code (`Code`, text): Your own code for the department.
- Description (`Description`, text): A description for the department.
- Second approval (`ObtainSecondLevelApproval`, true/false): Every expense in the department needs a second approval.
- Only linked categories (`UseStrictFiltering`, true/false): People in the department see only the expense categories linked to it.
- Hide department (`HideDepartment`, true/false): People in the department don't have to pick a department.
- Hide billable (`HideBillable`, true/false): People in the department don't choose whether expenses are billable.
- Billable by default (`HideBillableDefaultValue`, true/false): When billable is hidden, mark expenses billable.
- Hide reimbursable (`HideReimbursable`, true/false): People in the department don't choose whether expenses are reimbursable.
- Reimbursable by default (`HideReimbursableDefaultValue`, true/false): When reimbursable is hidden, mark expenses reimbursable.
- Start page (`InitialPage`, number): The page people in the department see when they sign in. One of: `0` (Home), `1` (Travel), `2` (New expense report), `3` (Drafts), `4` (Approval requests), `5` (Processing requests), `6` (Wallet), `7` (Inquiries).
- Active (`Active`, true/false): Whether the department is active.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ID": "9a61cf7f-0bf7-425e-bc62-d85c5db7c88d"
  }
}
```

### Create employee dimension value

Add a value to one of your employee general ledger dimensions.

**Inputs**

- Dimension (`index`, number, required): Which of the five general ledger dimensions to use. One of: `1` (Dimension 1), `2` (Dimension 2), `3` (Dimension 3), `4` (Dimension 4), `5` (Dimension 5).
- Name (`Name`, text, required): The value's name.
- Code (`Code`, text): Your own code for it.
- Description (`Description`, text): A description for it.
- Active (`Active`, true/false): Whether it is active.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ID": "f4f76080-8003-4406-b4b4-f647bb40fa0d"
  }
}
```

### Create user

Add a person to your company by email address. Finish their profile with Update user to activate them.

**Inputs**

- Email (`Email`, text, required): The email address they will sign in with.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ID": "321065e9-aa0c-4801-8473-f65f87a5c1f4"
  }
}
```

### Get department

Get one department by its ID.

**Inputs**

- Department (`id`, text, required): The department to get.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Departments": [
      {
        "Active": 1,
        "Code": "01",
        "Data": "Example",
        "Description": "Example",
        "HideBillable": 0,
        "HideBillableDefaultValue": 0,
        "HideDepartment": 0,
        "HideReimbursable": 0,
        "HideReimbursableDefaultValue": 1,
        "ID": "c456ab38-8f74-49e2-a47b-178f72c2f45f",
        "InitialPage": 0,
        "LastModifiedDate": "2017-8-10",
        "Name": "General",
        "ObtainSecondLevelApproval": 0,
        "UseStrictFiltering": 0
      }
    ]
  }
}
```

### Get expense

Get one expense from a processed report by its ID.

**Inputs**

- Expense (`id`, text, required): The ID of the expense to get.
- Batch ID (`batchid`, text): Only records in this export batch.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Expenses": [
      {
        "Amount": 192.93,
        "Billable": false,
        "CCLast": "0005",
        "CCTransactionID": "000008806037561_20160503_192.93",
        "ConvertedAmount": 0.0,
        "ConvertedCurrency": "USD",
        "ConvertedReimAmount": 0.0,
        "Currency": "USD",
        "DepartmentCode": "01",
        "DepartmentName": "General",
        "DetailedMealAttendees": [
          {
            "Company": "Example",
            "FirstName": "Example",
            "LastName": "Example",
            "Relation": "Example",
            "Title": "Example"
          }
        ],
        "Email": "jcerti@emburse.com",
        "EmployeeID": "jcerti001",
        "ExchangeRate": 1.0,
        "ExpenseCategory": "Lodging",
        "ExpenseCategoryGLCode": "03",
        "ExpenseCategoryID": "a326e9a2-a2ab-4eda-b924-234d8fe146c2",
        "ExpenseDate": "2016-05-03",
        "ExpenseReportApprovalCode": 52,
        "ExpenseReportGLD1Code": "A123",
        "ExpenseReportGLD1Label": "Food",
        "ExpenseReportGLD1Name": "Apples and Oranges",
        "ExpenseReportGLD2Code": "Example",
        "ExpenseReportGLD2Label": "Example",
        "ExpenseReportGLD2Name": "Example",
        "ExpenseReportGLD3Code": "Example",
        "ExpenseReportGLD3Label": "Example",
        "ExpenseReportGLD3Name": "Example",
        "ExpenseReportGLD4Code": "Example",
        "ExpenseReportGLD4Label": "Example",
        "ExpenseReportGLD4Name": "Example",
        "ExpenseReportGLD5Code": "Example",
        "ExpenseReportGLD5Label": "Example",
        "ExpenseReportGLD5Name": "Example",
        "ExpenseReportID": "fdf33884-af87-2891-a7d4-3e574ea6be88",
        "ExpenseReportName": "Business Trip May 2016",
        "ExpenseTextGLD1": "business",
        "ExpenseTextGLD1Label": "Text GLD Expense",
        "ExpenseTextGLD2": "123",
        "ExpenseTextGLD2Label": "Numbers Only GLD",
        "ExpenseTextGLD3": "Example",
        "ExpenseTextGLD3Label": "Example",
        "ExpenseTextGLD4": "Example",
        "ExpenseTextGLD4Label": "Example",
        "ExpenseTextGLD5": "Example",
        "ExpenseTextGLD5Label": "Example",
        "ExpenseType": "Lodging",
        "FirstName": "Jack",
        "HSTAmount": 0.0,
        "ID": "b65455e0-89d5-4910-82bf-cadfbf5c4126",
        "Inquiries": [
          {
            "Inquiry": "Please update to the correct expense category",
            "RequestDate": "2023-05-08",
            "RequestorEmail": "SteveManager@Company.com",
            "RequestorFirstName": "Steve",
            "RequestorID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
            "RequestorLastName": "Manager",
            "Response": "Done!",
            "ResponseDate": "2023-05-09"
          }
        ],
        "LastAction": "Approved",
        "LastName": "Certi",
        "Location": "Mountain View, CA",
        "LodgingCheckInDate": "2016-05-01",
        "LodgingCheckOutDate": "2016-05-03",
        "MealAttendees": "Example",
        "MileageDistance": "Example",
        "MileageFrom": "Example",
        "MileageTo": "Example",
        "MileageUnits": "0.0",
        "Notes": [
          {
            "Date": "2023-06-07",
            "Flagged": "False",
            "Note": "Corrected expense category",
            "SubmitterEmail": "SteveManager@Company.com",
            "SubmitterFirstName": "Steve",
            "SubmitterID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
            "SubmitterLastName": "Manager"
          }
        ],
        "PSTAmount": 0.0,
        "PaymentCardName": "Company Visa",
        "PostingDate": "2026-01-15",
        "Processed": true,
        "ProcessedDate": "2016-05-30",
        "Reason": "Hotel Stay",
        "ReceiptID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "ReceiptImageLink": "{unique receipt image url}",
        "ReimAmount": 191.96,
        "Reimbursable": true,
        "RentalDropOffDate": "2026-01-15",
        "RentalPickUpDate": "2026-01-15",
        "Status": "Completed",
        "SubmittedAmount": 0.0,
        "SubmittedCurrency": "USD",
        "TravelFrom": "Example",
        "TravelTo": "Example",
        "TrueProcessedDate": "2016-06-01",
        "VATAmount": 0.0,
        "Vendor": "Mountain View Hotel"
      }
    ]
  }
}
```

### Get expense category

Get one expense category by its ID.

**Inputs**

- Expense category (`id`, text, required): The expense category to get.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ExpenseCategories": [
      {
        "Active": 0,
        "CPDBreakfast": 0,
        "CPDDinner": 0,
        "CPDIncidentals": 0,
        "CPDListID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "CPDLodging": 0,
        "CPDLunch": 0,
        "CPDReimbursementMethodID": 0,
        "CashAdvances": 0,
        "DailyMealLimit": 0,
        "Data": "Example",
        "DeductCommuteUnits": 0,
        "Description": "Example",
        "DetailedMealAttendees": 0,
        "ExpenseTypeID": 1,
        "FilterDepartmentID": "1a727dfe-4c9f-4108-ac0d-4fa5d512f83c",
        "GLCode": "6032",
        "GSABreakfast": 0,
        "GSADinner": 0,
        "GSAIncidentals": 0,
        "GSALodging": 0,
        "GSALunch": 0,
        "GSAReimbursementMethodID": 0,
        "ID": "9f903b49-64dc-45c8-8216-2928ed2b6b2e",
        "MaxAmount": 0.0,
        "MaxAmountCurrencyType": "USD",
        "Name": "Sales & Marketing:6032",
        "PersonalExpenses": 0,
        "PrepaidCode": "Example",
        "RequireNPI": 0,
        "RequireReason": 1,
        "RequireReceiptOverride": 0,
        "RequireReceiptThresholdAmount": 0.0,
        "SpendLimitPerUser": 1000.0,
        "SpendLimitPerUserCurrencyType": "USD",
        "SpendLimitPerUserTerm": "Quarterly",
        "StrictFilteringException": 0,
        "SupressBillable": 0,
        "SupressBillableDefaultValue": 0,
        "UseGSA": 0,
        "UseNPI": 0
      }
    ]
  }
}
```

### Get expense report

Get one processed expense report by its ID.

**Inputs**

- Expense report (`id`, text, required): The ID of the expense report to get.
- Batch ID (`batchid`, text): Only records in this export batch.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ExpenseReports": [
      {
        "APSyncComplete": false,
        "ApprovalCode": "Example",
        "Currency": "USD",
        "CurrentApprover": {
          "ApproverEmail": "alex@example.com",
          "ApproverFirstName": "Example",
          "ApproverID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
          "ApproverLastName": "Example",
          "ApproverRole": "Example"
        },
        "EmpGLD1Code": "test",
        "EmpGLD1Name": "test",
        "EmpGLD2Code": "A",
        "EmpGLD2Name": "A",
        "EmpGLD3Code": "Example",
        "EmpGLD3Name": "Example",
        "EmpGLD4Code": "Example",
        "EmpGLD4Name": "Example",
        "EmpGLD5Code": "Example",
        "EmpGLD5Name": "Example",
        "EmployeeDepartment": "General",
        "EmployeeEmail": "alex@example.com",
        "EmployeeID": "jcerti001",
        "EndDate": "2017-01-31",
        "ExpenseReportDescription": "Project Jan",
        "ExpenseReportName": "Business Trip January 2017",
        "FirstName": "Jack",
        "ID": "fdf32884-af87-4991-a7q4-3e574ea6be88",
        "InitialApprovalDate": "2026-01-15",
        "InitialApproverEmail": "rrobot@emburse.com",
        "LastAction": "None",
        "LastName": "Certi",
        "NonReimAmount": 0.0,
        "Processed": false,
        "ProcessedDate": "2026-01-15",
        "ReimAmount": 292.04,
        "Reimbursed": false,
        "ReimbursedDate": "2026-01-15",
        "ReimbursementTransactionID": "Manual Pay",
        "SettlementAccountID": "51756fa9-cbc6-4b5a-bc81-cbc68e3eb0ed",
        "SettlementAccountName": "Wells Fargo - UK",
        "StartDate": "2017-01-01",
        "Status": "Drafts",
        "SubmittedDate": "2017-02-03",
        "TotalAmount": 292.04,
        "TrueProcessedDate": "2026-01-15"
      }
    ]
  }
}
```

### Get invoice

Get one invoice by its ID.

**Inputs**

- Invoice (`id`, text, required): The ID of the invoice to get.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Invoices": [
      {
        "Amount": 192.93,
        "Category": "Lodging",
        "CategoryGLCode": "03",
        "Currency": "USD",
        "DepartmentCode": "01",
        "DepartmentName": "General",
        "DueDate": "2016-07-03",
        "EmployeeDepartment": "General",
        "EmployeeEmail": "jcerti@emburse.com",
        "EmployeeID": "jcerti001",
        "FirstName": "Jack",
        "ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "InvoiceDate": "2016-05-03",
        "InvoiceImageLink": "{unique receipt image url}",
        "InvoiceNumber": "123456-789A",
        "InvoiceReportGLD1Code": "A123",
        "InvoiceReportGLD1Label": "Food",
        "InvoiceReportGLD1Name": "Apples and Oranges",
        "InvoiceReportGLD2Code": "Example",
        "InvoiceReportGLD2Label": "Example",
        "InvoiceReportGLD2Name": "Example",
        "InvoiceReportGLD3Code": "Example",
        "InvoiceReportGLD3Label": "Example",
        "InvoiceReportGLD3Name": "Example",
        "InvoiceReportGLD4Code": "Example",
        "InvoiceReportGLD4Label": "Example",
        "InvoiceReportGLD4Name": "Example",
        "InvoiceReportGLD5Code": "Example",
        "InvoiceReportGLD5Label": "Example",
        "InvoiceReportGLD5Name": "Example",
        "InvoiceReportID": "fdf33884-af87-2891-a7d4-3e574ea6be88",
        "InvoiceReportName": "Spring Invoices",
        "InvoiceTextGLD1": "business",
        "InvoiceTextGLD1Label": "Text GLD Invoice",
        "InvoiceTextGLD2": "123",
        "InvoiceTextGLD2Label": "Numbers Only GLD",
        "InvoiceTextGLD3": "Example",
        "InvoiceTextGLD3Label": "Example",
        "InvoiceTextGLD4": "Example",
        "InvoiceTextGLD4Label": "Example",
        "InvoiceTextGLD5": "Example",
        "InvoiceTextGLD5Label": "Example",
        "LastName": "Certi",
        "POName": "Best Purchase Order Ever",
        "PONumber": "867-5309",
        "Processed": true,
        "ProcessedDate": "2016-05-30",
        "Reason": "Hotel Stay",
        "TrueProcessedDate": "2016-05-30",
        "Vendor1099": false,
        "VendorAddress1": "20 York St",
        "VendorAddress2": "Suite 201",
        "VendorCity": "Portland",
        "VendorCode": "Example",
        "VendorContactName": "Jack Certi",
        "VendorCustomerAccountNumber": "123-456-7890",
        "VendorID": "4770FE18-38D8-4183-96D8-E07D0921F5D3",
        "VendorName": "Staples",
        "VendorPostalCode": "04101",
        "VendorStateProvince": "Maine",
        "VendorTaxpayerID": "98-7654321"
      }
    ]
  }
}
```

### Get invoice report

Get one processed invoice report by its ID.

**Inputs**

- Invoice report (`id`, text, required): The ID of the invoice report to get.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "InvoiceReports": [
      {
        "APSyncComplete": true,
        "Amount": 1.5,
        "ApprovalCode": 19,
        "Currency": "USD",
        "EmployeeDepartment": "General",
        "EmployeeID": "jcerti001",
        "EndDate": "2017-01-31",
        "FirstName": "Jack",
        "ID": "fdf32884-af87-4991-a7q4-3e574ea6be88",
        "InvoiceReportName": "Utilities, January 2017",
        "LastName": "Certi",
        "ProcessedDate": "2017-02-03",
        "Reimbursed": true,
        "ReimbursedDate": "2017-02-12",
        "ReimbursementTransactionID": "Manual Pay",
        "SettlementAccountID": "51756fa9-cbc6-4b5a-bc81-cbc68e3eb0ed",
        "SettlementAccountName": "Wells Fargo - UK",
        "StartDate": "2017-01-01",
        "SubmittedDate": "2017-02-03",
        "TotalAmount": 292.04,
        "TrueProcessedDate": "2017-02-03"
      }
    ]
  }
}
```

### Get user

Get one person by their ID.

**Inputs**

- User (`id`, text, required): The user to get.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Users": [
      {
        "AccountantID": "31abf466-be2b-4f60-bc8f-845799ae6c59",
        "Active": 1,
        "AdministrativeNotes": "Test user for documentation!",
        "Culture": "en-US",
        "Currency": "USD",
        "DefaultSettlementAccountID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "DepartmentID": "c456ab38-8f74-49e2-a47b-178f72c2f45f",
        "Email": "johnsmith@circp.com",
        "EmpGLD1ID": "2ea4ee07-7706-4a1e-a8f8-f56ea48487d0",
        "EmpGLD2ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmpGLD3ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmpGLD4ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmpGLD5ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmployeeID": "JSMITH002",
        "FirstApproverID": "9ffe0981-5f56-4e87-ae39-5fbb583667f6",
        "FirstName": "John",
        "FullAdministrator": 1,
        "ID": "fc12bf3a-766e-4ec3-b2ae-60f2efe9505d",
        "Language": "en",
        "LastModifiedDate": "2017-8-10",
        "LastName": "Smith",
        "MobilePhone": "2075551212",
        "Role": "Accountants",
        "SecondApproverID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "Treasurer": 1,
        "UseMultipleCurrencies": 1,
        "UserAdministrator": 0,
        "UserName": "johnsmith@circp.com",
        "WelcomeEmailSent": 1
      }
    ]
  }
}
```

### List departments

List your company's departments.

**Inputs**

- Name (`name`, text): Only departments with this name.
- Code (`code`, text): Only departments with this code.
- Status (`active`, text): Only active or only inactive records. Leave empty for both. One of: `1` (Active), `0` (Inactive).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.
- Refresh (`clearcache`, true/false): Turn on to skip Certify's 15-minute cache and get the latest records.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Departments": [
      {
        "Active": 1,
        "Code": "01",
        "Data": "Example",
        "Description": "Example",
        "HideBillable": 0,
        "HideBillableDefaultValue": 0,
        "HideDepartment": 0,
        "HideReimbursable": 0,
        "HideReimbursableDefaultValue": 1,
        "ID": "c456ab38-8f74-49e2-a47b-178f72c2f45f",
        "InitialPage": 0,
        "LastModifiedDate": "2017-8-10",
        "Name": "General",
        "ObtainSecondLevelApproval": 0,
        "UseStrictFiltering": 0
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List employee dimension values

List the values of one of your employee general ledger dimensions, such as cost centers.

**Inputs**

- Dimension (`index`, number, required): Which of the five general ledger dimensions to use. One of: `1` (Dimension 1), `2` (Dimension 2), `3` (Dimension 3), `4` (Dimension 4), `5` (Dimension 5).
- Name (`name`, text): Only values with this name.
- Code (`code`, text): Only values with this code.
- Status (`active`, text): Only active or only inactive records. Leave empty for both. One of: `1` (Active), `0` (Inactive).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.
- Refresh (`clearcache`, true/false): Turn on to skip Certify's 15-minute cache and get the latest records.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "EmpGLDs": [
      {
        "Active": 1,
        "Code": "Example",
        "Data": "Example",
        "Description": "Example",
        "EmpGLDIndex": 1,
        "EmpGLDLabel": "Favorite Food",
        "ID": "3ceef8d9-7284-462e-b54a-8238e737446a",
        "Name": "Chicken Wings"
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List expense categories

List your company's expense categories and their GL codes.

**Inputs**

- Name (`name`, text): Only categories with this name.
- GL code (`glcode`, text): Only categories with this general ledger code.
- Expense type (`expensetypeid`, text): Only categories of this type. One of: `1` (Cash expense), `2` (Mileage), `3` (Lodging), `4` (Meals), `5` (Rentals), `6` (Travel), `7` (Per diem), `8` (Hourly), `9` (Invoice).
- Department (`departmentfilterid`, text): Only categories linked to this department.
- Status (`active`, text): Only active or only inactive categories. One of: `1` (Active), `0` (Inactive).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ExpenseCategories": [
      {
        "Active": 0,
        "CPDBreakfast": 0,
        "CPDDinner": 0,
        "CPDIncidentals": 0,
        "CPDListID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "CPDLodging": 0,
        "CPDLunch": 0,
        "CPDReimbursementMethodID": 0,
        "CashAdvances": 0,
        "DailyMealLimit": 0,
        "Data": "Example",
        "DeductCommuteUnits": 0,
        "Description": "Example",
        "DetailedMealAttendees": 0,
        "ExpenseTypeID": 1,
        "FilterDepartmentID": "1a727dfe-4c9f-4108-ac0d-4fa5d512f83c",
        "GLCode": "6032",
        "GSABreakfast": 0,
        "GSADinner": 0,
        "GSAIncidentals": 0,
        "GSALodging": 0,
        "GSALunch": 0,
        "GSAReimbursementMethodID": 0,
        "ID": "9f903b49-64dc-45c8-8216-2928ed2b6b2e",
        "MaxAmount": 0.0,
        "MaxAmountCurrencyType": "USD",
        "Name": "Sales & Marketing:6032",
        "PersonalExpenses": 0,
        "PrepaidCode": "Example",
        "RequireNPI": 0,
        "RequireReason": 1,
        "RequireReceiptOverride": 0,
        "RequireReceiptThresholdAmount": 0.0,
        "SpendLimitPerUser": 1000.0,
        "SpendLimitPerUserCurrencyType": "USD",
        "SpendLimitPerUserTerm": "Quarterly",
        "StrictFilteringException": 0,
        "SupressBillable": 0,
        "SupressBillableDefaultValue": 0,
        "UseGSA": 0,
        "UseNPI": 0
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List expense reports

List expense reports, processed ones by default, filtered by dates, status or batch.

**Inputs**

- Approval code (`approvalcode`, text): Only the report with this approval code.
- From (`startdate`, date): Only records on or after this day. Which date is compared is set by Date type.
- To (`enddate`, date): Only records on or before this day.
- Date type (`datetype`, text): Which processed date the From and To dates compare. One of: `0` (Processed date the accountant set), `1` (Day the accountant processed it).
- Processed (`processed`, text): Whether to list processed reports, unprocessed ones, or both. Certify lists processed ones when left empty. One of: `1` (Processed), `0` (Not processed), `2` (Both).
- Reimbursed (`reimbursed`, text): Whether to list reimbursed reports, ones not reimbursed, or both. Certify lists both when left empty. One of: `1` (Reimbursed), `0` (Not reimbursed), `2` (Both).
- Reimbursed from (`reimbursedstartdate`, date): Only reports reimbursed on or after this day.
- Reimbursed to (`reimbursedenddate`, date): Only reports reimbursed on or before this day.
- Batch ID (`batchid`, text): Only records in this export batch.
- Date format (`dateformat`, text): Whether dates come back as days or as days with times. One of: `date` (Day), `datetime` (Day and time).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.
- Refresh (`clearcache`, true/false): Turn on to skip Certify's 15-minute cache and get the latest records.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ExpenseReports": [
      {
        "APSyncComplete": false,
        "ApprovalCode": "Example",
        "Currency": "USD",
        "CurrentApprover": {
          "ApproverEmail": "alex@example.com",
          "ApproverFirstName": "Example",
          "ApproverID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
          "ApproverLastName": "Example",
          "ApproverRole": "Example"
        },
        "EmpGLD1Code": "test",
        "EmpGLD1Name": "test",
        "EmpGLD2Code": "A",
        "EmpGLD2Name": "A",
        "EmpGLD3Code": "Example",
        "EmpGLD3Name": "Example",
        "EmpGLD4Code": "Example",
        "EmpGLD4Name": "Example",
        "EmpGLD5Code": "Example",
        "EmpGLD5Name": "Example",
        "EmployeeDepartment": "General",
        "EmployeeEmail": "alex@example.com",
        "EmployeeID": "jcerti001",
        "EndDate": "2017-01-31",
        "ExpenseReportDescription": "Project Jan",
        "ExpenseReportName": "Business Trip January 2017",
        "FirstName": "Jack",
        "ID": "fdf32884-af87-4991-a7q4-3e574ea6be88",
        "InitialApprovalDate": "2026-01-15",
        "InitialApproverEmail": "rrobot@emburse.com",
        "LastAction": "None",
        "LastName": "Certi",
        "NonReimAmount": 0.0,
        "Processed": false,
        "ProcessedDate": "2026-01-15",
        "ReimAmount": 292.04,
        "Reimbursed": false,
        "ReimbursedDate": "2026-01-15",
        "ReimbursementTransactionID": "Manual Pay",
        "SettlementAccountID": "51756fa9-cbc6-4b5a-bc81-cbc68e3eb0ed",
        "SettlementAccountName": "Wells Fargo - UK",
        "StartDate": "2017-01-01",
        "Status": "Drafts",
        "SubmittedDate": "2017-02-03",
        "TotalAmount": 292.04,
        "TrueProcessedDate": "2026-01-15"
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List expenses

List expense lines, processed ones by default, filtered by dates or batch.

**Inputs**

- From (`startdate`, date): Only records on or after this day. Which date is compared is set by Date type.
- To (`enddate`, date): Only records on or before this day.
- Date type (`datetype`, text): Which date the From and To dates compare. One of: `0` (Processed date the accountant set), `1` (Day the accountant processed it), `2` (Card file processed date), `3` (Expense date), `4` (Card posting date).
- Processed (`processed`, text): Whether to list processed expenses, unprocessed ones, or both. Certify lists processed ones when left empty. One of: `1` (Processed), `0` (Not processed), `2` (Both).
- Include disapproved (`includedisapproved`, true/false): Also list expenses an approver turned down.
- Batch ID (`batchid`, text): Only records in this export batch.
- Date format (`dateformat`, text): Whether dates come back as days or as days with times. One of: `date` (Day), `datetime` (Day and time).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.
- Refresh (`clearcache`, true/false): Turn on to skip Certify's 15-minute cache and get the latest records.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Expenses": [
      {
        "Amount": 192.93,
        "Billable": false,
        "CCLast": "0005",
        "CCTransactionID": "000008806037561_20160503_192.93",
        "ConvertedAmount": 0.0,
        "ConvertedCurrency": "USD",
        "ConvertedReimAmount": 0.0,
        "Currency": "USD",
        "DepartmentCode": "01",
        "DepartmentName": "General",
        "DetailedMealAttendees": [
          {
            "Company": "Example",
            "FirstName": "Example",
            "LastName": "Example",
            "Relation": "Example",
            "Title": "Example"
          }
        ],
        "Email": "jcerti@emburse.com",
        "EmployeeID": "jcerti001",
        "ExchangeRate": 1.0,
        "ExpenseCategory": "Lodging",
        "ExpenseCategoryGLCode": "03",
        "ExpenseCategoryID": "a326e9a2-a2ab-4eda-b924-234d8fe146c2",
        "ExpenseDate": "2016-05-03",
        "ExpenseReportApprovalCode": 52,
        "ExpenseReportGLD1Code": "A123",
        "ExpenseReportGLD1Label": "Food",
        "ExpenseReportGLD1Name": "Apples and Oranges",
        "ExpenseReportGLD2Code": "Example",
        "ExpenseReportGLD2Label": "Example",
        "ExpenseReportGLD2Name": "Example",
        "ExpenseReportGLD3Code": "Example",
        "ExpenseReportGLD3Label": "Example",
        "ExpenseReportGLD3Name": "Example",
        "ExpenseReportGLD4Code": "Example",
        "ExpenseReportGLD4Label": "Example",
        "ExpenseReportGLD4Name": "Example",
        "ExpenseReportGLD5Code": "Example",
        "ExpenseReportGLD5Label": "Example",
        "ExpenseReportGLD5Name": "Example",
        "ExpenseReportID": "fdf33884-af87-2891-a7d4-3e574ea6be88",
        "ExpenseReportName": "Business Trip May 2016",
        "ExpenseTextGLD1": "business",
        "ExpenseTextGLD1Label": "Text GLD Expense",
        "ExpenseTextGLD2": "123",
        "ExpenseTextGLD2Label": "Numbers Only GLD",
        "ExpenseTextGLD3": "Example",
        "ExpenseTextGLD3Label": "Example",
        "ExpenseTextGLD4": "Example",
        "ExpenseTextGLD4Label": "Example",
        "ExpenseTextGLD5": "Example",
        "ExpenseTextGLD5Label": "Example",
        "ExpenseType": "Lodging",
        "FirstName": "Jack",
        "HSTAmount": 0.0,
        "ID": "b65455e0-89d5-4910-82bf-cadfbf5c4126",
        "Inquiries": [
          {
            "Inquiry": "Please update to the correct expense category",
            "RequestDate": "2023-05-08",
            "RequestorEmail": "SteveManager@Company.com",
            "RequestorFirstName": "Steve",
            "RequestorID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
            "RequestorLastName": "Manager",
            "Response": "Done!",
            "ResponseDate": "2023-05-09"
          }
        ],
        "LastAction": "Approved",
        "LastName": "Certi",
        "Location": "Mountain View, CA",
        "LodgingCheckInDate": "2016-05-01",
        "LodgingCheckOutDate": "2016-05-03",
        "MealAttendees": "Example",
        "MileageDistance": "Example",
        "MileageFrom": "Example",
        "MileageTo": "Example",
        "MileageUnits": "0.0",
        "Notes": [
          {
            "Date": "2023-06-07",
            "Flagged": "False",
            "Note": "Corrected expense category",
            "SubmitterEmail": "SteveManager@Company.com",
            "SubmitterFirstName": "Steve",
            "SubmitterID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
            "SubmitterLastName": "Manager"
          }
        ],
        "PSTAmount": 0.0,
        "PaymentCardName": "Company Visa",
        "PostingDate": "2026-01-15",
        "Processed": true,
        "ProcessedDate": "2016-05-30",
        "Reason": "Hotel Stay",
        "ReceiptID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "ReceiptImageLink": "{unique receipt image url}",
        "ReimAmount": 191.96,
        "Reimbursable": true,
        "RentalDropOffDate": "2026-01-15",
        "RentalPickUpDate": "2026-01-15",
        "Status": "Completed",
        "SubmittedAmount": 0.0,
        "SubmittedCurrency": "USD",
        "TravelFrom": "Example",
        "TravelTo": "Example",
        "TrueProcessedDate": "2016-06-01",
        "VATAmount": 0.0,
        "Vendor": "Mountain View Hotel"
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List expenses on a report

List every expense on one processed expense report.

**Inputs**

- Expense report (`id`, text, required): The ID of the expense report.
- Approval code (`approvalcode`, text): The report's approval code.
- From (`startdate`, date): Only records on or after this day. Which date is compared is set by Date type.
- To (`enddate`, date): Only records on or before this day.
- Date type (`datetype`, text): Which date the From and To dates compare. One of: `0` (Processed date the accountant set), `1` (Day the accountant processed it), `2` (Card file processed date), `3` (Expense date), `4` (Card posting date).
- Batch ID (`batchid`, text): Only records in this export batch.
- Date format (`dateformat`, text): Whether dates come back as days or as days with times. One of: `date` (Day), `datetime` (Day and time).

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Expenses": [
      {
        "Amount": 192.93,
        "Billable": false,
        "CCLast": "0005",
        "CCTransactionID": "000008806037561_20160503_192.93",
        "ConvertedAmount": 0.0,
        "ConvertedCurrency": "USD",
        "ConvertedReimAmount": 0.0,
        "Currency": "USD",
        "DepartmentCode": "01",
        "DepartmentName": "General",
        "DetailedMealAttendees": [
          {
            "Company": "Example",
            "FirstName": "Example",
            "LastName": "Example",
            "Relation": "Example",
            "Title": "Example"
          }
        ],
        "Email": "jcerti@emburse.com",
        "EmployeeID": "jcerti001",
        "ExchangeRate": 1.0,
        "ExpenseCategory": "Lodging",
        "ExpenseCategoryGLCode": "03",
        "ExpenseCategoryID": "a326e9a2-a2ab-4eda-b924-234d8fe146c2",
        "ExpenseDate": "2016-05-03",
        "ExpenseReportApprovalCode": 52,
        "ExpenseReportGLD1Code": "A123",
        "ExpenseReportGLD1Label": "Food",
        "ExpenseReportGLD1Name": "Apples and Oranges",
        "ExpenseReportGLD2Code": "Example",
        "ExpenseReportGLD2Label": "Example",
        "ExpenseReportGLD2Name": "Example",
        "ExpenseReportGLD3Code": "Example",
        "ExpenseReportGLD3Label": "Example",
        "ExpenseReportGLD3Name": "Example",
        "ExpenseReportGLD4Code": "Example",
        "ExpenseReportGLD4Label": "Example",
        "ExpenseReportGLD4Name": "Example",
        "ExpenseReportGLD5Code": "Example",
        "ExpenseReportGLD5Label": "Example",
        "ExpenseReportGLD5Name": "Example",
        "ExpenseReportID": "fdf33884-af87-2891-a7d4-3e574ea6be88",
        "ExpenseReportName": "Business Trip May 2016",
        "ExpenseTextGLD1": "business",
        "ExpenseTextGLD1Label": "Text GLD Expense",
        "ExpenseTextGLD2": "123",
        "ExpenseTextGLD2Label": "Numbers Only GLD",
        "ExpenseTextGLD3": "Example",
        "ExpenseTextGLD3Label": "Example",
        "ExpenseTextGLD4": "Example",
        "ExpenseTextGLD4Label": "Example",
        "ExpenseTextGLD5": "Example",
        "ExpenseTextGLD5Label": "Example",
        "ExpenseType": "Lodging",
        "FirstName": "Jack",
        "HSTAmount": 0.0,
        "ID": "b65455e0-89d5-4910-82bf-cadfbf5c4126",
        "Inquiries": [
          {
            "Inquiry": "Please update to the correct expense category",
            "RequestDate": "2023-05-08",
            "RequestorEmail": "SteveManager@Company.com",
            "RequestorFirstName": "Steve",
            "RequestorID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
            "RequestorLastName": "Manager",
            "Response": "Done!",
            "ResponseDate": "2023-05-09"
          }
        ],
        "LastAction": "Approved",
        "LastName": "Certi",
        "Location": "Mountain View, CA",
        "LodgingCheckInDate": "2016-05-01",
        "LodgingCheckOutDate": "2016-05-03",
        "MealAttendees": "Example",
        "MileageDistance": "Example",
        "MileageFrom": "Example",
        "MileageTo": "Example",
        "MileageUnits": "0.0",
        "Notes": [
          {
            "Date": "2023-06-07",
            "Flagged": "False",
            "Note": "Corrected expense category",
            "SubmitterEmail": "SteveManager@Company.com",
            "SubmitterFirstName": "Steve",
            "SubmitterID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
            "SubmitterLastName": "Manager"
          }
        ],
        "PSTAmount": 0.0,
        "PaymentCardName": "Company Visa",
        "PostingDate": "2026-01-15",
        "Processed": true,
        "ProcessedDate": "2016-05-30",
        "Reason": "Hotel Stay",
        "ReceiptID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "ReceiptImageLink": "{unique receipt image url}",
        "ReimAmount": 191.96,
        "Reimbursable": true,
        "RentalDropOffDate": "2026-01-15",
        "RentalPickUpDate": "2026-01-15",
        "Status": "Completed",
        "SubmittedAmount": 0.0,
        "SubmittedCurrency": "USD",
        "TravelFrom": "Example",
        "TravelTo": "Example",
        "TrueProcessedDate": "2016-06-01",
        "VATAmount": 0.0,
        "Vendor": "Mountain View Hotel"
      }
    ]
  }
}
```

### List invoice reports

List invoice reports, processed ones by default, filtered by dates or status.

**Inputs**

- Approval code (`approvalcode`, text): Only the report with this approval code.
- From (`startdate`, date): Only records on or after this day. Which date is compared is set by Date type.
- To (`enddate`, date): Only records on or before this day.
- Date type (`datetype`, text): Which processed date the From and To dates compare. One of: `0` (Processed date the accountant set), `1` (Day the accountant processed it).
- Processed (`processed`, text): Whether to list processed reports, unprocessed ones, or both. Certify lists processed ones when left empty. One of: `1` (Processed), `0` (Not processed), `2` (Both).
- Reimbursed (`reimbursed`, text): Whether to list reimbursed reports, ones not reimbursed, or both. Certify lists both when left empty. One of: `1` (Reimbursed), `0` (Not reimbursed), `2` (Both).
- Reimbursed from (`reimbursedstartdate`, date): Only reports reimbursed on or after this day.
- Reimbursed to (`reimbursedenddate`, date): Only reports reimbursed on or before this day.
- Date format (`dateformat`, text): Whether dates come back as days or as days with times. One of: `date` (Day), `datetime` (Day and time).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "InvoiceReports": [
      {
        "APSyncComplete": true,
        "ApprovalCode": 19,
        "Currency": "USD",
        "EmployeeDepartment": "General",
        "EmployeeID": "jcerti001",
        "EndDate": "2017-01-31",
        "FirstName": "Jack",
        "ID": "fdf32884-af87-4991-a7q4-3e574ea6be88",
        "InvoiceReportName": "Utilities, January 2017",
        "LastName": "Certi",
        "Processed": "Example",
        "ProcessedDate": "2017-02-03",
        "Reimbursed": true,
        "ReimbursedDate": "2017-02-12",
        "ReimbursementTransactionID": "Manual Pay",
        "SettlementAccountID": "51756fa9-cbc6-4b5a-bc81-cbc68e3eb0ed",
        "SettlementAccountName": "Wells Fargo - UK",
        "StartDate": "2017-01-01",
        "SubmittedDate": "2017-02-03",
        "TotalAmount": 292.04,
        "TrueProcessedDate": "2017-02-03"
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List invoices

List the invoices on processed invoice reports, filtered by dates.

**Inputs**

- From (`startdate`, date): Only records on or after this day. Which date is compared is set by Date type.
- To (`enddate`, date): Only records on or before this day.
- Date type (`datetype`, text): Which date the From and To dates compare. One of: `0` (Processed date the accountant set), `1` (Day the accountant processed it), `3` (Invoice date).
- Processed (`processed`, text): Whether to list invoices on processed reports, unprocessed ones, or both. One of: `1` (Processed), `0` (Not processed), `2` (Both).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Invoices": [
      {
        "Amount": 192.93,
        "Category": "Lodging",
        "CategoryGLCode": "03",
        "Currency": "USD",
        "DepartmentCode": "01",
        "DepartmentName": "General",
        "DueDate": "2016-07-03",
        "EmployeeDepartment": "General",
        "EmployeeEmail": "jcerti@emburse.com",
        "EmployeeID": "jcerti001",
        "FirstName": "Jack",
        "ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "InvoiceDate": "2016-05-03",
        "InvoiceImageLink": "{unique receipt image url}",
        "InvoiceNumber": "123456-789A",
        "InvoiceReportGLD1Code": "A123",
        "InvoiceReportGLD1Label": "Food",
        "InvoiceReportGLD1Name": "Apples and Oranges",
        "InvoiceReportGLD2Code": "Example",
        "InvoiceReportGLD2Label": "Example",
        "InvoiceReportGLD2Name": "Example",
        "InvoiceReportGLD3Code": "Example",
        "InvoiceReportGLD3Label": "Example",
        "InvoiceReportGLD3Name": "Example",
        "InvoiceReportGLD4Code": "Example",
        "InvoiceReportGLD4Label": "Example",
        "InvoiceReportGLD4Name": "Example",
        "InvoiceReportGLD5Code": "Example",
        "InvoiceReportGLD5Label": "Example",
        "InvoiceReportGLD5Name": "Example",
        "InvoiceReportID": "fdf33884-af87-2891-a7d4-3e574ea6be88",
        "InvoiceReportName": "Spring Invoices",
        "InvoiceTextGLD1": "business",
        "InvoiceTextGLD1Label": "Text GLD Invoice",
        "InvoiceTextGLD2": "123",
        "InvoiceTextGLD2Label": "Numbers Only GLD",
        "InvoiceTextGLD3": "Example",
        "InvoiceTextGLD3Label": "Example",
        "InvoiceTextGLD4": "Example",
        "InvoiceTextGLD4Label": "Example",
        "InvoiceTextGLD5": "Example",
        "InvoiceTextGLD5Label": "Example",
        "LastName": "Certi",
        "POName": "Best Purchase Order Ever",
        "PONumber": "867-5309",
        "Processed": true,
        "ProcessedDate": "2016-05-30",
        "Reason": "Hotel Stay",
        "TrueProcessedDate": "2016-05-30",
        "Vendor1099": false,
        "VendorAddress1": "20 York St",
        "VendorAddress2": "Suite 201",
        "VendorCity": "Portland",
        "VendorCode": "Example",
        "VendorContactName": "Jack Certi",
        "VendorCustomerAccountNumber": "123-456-7890",
        "VendorID": "4770FE18-38D8-4183-96D8-E07D0921F5D3",
        "VendorName": "Staples",
        "VendorPostalCode": "04101",
        "VendorStateProvince": "Maine",
        "VendorTaxpayerID": "98-7654321"
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List mileage rates

List your company's mileage rates.

**Inputs**

- Name (`name`, text): Only the rate with this name.
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "MileageRates": [
      {
        "ExpenseCategoryID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "FederalMileageRateType": 1,
        "ID": "f3070edf-2f5a-417e-8225-237491352ee8",
        "Name": "Default"
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List receipts

List the receipts on processed expense reports, by expense, report, date or batch.

**Inputs**

- Expense (`expid`, text): Only receipts for this expense ID.
- Expense report (`exprptid`, text): Only receipts on this expense report ID.
- From (`startdate`, date): Only receipts for expenses on or after this day.
- To (`enddate`, date): Only receipts for expenses on or before this day.
- Batch ID (`batchid`, text): Only records in this export batch.
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Page": 1,
    "PageCount": 1,
    "Receipts": [
      {
        "ExpenseIDs": "72a4f4ae-4929-4150-a2d7-e7542c7eaa8a|3e739178-3b4c-4eec-9260-2fbd181e1889",
        "Filename": "image.jpg",
        "ID": "f86663bd-00b2-495c-ad77-2b6af37895aa",
        "UploadDate": "2017-04-03"
      }
    ],
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List report dimension values

List the values of one of your expense report general ledger dimensions, such as projects.

**Inputs**

- Dimension (`index`, number, required): Which of the five general ledger dimensions to use. One of: `1` (Dimension 1), `2` (Dimension 2), `3` (Dimension 3), `4` (Dimension 4), `5` (Dimension 5).
- Name (`name`, text): Only values with this name.
- Code (`code`, text): Only values with this code.
- Status (`active`, text): Only active or only inactive records. Leave empty for both. One of: `1` (Active), `0` (Inactive).
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.
- Refresh (`clearcache`, true/false): Turn on to skip Certify's 15-minute cache and get the latest records.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ExpRptGLDs": [
      {
        "Active": 1,
        "Code": "Example",
        "Data": "Example",
        "Description": "Example",
        "ExpRptGLDIndex": 1,
        "ExpRptGLDLabel": "Favorite Food",
        "ID": "3ceef8d9-7284-462e-b54a-8238e737446a",
        "Name": "Chicken Wings"
      }
    ],
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1
  }
}
```

### List settlement accounts

List your company's active settlement accounts.

**Inputs**

- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1,
    "SettlementAccounts": [
      {
        "ID": "51756fa9-cbc6-4b5a-bc81-cbc68e3eb0ed",
        "SettlementAccountName": "Wells Fargo - UK"
      }
    ]
  }
}
```

### List users

List the people in your company, filtered by email, role, department or status.

**Inputs**

- Email (`username`, text): Only the user who signs in with this email address.
- Status (`active`, text): Only active or only inactive records. Leave empty for both. One of: `1` (Active), `0` (Inactive).
- Role (`role`, text): Only users with this role. One of: `Accountants`, `Employees`, `Executives`, `Guests`, `Managers`.
- Department (`departmentid`, text): Only users in this department.
- Page (`page`, number): Which page of results to get, starting at 1. Each page holds up to 1,000 records. At least 1.
- Refresh (`clearcache`, true/false): Turn on to skip Certify's 15-minute cache and get the latest records.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "Page": 1,
    "PageCount": 1,
    "RecordCount": 1,
    "Records": 1,
    "Users": [
      {
        "AccountantID": "31abf466-be2b-4f60-bc8f-845799ae6c59",
        "Active": 1,
        "AdministrativeNotes": "Test user for documentation!",
        "Culture": "en-US",
        "Currency": "USD",
        "DefaultSettlementAccountID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "DepartmentID": "c456ab38-8f74-49e2-a47b-178f72c2f45f",
        "Email": "johnsmith@circp.com",
        "EmpGLD1ID": "2ea4ee07-7706-4a1e-a8f8-f56ea48487d0",
        "EmpGLD2ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmpGLD3ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmpGLD4ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmpGLD5ID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "EmployeeID": "JSMITH002",
        "FirstApproverID": "9ffe0981-5f56-4e87-ae39-5fbb583667f6",
        "FirstName": "John",
        "FullAdministrator": 1,
        "ID": "fc12bf3a-766e-4ec3-b2ae-60f2efe9505d",
        "Language": "en",
        "LastModifiedDate": "2017-8-10",
        "LastName": "Smith",
        "MobilePhone": "2075551212",
        "Role": "Accountants",
        "SecondApproverID": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
        "Treasurer": 1,
        "UseMultipleCurrencies": 1,
        "UserAdministrator": 0,
        "UserName": "johnsmith@circp.com",
        "WelcomeEmailSent": 1
      }
    ]
  }
}
```

### Update department

Change a department. Fields you leave empty keep their current value.

**Inputs**

- Department (`ID`, text, required): The department to change.
- Name (`Name`, text): The department's new name.
- Code (`Code`, text): Your own code for the department.
- Description (`Description`, text): A description for the department.
- Second approval (`ObtainSecondLevelApproval`, true/false): Every expense in the department needs a second approval.
- Only linked categories (`UseStrictFiltering`, true/false): People in the department see only the expense categories linked to it.
- Hide department (`HideDepartment`, true/false): People in the department don't have to pick a department.
- Hide billable (`HideBillable`, true/false): People in the department don't choose whether expenses are billable.
- Billable by default (`HideBillableDefaultValue`, true/false): When billable is hidden, mark expenses billable.
- Hide reimbursable (`HideReimbursable`, true/false): People in the department don't choose whether expenses are reimbursable.
- Reimbursable by default (`HideReimbursableDefaultValue`, true/false): When reimbursable is hidden, mark expenses reimbursable.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ID": "49c6743a-2f4c-4bb4-8092-ab724c92baf2",
    "Message": "Example",
    "Status": "Updated"
  }
}
```

### Update user

Change a person's profile, approvers or status. Fields you leave empty keep their current value.

**Inputs**

- User (`ID`, text, required): The user to change.
- Email (`Email`, text): Their new sign-in email address.
- First name (`FirstName`, text): Their first name. Needed to activate them.
- Last name (`LastName`, text): Their last name. Needed to activate them.
- Employee ID (`EmployeeID`, text): Their employee ID.
- Mobile phone (`MobilePhone`, text): Their mobile phone number.
- Language (`Language`, text): Their two-letter language code, such as en or de.
- Currency (`Currency`, text): Their three-letter currency code, such as USD.
- Multiple currencies (`UseMultipleCurrencies`, true/false): Whether they can use more than one currency.
- Department (`DepartmentID`, text): Their department. Needed to activate them.
- Role (`Role`, text): Their role. One of: `Employee`, `Manager`, `Accountant`, `Executive`.
- Treasurer (`Treasurer`, true/false): Whether they are a treasurer.
- Full administrator (`FullAdministrator`, true/false): Whether they can change every setting.
- User administrator (`UserAdministrator`, true/false): Whether they can view and edit user profiles.
- First approver (`FirstApproverID`, text): Who approves their expenses first. Needed if your company locks its approval workflow.
- Second approver (`SecondApproverID`, text): Who approves their expenses second.
- Accountant (`AccountantID`, text): Their accountant.
- Settlement account (`DefaultSettlementAccountID`, text): The settlement account their reports use by default.
- Welcome email (`SendWelcomeEmail`, number): Whether to email them a welcome when they are activated. This resets their password. One of: `0` (Don't send), `1` (Send), `2` (Send if not sent before).
- Active (`Active`, true/false): Whether they are active. Certify activates only users with a name and department.
- Admin notes (`AdministrativeNotes`, text): A private note about them, seen by administrators and accountants.

**Outputs**

- `data` (object): The response from Emburse Certify.

**Example output**

```json
{
  "data": {
    "ID": "321065e9-aa0c-4801-8473-f65f87a5c1f4",
    "Message": "Example",
    "Status": "Updated"
  }
}
```
