@fleetless/contracts 15.0.0 → 15.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,27 @@ version.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [15.0.1] — 2026-11-12
13
+
14
+ ### Fixed
15
+
16
+ - The description of `billingChangeResponse.charged` says `null` also means
17
+ nothing was charged now (a change scheduled for the period's end, or an
18
+ increase that cost nothing) or the change was charged through Lexware,
19
+ where the charge is in `billing.charges` and there is no Fleetless invoice.
20
+ The `charged` of an accepted change without payment says it is always
21
+ `null`.
22
+ - The description of `intent.invoice_id` on a confirmed paid change says it
23
+ names the charge or invoice created for that decision, and when the charge
24
+ was issued through Lexware (`charged` is `null`) the matching
25
+ `billing.charges[].id`; it is absent on a `paid_change` in any other state
26
+ (carried over from fleetless/contracts#67). Descriptions only; the wire
27
+ format does not change.
28
+ - The plan catalogue says `audit_export: true` for Basic and Plus, as the
29
+ cloud already behaves: it exports the audit log on every plan.
30
+ `requiredPlanFor('audit_export')` is now `basic`. A catalogue value only;
31
+ the wire format does not change.
32
+
12
33
  ## [15.0.0] — 2026-11-06
13
34
 
14
35
  ### Added
@@ -16286,7 +16286,7 @@
16286
16286
  "const": "paid_change"
16287
16287
  },
16288
16288
  "invoice_id": {
16289
- "description": "The due charge or issued invoice, for invoice-paying operations.",
16289
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
16290
16290
  "type": "string",
16291
16291
  "format": "uuid",
16292
16292
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -16339,7 +16339,7 @@
16339
16339
  "const": "paid_change"
16340
16340
  },
16341
16341
  "invoice_id": {
16342
- "description": "The due charge or issued invoice, for invoice-paying operations.",
16342
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
16343
16343
  "type": "string",
16344
16344
  "format": "uuid",
16345
16345
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -16434,7 +16434,7 @@
16434
16434
  "const": "paid_change"
16435
16435
  },
16436
16436
  "invoice_id": {
16437
- "description": "The due charge or issued invoice, for invoice-paying operations.",
16437
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
16438
16438
  "type": "string",
16439
16439
  "format": "uuid",
16440
16440
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -16508,7 +16508,7 @@
16508
16508
  "const": "paid_change"
16509
16509
  },
16510
16510
  "invoice_id": {
16511
- "description": "The due charge or issued invoice, for invoice-paying operations.",
16511
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
16512
16512
  "type": "string",
16513
16513
  "format": "uuid",
16514
16514
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -16556,7 +16556,7 @@
16556
16556
  "const": "paid_change"
16557
16557
  },
16558
16558
  "invoice_id": {
16559
- "description": "The due charge or issued invoice, for invoice-paying operations.",
16559
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
16560
16560
  "type": "string",
16561
16561
  "format": "uuid",
16562
16562
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -17768,7 +17768,7 @@
17768
17768
  "type": "null"
17769
17769
  }
17770
17770
  ],
17771
- "description": "The invoice charged now, or `null` when the change was only scheduled for the period's end."
17771
+ "description": "The Fleetless invoice charged now, or `null` when nothing was charged now (a change scheduled for the period end, or an increase that cost nothing) or the change was charged through Lexware (then the charge is in `billing.charges`)."
17772
17772
  },
17773
17773
  "intent": {
17774
17774
  "type": "object",
@@ -17790,7 +17790,7 @@
17790
17790
  "const": "paid_change"
17791
17791
  },
17792
17792
  "invoice_id": {
17793
- "description": "The due charge or issued invoice, for invoice-paying operations.",
17793
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
17794
17794
  "type": "string",
17795
17795
  "format": "uuid",
17796
17796
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -18846,7 +18846,8 @@
18846
18846
  "additionalProperties": false
18847
18847
  },
18848
18848
  "charged": {
18849
- "type": "null"
18849
+ "type": "null",
18850
+ "description": "Always `null`: nothing was charged now (a scheduled change or an increase that cost nothing)."
18850
18851
  },
