timestamp
field.
UTC billing is common in infrastructure use cases, where server (or other automated resources) operate on UTC time and emit events naturally aligned with UTC.
America/Los_Angeles
to ensure that the billing cycle for all their customers occurs on the 1st of the month PT.
With this configuration, billing cycles for all customer subscriptions will have boundaries aligned to the specific timezone. This can be particularly convenient to provide the most predictable invoicing experience for your own internal teams; all invoices will be generated at a specific time in your timezone, depending on the configured grace period after the billing cycle end.
timestamp
= 2022-03-01T07:00UTC
and have Orb configured with per-customer timezones, then that event will fall in a February billing cycle for a customer set to America/Los_Angeles
but will fall in the March billing cycle for a UTC
timezone customer.
Per-customer timezones can also create a more predictable user experience for your end users. For example, in a pre-paid credits system, if you set an expiry_date
for credits at 2022-05-02
, Orb will automatically ensure that credits expire at the start of the date in that customer’s timezone.
In this case, Orb will generate invoices an appropriate time after midnight in the local timezone of the customer, accounting for the grace period. Depending on where customers are located, this may mean that invoices are generated throughout your business day.