-
-
Notifications
You must be signed in to change notification settings - Fork 888
Closed
Description
- Create a monthly recurring subscription with startDate=
2023-08-01- Invoice is generated for the duration from2023-08-01to2023-09-01. - Update the subscription BCD to 15
- Add an account blocking state with
isBlockBilling=trueandrequestedDate=2023-09-01 - Add an account blocking state with
isBlockBilling=falseandrequestedDate=2023-09-15 - Trigger invoice dry run with date=
2023-09-01- No invoice generated (as expected) - Trigger invoice dry run with date=
2023-09-15- Invoice generated with single invoice item for the duration2023-09-15to2023-10-15(as expected) - Trigger invoice dry run with date=
2023-10-15- Invoice generated with two invoice items, one for the2023-09-15to2023-10-15duration and the other for the2023-10-15to2023-11-15- This is unexpected.
Expected Behavior: The invoice generated at step 7 should include a single invoice item here for the duration 2023-10-15 to 2023-11-15