18851
18852
  "intent": {
18852
18853
  "type": "object",
@@ -23952,7 +23953,7 @@
23952
23953
  ]
23953
23954
  },
23954
23955
  "invoice_id": {
23955
- "description": "The due charge or issued invoice, for invoice-paying operations.",
23956
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
23956
23957
  "type": "string",
23957
23958
  "format": "uuid",
23958
23959
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -24009,7 +24010,7 @@
24009
24010
  ]
24010
24011
  },
24011
24012
  "invoice_id": {
24012
- "description": "The due charge or issued invoice, for invoice-paying operations.",
24013
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
24013
24014
  "type": "string",
24014
24015
  "format": "uuid",
24015
24016
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -24109,7 +24110,7 @@
24109
24110
  ]
24110
24111
  },
24111
24112
  "invoice_id": {
24112
- "description": "The due charge or issued invoice, for invoice-paying operations.",
24113
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
24113
24114
  "type": "string",
24114
24115
  "format": "uuid",
24115
24116
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -24187,7 +24188,7 @@
24187
24188
  ]
24188
24189
  },
24189
24190
  "invoice_id": {
24190
- "description": "The due charge or issued invoice, for invoice-paying operations.",
24191
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
24191
24192
  "type": "string",
24192
24193
  "format": "uuid",
24193
24194
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -24239,7 +24240,7 @@
24239
24240
  ]
24240
24241
  },
24241
24242
  "invoice_id": {
24242
- "description": "The due charge or issued invoice, for invoice-paying operations.",
24243
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
24243
24244
  "type": "string",
24244
24245
  "format": "uuid",
24245
24246
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -24393,7 +24394,7 @@
24393
24394
  ]
24394
24395
  },
24395
24396
  "invoice_id": {
24396
- "description": "The due charge or issued invoice, for invoice-paying operations.",
24397
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
24397
24398
  "type": "string",
24398
24399
  "format": "uuid",
24399
24400
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -45315,7 +45316,7 @@
45315
45316
  ]
45316
45317
  },
45317
45318
  "invoice_id": {
45318
- "description": "The due charge or issued invoice, for invoice-paying operations.",
45319
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
45319
45320
  "type": "string",
45320
45321
  "format": "uuid",
45321
45322
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -45373,7 +45374,7 @@
45373
45374
  ]
45374
45375
  },
45375
45376
  "invoice_id": {
45376
- "description": "The due charge or issued invoice, for invoice-paying operations.",
45377
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
45377
45378
  "type": "string",
45378
45379
  "format": "uuid",
45379
45380
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -45474,7 +45475,7 @@
45474
45475
  ]
45475
45476
  },
45476
45477
  "invoice_id": {
45477
- "description": "The due charge or issued invoice, for invoice-paying operations.",
45478
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
45478
45479
  "type": "string",
45479
45480
  "format": "uuid",
45480
45481
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -45553,7 +45554,7 @@
45553
45554
  ]
45554
45555
  },
45555
45556
  "invoice_id": {
45556
- "description": "The due charge or issued invoice, for invoice-paying operations.",
45557
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
45557
45558
  "type": "string",
45558
45559
  "format": "uuid",
45559
45560
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -45606,7 +45607,7 @@
45606
45607
  ]
45607
45608
  },
45608
45609
  "invoice_id": {
45609
- "description": "The due charge or issued invoice, for invoice-paying operations.",
45610
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
45610
45611
  "type": "string",
45611
45612
  "format": "uuid",
45612
45613
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -45760,7 +45761,7 @@
45760
45761
  ]
45761
45762
  },
45762
45763
  "invoice_id": {
45763
- "description": "The due charge or issued invoice, for invoice-paying operations.",
45764
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
45764
45765
  "type": "string",
45765
45766
  "format": "uuid",
45766
45767
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -46994,7 +46995,7 @@
46994
46995
  "type": "null"
46995
46996
  }
46996
46997
  ],
46997
- "description": "The invoice charged now, or `null` when the change was only scheduled for the period's end."
46998
+ "description": "The Fleetless invoice charged now, or `null` when nothing was charged now (a change scheduled for the period end, or an increase that cost nothing) or the change was charged through Lexware (then the charge is in `billing.charges`)."
46998
46999
  },
