diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js index aa07f0e7ca34..fd16dd0c5eab 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -2425,7 +2425,7 @@ function getSendMoneyParams(report, amount, currency, comment, paymentMethodType function getPayMoneyRequestParams(chatReport, iouReport, recipient, paymentMethodType) { const optimisticIOUReportAction = ReportUtils.buildOptimisticIOUReportAction( CONST.IOU.REPORT_ACTION_TYPE.PAY, - iouReport.total, + -iouReport.total, iouReport.currency, '', [recipient], diff --git a/tests/actions/IOUTest.js b/tests/actions/IOUTest.js index 1c258f6e0f37..ed916a7d6fe2 100644 --- a/tests/actions/IOUTest.js +++ b/tests/actions/IOUTest.js @@ -1757,7 +1757,7 @@ describe('actions/IOU', () => { }), ]), originalMessage: expect.objectContaining({ - amount, + amount: -amount, paymentType: CONST.IOU.PAYMENT_TYPE.VBBA, type: 'pay', }),