App Purchase Vault
Takeout · Technical

Google Play Purchase History.json Explained

Purchase History.json is the heart of a Google Play Takeout export: the machine-readable list of what you acquired and when. This page explains its role and general structure, with an important caveat about guarantees.

Updated: November 2026 · By the App Purchase Vault project · 6 min read

First, the caveat: no published schema

Google does not publish a formal, versioned schema for the Play Takeout files. Everything below describes the structure as observed in real exports, ours and those documented by the community. Fields can differ between accounts, content types and time periods, and Google can change them without notice. Any statement here is "typically present", never "contractually guaranteed".

What the file is for

Within the Google Play Store folder of your export, Purchase History.json records acquisitions: depending on the account, apps and games, in-app purchases, subscriptions. Think of it as the what and when, and often the how much too: in the real export we verified, every entry carried a price. The sibling file, Order History.json, holds the order ledger: amounts, currency, payment and refund related fields.

General structure

The file is a JSON array of records. Each record describes one acquisition and typically carries:

Google publishes no schema for Takeout files, so nothing guarantees a price in every entry of every export. In the real export we verified, all 31 Purchase History entries carried a price, and Order History carried amounts for its 10 orders, 9 of which matched a Purchase History entry exactly, to the millisecond and the cent: adding the two files together would have counted those purchases twice. Google's developer documentation for Google Play data also lists invoicePrice among the key fields of Google Play purchases, but it describes an API for developers, a different channel from Takeout, and does not guarantee what a Takeout export contains.

What a record looks like

The snippet below uses the key names and nesting of the real export we verified, with invented values: it is not real user data, and the payment label has been left out on purpose.

[
  {
    "purchaseHistory": {
      "invoicePrice": "€4.99",
      "paymentMethodTitle": "…",
      "userLanguageCode": "en_GB",
      "userCountry": "GB",
      "doc": {
        "documentType": "In App Item",
        "title": "Coin Pack (fictional)"
      },
      "purchaseTime": "2021-11-02T09:05:12.345Z"
    }
  }
]

Field by field

What each key held in the verified export, and what App Purchase Vault does with it. Google can rename or drop any of them without notice.

KeyWhat it holdsWhat App Purchase Vault does with it
purchaseTimeWhen the purchase happened: an ISO 8601 date in UTC, with millisecondsThe purchase date
doc.titleThe item's name: an app, or an in-app item such as a coin packThe item name. The app it belongs to is filled in only when the export gives enough evidence; otherwise it stays unidentified, never guessed
doc.documentTypeThe kind of item, for example In App Item or Android AppsThe type: app, in-app purchase, subscription…
invoicePriceThe price as text with its currency symbol, for example "€5.49"; no separate currency codeAmount and currency. For a bare $, the record's country is used to tell which dollar it is
userCountryA country code, for example FRKept and shown as the purchase country
userLanguageCodeA language and region code, for example fr_FRKept, never displayed
paymentMethodTitleA payment label: a card network with its last digits, or a carrier billing labelNever stored as written: reduced to a card network and its last 4 digits, or a carrier name, and not shown in the app
purchaseStateAbsent from every record we have seenNothing is inferred: no "paid" or "completed" status is ever shown

Apps, IAP, subscriptions

In observed exports, the purchase-type information is what lets you separate the three big categories people care about:

CategoryWhat a record representsWatch out for
Apps & gamesOne-time acquisition of an app or game (paid or free)Free apps may appear too: acquisition ≠ payment
In-app purchasesItems bought inside an appThe record names the item; the parent app may need inference from the title
SubscriptionsSubscription-related eventsRenewals vs. the initial subscription can be recorded differently; compare with Order History before totalling

Fields a viewer should ignore

Order History.json can carry payment-method related fields, and so can Purchase History.json (a paymentMethodTitle field in the verified export). A well-behaved viewer or parser should drop these during parsing: never display them, never store them. The useful history is "what, when, how much". Card details add nothing to that, only risk.

The same discipline applies to sharing: a purchase history is personal data. Keep exports local, and treat any tool that wants to upload them with suspicion.

How we use thisApp Purchase Vault parses exactly these files on your phone: Purchase History for items, dates and prices; Order History for orders that are not in it, matched exactly so the same purchase is never counted twice. From Order History it reads only orderId, creationTime, totalPrice, tax, refundAmount, the country and each line item's title and type; contact, billing-instrument and IP address fields are never read. Sensitive payment fields are discarded at parse time. The tolerance for schema variation described above is a design requirement, not an afterthought.

We handle the JSON.

App Purchase Vault is on Google Play: pick the ZIP and it reads these files for you, on your phone only.

Get it on Google Play