Bulk Invoice Download?

Hello,

Is there a way to get a full invoice dump of 2020 for all my Cloudflare account purchases?
This is for my taxes, it would be really helpful! Otherwise I have to go invoice by invoice… Any ideas?

Thanks,
A

Hi @anonymical7,

I don’t think there is a way to download them all in one go, but you should see them all listed and be able to download them each fairly easily from your billing page.

https://dash.cloudflare.com/?to=/:account/billing

1 Like

Thanks domjh, well, okay that’s what I was afraid of. :upside_down_face: It would be a useful feature in billing, especially as we have smaller purchases like domain renewals etc…
Thanks!
Now… down to filtering and downloading…
Best, A

Not everything is documented in the API, but it looks like you could build something.

In a response to the Billing History Details API call there is a invoice_id field. You can then access the invoice PDFs at. https://api.cloudflare.com/client/v4/accounts/${account id}/billing/receipts/${invoice_id}/pdf

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.