Invoice PUT & POST examples

and PHP warnings tidy up
remove error logging