# Invoice

> [!WARNING] Warning: Experimental API
> Please note that the Dashboard API is an experimental, prerelease API. This API method is considered unstable, and should be avoided in production environments and automations. Changes may occur at any time without warning.

An invoice

## Object payload

**`id`**

- Type: string
- Example: `"124"`

ID of billing_profile

**`type`**

- Type: string

Must be exactly `"invoice"`.

**`date`**

- Type: date-time

**`total`**

- Type: integer

**`amount_due`**

- Type: integer

**`status`**

- Type: string

**`last_failed_transaction`**

- Type: null, object

<details>
<summary>Show object format</summary>

**`code`**

- Type: string

**`message`**

- Type: string

</details>

**`billing_profile`**

- Type: [ResourceLinkage\<"per_site_pricing_billing_profile"\>](http://localhost:8080/docs/content-management-api/resources/per_site_pricing_billing_profile.md), [ResourceLinkage\<"per_owner_pricing_billing_profile"\>](http://localhost:8080/docs/content-management-api/resources/per_owner_pricing_billing_profile.md)

Role

## Available endpoints

-   [Retrieve all invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_owner_pricing_billing_profile_instances.md)
-   [Retrieve all invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_site_pricing_billing_profile_instances.md)
-   [Collect all unpaid invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_owner_pricing_billing_profile_collect_unpaid.md)
-   [Collect all unpaid invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_site_pricing_billing_profile_collect_unpaid.md)

## Related content in "Dashboard API"

- [Account](https://www.datocms.com/docs/dashboard-api/resources/account.md)
- [Session](https://www.datocms.com/docs/dashboard-api/resources/session.md)
- [OAuth application](https://www.datocms.com/docs/dashboard-api/resources/oauth-application.md)
- [Organization](https://www.datocms.com/docs/dashboard-api/resources/organization.md)
- [Organization role](https://www.datocms.com/docs/dashboard-api/resources/organization-role.md)
- [Organization invitation](https://www.datocms.com/docs/dashboard-api/resources/organization-invitation.md)
- [Organization membership](https://www.datocms.com/docs/dashboard-api/resources/organization-membership.md)
- [Organization mandate request](https://www.datocms.com/docs/dashboard-api/resources/organization-mandate-request.md)
- [Organization mandate](https://www.datocms.com/docs/dashboard-api/resources/organization-mandate.md)
- [Project](https://www.datocms.com/docs/dashboard-api/resources/site.md)
- [Site invitation](https://www.datocms.com/docs/dashboard-api/resources/site-invitation.md)
- [Site transfer request](https://www.datocms.com/docs/dashboard-api/resources/site-transfer.md)
- [Account subscription](https://www.datocms.com/docs/dashboard-api/resources/per-owner-pricing-subscription.md)
- [Plan](https://www.datocms.com/docs/dashboard-api/resources/per-owner-pricing-plan.md)
- [Billing profile](https://www.datocms.com/docs/dashboard-api/resources/per-owner-pricing-billing-profile.md)
- [Invoice](https://www.datocms.com/docs/dashboard-api/resources/invoice.md)
- [Retrieve all invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_owner_pricing_billing_profile_instances.md)
- [Retrieve all invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_site_pricing_billing_profile_instances.md)
- [Collect all unpaid invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_owner_pricing_billing_profile_collect_unpaid.md)
- [Collect all unpaid invoices](https://www.datocms.com/docs/dashboard-api/resources/invoice/per_site_pricing_billing_profile_collect_unpaid.md)
- [Billing profile](https://www.datocms.com/docs/dashboard-api/resources/resource-usage.md)
- [Daily Usage](https://www.datocms.com/docs/dashboard-api/resources/daily-usage.md)
- [Subscription limit](https://www.datocms.com/docs/dashboard-api/resources/subscription-limit.md)
- [Subscription feature](https://www.datocms.com/docs/dashboard-api/resources/subscription-feature.md)
- [Job result](https://www.datocms.com/docs/dashboard-api/resources/job-result.md)
- [Per-project subscription](https://www.datocms.com/docs/dashboard-api/resources/site-subscription.md)
- [Plan](https://www.datocms.com/docs/dashboard-api/resources/site-plan.md)
- [Billing profile](https://www.datocms.com/docs/dashboard-api/resources/per-site-pricing-billing-profile.md)