IO-2927 Update QBO Payable to use ITC.

This commit is contained in:
Patrick Fic
2024-09-12 13:03:23 -07:00
parent d0a7b87e04
commit 0a5df69b12
2 changed files with 6 additions and 2 deletions

View File

@@ -575,7 +575,9 @@ async function InsertInvoice(oauthClient, qbo_realmId, req, job, bodyshop, paren
} catch (error) {
logger.log("qbo-receivables-error", "DEBUG", req.user.email, job.id, {
error,
method: "InsertOwner"
method: "InsertInvoice",
validationError: JSON.stringify(error?.response?.data),
accountmeta: JSON.stringify({ accounts, taxCodes, classes })
});
throw error;
}