Employee expense adjustment lines

Expense adjustment lines are individual entries in an employee expense adjustment that represent debits or credits payable to an employee.

List employee expense adjustment lines

get/objects/expenses/employee-expense-adjustment-line

Returns a collection with a key, ID, and link for each employee expense adjustment line. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "100",
      • "id": "100",
      • "href": "/objects/expenses/employee-expense-adjustment-line/100"
      },
    • {
      • "key": "101",
      • "id": "101",
      • "href": "/objects/expenses/employee-expense-adjustment-line/101"
      },
    • {
      • "key": "102",
      • "id": "102",
      • "href": "/objects/expenses/employee-expense-adjustment-line/102"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 5,
    • "next": 0,
    • "previous": 0
    }
}

Create an employee expense adjustment line

post/objects/expenses/employee-expense-adjustment-line

Creates a new employee expense adjustment line.

SecurityOAuth2
Request
Request Body schema: application/json
required
entryDate
string <date>

Date the adjustment item is filed.

Example: "2025-01-23"
txnCurrency
string

In multi-currency companies, the currency used for the transaction.

Example: "INR"
txnAmount
string or null <decimal-precision-2>

Transaction amount.

Example: "123.45"
quantity
string <decimal-precision-2>

Quantity for a rate-based expense adjustment, such as mileage.

Example: "5.75"
unitRate
string <decimal-precision-6>

Monetary amount for a rate-based expense adjustment, such as mileage.

Example: "20.000000"
paidTo
string

Notes regarding to whom the amount was paid.

Example: "Hotel Westin"
object

General ledger account associated with the line item. Used when no expense adjustment type is assigned.

key
string

Unique key for the GL account.

Example: "158"
id
string

Unique identifier for the GL account.

Example: "6775.30"
object

An expense type defined in the company.

key
string

Unique key for the expense type.

Example: "6000"
id
string

Unique identifier for the expense type.

Example: "Meals"
object

Details of reimbursement currency to base currency conversion.

object

Details of the conversion to base currency.

exchangeRate
string <decimal-precision-5>

Exchange rate for the transaction.

Example: "65"
exchangeRateDate
string <date>

Date for the exchange rate.

Example: "2025-01-23"
exchangeRateTypeId
string

Exchange rate type.

Example: "-1"
isBillable
boolean
Default: false

Indicates whether a line item is billable.

Example: false
object
key
string

Unique key for the expense payment type.

Example: "1"
id
string

Unique identifier for the expense payment type.

Example: "1"
name
string

Name of the expense payment type.

Example: "Non-reimburse"
isNonReimbursable
boolean
Default: false

Non-reimbursable expense.

Example: false
object
object
key
string or null

Location key

Example: "1"
id
string or null

Location ID

Example: "1"
object
key
string or null

Department key

Example: "12"
id
string or null

Department ID

Example: "12"
object
key
string or null

Employee key

Example: "10"
id
string or null

Employee ID

Example: "EMP-10"
object
key
string or null

Project key

Example: "2"
id
string or null

Project ID

Example: "NET-XML30-2"
object
key
string or null

Customer key

Example: "13"
id
string or null

Customer ID

Example: "CUST-13"
object
key
string or null

Vendor key

Example: "357"
id
string or null

Vendor ID

Example: "1605212096809"
object
key
string or null

Item key

Example: "13"
id
string or null

Item ID

Example: "Case 13"
object
key
string or null

Warehouse key

Example: "6"
id
string or null

Warehouse ID

Example: "WH01"
object
key
string or null

Class key

Example: "731"
id
string or null

Class ID

Example: "REST_CLS_001"
object
id
string or null

Task ID

Example: "1"
key
string or null

Task key

Example: "1"
object
id
string or null

Cost Type ID

Example: "2"
key
string or null

Cost Type key

Example: "2"
object
id
string or null

Asset ID

Example: "A001"
key
string or null

Asset key

Example: "1"
object
id
string or null

Contract ID

Example: "CON-0045-1"
key
string or null

Contract key

Example: "12"
object
key
string or null

