[FIX]fix error when create 2 ep for 1 invoce

Merged Ariel Caruso requested to merge 12.0-stage-RAFC-97 into 12.0-stage

Closes RAFC-97

Merge request reports