Skip to content
Console
Menu

Generated Assets

Workflows

Getting Started

Authentication

KV Store

sylphx money usage_invoices

Every sylphx money usage_invoices command: its argument, its flags and a run line.

The usage_invoices commands of Sylphx Money, as the CLI spells them: the same calls as the usage_invoices API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#get

Gets a usage invoice.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx money usage-invoices get orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoice

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoice · scope billing:read · effect read · Request, response and examples

#list

Lists usage invoices, newest first.

PARENT — optional: the CLI fills it from the linked project or the key's scope when it is left out.

CLI

Shell
sylphx money usage-invoices list orgs/acme/projects/shop/envs/production

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_invoices · scope billing:read · effect read · Request, response and examples

Flags

FlagTypeWhat it does
--page-sizeintAt most this many; default 50, clamped to 1000.
--page-tokenstringnext_page_token of the previous page.
--filterstringAIP-160 filter, for example subject = "…".

#release-collection

Releases a held invoice for collection, audited with who and why. Grant expiry or replacement never does.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx money usage-invoices release-collection orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoice

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/usage_invoices/usage-invoice:releaseCollection · scope billing:credits.approve · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--reasonstringWho releases it, and why: both are kept. Required.