From 46996730f7bdb749e6a7cc81d775c217dab8e60d Mon Sep 17 00:00:00 2001 From: KBbitsP <75751774+KBbitsP@users.noreply.github.com> Date: Sun, 2 Mar 2025 18:44:14 +0530 Subject: [PATCH] Made correction to the slate links Made correction to the slate links --- userguide/tutorials/catalog-examples.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userguide/tutorials/catalog-examples.adoc b/userguide/tutorials/catalog-examples.adoc index 5581a5007..de9a0f69a 100644 --- a/userguide/tutorials/catalog-examples.adoc +++ b/userguide/tutorials/catalog-examples.adoc @@ -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.