To Generate Billing Report through UI ,Billing Month drop down is not showing any date.

Not applicable

Hi,

I am using APIGEE Moetization for the first time and would like to generate the report for the api transactions.While working on it I have faced the below issue.

while generating Billing report from Monetization Report Tab in UI.While selecting the Billing Month from drop down to select the dates list is not showing.

Transactions are made on the particaular API.

Help would be appriciated.

0 6 610
6 REPLIES 6

Hi Sumiya,

This could be because there are no "Open" months to generate billing docs for.

You can create billing documents only for "open" months. These are complete calendar months for which you have not yet published billing documents. After you publish billing documents for a month, that month is "closed". You cannot generate billing documents for a closed month.

You can get a list of billing months and their open or closed status by issuing a Management API GET request to /organizations/{org_name}/billing-documents-months. For example:

$ curl -H "Accept:application/json"-X GET \
"https://{Apige Edge Management API}/v1/mint/organizations/{org_name}/billing-documents-months" \
-u email:password

The response should look something like this:

[{"month":6,"monthEnum":"JUNE","status":"OPEN","year":2013},{"month":3,"monthEnum":"MARCH","status":"OPEN","year":2013},{"month":7,"monthEnum":"JULY","status":"OPEN","year":2013},{"month":5,"monthEnum":"MAY","status":"OPEN","year":2013},{"month":4,"monthEnum":"APRIL","status":"CLOSED","year":2013}]

You can also get the billing document status for a specific month by issuing a GET request to /organizations/{org_name}/billing-documents-status-for-month. When you make the request, you need to specify query parameters for the billing month and year. For example, the following requests the billing documents status for May, 2013:

$ curl -H "Accept:application/json"-X GET \
"https://{Apige Edge Management API}/v1/mint/organizations/{org_name}/billing-documents-status-for-month?billingYear=2013&billingMonth=MAY" \
-u email:password

The response should look something like this:

[{"orgDescription":"{org_name} Test","orgId":"{org_name}","orgName":"{org_name}","status":"OPEN"}]

Please try out the above APIs to see if there are any "Open" months.

@sumiya , Do you still see same issue ? See similar question here.

You can get a list of billing months and their open or closed status by issuing a Management API GET request to /organizations/{org_name}/billing-documents-months.

In my case, this is returning empty array.

Hey Sk, did you figure it out? appreciate if you can share what you found. 🙂

Same here, is there any updates?

Please note that the “billing documents” feature of Apigee Edge Monetization has been retired.