List invoices
What the workspace has been charged, newest first.
View as
opensend billing invoicesNeeds the scopeworkspace:read
Only reads
This method takes no input.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"list"Always
list.dataobject[]The invoices of the workspace, newest first.
data[].object"invoice"Always
invoice.data[].idstringThe id of the invoice.
data[].numberstringThe number printed on the invoice.
data[].createdAtstringWhen the invoice was issued.
data[].amountCentsintegerThe amount, in cents.
data[].currencystringThe currency of the amount.
data[].paidbooleanWhether it has been paid.
data[].productstringWhat the invoice is for.