cloudflare_get_invoice
Retrieve details of a Cloudflare billing item by invoice ID, with automatic USD to EUR conversion using historical exchange rates.
Instructions
Get details of a specific Cloudflare billing item by ID.
When convert_to_eur is True (default), automatically converts USD amounts to EUR using historical exchange rates from the European Central Bank.
Returns invoice with:
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |