API for Billing/Payments?

0

Is there an AWS API available to query data from the Billing and Cost Management > Payments section? I'm interested to pull information about invoices in a programmatic way rather than logging into the web console, but couldn't find anything relevant.

已提問 2 個月前檢視次數 306 次
2 個答案
0

Here is the API documentation for AWS Billing and Cost Management.

profile pictureAWS
專家
已回答 2 個月前
  • Thanks, I was actually looking into this documentation already, but couldn't find any relevant endpoints for my scenario.

  • Unfortunatelly there is no API for pulling invoices.

0

How about accessing usage via S3 using the AWS Cost and Usage Report? https://docs.aws.amazon.com/cur/latest/userguide/what-is-cur.html

You can also use "Legacy report delivery to S3" if you only need monthly reports. https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/getting-viewing-bill.html#download-monthy-report

profile picture
專家
shibata
已回答 2 個月前
  • I don't think the Cost and Usage Report provides the payment information I'm after. Please note that I'm specifically interested in the status of active invoices (due, overdue).

  • I misunderstood your question. If an invoice's status is required, I do not believe there is a programmatic way to handle it.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南