Preview

BillingChargeAllocation is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

BillingChargeAllocation

Charge allocation input.

periodStart / periodEnd drive the read-side period cutoff for non-credit charges:

  • PRE_PAID charges: the allocation with the greatest effective date on or before periodStart is returned.
  • POST_PAID charges: the allocation with the greatest effective date on or before periodEnd is returned. If omitted on a non-credit charge, the cutoff defaults to today.

For credit charges, these fields are not read — the charge's own stored period is authoritative.

chargeId is treated as an opaque UUID by the service.

This page contains

    Fields

    periodStart Date
    periodEnd Date
    chargeId ID!