diff --git a/server/accounting/qbo/qbo-payments.js b/server/accounting/qbo/qbo-payments.js index 8ba87150a..13f15e2a6 100644 --- a/server/accounting/qbo/qbo-payments.js +++ b/server/accounting/qbo/qbo-payments.js @@ -281,6 +281,7 @@ async function InsertPayment( PaymentMethodRef: { value: paymentMethods[payment.type], }, + PaymentRefNum: payment.transactionid, ...(invoices && invoices.length === 1 && invoices[0] ? { Line: [ @@ -473,6 +474,7 @@ async function InsertCreditMemo( ...(invoices && invoices[0] ? { InvoiceRef: { value: invoices[0].Id } } : {}), + PaymentRefNum: payment.transactionid, Line: [ { DetailType: "SalesItemLineDetail",