<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/AdvancedCommerceProduct/latestTransaction",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit23AdvancedCommerceProductV17latestTransactionAA18VerificationResultOyAA0G0VGSgvp"
  },
  "title" : "latestTransaction"
}
-->

# latestTransaction

The most recent transaction associated with the generic product ID, if it exists.

```
var latestTransaction: VerificationResult<Transaction>? { get async }
```

## Discussion

This value is `nil` if the customer hasn’t made any purchases associated with the generic product ID.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)