For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
Resources
Log inGet a demo
Get startedAPI referenceImplementation
Get startedAPI referenceImplementation
    • Overview
          • The ExpenseReport object
          • GET/expense-reports
          • POST/expense-reports
          • GET/expense-reports/{expense_report_id}/lines
          • GET/expense-reports/{id}
          • GET/expense-reports/lines/remote-field-classes
          • GET/expense-reports/meta/post
          • GET/expense-reports/remote-field-classes
UnifiedAgent HandlerGateway
UnifiedAgent HandlerGateway
Resources
Log inGet a demo
Common ModelsExpense Reports

The ExpenseReport object

Beta
The ExpenseReport Object
1{
2 "id": "string",
3 "remote_id": "string",
4 "created_at": "2023-01-01T00:00:00Z",
5 "modified_at": "2023-01-01T00:00:00Z",
6 "report_date": "2023-01-01T00:00:00Z",
7 "report_identifier": "string",
8 "employee": "string",
9 "status": "DRAFT",
10 "total_amount": 1,
11 "lines": [
12 {
13 "id": "string",
14 "remote_id": "string",
15 "created_at": "2023-01-01T00:00:00Z",
16 "modified_at": "2023-01-01T00:00:00Z",
17 "account": "string",
18 "description": "string",
19 "expense_date": "2023-01-01T00:00:00Z",
20 "amount": 1,
21 "currency": "XUA",
22 "exchange_rate": "string",
23 "is_billable": true,
24 "tracking_categories": [
25 "string"
26 ],
27 "employee": "string",
28 "project": "string",
29 "company": "string",
30 "contact": "string",
31 "quantity": 1,
32 "unit_price": 1,
33 "non_reimbursable": true,
34 "tax_amount": 1,
35 "inclusive_of_tax": true,
36 "tax_rate": "string",
37 "remote_was_deleted": true,
38 "remote_fields": [
39 {
40 "remote_field_class": {
41 "id": "string",
42 "display_name": "string",
43 "remote_key_name": "string",
44 "description": "string",
45 "is_custom": true,
46 "is_common_model_field": true,
47 "is_required": true,
48 "field_type": "string",
49 "field_format": "string",
50 "field_choices": [
51 "string"
52 ],
53 "item_schema": {
54 "item_type": "string",
55 "item_format": "string",
56 "item_choices": [
57 "string"
58 ]
59 }
60 },
61 "value": {
62 "string": {}
63 }
64 }
65 ]
66 }
67 ],
68 "currency": "XUA",
69 "description": "string",
70 "accounting_period": "string",
71 "company": "string",
72 "tracking_categories": [
73 "string"
74 ],
75 "remote_was_deleted": true,
76 "field_mappings": {},
77 "remote_data": [
78 {
79 "path": "string",
80 "data": {}
81 }
82 ],
83 "remote_fields": [
84 {
85 "remote_field_class": {
86 "id": "string",
87 "display_name": "string",
88 "remote_key_name": "string",
89 "description": "string",
90 "is_custom": true,
91 "is_common_model_field": true,
92 "is_required": true,
93 "field_type": "string",
94 "field_format": "string",
95 "field_choices": [
96 "string"
97 ],
98 "item_schema": {
99 "item_type": "string",
100 "item_format": "string",
101 "item_choices": [
102 "string"
103 ]
104 }
105 },
106 "value": {
107 "string": {}
108 }
109 }
110 ]
111}
Was this page helpful?
Previous

/employees/{id}

Next

/expense-reports

Built with

The ExpenseReport object represents a collection of expenses submitted for review and reimbursement. It includes details about the submitter, status, amounts, and associated metadata.

tracking_categorieslist of stringsRequired
The related tracking categories associated with the expense report
idstringOptionalRead-onlyformat: "uuid"
remote_idstring or nullOptional

The third-party API ID of the matching object.

created_atdatetimeOptionalRead-only
The datetime that this object was created by Merge.
modified_atdatetimeOptionalRead-only
The datetime that this object was modified by Merge.
report_datedatetime or nullOptional
The date of the expense report.
report_identifierstring or nullOptional<=1024 characters

Human-readable expense report identifier.

employeestring or nullOptionalformat: "uuid"
Identifier for the employee who submitted or is associated with the expense report
statusenum or nullOptional

Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED

  • DRAFT - DRAFT
  • SUBMITTED - SUBMITTED
  • APPROVED - APPROVED
  • REJECTED - REJECTED
Allowed values:
total_amountdouble or nullOptional
Total amount of the expense report
lineslist of objectsOptionalRead-only
currencyenum or nullOptional
Currency code for the expense report. The currency code in ISO 4217 format.
descriptionstring or nullOptional<=1024 characters
A brief description or purpose for the expense report
accounting_periodstring or nullOptionalformat: "uuid"
The accounting period the report was posted in
companystring or nullOptionalformat: "uuid"
The subsidiary that the expense report is created in
remote_was_deletedbooleanOptionalRead-only

Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.

field_mappingsobject or nullOptionalRead-only
remote_datalist of objects or nullOptionalRead-only
remote_fieldslist of objectsOptionalRead-only