pydo.invoices.get_by_uuid()
Generated on 18 Apr 2025
from pydo
version
v0.10.0
Description
To retrieve the invoice items for an invoice, send a GET request to /v2/customers/my/invoices/$INVOICE_UUID
.
Parameters
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
invoice_uuid |
string | True | UUID of the invoice | |
per_page |
integer | False | Number of items returned per page | 20 |
page |
integer | False | Which ‘page’ of paginated results to return. | 1 |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
invoices = client.invoices.get_by_uuid(invoice_uuid=1)
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.