diff --git a/server/accounting/qbo/qbo-payables.js b/server/accounting/qbo/qbo-payables.js index eacf36f4d..1d16b0daf 100644 --- a/server/accounting/qbo/qbo-payables.js +++ b/server/accounting/qbo/qbo-payables.js @@ -219,7 +219,7 @@ async function InsertBill(oauthClient, qbo_realmId, req, bill, vendor, bodyshop) Amount: Dinero({ amount: Math.round( bill.billlines.reduce((acc, val) => { - return acc + val.actual_cost * val.quantity; + return acc + val.applicable_taxes?.federal ? (val.actual_cost * val.quantity ?? 0) : 0; }, 0) * 100 ) })