added code to handle when an invoice exists in intacct but was never updated locally... bad db connect issue most likely