hetzner_get_latest_invoice
Retrieve the most recent Hetzner Cloud invoice for automated monthly bookkeeping, enabling easy submission to OpenCollective.
Instructions
Get the most recent Hetzner Cloud invoice.
Fetches the first page of invoices and returns the latest one. Requires HETZNER_ACCOUNT_EMAIL and HETZNER_ACCOUNT_PASSWORD to be set.
Useful for automated monthly bookkeeping: fetch the latest Hetzner invoice and then use oc_create_expense to submit it to OpenCollective.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |