curl --location 'https://stg-gateway.invora.app/api/billing/v2/observability/analytics/invoice-collections' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"part": {
"billingEntityId": "string",
"currency": "CURRENCY_ENUM_UNSPECIFIED",
"expireCache": true,
"externalCustomerId": "string",
"months": 0
}
},
"sort": {
"rules": [
{
"createdAt": "SORT_DIRECTION_UNSPECIFIED"
}
]
},
"pagination": {
"limit": "string",
"skip": "string",
"cursor": "string"
}
}'{
"items": [
{
"amountCents": "string",
"currency": "CURRENCY_ENUM_UNSPECIFIED",
"invoicesCount": "string",
"month": "2019-08-24T14:15:22.123Z",
"paymentStatus": "INVOICE_PAYMENT_STATUS_TYPE_UNSPECIFIED"
}
],
"totalCount": "string",
"nextPageCursor": "string"
}