get revenue report
POST/org/:orgId/revenueReport
Get the revenue report of the given organization, product, entitlement, or buyer.
Request
Path Parameters
Organization ID
- application/json
Body
required
Get Revenue Report Params
Optional, if available, return the report for the Buyer.
Optional, if available, return the report for the Entitlement.
Possible values: [day
, month
]
Required. If the productID & entitlementID are emtpy, return the report for the entire Organization.
Possible values: [AWS
, AZURE
, GCP
]
Optional, if available, return the report for the Product.
Possible values: [GrossAmount
, InvoicedAmount
, CollectableAmount
, DisbursedAmount
]
Possible values: [MARKETPLACE
]
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
- SubscriptionBased: The revenue record is from a subscription or recurring commitment.
- UsageBased: The revenue record is from a usage-based metering.
Array [
]
]
Possible values: [day
, month
]
Possible values: [GrossAmount
, InvoicedAmount
, CollectableAmount
, DisbursedAmount
]
revenueRecords
object[]
The revenue amount for the revenue report
The revenue amount that the seller/ISV can collect.
The currency of the revenue in ISO 4217 format, such as "USD".
The date for the revenue report
info
object
awsRevenueRecords
object[]
For raw revenue records in AWS Marketplace
insertDate
object
Valid is true if Time is not NULL
invoiceDate
object
Valid is true if Time is not NULL
paymentDueDate
object
Valid is true if Time is not NULL
usagePeriodEndDate
object
Valid is true if Time is not NULL
usagePeriodStartDate
object
Valid is true if Time is not NULL
azureRevenueRecords
object[]
For raw revenue records in Azure Marketplace
estimatedPayoutMonth
object
Valid is true if Time is not NULL
invoiceDate
object
Valid is true if Time is not NULL
invoiceDueDate
object
Valid is true if Time is not NULL
paymentSentDate
object
Valid is true if Time is not NULL
transactionDate
object
Valid is true if Time is not NULL
The bank trace ID of the revenue record if applicable
Possible values: [SubscriptionBased
, UsageBased
]
The billing model of the revenue record if applicable The value is one of the following:
Possible values: [DIRECT
, RESOLD
]
The credit amount used in the revenue record.
The disbursement ID of the revenue record if applicable
Whether the disbursement notification has been sent to the seller/ISV.
The earning ID of the revenue record if applicable
gcpRevenueRecords
object[]
For raw revenue records in GCP Marketplace
Source of the revenue record ID.
The payment ID of the revenue record if applicable
The reseller ID of the revenue record if applicable
The reseller name of the revenue record if application
Resource name for the revenue record. Applicable only to GCP Marketplace.
The value is from type Partner string
{
"buyerID": "string",
"entitlementID": "string",
"groupBy": "day",
"organizationID": "string",
"partner": "string",
"productID": "string",
"reportDate": "2024-07-29T15:51:28.071Z",
"reportType": "GrossAmount",
"revenueRecords": [
{
"amount": 0,
"buyerID": "string",
"collectableAmount": 0,
"currency": "string",
"date": "2024-07-29T15:51:28.071Z",
"disburseAmount": 0,
"disburseDate": "2024-07-29T15:51:28.071Z",
"entitlementID": "string",
"id": "string",
"info": {
"awsRevenueRecords": [
{
"action": "string",
"agreementID": "string",
"amount": 0,
"balanceImpacting": 0,
"bankTraceID": "string",
"billingAddressID": "string",
"brokerID": "string",
"buyerID": "string",
"currency": "string",
"dataFeedProductID": "string",
"disbursementBillingEventID": "string",
"endUserAccountID": "string",
"entitlementID": "string",
"fromAccountID": "string",
"id": "string",
"insertDate": {
"time": "string",
"valid": true
},
"invoiceDate": {
"time": "string",
"valid": true
},
"invoiceID": "string",
"offerID": "string",
"organizationID": "string",
"parentBillingEventID": "string",
"paymentDueDate": {
"time": "string",
"valid": true
},
"productID": "string",
"toAccountID": "string",
"transactionReferenceID": "string",
"transactionType": "string",
"usagePeriodEndDate": {
"time": "string",
"valid": true
},
"usagePeriodStartDate": {
"time": "string",
"valid": true
}
}
],
"azureRevenueRecords": [
{
"azureAssetID": "string",
"azureBillingAccountID": "string",
"azureCustomerID": "string",
"azureOfferID": "string",
"azurePlanID": "string",
"billingModel": "string",
"buyerID": "string",
"earningID": "string",
"earningUsd": 0,
"entitlementID": "string",
"estimatedPayoutMonth": {
"time": "string",
"valid": true
},
"invoiceDate": {
"time": "string",
"valid": true
},
"invoiceDueDate": {
"time": "string",
"valid": true
},
"invoiceID": "string",
"offerID": "string",
"organizationID": "string",
"paymentID": "string",
"paymentSentDate": {
"time": "string",
"valid": true
},
"paymentStatus": "string",
"payoutStatus": "string",
"productID": "string",
"programName": "string",
"purchaseRecordID": "string",
"resellerCity": "string",
"resellerCompany": "string",
"resellerCountry": "string",
"resellerEmail": "string",
"resellerID": "string",
"resellerState": "string",
"revenueUsd": 0,
"termEndDate": "string",
"termStartDate": "string",
"transactionDate": {
"time": "string",
"valid": true
}
}
],
"bankTraceId": "string",
"billingModel": "SubscriptionBased",
"channel": "DIRECT",
"creditAmount": 0,
"disbursementBillingEventId": "string",
"disbursementNotificationSent": true,
"earningId": "string",
"gcpRevenueRecords": [
{
"abandoned": 0,
"accountID": "string",
"buyerID": "string",
"charges": 0,
"currency": "string",
"dueVendor": 0,
"entitlementID": "string",
"googleEntity": "string",
"insightAccountID": "string",
"offerID": "string",
"ordinal": 0,
"organizationID": "string",
"paymentSchedule": "string",
"paymentType": "string",
"prepayCredits": 0,
"productID": "string",
"refundBalanceDeductedThisMonth": 0,
"refundBalanceOutstanding": 0,
"refundReason": "string",
"released": 0,
"reportDate": "string",
"resource": "string",
"sku": "string",
"trialUse": 0,
"unit": "string",
"usage": 0,
"usedBy": "string",
"withheld": 0
}
],
"idSource": "string",
"paymentId": "string",
"resellerId": "string",
"resellerName": "string",
"resource": "string"
},
"invoiceAmount": 0,
"invoiceDate": "2024-07-29T15:51:28.071Z",
"organizationID": "string",
"partner": "string",
"paymentDueDate": "2024-07-29T15:51:28.071Z",
"productID": "string",
"refundDisburseAmount": 0,
"refundDisburseDate": "2024-07-29T15:51:28.071Z",
"refundInvoiceAmount": 0,
"refundInvoiceDate": "2024-07-29T15:51:28.071Z",
"taxAmount": 0
}
],
"service": "string"
}
Bad request error
- application/json
- Schema
Schema
string
Internal server error
- application/json
- Schema
Schema
string