Skip to main content

invoices

Overview

Nameinvoices
TypeResource
Iddigitalocean.billing.invoices

Fields

NameDatatypeDescription
invoice_previewobjectThe invoice preview.
invoicesarray
linksobject
metaobjectInformation about the response itself.

Methods

NameAccessible byRequired ParamsDescription
get_byUUIDSELECTinvoice_uuidTo retrieve the invoice items for an invoice, send a GET request to /v2/customers/my/invoices/$INVOICE_UUID.
listSELECTTo retrieve a list of all invoices, send a GET request to /v2/customers/my/invoices.
get_csvByUUIDEXECinvoice_uuidTo retrieve a CSV for an invoice, send a GET request to /v2/customers/my/invoices/$INVOICE_UUID/csv.
get_pdfByUUIDEXECinvoice_uuidTo retrieve a PDF for an invoice, send a GET request to /v2/customers/my/invoices/$INVOICE_UUID/pdf.