Merged in feature/IO-3491-QBO-SALESTERMSREF (pull request #2764)

IO-3491 QBO SALESTERMSREF

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2025-12-31 17:27:56 +00:00
committed by Dave Richer

View File

@@ -283,6 +283,11 @@ async function InsertBill(oauthClient, qbo_realmId, req, bill, vendor, bodyshop)
VendorRef: {
value: vendor.Id
},
...(vendor.TermRef && {
SalesTermRef: {
value: vendor.TermRef.value
}
}),
TxnDate: moment(bill.date)
//.tz(bill.job.bodyshop.timezone)
.format("YYYY-MM-DD"),