Skip to content

Add support for listing and downloading billing invoices through the cntb CLI. #59

Description

@costichiulan

Currently, invoices can only be accessed manually through the Customer Control Panel (Billing section).
For users managing multiple Contabo accounts, automating billing/accounting workflows, or integrating with bookkeeping tools, this is a significant pain point — it forces either manual downloads or fragile browser-scraping scripts (or paid third-party services like GetMyInvoices).

Since cntb already wraps the official Contabo API, exposing invoice endpoints would be a natural extension and would close the gap with what users can do via the web UI.

List invoices (with optional filters)

cntb get invoices
cntb get invoices --from 2025-01-01 --to 2025-12-31
cntb get invoices --status unpaid

Get a single invoice's metadata

cntb get invoice

Download invoice PDF

cntb download invoice --output ./invoice.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions