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.

posta 2 mesi fa308 visualizzazioni
2 Risposte
0

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

profile pictureAWS
ESPERTO
con risposta 2 mesi fa
  • 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
ESPERTO
shibata
con risposta 2 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande