To retrieve the invoice items for an invoice, send a GET request to /v2/customers/my/invoices/$INVOICE_UUID
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
invoice_uuid |
string | True | UUID of the invoice |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
invoices = client.invoices.get_by_uuid(invoice_uuid=1)
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.