cancel date set in the future, beyond the billing_end_date when cancelling immediately.

10 views
Skip to first unread message

tenchiro

unread,
May 8, 2026, 9:19:25 AM (6 days ago) May 8
to Kill Bill users mailing-list
Here you can see the cancelled_date is set at some arbitrary point a few hours beyond the actual time the subscription was cancelled (w/ IMMEDIATE through Kaui). The billing_end_date  does accurately reflect the cancellation time, and the entitlement seemed to go away, but cancelled_date could not be used, and state was always ACTIVE and never moved to CANCELLED.

Those seemed like the most obvious fields to use, so I was surprised. There might be a good reason, I just couldn't figure it out.

But using the billing_end_date seems to be a viable workaround.

  • {subscription_id: 'bda696b8-0fc0-4c9f-8107-875dca23afcd', entitlement_id: null, bundle_id: 'fe028b48-547a-4105-a3a5-633eb3702d3c', ...
  1. billing_end_date: "2026-05-08T04:07:30.000Z"
  2. billing_period: "MONTHLY"
  3. bundle_id: "fe028b48-547a-4105-a3a5-633eb3702d3c"
  4. cancelled_date: "2026-05-08T09:46:27.000Z"
  5. catalog_effective_date: "2026-02-26T00:17:00.000Z"
  6. category: "BASE"
  7. charged_through_date: "2026-06-07"
  8. entitlement_id: null
  9. phase_type: "TRIAL"
  10. plan_name: "individual-monthly"
  11. product_name: "pilot-individual"
  12. start_date: "2026-05-08T02:49:57.000Z"
  13. state: "ACTIVE"
  14. subscription_id: "bda696b8-0fc0-4c9f-8107-875dca23afcd"

karan bansal

unread,
May 13, 2026, 10:00:29 PM (11 hours ago) May 13
to Kill Bill users mailing-list
Hi there,

Could you please confirm which endpoint are you using. There was an issue with the date and state in earlier versions and it was fixed in later versions. I tested this using KB 0.24.16 and Kaui 4.0.15 and below shown endpoint.The state and cancelled date got correctly updated. 


{
  "accountId": "1e37582f-95cc-44ba-b8d6-9530f17b85ee",
  "bundleId": "f2859a8b-4005-4268-b213-278df54d1f98",
  "bundleExternalKey": "f2859a8b-4005-4268-b213-278df54d1f98",
  "subscriptionId": "dce0d567-72e0-420c-b19d-46ecc9ba4806",
  "externalKey": "dce0d567-72e0-420c-b19d-46ecc9ba4806",
  "startDate": "2026-05-01T01:46:16.000Z",
  "productName": "Prod_A",
  "productCategory": "BASE",
  "billingPeriod": "MONTHLY",
  "phaseType": "EVERGREEN",
  "priceList": "DEFAULT",
  "planName": "Plan_A",
  "state": "CANCELLED",
  "sourceType": "NATIVE",
  "cancelledDate": "2026-05-14T01:46:16.000Z",
  "chargedThroughDate": "2026-06-01",
  "billingStartDate": "2026-05-01T01:46:16.000Z",
  "billingEndDate": "2026-05-14T01:47:50.000Z",
  "billCycleDayLocal": 1,
  "quantity": 1,
  "events": [....]
}

Regards
Karan
Reply all
Reply to author
Forward
0 new messages