Skip to content

Commit

Permalink
Made correction to the slate links
Browse files Browse the repository at this point in the history
Made correction to the  slate links
  • Loading branch information
KBbitsP committed Mar 2, 2025
1 parent 66301a1 commit 4699673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userguide/tutorials/catalog-examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -692,9 +692,9 @@ The following table lists the actions and their results:
|Action |Result
//-------------
|Create a subscription for the `water-monthly` plan on `2021-09-29` (current date) | Because *IN_ARREAR* billing mode is specified, the system does not generate an invoice (yet).
| https://killbill.github.io/slate/#usage-record-usage-for-a-subscription[Record a usage] of `400` with date `2021-10-01` | Again, invoice not generated since *IN_ARREAR* billing mode is specified
| https://killbill.github.io/slate/usage.html#record-usage-for-a-subscription[Record a usage] of `400` with date `2021-10-01` | Again, invoice not generated since *IN_ARREAR* billing mode is specified
|Trigger invoice dry run with target date `2021-10-29` |Invoice generated for `$630` for `2021-09-29` to `2021-10-29`. This is calculated as: `30 + (400 x 1.5) = 630` (Since `400` units are consumed, user is charged `$1.5` per liter as per the first tier)
| 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)
| https://killbill.github.io/slate/usage.html#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)
|===
See https://docs.killbill.io/latest/consumable_in_arrear.html[_Consumable In Arrear Tutorial_] for additional information.
Expand Down

0 comments on commit 4699673

Please sign in to comment.