Create invoice line for non-line only once

issue3292
review1043002
(transplanted from 71fd4a013396386aaee4479c27c05178721b38d5)

--HG--
extra : transplant_source : q%FDJ%013%968j%AE%E4G%9C%27%C0Qxr%1B8%D5