IO-2106 Add payment Ref to QBO export.

This commit is contained in:
Patrick Fic
2022-11-25 08:40:40 -08:00
parent d6c6e5245d
commit 94e8dc7456

View File

@@ -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",