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 个月前308 查看次数
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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则