46999
47000
  "intent": {
47000
47001
  "type": "object",
@@ -47016,7 +47017,7 @@
47016
47017
  "const": "paid_change"
47017
47018
  },
47018
47019
  "invoice_id": {
47019
- "description": "The due charge or issued invoice, for invoice-paying operations.",
47020
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
47020
47021
  "type": "string",
47021
47022
  "format": "uuid",
47022
47023
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -48072,7 +48073,8 @@
48072
48073
  "additionalProperties": false
48073
48074
  },
48074
48075
  "charged": {
48075
- "type": "null"
48076
+ "type": "null",
48077
+ "description": "Always `null`: nothing was charged now (a scheduled change or an increase that cost nothing)."
48076
48078
  },
48077
48079
  "intent": {
48078
48080
  "type": "object",
@@ -26,7 +26,7 @@
26
26
  "const": "paid_change"
27
27
  },
28
28
  "invoice_id": {
29
- "description": "The due charge or issued invoice, for invoice-paying operations.",
29
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
30
30
  "type": "string",
31
31
  "format": "uuid",
32
32
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -79,7 +79,7 @@
79
79
  "const": "paid_change"
80
80
  },
81
81
  "invoice_id": {
82
- "description": "The due charge or issued invoice, for invoice-paying operations.",
82
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
83
83
  "type": "string",
84
84
  "format": "uuid",
85
85
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -174,7 +174,7 @@
174
174
  "const": "paid_change"
175
175
  },
176
176
  "invoice_id": {
177
- "description": "The due charge or issued invoice, for invoice-paying operations.",
177
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
178
178
  "type": "string",
179
179
  "format": "uuid",
180
180
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -248,7 +248,7 @@
248
248
  "const": "paid_change"
249
249
  },
250
250
  "invoice_id": {
251
- "description": "The due charge or issued invoice, for invoice-paying operations.",
251
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
252
252
  "type": "string",
253
253
  "format": "uuid",
254
254
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -296,7 +296,7 @@
296
296
  "const": "paid_change"
297
297
  },
298
298
  "invoice_id": {
299
- "description": "The due charge or issued invoice, for invoice-paying operations.",
299
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
300
300
  "type": "string",
301
301
  "format": "uuid",
302
302
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -1508,7 +1508,7 @@
1508
1508
  "type": "null"
1509
1509
  }
1510
1510
  ],
1511
- "description": "The invoice charged now, or `null` when the change was only scheduled for the period's end."
1511
+ "description": "The Fleetless invoice charged now, or `null` when nothing was charged now (a change scheduled for the period end, or an increase that cost nothing) or the change was charged through Lexware (then the charge is in `billing.charges`)."
1512
1512
  },
1513
1513
  "intent": {
1514
1514
  "type": "object",
@@ -1530,7 +1530,7 @@
1530
1530
  "const": "paid_change"
1531
1531
  },
1532
1532
  "invoice_id": {
1533
- "description": "The due charge or issued invoice, for invoice-paying operations.",
1533
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
1534
1534
  "type": "string",
1535
1535
  "format": "uuid",
1536
1536
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -2586,7 +2586,8 @@
2586
2586
  "additionalProperties": false
2587
2587
  },
2588
2588
  "charged": {
2589
- "type": "null"
2589
+ "type": "null",
2590
+ "description": "Always `null`: nothing was charged now (a scheduled change or an increase that cost nothing)."
2590
2591
  },
2591
2592
  "intent": {
2592
2593
  "type": "object",
@@ -27,7 +27,7 @@
27
27
  ]
28
28
  },
29
29
  "invoice_id": {
30
- "description": "The due charge or issued invoice, for invoice-paying operations.",
30
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
31
31
  "type": "string",
32
32
  "format": "uuid",
33
33
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -84,7 +84,7 @@
84
84
  ]
85
85
  },
86
86
  "invoice_id": {
87
- "description": "The due charge or issued invoice, for invoice-paying operations.",
87
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
88
88
  "type": "string",
89
89
  "format": "uuid",
90
90
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -184,7 +184,7 @@
184
184
  ]
185
185
  },
