# `Twilio.Schemas.UsageRecordDaily`

## Fields

  * `account_sid` - The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that accrued the usage.
  * `api_version` - The API version used to create the resource.
  * `as_of` - Usage records up to date as of this timestamp, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
  * `category` - The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
  * `count` - The number of usage events, such as the number of calls.
  * `count_unit` - The units in which `count` is measured, such as `calls` for calls or `messages` for SMS.
  * `description` - A plain-language description of the usage category.
  * `end_date` - The last date for which usage is included in the UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
  * `price` - The total price of the usage in the currency specified in `price_unit` and associated with the account.
  * `price_unit` - The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format, such as `usd`, `eur`, and `jpy`.
  * `start_date` - The first date for which usage is included in this UsageRecord. The date is specified in GMT and formatted as `YYYY-MM-DD`.
  * `subresource_uris` - A list of related resources identified by their URIs. For more information, see [List Subresources](https://www.twilio.com/docs/usage/api/usage-record#list-subresources).
  * `uri` - The URI of the resource, relative to `https://api.twilio.com`.
  * `usage` - The amount used to bill usage and measured in units described in `usage_unit`.
  * `usage_unit` - The units in which `usage` is measured, such as `minutes` for calls or `messages` for SMS.

# `t`

```elixir
@type t() :: %Twilio.Schemas.UsageRecordDaily{
  __extra__: %{optional(String.t()) =&gt; term()},
  __present__: [atom()],
  account_sid: String.t() | nil,
  api_version: String.t() | nil,
  as_of: String.t() | nil,
  category: String.t() | nil,
  count: String.t() | nil,
  count_unit: String.t() | nil,
  description: String.t() | nil,
  end_date: String.t() | nil,
  price: number() | nil,
  price_unit: String.t() | nil,
  start_date: String.t() | nil,
  subresource_uris: map() | nil,
  uri: String.t() | nil,
  usage: String.t() | nil,
  usage_unit: String.t() | nil
}
```

# `decode`

```elixir
@spec decode(term()) :: t() | term()
```

Decodes parsed JSON into this struct.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
