Fix trailing space on input

Especially if saved as a text file
elements can acquire trainling spaces after the
separator. Trim them on input
test all invoice amounts are returned

Check that message level monetary amounts are returned
All generic invoice example
message level free_text should be an array
Add header to invoice example
Merge branch 'ftx_fix'

Bug in handling message level ftx was causing compile errors