User story: Download an invoice as PDF
Project: Customer portal
ID: PORT-142
Written by: Sofia Rossi, Product Owner
Priority: Priority
The story
As a customer with an account, I want to download any past invoice as a PDF, so that I can send it to my accountant without asking support.
Acceptance criteria
The story is accepted when all of these are true.
| Given | When | Then |
|---|---|---|
| I am signed in and open Invoices | I choose Download | A PDF opens within 3 seconds |
| I am not the account owner | I open Invoices | I only see invoices for my own orders |
Edge cases
Invoice not yet issued
Very long customer name
Slow connection
Out of scope
Sending the invoice by email; bulk download
Design and notes
See the design file for the Invoices page. Use the standard download icon.
Definition of done
Code reviewed, tests pass, works on the supported browsers, help text updated, product owner accepted