List the record number and state for each expense report that is approved:
Parameters
Name
Required
Type
Description
object
Required
string
Use EEXPENSES
filter
Optional
object
Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL).
select
Required
sequence
The names of the fields that you want included in the response, and an optional aggregate function such as count or sum. Returning all fields is not supported.
orderby
Optional
object
Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> <field>RECORDNO</field> <descending/> </order>
Set the caseinsensitive element to true for a case-insensitive query <caseinsensitive>true</caseinsensitive>
In a multi-entity company, set the showprivate element to true to query data in private entities: <showprivate>true</showprivate>
Specify the returnformat for the response: xml (default), json, or csv <returnformat>json</returnformat>
pagesize
Optional
integer
Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100)
offset
Optional
integer
Point at which to start indexing into records (Default: 0)
Query and List Expense Reports (Legacy)
readByQuery
Parameters
Name
Required
Type
Description
object
Required
string
Use EEXPENSES
fields
Optional
string
Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query
Required
string
SQL-like query based on fields on the object. The following operators are supported: <, >, >=, <=, =, like, not like, in, not in, IS NOT NULL, IS NULL, AND, OR. Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli'). Joins are not supported.
pagesize
Optional
integer
Custom page size between 1 and 1000 items (Default: 100)
Get Expense Report
read
Parameters
Name
Required
Type
Description
object
Required
string
Use EEXPENSES
keys
Required
string
Comma-separated list of expense report RECORDNO to get
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
Action. Use Draft or Submitted. (Default: Submitted)
description
Optional
string
Reason for expense
memo
Optional
string
Memo
externalid
Optional
string
External ID
basecurr
Optional
string
Base currency code
currency
Optional
string
Reimbursement currency code
customfields
Optional
array of customfield
Custom fields
expenses
Required
expense[1...n]
Expense report lines, must have at least 1.
supdocid
Optional
string
Attachments ID
inclusivetax
Optional
boolean
Inclusive taxes. Set to true to have the system calculate the transaction amount (trx_amount) for the expense report line and the transaction tax (trx_tax) for the tax entry based on the value supplied for totaltrxamount on the expense report line and the tax rate of the tax detail (detailid) for the tax entry. (AU, GB, ZA only)
taxsolutionid
Optional
string
Tax solution name, such as United Kingdom - VAT or Australia - GST. Required only if the company is configured for multiple tax jurisdictions and the transaction is occurring at the top level of the company. See Tax Solutions for more information. (GB, AU, and ZA only)
datecreated
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
dateposted
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
customfield
Name
Required
Type
Description
customfieldname
Optional
string
Custom field ID
customfieldvalue
Optional
varies
Custom field value. For a multi-pick-list custom field, implode multiple field values with #~#.
expense
Name
Required
Type
Description
expensetype
Optional
string
Expense type. Required if not using glaccountno.
glaccountno
Optional
string
GL account number. Required if not using expensetype.
amount
Required
currency
Reimbursement amount
currency
Optional
string
Transaction currency code
trx_amount
Optional
currency
Transaction amount
exchratedate
Optional
object
Exchange rate date
exchratetype
Optional
string
Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate
Optional
currency
Exchange rate value. Do not use if exchangeratetype is set.
expensedate
Optional
object
Expense date
memo
Optional
string
Paid to
form1099
Optional
boolean
Form 1099. Use false for No, true for Yes. Employee must be set up for 1099s.
form1099type
Optional
string
Form 1099 type
form1099box
Optional
string
Form 1099 box
paidfor
Optional
string
Paid for
locationid
Optional
string
LOCATIONID of an active location. Required if company is multi-entity enabled.
departmentid
Optional
string
Department ID
customfields
Optional
array of customfield
Custom fields
projectid
Optional
string
Project ID
taskid
Optional
string
Task ID. Only available when the parent projectid is also specified.
costtypeid
Optional
string
Cost type ID. Only available when projectid and taskid are specified. (Construction subscription)
customerid
Optional
string
Customer ID
vendorid
Optional
string
Vendor ID
employeeid
Optional
string
Employee ID
itemid
Optional
string
Item ID
classid
Optional
string
Class ID
contractid
Optional
string
Contract ID
warehouseid
Optional
string
Warehouse ID
billable
Optional
boolean
Billable. Use false for No, true for Yes. (Default: false)
exppmttype
Optional
string
Expense payment type
quantity
Optional
number
Quantity
rate
Optional
number
Unit rate
totaltrxamount
Optional
currency
Total transaction amount. Required if inclusive tax is set to true.
taxentries
Optional
taxentry[1...n]
Tax entries for the line. Required for VAT enabled transactions. Providing multiple entries is allowed if your tax solution supports it (AU and GB only). For ZA, only one tax entry is allowed.
expensedate
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
customfield
Name
Required
Type
Description
customfieldname
Optional
string
Custom field ID
customfieldvalue
Optional
varies
Custom field value. For a multi-pick-list custom field, implode multiple field values with #~#.
taxentry (AU, GB, ZA only)
Specifies a tax rate (defined in the system) and a manually calculated tax for the expense report line.
Name
Required
Type
Description
detailid
Required
string
Unique ID of a tax detail with the tax rate to use
trx_tax
Optional
currency
Transaction tax, which is a manually calculated value to override the calculated value for the tax. The amount of the tax line is automatically included in the read-only transaction amount (trx_amount).
Action. Use Draft or Submitted. (Default: Submitted)
description
Optional
string
Reason for expense
memo
Optional
string
Memo
basecurr
Optional
string
Base currency code
currency
Optional
string
Reimbursement currency code
customfields
Optional
array of customfield
Custom fields
updateexpenses
Optional
(updateexpense | expense)[0...n]
Expense report lines. To update an existing line use updateexpense otherwise to create a new line use expense. You can mix types in the array.
supdocid
Optional
string
Attachments ID
inclusivetax
Optional
boolean
Inclusive taxes. Set to true to have the system calculate the transaction amount (trx_amount) for the expense report line and the transaction tax (trx_tax) for the tax entry based on the value supplied for totaltrxamount on the expense report line and the tax rate of the tax detail (detailid) for the tax entry. (AU, GB, ZA only)
datecreated
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
dateposted
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
customfield
Name
Required
Type
Description
customfieldname
Optional
string
Custom field ID
customfieldvalue
Optional
varies
Custom field value. For a multi-pick-list custom field, implode multiple field values with #~#.
expense
Name
Required
Type
Description
expensetype
Optional
string
Expense type. Required if not using glaccountno.
glaccountno
Optional
string
GL account number. Required if not using expensetype.
amount
Required
currency
Reimbursement amount
currency
Optional
string
Transaction currency code
trx_amount
Optional
currency
Transaction amount
exchratedate
Optional
object
Exchange rate date.
exchratetype
Optional
string
Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate
Optional
currency
Exchange rate value. Do not use if exchangeratetype is set.
expensedate
Optional
object
Expense date
memo
Optional
string
Paid to
form1099
Optional
boolean
Form 1099. Use false for No, true for Yes. Employee must be set up for 1099s.
form1099type
Optional
string
Form 1099 type
form1099box
Optional
string
Form 1099 box
paidfor
Optional
string
Paid for
locationid
Optional
string
LOCATIONID of an active location. Required if company is multi-entity enabled.
departmentid
Optional
string
Department ID
customfields
Optional
array of customfield
Custom fields
projectid
Optional
string
Project ID
taskid
Optional
string
Task ID. Only available when the parent projectid is also specified.
costtypeid
Optional
string
Cost type ID. Only available when projectid and taskid are specified. (Construction subscription)
customerid
Optional
string
Customer ID
vendorid
Optional
string
Vendor ID
employeeid
Optional
string
Employee ID
itemid
Optional
string
Item ID
classid
Optional
string
Class ID
contractid
Optional
string
Contract ID
warehouseid
Optional
string
Warehouse ID
billable
Optional
boolean
Billable. Use false for No, true for Yes. (Default: false)
exppmttype
Optional
string
Expense payment type
quantity
Optional
number
Quantity
rate
Optional
number
Unit rate
totaltrxamount
Optional
currency
Total transaction amount. Required if inclusive tax is set to true.
taxentries
Optional
taxentry[1...n]
Tax entries for the line. Required for VAT enabled transactions. Providing multiple entries is allowed if your tax solution supports it (AU and GB only). For ZA, only one tax entry is allowed.
updateexpense
Name
Required
Type
Description
line_num
Required
integer
Line number to update
expensetype
Optional
string
Expense type. Can use this or glaccountno but not both.
glaccountno
Optional
string
GL account number. Can use this or expensetype but not both.
amount
Optional
currency
Reimbursement amount
currency
Optional
string
Transaction currency code
trx_amount
Optional
currency
Transaction amount
exchratedate
Optional
object
Exchange rate date.
exchratetype
Optional
string
Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate
Optional
currency
Exchange rate value. Do not use if exchangeratetype is set.
expensedate
Optional
object
Expense date
memo
Optional
string
Paid to
form1099
Optional
boolean
Form 1099. Use false for No, true for Yes. Employee must be set up for 1099s.
form1099type
Optional
string
Form 1099 type
form1099box
Optional
string
Form 1099 box
paidfor
Optional
string
Paid for
locationid
Optional
string
LOCATIONID of an active location. Required if company is multi-entity enabled.
departmentid
Optional
string
Department ID
customfields
Optional
array of customfield
Custom fields
projectid
Optional
string
Project ID
taskid
Optional
string
Task ID. Only available when the parent projectid is also specified.
costtypeid
Optional
string
Cost type ID. Only available when projectid and taskid are specified. (Construction subscription)
customerid
Optional
string
Customer ID
vendorid
Optional
string
Vendor ID
employeeid
Optional
string
Employee ID
itemid
Optional
string
Item ID
classid
Optional
string
Class ID
contractid
Optional
string
Contract ID
warehouseid
Optional
string
Warehouse ID
billable
Optional
boolean
Billable. Use false for No, true for Yes. (Default: false)
exppmttype
Optional
string
Expense payment type
quantity
Optional
number
Quantity
rate
Optional
number
Unit rate
totaltrxamount
Optional
currency
Total transaction amount. Required if inclusive tax is set to true.
taxentries
Optional
taxentry[1...n]
Tax entries for the line. Required for VAT enabled transactions. Providing multiple entries is allowed if your tax solution supports it (AU and GB only). For ZA, only one tax entry is allowed.
expensedate
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
taxentry (AU, GB, ZA only)
Specifies a tax rate (defined in the system) and a manually calculated tax for the expense report line.
Name
Required
Type
Description
detailid
Required
string
Unique ID of a tax detail with the tax rate to use
trx_tax
Optional
currency
Transaction tax, which is a manually calculated value to override the calculated value for the tax. The amount of the tax line is automatically included in the read-only transaction amount (trx_amount).