IO-2106 Add payment Ref to QBO export.
This commit is contained in:
@@ -281,6 +281,7 @@ async function InsertPayment(
|
|||||||
PaymentMethodRef: {
|
PaymentMethodRef: {
|
||||||
value: paymentMethods[payment.type],
|
value: paymentMethods[payment.type],
|
||||||
},
|
},
|
||||||
|
PaymentRefNum: payment.transactionid,
|
||||||
...(invoices && invoices.length === 1 && invoices[0]
|
...(invoices && invoices.length === 1 && invoices[0]
|
||||||
? {
|
? {
|
||||||
Line: [
|
Line: [
|
||||||
@@ -473,6 +474,7 @@ async function InsertCreditMemo(
|
|||||||
...(invoices && invoices[0]
|
...(invoices && invoices[0]
|
||||||
? { InvoiceRef: { value: invoices[0].Id } }
|
? { InvoiceRef: { value: invoices[0].Id } }
|
||||||
: {}),
|
: {}),
|
||||||
|
PaymentRefNum: payment.transactionid,
|
||||||
Line: [
|
Line: [
|
||||||
{
|
{
|
||||||
DetailType: "SalesItemLineDetail",
|
DetailType: "SalesItemLineDetail",
|
||||||
|
|||||||
Reference in New Issue
Block a user