adding parsing to invoice