Fixed SQL syntax error in invoicing core class

2 jobs for sqlfix in 41 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build_job #1042

00:00:10

 
  Test
passed test_job #1043

00:00:31