Downloading invoice/receipt

I paid an invoice months ago, i received the email confirming payment and when i click the link it shows as PAID.
I have the option to download the PDF, but when i download it, shows it as being DUE.

How can i download it as “paid”?