To retrieve a summary for an invoice, send a GET request to /v2/customers/my/invoices/$INVOICE_UUID/summary
.
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"))
invoice = client.invoices.get_summary_by_uuid(invoice_uuid="1")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.