Merged in feature/IO-3498-QBO-Auth-Token (pull request #2847)

IO-3498 No SalesTerms for Credits

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2026-01-19 18:54:15 +00:00
committed by Dave Richer

View File

@@ -274,7 +274,7 @@ async function InsertBill(oauthClient, qbo_realmId, req, bill, vendor, bodyshop)
VendorRef: {
value: vendor.Id
},
...(vendor.TermRef && {
...(vendor.TermRef && !bill.is_credit_memo && {
SalesTermRef: {
value: vendor.TermRef.value
}