transactions_export_sync
Synchronously export sales transactions from the Atlassian Marketplace, returning CSV or JSON output.
Instructions
Synchronous export of transactions. accept=csv (default) returns a CSV string; accept=json returns a JSON array. Prefer async for large ranges. Request timeout is 10 min (overridable via EXPORT_TIMEOUT_MS env).
π Spec (GET /rest/3/reporting/developer-space/{developerId}/sales/transactions/export): https://developer.atlassian.com/platform/marketplace/rest/v4/api-group-reporting/#api-rest-3-reporting-developer-space-developerid-sales-transactions-export-get
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Free-text search across identifiers: transactionId, licenseId, SEN, appEntitlementNumber, customer info, partner info. | |
| tier | No | ||
| limit | No | ||
| order | No | ||
| accept | No | Output format: `csv` (default for these exports β header-rowed CSV string) or `json` (array of records). Invalid β HTTP 400. | |
| offset | No | ||
| sortBy | No | ||
| endDate | No | ISO date YYYY-MM-DD | |
| hosting | No | Note: 'datacenter' is one word, not 'data_center'. Response objects use capitalized 'Cloud'/'Server'/'Data Center' but the filter param is lowercase one-word. | |
| saleType | No | ||
| productId | No | Product UUID (or comma-separated list). Use apps_list / apps_known to discover. | |
| startDate | No | ISO date YYYY-MM-DD | |
| appEdition | No | Filter by app edition (free / standard / advanced). | |
| lastUpdated | No | ISO date/datetime β returns transactions updated ON OR AFTER this date (inclusive lower bound). | |
| partnerType | No | ||
| billingPeriod | No | Filter by billing period. Not documented in swagger but accepted by the live API. | |
| paymentStatus | No | ||
| includeManualInvoice | No | If true, includes manually-invoiced transactions in the response. | |
| excludeZeroTransactions | No | If true, omits $0 transactions (e.g. Cloud Free tier). | |
| cloudComplianceBoundaries | No | Cloud compliance boundary on the underlying license. Valid: 'commercial' (default), 'fedramp_moderate', 'isolated_cloud'. **Cloud-hosted apps only β ignored for server/datacenter.** Single value here; for multiple, make separate calls. |