diff --git a/lib/stripe/subscriptions/invoice.ex b/lib/stripe/subscriptions/invoice.ex index 5a44f042..e9cab5e9 100644 --- a/lib/stripe/subscriptions/invoice.ex +++ b/lib/stripe/subscriptions/invoice.ex @@ -49,6 +49,7 @@ defmodule Stripe.Invoice do custom_fields: custom_fields() | nil, customer: Stripe.id() | Stripe.Customer.t(), created: Stripe.timestamp(), + date: Stripe.timestamp(), default_payment_method: String.t() | nil, default_source: String.t() | nil, default_tax_rates: Stripe.List.t(map) | nil, @@ -134,6 +135,7 @@ defmodule Stripe.Invoice do :currency, :custom_fields, :customer, + :date, :default_payment_method, :default_source, :default_tax_rates, @@ -304,6 +306,7 @@ defmodule Stripe.Invoice do optional(:billing) => String.t(), optional(:customer) => Stripe.id() | Stripe.Customer.t(), optional(:created) => Stripe.date_query(), + optional(:date) => Stripe.date_query(), optional(:due_date) => Stripe.timestamp(), optional(:ending_before) => t | Stripe.id(), optional(:limit) => 1..100,