accounting
expensereport

Create an expensereport

Changed on

Creates a AccountingExpensereport. Provide the unified AccountingExpensereport fields in the request body; they are mapped to the provider's API. Returns the created AccountingExpensereport.

post/accounting/{connection_id}/expensereport

Request

Path parameters

connection_idstring required

ID of the connection

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
user_idstring

references a HR employee/user (reference to HrisEmployee)

approver_user_idstring

references HR employee/user (reference to HrisEmployee)

status'DRAFT' | 'SUBMITTED' | 'PENDING' | 'APPROVED' | 'REJECTED' | 'PAID'
total_amountnumber
currencystring
tax_amountnumber
reimbursed_amountnumber
reimbursed_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

approved_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

posted_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

external_numberstring
category_idsstring[]
project_idstring

(reference to TaskProject)

organization_idstring
rawobject

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
user_idstring

references a HR employee/user (reference to HrisEmployee)

approver_user_idstring

references HR employee/user (reference to HrisEmployee)

status'DRAFT' | 'SUBMITTED' | 'PENDING' | 'APPROVED' | 'REJECTED' | 'PAID'
total_amountnumber
currencystring
tax_amountnumber
reimbursed_amountnumber
reimbursed_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

approved_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

posted_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

external_numberstring
category_idsstring[]
project_idstring

(reference to TaskProject)

organization_idstring
rawobject

Changes