186
186
  "invoice_id": {
187
- "description": "The due charge or issued invoice, for invoice-paying operations.",
187
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
188
188
  "type": "string",
189
189
  "format": "uuid",
190
190
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -262,7 +262,7 @@
262
262
  ]
263
263
  },
264
264
  "invoice_id": {
265
- "description": "The due charge or issued invoice, for invoice-paying operations.",
265
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
266
266
  "type": "string",
267
267
  "format": "uuid",
268
268
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -314,7 +314,7 @@
314
314
  ]
315
315
  },
316
316
  "invoice_id": {
317
- "description": "The due charge or issued invoice, for invoice-paying operations.",
317
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
318
318
  "type": "string",
319
319
  "format": "uuid",
320
320
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -468,7 +468,7 @@
468
468
  ]
469
469
  },
470
470
  "invoice_id": {
471
- "description": "The due charge or issued invoice, for invoice-paying operations.",
471
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
472
472
  "type": "string",
473
473
  "format": "uuid",
474
474
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  },
64
64
  "invoice_id": {
65
- "description": "The due charge or issued invoice, for invoice-paying operations.",
65
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
66
66
  "type": "string",
67
67
  "format": "uuid",
68
68
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -120,7 +120,7 @@
120
120
  ]
121
121
  },
122
122
  "invoice_id": {
123
- "description": "The due charge or issued invoice, for invoice-paying operations.",
123
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
124
124
  "type": "string",
125
125
  "format": "uuid",
126
126
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -221,7 +221,7 @@
221
221
  ]
222
222
  },
223
223
  "invoice_id": {
224
- "description": "The due charge or issued invoice, for invoice-paying operations.",
224
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
225
225
  "type": "string",
226
226
  "format": "uuid",
227
227
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -300,7 +300,7 @@
300
300
  ]
301
301
  },
302
302
  "invoice_id": {
303
- "description": "The due charge or issued invoice, for invoice-paying operations.",
303
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
304
304
  "type": "string",
305
305
  "format": "uuid",
306
306
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -353,7 +353,7 @@
353
353
  ]
354
354
  },
355
355
  "invoice_id": {
356
- "description": "The due charge or issued invoice, for invoice-paying operations.",
356
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
357
357
  "type": "string",
358
358
  "format": "uuid",
359
359
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -414,7 +414,7 @@
414
414
  ]
415
415
  },
416
416
  "invoice_id": {
417
- "description": "The due charge or issued invoice, for invoice-paying operations.",
417
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
418
418
  "type": "string",
419
419
  "format": "uuid",
420
420
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -26,7 +26,7 @@
26
26
  ]
27
27
  },
28
28
  "invoice_id": {
29
- "description": "The due charge or issued invoice, for invoice-paying operations.",
29
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
30
30
  "type": "string",
31
31
  "format": "uuid",
32
32
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -84,7 +84,7 @@
84
84
  ]
85
85
  },
86
86
  "invoice_id": {
87
- "description": "The due charge or issued invoice, for invoice-paying operations.",
87
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
88
88
  "type": "string",
89
89
  "format": "uuid",
90
90
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -185,7 +185,7 @@
185
185
  ]
186
186
  },
187
187
  "invoice_id": {
188
- "description": "The due charge or issued invoice, for invoice-paying operations.",
188
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
189
189
  "type": "string",
190
190
  "format": "uuid",
191
191
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -264,7 +264,7 @@
264
264
  ]
265
265
  },
266
266
  "invoice_id": {
267
- "description": "The due charge or issued invoice, for invoice-paying operations.",
267
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
268
268
  "type": "string",
269
269
  "format": "uuid",
270
270
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -317,7 +317,7 @@
317
317
  ]
318
318
  },
319
319
  "invoice_id": {
320
- "description": "The due charge or issued invoice, for invoice-paying operations.",
320
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
321
321
  "type": "string",
322
322
  "format": "uuid",
323
323
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -24,7 +24,7 @@
24
24
  ]
25
25
  },
26
26
  "invoice_id": {
27
- "description": "The due charge or issued invoice, for invoice-paying operations.",
27
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
28
28
  "type": "string",
29
29
  "format": "uuid",
30
30
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -28,7 +28,7 @@
28
28
  ]
