Retrieves a revenue audit report which contains detailed journal entries.
A revenue audit report is a combination of a granular revenue waterfall and a journal report,
which describes revenue per account.
Use filter
limit
and offset
parameters to restrict the output.
filter | string Filters the collection items. This field requires
a special format. Use For more information, see Using filter with collections. |
sort | Array of strings Sorts and orders the collection of items. To sort in descending
order, prefix with |
limit | integer [ 0 .. 1000 ] Limits the number of collection items to be returned. |
offset | integer >= 0 Specifies the starting point within the collection of items to be returned. |
Revenue audit report retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
$service = new Rebilly\Sdk\ReportsService($client); $report = $service->reports()->getRevenueAudit(limit: 5);
[- {
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "invoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "invoiceItemId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "productId": "prod_0YV7DES3WPC5J8JD8QTVNZBZNZ",
- "planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X",
- "accountingCode": "4010",
- "currency": "USD",
- "status": "scheduled",
- "estimatedAmount": 0,
- "recognizedAmount": 0,
- "scheduledTime": "2019-08-24T14:15:22Z",
- "issuedTime": "2019-08-24T14:15:22Z",
- "recognizedTime": "2019-08-24T14:15:22Z"
}
]