What is the maximum size allowed for an invoice?

What is the maximum size allowed for an invoice?

Around 10 MB. If this value is exceeded, the relevant API will return an Error 413 response as “Request Entity is too large”