Skip to content

Commands ​

Quick Reference ​

CommandDescription
loginAuthenticate with Magenta
logoutClear stored credentials
whoamiDisplay current user info
statusCheck login status
tariffsList all tariffs/contracts
invoices listList all invoices
invoices getGet invoice details
invoices downloadDownload invoice as PDF
configManage CLI configuration

Global Options ​

These options are available on all commands:

OptionDescription
-h, --helpDisplay help for the command
-V, --versionDisplay CLI version (root command only)

JSON Output ​

All commands support --json for machine-readable output:

bash
magenta whoami --json
magenta invoices list --json
magenta tariffs --json

Released under the MIT License. Not affiliated with Magenta Telekom.