If you lost your invoice/receipt, ask for a copy to the reseller you purchased your iPhone from.
If you bought it from Apple Shop Online, enter there using your account credentials, and you'd be able to save/print your invoice(s).
If you mean something different, please better explain your needs.
Regards
Giulio