List invoices
What the workspace has been charged, newest first.
View as
opensend.billing.invoices()Needs the scopeworkspace:readFrom a terminal
opensend billing invoicesThis method takes no input.
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
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.