Is it possible to store the vertical arrangement invoice page as an image and share it as well?

For your runtime error, you are trying to add a blank text to an number. Initialise the variable to zero

You do not provide enough information about your environment to confidently answer your second permissions issue