-| https://killbill.github.io/slate/#usage-record-usage-for-a-subscription[Record a usage] of `1200` with date `2021-11-01`. Trigger invoice dry run with target date `2021-11-29` | Invoice generated for `$1930` for `2021-10-29` to `2021-11-29`. This is calculated as: `30 + (1000 x 1.5) + (200 X 2.0) = 1930` (Since `1200` units are consumed, the first `1000` units are charged at `$1.5` per liter as per the first tier and the next `200` units are charged at at `$2.0` per liter as per the second tier)
0 commit comments