Affiliate entity key

Example: "23"
id
string or null

Affiliate entity ID

Example: "AFF-23"
object
id
string

Unique identifier for the employee expense adjustment.

Example: "138"
key
string

Unique key for the employee expense adjustment.

Example: "138"
Responses
201

Created

400

Bad Request

Request samples
application/json
{
  • "account": {
    • "id": "6775.3"
    },
  • "paidTo": "Hotel Westin",
  • "paidFor": "Not used",
  • "isBillable": false,
  • "form1099": {
    • "isForm1099": "true",
    • "type": "MISC",
    • "box": "3"
    },
  • "paymentType": {
    • "key": "1",
    • "name": "Non-reimburse",
    • "isNonreimbursable": false
    },
  • "quantity": "10",
  • "unitrate": "20",
  • "txnCurrency": "INR",
  • "txnAmount": "100",
  • "transactionToReimburseConversion": {
    • "exchangeRateDate": "2025-03-11",
    • "exchangeRateTypeId": "Intacct Daily Rate"
    },
  • "dimensions": {
    • "location": {
      • "id": "1"
      },
    • "department": {
      • "id": "1"
      },
    • "class": {
      • "id": "REST_CLS_001"
      },
    • "item": {
      • "id": "Case 13"
      },
    • "employee": {
      • "id": "10"
      },
    • "vendor": {
      • "id": "1605212096809"
      },
    • "customer": {
      • "id": "113"
      },
    • "project": {
      • "id": "NET-XML30-2"
      },
    • "warehouse": {
      • "id": "WH01"
      },
    • "task": {
      • "id": "tet"
      }
    }
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "124",
    • "id": "124",
    • "href": "/objects/expenses/employee-expense-adjustment-line/124"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Get an employee expense adjustment line

get/objects/expenses/employee-expense-adjustment-line/{key}

Returns detailed information for a specified employee expense adjustment line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the employee expense adjustment line.

Example: 99
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "312",
    • "id": "312",
    • "employee-expense": {
      • "id": "136",
      • "key": "136",
      • "href": "/objects/expenses/employee-expense/136"
      },
    • "glAccount": {
      • "key": "158",
      • "id": "6775.30",
      • "name": "Travel",
      • "href": "/objects/account/158"
      },
    • "entryDate": "2025-03-11",
    • "paidTo": "Hotel Westin",
    • "paidFor": "Not used",
    • "reimburseToBase": {
      • "baseAmount": "1.38",
      • "exchangeRateDate": "2025-03-11",
      • "exchangeRateTypeId": "-1",
      • "exchangeRate": "1.1899"
      },
    • "dimensions": {
      • "location": {
        },
      • "department": {
        },
      • "class": {
        },
      • "item": {
        },
      • "employee": {
        },
      • "employeeContact": {
        },
      • "vendor": {
        },
      • "customer": {
        },
      • "project": {
        },
      • "task": {
        },
      • "warehouse": {
        }
      },
    • "lineNumber": 1,
    • "expenseType": {
      • "key": "Meals",
      • "id": "6000"
      },
    • "reimbursement": {
      • "reimbursementAmount": "1.16",
      • "totalSelected": "0",
      • "totalPaid": "0"
      },
    • "isBillable": false,
    • "isBilled": false,
    • "state": "approved",
    • "form1099": {
      • "isForm1099": "true",
      • "type": "MISC",
      • "box": "3"
      },
    • "paymentType": {
      • "key": "1",
      • "name": "Non-reimburse",
      • "isNonreimbursable": false
      },
    • "quantity": "5",
    • "unitRate": "20",
    • "currency": {
      • "txnCurrency": "INR",
      • "txnAmount": "4444",
      • "exchangeRateDate": "2025-03-11",
      • "exchangeRateTypeId": "-1",
      • "exchangeRate": "65",
      • "userExchangeRate": "5"
      },
    • "href": "/objects/expenses/employee-expense-adjustment-line/312"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Update an employee expense adjustment line

patch/objects/expenses/employee-expense-adjustment-line/{key}

Updates an existing employee expense adjustment line by setting field values. Any fields not provided remain unchanged.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the employee expense adjustment line.

Example: 99
Request Body schema: application/json
entryDate
string <date>

Date the adjustment item is filed.

Example: "2025-01-23"
txnCurrency
string

In multi-currency companies, the currency used for the transaction.

Example: "INR"
txnAmount
string or null <decimal-precision-2>

Transaction amount.

Example: "123.45"
quantity
string <decimal-precision-2>

Quantity for a rate-based expense adjustment, such as mileage.

Example: "5.75"
unitRate
string <decimal-precision-6>

Monetary amount for a rate-based expense adjustment, such as mileage.

Example: "20.000000"
paidTo
string

Notes regarding to whom the amount was paid.

Example: "Hotel Westin"
object

General ledger account associated with the line item. Used when no expense adjustment type is assigned.

key
string

Unique key for the GL account.

Example: "158"
id
string

Unique identifier for the GL account.

Example: "6775.30"
object

An expense type defined in the company.

key
string

Unique key for the expense type.

Example: "6000"
id
string

Unique identifier for the expense type.

Example: "Meals"
object

Details of reimbursement currency to base currency conversion.

object

Details of the conversion to base currency.

exchangeRate
string <decimal-precision-5>

Exchange rate for the transaction.

Example: "65"
exchangeRateDate
string <date>

Date for the exchange rate.

Example: "2025-01-23"
exchangeRateTypeId
string

Exchange rate type.

Example: "-1"
isBillable
boolean
Default: false

Indicates whether a line item is billable.

Example: false
object
key
string

Unique key for the expense payment type.

Example: "1"
id
string

Unique identifier for the expense payment type.

Example: "1"
name
string

Name of the expense payment type.

Example: "Non-reimburse"
isNonReimbursable
boolean
Default: false

Non-reimbursable expense.

Example: false
object
object
key
string or null

Location key

Example: "1"
id
string or null

Location ID

Example: "1"
object
key
string or null

Department key

Example: "12"
id
string or null

Department ID

Example: "12"
object
key
string or null

Employee key

Example: "10"
id
string or null

Employee ID

Example: "EMP-10"
object
key
string or null

Project key

Example: "2"
id
string or null

Project ID

Example: "NET-XML30-2"
object
key
string or null

Customer key

Example: "13"
id
string or null

Customer ID

Example: "CUST-13"
object
key
string or null

Vendor key

Example: "357"
id
string or null

Vendor ID

Example: "1605212096809"
object
key
string or null

Item key

Example: "13"
id
string or null

Item ID

Example: "Case 13"
object
key
string or null

Warehouse key

Example: "6"
id
string or null

Warehouse ID

Example: "WH01"
object
key
string or null

Class key

Example: "731"
id
string or null

Class ID

Example: "REST_CLS_001"
object
id
string or null

Task ID

Example: "1"
key
string or null

Task key

Example: "1"
object
id
string or null

Cost Type ID

Example: "2"
key
string or null

Cost Type key

Example: "2"
object
id
string or null

Asset ID

Example: "A001"
key
string or null

Asset key

Example: "1"
object
id
string or null

Contract ID

Example: "CON-0045-1"
key
string or null

Contract key

Example: "12"
object
key
string or null

Affiliate entity key

Example: "23"
id
string or null

Affiliate entity ID

Example: "AFF-23"
object
id
string

Unique identifier for the employee expense adjustment.

Example: "138"
key
string

Unique key for the employee expense adjustment.

Example: "138"
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "id": "100",
  • "paidTo": "Hotel Westin"
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "124",
    • "id": "124",
    • "href": "/objects/expenses/employee-expense-adjustment-line/124"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Delete an employee expense adjustment line

delete/objects/expenses/employee-expense-adjustment-line/{key}

Deletes an employee expense adjustment line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the employee expense adjustment line.

Example: 99
Responses
204

No Content

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}

Query employee expense adjustment lines

post/services/core/query

Use the query service to find employee expense adjustment lines that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}