Skip to main content

billing_history

Creates, updates, deletes, gets or lists a billing_history resource.

Overview

Namebilling_history
TypeResource
Iddigitalocean.billing.billing_history

Fields

NameDatatypeDescription
descriptionstringDescription of the billing history entry.
amountstringAmount of the billing history entry.
datestringTime the billing history entry occurred.
invoice_idstringID of the invoice associated with the billing history entry, if applicable.
invoice_uuidstringUUID of the invoice associated with the billing history entry, if applicable.
typestringType of billing history entry.

Methods

NameAccessible byRequired ParamsDescription
billing_history_listSELECTTo retrieve a list of all billing history entries, send a GET request to /v2/customers/my/billing_history.

SELECT examples

To retrieve a list of all billing history entries, send a GET request to /v2/customers/my/billing_history.

SELECT
description,
amount,
date,
invoice_id,
invoice_uuid,
type
FROM digitalocean.billing.billing_history
;