Fixed bug with lineitems element

Added the required tagname parameter (see diff)