LineItems are not linking to opportunity in Salesforce From QuickBooks
For Invoice To Opportunity
In the rules OpportunityLineItem upsert
Earlier mappings for opportunityID
Then instead of using session-id need to do the following changes.
In Salesforce upsert and update rule, the status writer should be selected as Console adapter on success need to mapped as VALUE("newid") on error map can be mapped as "error in creating opportunity"