29
29
  },
30
30
  "invoice_id": {
31
- "description": "The due charge or issued invoice, for invoice-paying operations.",
31
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
32
32
  "type": "string",
33
33
  "format": "uuid",
34
34
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -86,7 +86,7 @@
86
86
  ]
87
87
  },
88
88
  "invoice_id": {
89
- "description": "The due charge or issued invoice, for invoice-paying operations.",
89
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
90
90
  "type": "string",
91
91
  "format": "uuid",
92
92
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -187,7 +187,7 @@
187
187
  ]
188
188
  },
189
189
  "invoice_id": {
190
- "description": "The due charge or issued invoice, for invoice-paying operations.",
190
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
191
191
  "type": "string",
192
192
  "format": "uuid",
193
193
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -266,7 +266,7 @@
266
266
  ]
267
267
  },
268
268
  "invoice_id": {
269
- "description": "The due charge or issued invoice, for invoice-paying operations.",
269
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
270
270
  "type": "string",
271
271
  "format": "uuid",
272
272
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -319,7 +319,7 @@
319
319
  ]
320
320
  },
321
321
  "invoice_id": {
322
- "description": "The due charge or issued invoice, for invoice-paying operations.",
322
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
323
323
  "type": "string",
324
324
  "format": "uuid",
325
325
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -473,7 +473,7 @@
473
473
  ]
474
474
  },
475
475
  "invoice_id": {
476
- "description": "The due charge or issued invoice, for invoice-paying operations.",
476
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
477
477
  "type": "string",
478
478
  "format": "uuid",
479
479
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -1707,7 +1707,7 @@
1707
1707
  "type": "null"
1708
1708
  }
1709
1709
  ],
1710
- "description": "The invoice charged now, or `null` when the change was only scheduled for the period's end."
1710
+ "description": "The Fleetless invoice charged now, or `null` when nothing was charged now (a change scheduled for the period end, or an increase that cost nothing) or the change was charged through Lexware (then the charge is in `billing.charges`)."
1711
1711
  },
1712
1712
  "intent": {
1713
1713
  "type": "object",
@@ -1729,7 +1729,7 @@
1729
1729
  "const": "paid_change"
1730
1730
  },
1731
1731
  "invoice_id": {
1732
- "description": "The due charge or issued invoice, for invoice-paying operations.",
1732
+ "description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
1733
1733
  "type": "string",
1734
1734
  "format": "uuid",
1735
1735
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -2785,7 +2785,8 @@
2785
2785
  "additionalProperties": false
2786
2786
  },
2787
2787
  "charged": {
2788
- "type": "null"
2788
+ "type": "null",
2789
+ "description": "Always `null`: nothing was charged now (a scheduled change or an increase that cost nothing)."
2789
2790
  },
