diff --git a/src/libs/API/parameters/CreateDistanceRequestParams.ts b/src/libs/API/parameters/CreateDistanceRequestParams.ts index 62f90a64cf05..b9adee4393ec 100644 --- a/src/libs/API/parameters/CreateDistanceRequestParams.ts +++ b/src/libs/API/parameters/CreateDistanceRequestParams.ts @@ -14,6 +14,8 @@ type CreateDistanceRequestParams = { billable?: boolean; transactionThreadReportID: string; createdReportActionIDForThread: string; + payerEmail: string; + customUnitRateID?: string; }; export default CreateDistanceRequestParams; diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index 29cab600bd2d..4b88bb7a77a8 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -1043,6 +1043,7 @@ function createDistanceRequest( reportPreviewAction, transactionThreadReportID, createdReportActionIDForThread, + payerEmail, onyxData, } = getMoneyRequestInformation( currentChatReport, @@ -1081,6 +1082,7 @@ function createDistanceRequest( billable, transactionThreadReportID, createdReportActionIDForThread, + payerEmail, }; API.write(WRITE_COMMANDS.CREATE_DISTANCE_REQUEST, parameters, onyxData);