[T5649] fix invoice validation error

Merged Macarena Meldi requested to merge T5649 into 15.0

Merge request reports