Merged in hotfix/2026-01-15 (pull request #2848)

IO-3498 No SalesTerms for Credits
This commit is contained in:
Allan Carr
2026-01-19 18:57:06 +00:00

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
}