2790
2791
  "intent": {
2791
2792
  "type": "object",
package/dist/billing.js CHANGED
@@ -491,7 +491,11 @@ const intentIdentity = {
491
491
  intent_id: z.uuid().meta({ description: 'Opaque persisted purchase intent identity.' }),
492
492
  operation_key: purchaseOperationKey,
493
493
  operation: chargeOperation,
494
- invoice_id: z.uuid().optional().meta({ description: 'The due charge or issued invoice, for invoice-paying operations.' }),
494
+ invoice_id: z.uuid().optional().meta({
495
+ description: 'For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with ' +
496
+ 'payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware ' +
497
+ '(`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.',
498
+ }),
495
499
  };
496
500
  export const purchaseHoldReason = z.enum([
497
501
  'legacy_usd_invoice', 'legacy_payer_unresolved', 'mandate_policy_unresolved',
@@ -971,7 +975,10 @@ export const billingDocumentFileQuery = z.object({
971
975
  /** Accepted paid changes retain their provider identity; accepted no-payment changes have none. */
972
976
  const acceptedBillingFields = {
973
977
  billing: billingView.meta({ description: 'The billing view after the change.' }),
974
- charged: billingInvoice.nullable().meta({ description: 'The invoice charged now, or `null` when the change was only scheduled for the period\'s end.' }),
978
+ charged: billingInvoice.nullable().meta({
979
+ description: 'The Fleetless invoice charged now, or `null` when nothing was charged now (a change scheduled for the period end, ' +
980
+ 'or an increase that cost nothing) or the change was charged through Lexware (then the charge is in `billing.charges`).',
981
+ }),
975
982
  };
976
983
  const acceptedPaidChange = z.object({
977
984
  ...acceptedBillingFields,
@@ -979,7 +986,9 @@ const acceptedPaidChange = z.object({
979
986
  }).strict();
980
987
  const acceptedNoPaymentChange = z.object({
981
988
  billing: billingView,
982
- charged: z.null(),
989
+ charged: z.null().meta({
990
+ description: 'Always `null`: nothing was charged now (a scheduled change or an increase that cost nothing).',
991
+ }),
983
992
  intent: purchaseIntentAcceptedWithoutPayment,
984
993
  }).strict();
985
994
  export const billingChangeResponse = z.union([
package/dist/errors.js CHANGED
@@ -1105,8 +1105,8 @@ export const ERROR_CODES = [
1105
1105
  /**
1106
1106
  * `403`: the feature the caller reached for is not on the org's plan — an
1107
1107
  * app's MCP endpoint, two-factor for a developer, a two-factor requirement
1108
- * for the org, an app's OIDC federation, a hosted logo, the audit export,
1109
- * or add-ons themselves. `details` is `planRequiredDetails`:
1108
+ * for the org, an app's OIDC federation, a hosted logo, or add-ons
1109
+ * themselves. `details` is `planRequiredDetails`:
1110
1110
  * the feature, the org's own plan, and the cheapest plan that has it, so
1111
1111
  * the console can offer the upgrade in the same breath as the refusal.
1112
1112
  */
package/dist/plans.d.ts CHANGED
@@ -196,7 +196,9 @@ export declare function yearlyEurCents(monthEurCents: number): number;
196
196
  */
197
197
  export declare function pricesFromEurMonth(eurMonthCents: number): PlanPrices;
198
198
  /**
199
- * The catalogue, exactly as the decision table (2026-09-30) states it.
199
+ * The catalogue: limits, prices and features as the decision table
200
+ * (2026-09-30) states them, except that the audit export is on every plan,
201
+ * as the developer docs (`plans-and-limits.md`) and the cloud have it.
200
202
  * Live video is in milliseconds, asset storage in decimal bytes per robot;
201
203
  * Enterprise's limits and features are `null` / `true` throughout because
202
204
  * they are set by contract, not read off this table.
package/dist/plans.js CHANGED
@@ -137,7 +137,9 @@ export function pricesFromEurMonth(eurMonthCents) {
137
137
  };
138
138
  }
139
139
  /**
140
- * The catalogue, exactly as the decision table (2026-09-30) states it.
140
+ * The catalogue: limits, prices and features as the decision table
141
+ * (2026-09-30) states them, except that the audit export is on every plan,
142
+ * as the developer docs (`plans-and-limits.md`) and the cloud have it.
141
143
  * Live video is in milliseconds, asset storage in decimal bytes per robot;
142
144
  * Enterprise's limits and features are `null` / `true` throughout because
143
145
  * they are set by contract, not read off this table.
@@ -164,7 +166,7 @@ export const PLANS = {
164
166
  require_two_factor: false,
165
167
  app_oidc: false,
166
168
  hosted_logo: false,
167
- audit_export: false,
169
+ audit_export: true,
168
170
  addons: false,
169
171
  },
170
172
  prices: pricesFromEurMonth(0),
@@ -191,7 +193,7 @@ export const PLANS = {
191
193
  require_two_factor: false,
192
194
  app_oidc: true,
193
195
  hosted_logo: true,
194
- audit_export: false,
196
+ audit_export: true,
195
197
  addons: false,
196
198
  },
197
199
  prices: pricesFromEurMonth(2900),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetless/contracts",
3
- "version": "15.0.0",
3
+ "version": "15.0.1",
4
4
  "description": "Fleetless wire contracts: the bridge-cloud protocol, the REST API schemas and the error codes, as zod schemas with generated JSON Schema and OpenAPI artifacts.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Dehne Robotik GmbH",