Since V19 Microsoft has introduced a new posting interface. Depending how you concepted your integration in to a posting routine you might have to refactor your code. Maybe you can use this one.
*NOTE: Do not forget to activate first "Feature Update: Enable use of new extensible invoice posting engine" in Feature Management.