---
title: "Retrieve an Invoice by UUID"
method: GET
path: "/v2/customers/my/invoices/{invoice_uuid}"
tags: ["DigitalOcean-public.v2-new_Billing"]
---

# Retrieve an Invoice by UUID

`GET /v2/customers/my/invoices/{invoice_uuid}`

To retrieve the invoice items for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID`.

## Path parameters

- `invoice_uuid` string, required

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

The response will be a JSON object with a key called `invoice_items`. This will be set to an array of invoice item objects. All resources will be shown on invoices, regardless of permissions.

- object
  - `invoice_items` InvoiceItem[]
    - `product` string — Name of the product being billed in the invoice item.
    - `resource_uuid` string — UUID of the resource billing in the invoice item if available.
    - `resource_id` string — ID of the resource billing in the invoice item if available.
    - `group_description` string — Description of the invoice item when it is a grouped set of usage, such as DOKS or databases.
    - `description` string — Description of the invoice item.
    - `amount` string — Billed amount of this invoice item. Billed in USD.
    - `duration` string — Duration of time this invoice item was used and subsequently billed.
    - `duration_unit` string — Unit of time for duration.
    - `start_time` string — Time the invoice item began to be billed for usage.
    - `end_time` string — Time the invoice item stopped being billed for usage.
    - `project_name` string — Name of the DigitalOcean Project this resource belongs to.
  - `links` PageLinks
    - `pages` union
      - ForwardLinks
        - `last` string — URI of the last page of the results.
        - `next` string — URI of the next page of the results.
      - BackwardLinks
        - `first` string — URI of the first page of the results.
        - `prev` string — URI of the previous page of the results.
      - unknown
  - `meta` object, required — Information about the response itself.
    - `total` integer, required — Number of objects returned by the request.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
