---
title: History
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/python)

[Billing](https://developers.cloudflare.com/api/python/resources/billing)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# History

##### [Get Account Billing History](https://developers.cloudflare.com/api/python/resources/billing/subresources/history/methods/list)

billing.history.list(HistoryListParams\*\*kwargs)  \-> SyncV4PagePaginationArray\[[HistoryListResponse](https://developers.cloudflare.com/api/python/resources/billing#%28resource%29%20billing.history%20%3E%20%28model%29%20history%5Flist%5Fresponse%20%3E%20%28schema%29)\]

GET/accounts/{account\_id}/billing/history

##### ModelsExpand Collapse 

class HistoryListResponse: …

id: Optional\[str\]

Billing history item identifier.

action: Optional\[str\]

The billing item action.

amount: Optional\[float\]

The amount associated with this billing item.

amount\_to\_pay: Optional\[float\]

The amount remaining to pay.

currency: Optional\[str\]

The currency of the billing item.

description: Optional\[str\]

The billing item description.

external\_invoice\_id: Optional\[str\]

The external invoice identifier.

hosted\_invoice\_url: Optional\[str\]

URL to the hosted invoice.

invoice\_id: Optional\[str\]

The associated invoice identifier.

occurred\_at: Optional\[datetime\]

When the billing event occurred.

formatdate-time

receipt\_id: Optional\[str\]

The associated receipt identifier.

source: Optional\[str\]

The source of the billing item.

source\_invoice\_id: Optional\[str\]

The source invoice identifier.

status: Optional\[str\]

The status of the billing item.

type: Optional\[str\]

The billing item type.