Skip to content

Commit ab1dd76

Browse files
disable vale on example tables
1 parent 1c588b4 commit ab1dd76

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

app/metering-and-billing/pricing-models.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ Graduated pricing is a model where you charge each unit according to the tier it
115115

116116
For example:
117117

118+
<!--vale off-->
118119
{% table %}
119120
columns:
120121
- title: First Unit
@@ -139,6 +140,7 @@ rows:
139140
unit_price: $0.1
140141
flat_price: $0
141142
{% endtable %}
143+
<!--vale on-->
142144

143145
In this example, a customer with 6,000 units would be charged as:
144146

@@ -184,6 +186,7 @@ Volume pricing is a model where you charge customers based on the highest achiev
184186

185187
For example:
186188

189+
<!--vale off-->
187190
{% table %}
188191
columns:
189192
- title: First Unit
@@ -208,6 +211,7 @@ rows:
208211
unit_price: $0.1
209212
flat_price: $0
210213
{% endtable %}
214+
<!--vale on-->
211215

212216
Based on this table, a customer with 6,000 units would reach the unit price tier of $0.1, so they would be charged:
213217

@@ -254,6 +258,7 @@ For example, you could charge $500 for the first tier and $0.1 per unit for the
254258

255259
This is useful to define overage charges or to bill a flat fee regardless of usage.
256260

261+
<!--vale off-->
257262
{% table %}
258263
columns:
259264
- title: First Unit
@@ -274,6 +279,7 @@ rows:
274279
unit_price: $0.1
275280
flat_price: $0
276281
{% endtable %}
282+
<!--vale on-->
277283

278284
Based on this table, a customer that uses 2,000 units would be charged as:
279285

@@ -286,6 +292,7 @@ For example, if you have a flat fee of $500 in the first tier, the total amount
286292

287293
To bill $0 when there's no usage, set the unit price for the first tier and omit the flat price. Let's use the previous example, but this time set a $500 flat fee for the first tier and $0.1 per unit for the rest:
288294

295+
<!--vale off-->
289296
{% table %}
290297
columns:
291298
- title: First Unit
@@ -310,6 +317,7 @@ rows:
310317
unit_price: $0.1
311318
flat_price: $0
312319
{% endtable %}
320+
<!--vale on-->
313321

314322
In this example, if a customer uses 2,000 units, they will be charged as:
315323

@@ -345,6 +353,7 @@ Package pricing is particularly effective for:
345353

346354
Let's look at examples with a package size of 20 units and a price of $10 per package:
347355

356+
<!--vale off-->
348357
{% table %}
349358
columns:
350359
- title: Usage
@@ -373,6 +382,7 @@ rows:
373382
total_price: $50
374383
explanation: Usage requires 5 full packages
375384
{% endtable %}
385+
<!--vale on-->
376386

377387
Any usage of a positive value will be rounded up to the next closest package, while zero usage won't generate any charge.
378388
If you want zero usage to charge customers, combine package pricing with minimum commitments.
@@ -465,6 +475,7 @@ The default markup rate is 1.
465475

466476
Let's look at examples with a base price of $100, and what happens at each rate:
467477

478+
<!--vale off-->
468479
{% table %}
469480
columns:
470481
- title: Markup Rate
@@ -497,6 +508,7 @@ rows:
497508
final_price: $200
498509
explanation: A rate of 2 doubles the price
499510
{% endtable %}
511+
<!--vale on-->
500512

501513
## Overage fees
502514

0 commit comments

Comments
 (0)