updated invoice JSON to new API