cloudflare_list_invoices
Retrieve Cloudflare billing history with invoice amounts, dates, and automatic USD to EUR conversion using historical exchange rates.
Instructions
List billing history from Cloudflare.
Returns billing items with cost and date. When convert_to_eur is True (default), automatically converts USD amounts to EUR using historical exchange rates from the European Central Bank (via Frankfurter API).
Each invoice includes:
amount: Original amount (usually USD)
currency: Original currency code
amount_eur: Converted EUR amount (when conversion enabled)
amount_cents_eur: EUR amount in cents (for OpenCollective)
exchange_rate: Rate used for conversion
rate_date: Date the exchange rate was fetched
Requires CLOUDFLARE_API_TOKEN to be set. Uses the Cloudflare API (deprecated but functional /user/billing/history endpoint).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |