@fleetless/contracts 7.1.0 → 8.0.0
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 +19 -0
- package/artifacts/openapi.json +1013 -27
- package/artifacts/routes.json +37 -3
- package/artifacts/schema/billing-change-response.schema.json +469 -7
- package/artifacts/schema/billing-charge-invoice.schema.json +54 -0
- package/artifacts/schema/billing-charge.schema.json +216 -0
- package/artifacts/schema/billing-issuer.schema.json +8 -0
- package/artifacts/schema/billing-view.schema.json +232 -3
- package/artifacts/schema/checkout-response.schema.json +5 -1
- package/artifacts/schema/purchase-conflict-details.schema.json +5 -1
- package/artifacts/schema/purchase-hold-reason.schema.json +5 -1
- package/artifacts/schema/purchase-intent-response.schema.json +237 -4
- package/dist/billing.d.ts +229 -0
- package/dist/billing.js +88 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/routes.js +23 -4
- package/package.json +1 -1
package/artifacts/openapi.json
CHANGED
|
@@ -10163,7 +10163,7 @@
|
|
|
10163
10163
|
}
|
|
10164
10164
|
}
|
|
10165
10165
|
},
|
|
10166
|
-
"description": "Rendered once, with `pdfkit`, when the invoice is issued, and stored as bytes — an issued invoice never changes, so this always answers the same PDF for the same id. `404 not_found` for an unknown id or one from another org."
|
|
10166
|
+
"description": "Rendered once, with `pdfkit`, when the invoice is issued, and stored as bytes — an issued invoice never changes, so this always answers the same PDF for the same id. `404 not_found` for an unknown id or one from another org. This reads historical Cloud invoices only: a due charge has no PDF of its own here — its eventual Lexware invoice is a document, read through `GET /api/billing/documents/:id/file`."
|
|
10167
10167
|
}
|
|
10168
10168
|
},
|
|
10169
10169
|
"/api/billing/documents": {
|
|
@@ -10332,7 +10332,7 @@
|
|
|
10332
10332
|
"name": "id",
|
|
10333
10333
|
"in": "path",
|
|
10334
10334
|
"required": true,
|
|
10335
|
-
"description": "The invoice id, from `billingInvoice.id`, of the open invoice to pay — or a due charge's id, from `dunning.invoice_id`.",
|
|
10335
|
+
"description": "The invoice id, from `billingInvoice.id`, of the open invoice to pay — or, before the issuer cutover, a due charge's id, from `dunning.invoice_id`.",
|
|
10336
10336
|
"schema": {
|
|
10337
10337
|
"type": "string"
|
|
10338
10338
|
}
|
|
@@ -10360,7 +10360,65 @@
|
|
|
10360
10360
|
}
|
|
10361
10361
|
}
|
|
10362
10362
|
},
|
|
10363
|
-
"description": "The required operation_key binds the org, invoice and request; reuse with changed input is 409 target_state_conflict (purchaseConflictDetails). :id may be an issued invoice or a due charge with no number. Recheck current buyer eligibility, VIES, invoice status, owed amount and original currency before every new provider call. Invalid VAT is state invalid_vat_id with rule vat_id_invalid, without a payment. Pending/eligible/held has no redirect; after VIES recovers, the owner must confirm the current quote. An issued USD invoice remains held/legacy_usd_invoice: never convert it or call the provider anew until the integration decision resolves the conflict. Already-created payments retain recorded currency/amount and are looked up/reconciled, never replaced. Under the org lock, confirmation checks the current owed amount and returns the same payment identity on retries. invoice_not_open is a typed conflict; 404 not_found for unknown/foreign invoice. Pending itself never pays an invoice, lifts a lock or resets dunning.",
|
|
10363
|
+
"description": "The required operation_key binds the org, invoice and request; reuse with changed input is 409 target_state_conflict (purchaseConflictDetails). :id may be an issued invoice or a due charge with no number. Recheck current buyer eligibility, VIES, invoice status, owed amount and original currency before every new provider call. Invalid VAT is state invalid_vat_id with rule vat_id_invalid, without a payment. Pending/eligible/held has no redirect; after VIES recovers, the owner must confirm the current quote. An issued USD invoice remains held/legacy_usd_invoice: never convert it or call the provider anew until the integration decision resolves the conflict. Already-created payments retain recorded currency/amount and are looked up/reconciled, never replaced. Under the org lock, confirmation checks the current owed amount and returns the same payment identity on retries. invoice_not_open is a typed conflict; 404 not_found for unknown/foreign invoice. Pending itself never pays an invoice, lifts a lock or resets dunning. After the issuer cutover, :id names a historical open FL-… invoice only; a due charge after the cutover answers 404 not_found here — pay it with POST /api/billing/charges/:id/pay instead.",
|
|
10364
|
+
"requestBody": {
|
|
10365
|
+
"required": true,
|
|
10366
|
+
"content": {
|
|
10367
|
+
"application/json": {
|
|
10368
|
+
"schema": {
|
|
10369
|
+
"$ref": "#/components/schemas/invoice-pay-request"
|
|
10370
|
+
}
|
|
10371
|
+
}
|
|
10372
|
+
}
|
|
10373
|
+
}
|
|
10374
|
+
}
|
|
10375
|
+
},
|
|
10376
|
+
"/api/billing/charges/{id}/pay": {
|
|
10377
|
+
"post": {
|
|
10378
|
+
"operationId": "post_api_billing_charges_id_pay",
|
|
10379
|
+
"summary": "Records an owner-confirmed payment intent for a due Lexware-issuer charge.",
|
|
10380
|
+
"tags": [
|
|
10381
|
+
"billing"
|
|
10382
|
+
],
|
|
10383
|
+
"security": [
|
|
10384
|
+
{
|
|
10385
|
+
"developerSession": []
|
|
10386
|
+
}
|
|
10387
|
+
],
|
|
10388
|
+
"parameters": [
|
|
10389
|
+
{
|
|
10390
|
+
"name": "id",
|
|
10391
|
+
"in": "path",
|
|
10392
|
+
"required": true,
|
|
10393
|
+
"description": "The due charge id, from `billingCharge.id` in `GET /api/billing`'s `charges`.",
|
|
10394
|
+
"schema": {
|
|
10395
|
+
"type": "string"
|
|
10396
|
+
}
|
|
10397
|
+
}
|
|
10398
|
+
],
|
|
10399
|
+
"responses": {
|
|
10400
|
+
"201": {
|
|
10401
|
+
"description": "Success.",
|
|
10402
|
+
"content": {
|
|
10403
|
+
"application/json": {
|
|
10404
|
+
"schema": {
|
|
10405
|
+
"$ref": "#/components/schemas/checkout-response"
|
|
10406
|
+
}
|
|
10407
|
+
}
|
|
10408
|
+
}
|
|
10409
|
+
},
|
|
10410
|
+
"default": {
|
|
10411
|
+
"description": "An error envelope. Codes this route is known to answer: `validation_error`, `unauthorized`, `token_expired`, `token_revoked`, `tier_required`, `not_found`, `target_state_conflict`, `rate_limited`, `billing_unavailable`, `payment_provider_unavailable`.",
|
|
10412
|
+
"content": {
|
|
10413
|
+
"application/json": {
|
|
10414
|
+
"schema": {
|
|
10415
|
+
"$ref": "#/components/schemas/api-error"
|
|
10416
|
+
}
|
|
10417
|
+
}
|
|
10418
|
+
}
|
|
10419
|
+
}
|
|
10420
|
+
},
|
|
10421
|
+
"description": "The required operation_key binds the org, charge and request, exactly like POST /api/billing/invoices/:id/pay; reuse with changed input is 409 target_state_conflict (purchaseConflictDetails). :id is a due charge's own id (billingCharge.id) — never a historical Cloud invoice; an invoice id, an unknown id or one from another org all answer 404 not_found alike. Recheck current buyer eligibility, the charge's own status and the owed amount before every new provider call: a charge already paid, cancelled or uncollectible is invoice_not_open, a typed 409 conflict. Pending/eligible/held has no redirect; after recovery the owner must confirm the current quote. Already-created payments retain their recorded currency/amount and are looked up/reconciled, never replaced. Under the org lock, confirmation checks the current owed amount and returns the same payment identity on retries.",
|
|
10364
10422
|
"requestBody": {
|
|
10365
10423
|
"required": true,
|
|
10366
10424
|
"content": {
|
|
@@ -13150,7 +13208,7 @@
|
|
|
13150
13208
|
"type": "string",
|
|
13151
13209
|
"format": "uuid",
|
|
13152
13210
|
"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)$",
|
|
13153
|
-
"description": "
|
|
13211
|
+
"description": "What dunning is chasing: a historical open `FL-…` invoice, or a due charge. Before the issuer cutover a due charge appears here only while the payer's VAT ID is unsettled; it has no number yet, is not in `invoices`, and `POST /api/billing/invoices/:id/pay` takes either. After the cutover this is always a due charge (in `charges`): pay it with `POST /api/billing/charges/:id/pay`."
|
|
13154
13212
|
},
|
|
13155
13213
|
"gross_cents": {
|
|
13156
13214
|
"type": "integer",
|
|
@@ -13353,6 +13411,14 @@
|
|
|
13353
13411
|
},
|
|
13354
13412
|
"description": "What a payment-method change may offer right now, so a client offers exactly what the cloud accepts. `applepay` is absent when it needs an open invoice and none is open; `[]` when the org has no billing account."
|
|
13355
13413
|
},
|
|
13414
|
+
"issuer": {
|
|
13415
|
+
"type": "string",
|
|
13416
|
+
"enum": [
|
|
13417
|
+
"cloud",
|
|
13418
|
+
"lexware"
|
|
13419
|
+
],
|
|
13420
|
+
"description": "Which system issues this org's charges: `cloud` before the issuer cutover, or `lexware` after it."
|
|
13421
|
+
},
|
|
13356
13422
|
"invoices": {
|
|
13357
13423
|
"type": "array",
|
|
13358
13424
|
"items": {
|
|
@@ -13430,7 +13496,226 @@
|
|
|
13430
13496
|
],
|
|
13431
13497
|
"additionalProperties": false
|
|
13432
13498
|
},
|
|
13433
|
-
"description": "Newest first, at most 24."
|
|
13499
|
+
"description": "Cloud-issued invoices from before the issuer cutover; read-only, never grows after it. Newest first, at most 24."
|
|
13500
|
+
},
|
|
13501
|
+
"charges": {
|
|
13502
|
+
"type": "array",
|
|
13503
|
+
"items": {
|
|
13504
|
+
"type": "object",
|
|
13505
|
+
"properties": {
|
|
13506
|
+
"id": {
|
|
13507
|
+
"type": "string",
|
|
13508
|
+
"format": "uuid",
|
|
13509
|
+
"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)$",
|
|
13510
|
+
"description": "The due charge's id — never a Cloud invoice number. Pay it with `POST /api/billing/charges/:id/pay`."
|
|
13511
|
+
},
|
|
13512
|
+
"kind": {
|
|
13513
|
+
"type": "string",
|
|
13514
|
+
"enum": [
|
|
13515
|
+
"first",
|
|
13516
|
+
"renewal",
|
|
13517
|
+
"change"
|
|
13518
|
+
],
|
|
13519
|
+
"description": "What caused the charge: the first charge after checkout, a scheduled renewal, or a mid-period plan change."
|
|
13520
|
+
},
|
|
13521
|
+
"status": {
|
|
13522
|
+
"type": "string",
|
|
13523
|
+
"enum": [
|
|
13524
|
+
"due",
|
|
13525
|
+
"paid",
|
|
13526
|
+
"uncollectible",
|
|
13527
|
+
"cancelled"
|
|
13528
|
+
],
|
|
13529
|
+
"description": "The charge's own status. A charged back or manually refunded charge stays `paid` — refunds and chargebacks are handled in Mollie or Lexware by hand; this status and the invoice it names are unchanged, and the resulting Lexware credit note appears under `GET /api/billing/documents` instead."
|
|
13530
|
+
},
|
|
13531
|
+
"currency": {
|
|
13532
|
+
"type": "string",
|
|
13533
|
+
"const": "eur",
|
|
13534
|
+
"description": "Every charge billed through Lexware is EUR."
|
|
13535
|
+
},
|
|
13536
|
+
"net_cents": {
|
|
13537
|
+
"type": "integer",
|
|
13538
|
+
"minimum": 0,
|
|
13539
|
+
"maximum": 9007199254740991,
|
|
13540
|
+
"description": "The charge, excluding VAT, in integer cents."
|
|
13541
|
+
},
|
|
13542
|
+
"vat_rate_percent": {
|
|
13543
|
+
"type": "integer",
|
|
13544
|
+
"minimum": 0,
|
|
13545
|
+
"maximum": 100,
|
|
13546
|
+
"description": "The VAT rate applied, in whole percent."
|
|
13547
|
+
},
|
|
13548
|
+
"vat_cents": {
|
|
13549
|
+
"type": "integer",
|
|
13550
|
+
"minimum": 0,
|
|
13551
|
+
"maximum": 9007199254740991,
|
|
13552
|
+
"description": "VAT, in integer cents (`vatCents`)."
|
|
13553
|
+
},
|
|
13554
|
+
"gross_cents": {
|
|
13555
|
+
"type": "integer",
|
|
13556
|
+
"minimum": 0,
|
|
13557
|
+
"maximum": 9007199254740991,
|
|
13558
|
+
"description": "Net plus VAT, in integer cents."
|
|
13559
|
+
},
|
|
13560
|
+
"period_start": {
|
|
13561
|
+
"type": "string",
|
|
13562
|
+
"format": "date-time",
|
|
13563
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
13564
|
+
"description": "The covered period's start."
|
|
13565
|
+
},
|
|
13566
|
+
"period_end": {
|
|
13567
|
+
"type": "string",
|
|
13568
|
+
"format": "date-time",
|
|
13569
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
13570
|
+
"description": "The covered period's end."
|
|
13571
|
+
},
|
|
13572
|
+
"due_at": {
|
|
13573
|
+
"type": "string",
|
|
13574
|
+
"format": "date-time",
|
|
13575
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
13576
|
+
"description": "When this charge is due."
|
|
13577
|
+
},
|
|
13578
|
+
"paid_at": {
|
|
13579
|
+
"anyOf": [
|
|
13580
|
+
{
|
|
13581
|
+
"type": "string",
|
|
13582
|
+
"format": "date-time",
|
|
13583
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
13584
|
+
},
|
|
13585
|
+
{
|
|
13586
|
+
"type": "null"
|
|
13587
|
+
}
|
|
13588
|
+
],
|
|
13589
|
+
"description": "When this charge was paid, or `null` while unpaid."
|
|
13590
|
+
},
|
|
13591
|
+
"invoice": {
|
|
13592
|
+
"oneOf": [
|
|
13593
|
+
{
|
|
13594
|
+
"type": "object",
|
|
13595
|
+
"properties": {
|
|
13596
|
+
"state": {
|
|
13597
|
+
"type": "string",
|
|
13598
|
+
"const": "not_issued",
|
|
13599
|
+
"description": "Not collected (due, a failed retry, or uncollectible): no invoice exists."
|
|
13600
|
+
}
|
|
13601
|
+
},
|
|
13602
|
+
"required": [
|
|
13603
|
+
"state"
|
|
13604
|
+
],
|
|
13605
|
+
"additionalProperties": false
|
|
13606
|
+
},
|
|
13607
|
+
{
|
|
13608
|
+
"type": "object",
|
|
13609
|
+
"properties": {
|
|
13610
|
+
"state": {
|
|
13611
|
+
"type": "string",
|
|
13612
|
+
"const": "pending",
|
|
13613
|
+
"description": "Collected; the Lexware invoice is not yet confirmed."
|
|
13614
|
+
}
|
|
13615
|
+
},
|
|
13616
|
+
"required": [
|
|
13617
|
+
"state"
|
|
13618
|
+
],
|
|
13619
|
+
"additionalProperties": false
|
|
13620
|
+
},
|
|
13621
|
+
{
|
|
13622
|
+
"type": "object",
|
|
13623
|
+
"properties": {
|
|
13624
|
+
"state": {
|
|
13625
|
+
"type": "string",
|
|
13626
|
+
"const": "issued",
|
|
13627
|
+
"description": "Lexware has confirmed the invoice."
|
|
13628
|
+
},
|
|
13629
|
+
"document_id": {
|
|
13630
|
+
"type": "string",
|
|
13631
|
+
"format": "uuid",
|
|
13632
|
+
"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)$",
|
|
13633
|
+
"description": "The Lexware document's id — read it with `GET /api/billing/documents/:id`."
|
|
13634
|
+
}
|
|
13635
|
+
},
|
|
13636
|
+
"required": [
|
|
13637
|
+
"state",
|
|
13638
|
+
"document_id"
|
|
13639
|
+
],
|
|
13640
|
+
"additionalProperties": false
|
|
13641
|
+
}
|
|
13642
|
+
],
|
|
13643
|
+
"description": "Whether a Lexware invoice exists for this charge yet, and which document it names once it does."
|
|
13644
|
+
}
|
|
13645
|
+
},
|
|
13646
|
+
"required": [
|
|
13647
|
+
"id",
|
|
13648
|
+
"kind",
|
|
13649
|
+
"status",
|
|
13650
|
+
"currency",
|
|
13651
|
+
"net_cents",
|
|
13652
|
+
"vat_rate_percent",
|
|
13653
|
+
"vat_cents",
|
|
13654
|
+
"gross_cents",
|
|
13655
|
+
"period_start",
|
|
13656
|
+
"period_end",
|
|
13657
|
+
"due_at",
|
|
13658
|
+
"paid_at",
|
|
13659
|
+
"invoice"
|
|
13660
|
+
],
|
|
13661
|
+
"additionalProperties": false,
|
|
13662
|
+
"allOf": [
|
|
13663
|
+
{
|
|
13664
|
+
"if": {
|
|
13665
|
+
"properties": {
|
|
13666
|
+
"status": {
|
|
13667
|
+
"const": "paid"
|
|
13668
|
+
}
|
|
13669
|
+
},
|
|
13670
|
+
"required": [
|
|
13671
|
+
"status"
|
|
13672
|
+
]
|
|
13673
|
+
},
|
|
13674
|
+
"then": {
|
|
13675
|
+
"properties": {
|
|
13676
|
+
"invoice": {
|
|
13677
|
+
"properties": {
|
|
13678
|
+
"state": {
|
|
13679
|
+
"enum": [
|
|
13680
|
+
"pending",
|
|
13681
|
+
"issued"
|
|
13682
|
+
]
|
|
13683
|
+
}
|
|
13684
|
+
}
|
|
13685
|
+
}
|
|
13686
|
+
}
|
|
13687
|
+
}
|
|
13688
|
+
},
|
|
13689
|
+
{
|
|
13690
|
+
"if": {
|
|
13691
|
+
"properties": {
|
|
13692
|
+
"status": {
|
|
13693
|
+
"enum": [
|
|
13694
|
+
"due",
|
|
13695
|
+
"uncollectible",
|
|
13696
|
+
"cancelled"
|
|
13697
|
+
]
|
|
13698
|
+
}
|
|
13699
|
+
},
|
|
13700
|
+
"required": [
|
|
13701
|
+
"status"
|
|
13702
|
+
]
|
|
13703
|
+
},
|
|
13704
|
+
"then": {
|
|
13705
|
+
"properties": {
|
|
13706
|
+
"invoice": {
|
|
13707
|
+
"properties": {
|
|
13708
|
+
"state": {
|
|
13709
|
+
"const": "not_issued"
|
|
13710
|
+
}
|
|
13711
|
+
}
|
|
13712
|
+
}
|
|
13713
|
+
}
|
|
13714
|
+
}
|
|
13715
|
+
}
|
|
13716
|
+
]
|
|
13717
|
+
},
|
|
13718
|
+
"description": "Newest first, at most 24. Lists only due charges with issuer `lexware` — never a pre-cutover charge, a legacy payment (legacy_issued/legacy_held/legacy_person/legacy_usd) or a late USD collection: none of those carry a Lexware intent, and they stay in `invoices` or nowhere. `[]` while `issuer` is `cloud`."
|
|
13434
13719
|
}
|
|
13435
13720
|
},
|
|
13436
13721
|
"required": [
|
|
@@ -13438,7 +13723,9 @@
|
|
|
13438
13723
|
"account",
|
|
13439
13724
|
"payment_method",
|
|
13440
13725
|
"payment_method_options",
|
|
13441
|
-
"
|
|
13726
|
+
"issuer",
|
|
13727
|
+
"invoices",
|
|
13728
|
+
"charges"
|
|
13442
13729
|
],
|
|
13443
13730
|
"additionalProperties": false,
|
|
13444
13731
|
"description": "The billing view after the change."
|
|
@@ -13736,7 +14023,11 @@
|
|
|
13736
14023
|
"enum": [
|
|
13737
14024
|
"legacy_usd_invoice",
|
|
13738
14025
|
"legacy_payer_unresolved",
|
|
13739
|
-
"mandate_policy_unresolved"
|
|
14026
|
+
"mandate_policy_unresolved",
|
|
14027
|
+
"lexware_contact_pending",
|
|
14028
|
+
"lexware_contact_changed",
|
|
14029
|
+
"issuer_cutover_in_progress",
|
|
14030
|
+
"lexware_issuance_paused"
|
|
13740
14031
|
]
|
|
13741
14032
|
},
|
|
13742
14033
|
"original_amount": {
|
|
@@ -14524,7 +14815,7 @@
|
|
|
14524
14815
|
"type": "string",
|
|
14525
14816
|
"format": "uuid",
|
|
14526
14817
|
"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)$",
|
|
14527
|
-
"description": "
|
|
14818
|
+
"description": "What dunning is chasing: a historical open `FL-…` invoice, or a due charge. Before the issuer cutover a due charge appears here only while the payer's VAT ID is unsettled; it has no number yet, is not in `invoices`, and `POST /api/billing/invoices/:id/pay` takes either. After the cutover this is always a due charge (in `charges`): pay it with `POST /api/billing/charges/:id/pay`."
|
|
14528
14819
|
},
|
|
14529
14820
|
"gross_cents": {
|
|
14530
14821
|
"type": "integer",
|
|
@@ -14727,6 +15018,14 @@
|
|
|
14727
15018
|
},
|
|
14728
15019
|
"description": "What a payment-method change may offer right now, so a client offers exactly what the cloud accepts. `applepay` is absent when it needs an open invoice and none is open; `[]` when the org has no billing account."
|
|
14729
15020
|
},
|
|
15021
|
+
"issuer": {
|
|
15022
|
+
"type": "string",
|
|
15023
|
+
"enum": [
|
|
15024
|
+
"cloud",
|
|
15025
|
+
"lexware"
|
|
15026
|
+
],
|
|
15027
|
+
"description": "Which system issues this org's charges: `cloud` before the issuer cutover, or `lexware` after it."
|
|
15028
|
+
},
|
|
14730
15029
|
"invoices": {
|
|
14731
15030
|
"type": "array",
|
|
14732
15031
|
"items": {
|
|
@@ -14804,7 +15103,226 @@
|
|
|
14804
15103
|
],
|
|
14805
15104
|
"additionalProperties": false
|
|
14806
15105
|
},
|
|
14807
|
-
"description": "Newest first, at most 24."
|
|
15106
|
+
"description": "Cloud-issued invoices from before the issuer cutover; read-only, never grows after it. Newest first, at most 24."
|
|
15107
|
+
},
|
|
15108
|
+
"charges": {
|
|
15109
|
+
"type": "array",
|
|
15110
|
+
"items": {
|
|
15111
|
+
"type": "object",
|
|
15112
|
+
"properties": {
|
|
15113
|
+
"id": {
|
|
15114
|
+
"type": "string",
|
|
15115
|
+
"format": "uuid",
|
|
15116
|
+
"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)$",
|
|
15117
|
+
"description": "The due charge's id — never a Cloud invoice number. Pay it with `POST /api/billing/charges/:id/pay`."
|
|
15118
|
+
},
|
|
15119
|
+
"kind": {
|
|
15120
|
+
"type": "string",
|
|
15121
|
+
"enum": [
|
|
15122
|
+
"first",
|
|
15123
|
+
"renewal",
|
|
15124
|
+
"change"
|
|
15125
|
+
],
|
|
15126
|
+
"description": "What caused the charge: the first charge after checkout, a scheduled renewal, or a mid-period plan change."
|
|
15127
|
+
},
|
|
15128
|
+
"status": {
|
|
15129
|
+
"type": "string",
|
|
15130
|
+
"enum": [
|
|
15131
|
+
"due",
|
|
15132
|
+
"paid",
|
|
15133
|
+
"uncollectible",
|
|
15134
|
+
"cancelled"
|
|
15135
|
+
],
|
|
15136
|
+
"description": "The charge's own status. A charged back or manually refunded charge stays `paid` — refunds and chargebacks are handled in Mollie or Lexware by hand; this status and the invoice it names are unchanged, and the resulting Lexware credit note appears under `GET /api/billing/documents` instead."
|
|
15137
|
+
},
|
|
15138
|
+
"currency": {
|
|
15139
|
+
"type": "string",
|
|
15140
|
+
"const": "eur",
|
|
15141
|
+
"description": "Every charge billed through Lexware is EUR."
|
|
15142
|
+
},
|
|
15143
|
+
"net_cents": {
|
|
15144
|
+
"type": "integer",
|
|
15145
|
+
"minimum": 0,
|
|
15146
|
+
"maximum": 9007199254740991,
|
|
15147
|
+
"description": "The charge, excluding VAT, in integer cents."
|
|
15148
|
+
},
|
|
15149
|
+
"vat_rate_percent": {
|
|
15150
|
+
"type": "integer",
|
|
15151
|
+
"minimum": 0,
|
|
15152
|
+
"maximum": 100,
|
|
15153
|
+
"description": "The VAT rate applied, in whole percent."
|
|
15154
|
+
},
|
|
15155
|
+
"vat_cents": {
|
|
15156
|
+
"type": "integer",
|
|
15157
|
+
"minimum": 0,
|
|
15158
|
+
"maximum": 9007199254740991,
|
|
15159
|
+
"description": "VAT, in integer cents (`vatCents`)."
|
|
15160
|
+
},
|
|
15161
|
+
"gross_cents": {
|
|
15162
|
+
"type": "integer",
|
|
15163
|
+
"minimum": 0,
|
|
15164
|
+
"maximum": 9007199254740991,
|
|
15165
|
+
"description": "Net plus VAT, in integer cents."
|
|
15166
|
+
},
|
|
15167
|
+
"period_start": {
|
|
15168
|
+
"type": "string",
|
|
15169
|
+
"format": "date-time",
|
|
15170
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
15171
|
+
"description": "The covered period's start."
|
|
15172
|
+
},
|
|
15173
|
+
"period_end": {
|
|
15174
|
+
"type": "string",
|
|
15175
|
+
"format": "date-time",
|
|
15176
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
15177
|
+
"description": "The covered period's end."
|
|
15178
|
+
},
|
|
15179
|
+
"due_at": {
|
|
15180
|
+
"type": "string",
|
|
15181
|
+
"format": "date-time",
|
|
15182
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
15183
|
+
"description": "When this charge is due."
|
|
15184
|
+
},
|
|
15185
|
+
"paid_at": {
|
|
15186
|
+
"anyOf": [
|
|
15187
|
+
{
|
|
15188
|
+
"type": "string",
|
|
15189
|
+
"format": "date-time",
|
|
15190
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
15191
|
+
},
|
|
15192
|
+
{
|
|
15193
|
+
"type": "null"
|
|
15194
|
+
}
|
|
15195
|
+
],
|
|
15196
|
+
"description": "When this charge was paid, or `null` while unpaid."
|
|
15197
|
+
},
|
|
15198
|
+
"invoice": {
|
|
15199
|
+
"oneOf": [
|
|
15200
|
+
{
|
|
15201
|
+
"type": "object",
|
|
15202
|
+
"properties": {
|
|
15203
|
+
"state": {
|
|
15204
|
+
"type": "string",
|
|
15205
|
+
"const": "not_issued",
|
|
15206
|
+
"description": "Not collected (due, a failed retry, or uncollectible): no invoice exists."
|
|
15207
|
+
}
|
|
15208
|
+
},
|
|
15209
|
+
"required": [
|
|
15210
|
+
"state"
|
|
15211
|
+
],
|
|
15212
|
+
"additionalProperties": false
|
|
15213
|
+
},
|
|
15214
|
+
{
|
|
15215
|
+
"type": "object",
|
|
15216
|
+
"properties": {
|
|
15217
|
+
"state": {
|
|
15218
|
+
"type": "string",
|
|
15219
|
+
"const": "pending",
|
|
15220
|
+
"description": "Collected; the Lexware invoice is not yet confirmed."
|
|
15221
|
+
}
|
|
15222
|
+
},
|
|
15223
|
+
"required": [
|
|
15224
|
+
"state"
|
|
15225
|
+
],
|
|
15226
|
+
"additionalProperties": false
|
|
15227
|
+
},
|
|
15228
|
+
{
|
|
15229
|
+
"type": "object",
|
|
15230
|
+
"properties": {
|
|
15231
|
+
"state": {
|
|
15232
|
+
"type": "string",
|
|
15233
|
+
"const": "issued",
|
|
15234
|
+
"description": "Lexware has confirmed the invoice."
|
|
15235
|
+
},
|
|
15236
|
+
"document_id": {
|
|
15237
|
+
"type": "string",
|
|
15238
|
+
"format": "uuid",
|
|
15239
|
+
"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)$",
|
|
15240
|
+
"description": "The Lexware document's id — read it with `GET /api/billing/documents/:id`."
|
|
15241
|
+
}
|
|
15242
|
+
},
|
|
15243
|
+
"required": [
|
|
15244
|
+
"state",
|
|
15245
|
+
"document_id"
|
|
15246
|
+
],
|
|
15247
|
+
"additionalProperties": false
|
|
15248
|
+
}
|
|
15249
|
+
],
|
|
15250
|
+
"description": "Whether a Lexware invoice exists for this charge yet, and which document it names once it does."
|
|
15251
|
+
}
|
|
15252
|
+
},
|
|
15253
|
+
"required": [
|
|
15254
|
+
"id",
|
|
15255
|
+
"kind",
|
|
15256
|
+
"status",
|
|
15257
|
+
"currency",
|
|
15258
|
+
"net_cents",
|
|
15259
|
+
"vat_rate_percent",
|
|
15260
|
+
"vat_cents",
|
|
15261
|
+
"gross_cents",
|
|
15262
|
+
"period_start",
|
|
15263
|
+
"period_end",
|
|
15264
|
+
"due_at",
|
|
15265
|
+
"paid_at",
|
|
15266
|
+
"invoice"
|
|
15267
|
+
],
|
|
15268
|
+
"additionalProperties": false,
|
|
15269
|
+
"allOf": [
|
|
15270
|
+
{
|
|
15271
|
+
"if": {
|
|
15272
|
+
"properties": {
|
|
15273
|
+
"status": {
|
|
15274
|
+
"const": "paid"
|
|
15275
|
+
}
|
|
15276
|
+
},
|
|
15277
|
+
"required": [
|
|
15278
|
+
"status"
|
|
15279
|
+
]
|
|
15280
|
+
},
|
|
15281
|
+
"then": {
|
|
15282
|
+
"properties": {
|
|
15283
|
+
"invoice": {
|
|
15284
|
+
"properties": {
|
|
15285
|
+
"state": {
|
|
15286
|
+
"enum": [
|
|
15287
|
+
"pending",
|
|
15288
|
+
"issued"
|
|
15289
|
+
]
|
|
15290
|
+
}
|
|
15291
|
+
}
|
|
15292
|
+
}
|
|
15293
|
+
}
|
|
15294
|
+
}
|
|
15295
|
+
},
|
|
15296
|
+
{
|
|
15297
|
+
"if": {
|
|
15298
|
+
"properties": {
|
|
15299
|
+
"status": {
|
|
15300
|
+
"enum": [
|
|
15301
|
+
"due",
|
|
15302
|
+
"uncollectible",
|
|
15303
|
+
"cancelled"
|
|
15304
|
+
]
|
|
15305
|
+
}
|
|
15306
|
+
},
|
|
15307
|
+
"required": [
|
|
15308
|
+
"status"
|
|
15309
|
+
]
|
|
15310
|
+
},
|
|
15311
|
+
"then": {
|
|
15312
|
+
"properties": {
|
|
15313
|
+
"invoice": {
|
|
15314
|
+
"properties": {
|
|
15315
|
+
"state": {
|
|
15316
|
+
"const": "not_issued"
|
|
15317
|
+
}
|
|
15318
|
+
}
|
|
15319
|
+
}
|
|
15320
|
+
}
|
|
15321
|
+
}
|
|
15322
|
+
}
|
|
15323
|
+
]
|
|
15324
|
+
},
|
|
15325
|
+
"description": "Newest first, at most 24. Lists only due charges with issuer `lexware` — never a pre-cutover charge, a legacy payment (legacy_issued/legacy_held/legacy_person/legacy_usd) or a late USD collection: none of those carry a Lexware intent, and they stay in `invoices` or nowhere. `[]` while `issuer` is `cloud`."
|
|
14808
15326
|
}
|
|
14809
15327
|
},
|
|
14810
15328
|
"required": [
|
|
@@ -14812,7 +15330,9 @@
|
|
|
14812
15330
|
"account",
|
|
14813
15331
|
"payment_method",
|
|
14814
15332
|
"payment_method_options",
|
|
14815
|
-
"
|
|
15333
|
+
"issuer",
|
|
15334
|
+
"invoices",
|
|
15335
|
+
"charges"
|
|
14816
15336
|
],
|
|
14817
15337
|
"additionalProperties": false,
|
|
14818
15338
|
"description": "The billing view after the change."
|
|
@@ -15872,7 +16392,7 @@
|
|
|
15872
16392
|
"type": "string",
|
|
15873
16393
|
"format": "uuid",
|
|
15874
16394
|
"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)$",
|
|
15875
|
-
"description": "
|
|
16395
|
+
"description": "What dunning is chasing: a historical open `FL-…` invoice, or a due charge. Before the issuer cutover a due charge appears here only while the payer's VAT ID is unsettled; it has no number yet, is not in `invoices`, and `POST /api/billing/invoices/:id/pay` takes either. After the cutover this is always a due charge (in `charges`): pay it with `POST /api/billing/charges/:id/pay`."
|
|
15876
16396
|
},
|
|
15877
16397
|
"gross_cents": {
|
|
15878
16398
|
"type": "integer",
|
|
@@ -16075,6 +16595,14 @@
|
|
|
16075
16595
|
},
|
|
16076
16596
|
"description": "What a payment-method change may offer right now, so a client offers exactly what the cloud accepts. `applepay` is absent when it needs an open invoice and none is open; `[]` when the org has no billing account."
|
|
16077
16597
|
},
|
|
16598
|
+
"issuer": {
|
|
16599
|
+
"type": "string",
|
|
16600
|
+
"enum": [
|
|
16601
|
+
"cloud",
|
|
16602
|
+
"lexware"
|
|
16603
|
+
],
|
|
16604
|
+
"description": "Which system issues this org's charges: `cloud` before the issuer cutover, or `lexware` after it."
|
|
16605
|
+
},
|
|
16078
16606
|
"invoices": {
|
|
16079
16607
|
"type": "array",
|
|
16080
16608
|
"items": {
|
|
@@ -16132,27 +16660,246 @@
|
|
|
16132
16660
|
"maximum": 9007199254740991,
|
|
16133
16661
|
"description": "VAT, in integer cents (`vatCents`)."
|
|
16134
16662
|
},
|
|
16135
|
-
"gross_cents": {
|
|
16136
|
-
"type": "integer",
|
|
16137
|
-
"minimum": 0,
|
|
16138
|
-
"maximum": 9007199254740991,
|
|
16139
|
-
"description": "Net plus VAT, in integer cents."
|
|
16663
|
+
"gross_cents": {
|
|
16664
|
+
"type": "integer",
|
|
16665
|
+
"minimum": 0,
|
|
16666
|
+
"maximum": 9007199254740991,
|
|
16667
|
+
"description": "Net plus VAT, in integer cents."
|
|
16668
|
+
}
|
|
16669
|
+
},
|
|
16670
|
+
"required": [
|
|
16671
|
+
"id",
|
|
16672
|
+
"number",
|
|
16673
|
+
"issued_at",
|
|
16674
|
+
"status",
|
|
16675
|
+
"currency",
|
|
16676
|
+
"net_cents",
|
|
16677
|
+
"vat_rate_percent",
|
|
16678
|
+
"vat_cents",
|
|
16679
|
+
"gross_cents"
|
|
16680
|
+
],
|
|
16681
|
+
"additionalProperties": false
|
|
16682
|
+
},
|
|
16683
|
+
"description": "Cloud-issued invoices from before the issuer cutover; read-only, never grows after it. Newest first, at most 24."
|
|
16684
|
+
},
|
|
16685
|
+
"charges": {
|
|
16686
|
+
"type": "array",
|
|
16687
|
+
"items": {
|
|
16688
|
+
"type": "object",
|
|
16689
|
+
"properties": {
|
|
16690
|
+
"id": {
|
|
16691
|
+
"type": "string",
|
|
16692
|
+
"format": "uuid",
|
|
16693
|
+
"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)$",
|
|
16694
|
+
"description": "The due charge's id — never a Cloud invoice number. Pay it with `POST /api/billing/charges/:id/pay`."
|
|
16695
|
+
},
|
|
16696
|
+
"kind": {
|
|
16697
|
+
"type": "string",
|
|
16698
|
+
"enum": [
|
|
16699
|
+
"first",
|
|
16700
|
+
"renewal",
|
|
16701
|
+
"change"
|
|
16702
|
+
],
|
|
16703
|
+
"description": "What caused the charge: the first charge after checkout, a scheduled renewal, or a mid-period plan change."
|
|
16704
|
+
},
|
|
16705
|
+
"status": {
|
|
16706
|
+
"type": "string",
|
|
16707
|
+
"enum": [
|
|
16708
|
+
"due",
|
|
16709
|
+
"paid",
|
|
16710
|
+
"uncollectible",
|
|
16711
|
+
"cancelled"
|
|
16712
|
+
],
|
|
16713
|
+
"description": "The charge's own status. A charged back or manually refunded charge stays `paid` — refunds and chargebacks are handled in Mollie or Lexware by hand; this status and the invoice it names are unchanged, and the resulting Lexware credit note appears under `GET /api/billing/documents` instead."
|
|
16714
|
+
},
|
|
16715
|
+
"currency": {
|
|
16716
|
+
"type": "string",
|
|
16717
|
+
"const": "eur",
|
|
16718
|
+
"description": "Every charge billed through Lexware is EUR."
|
|
16719
|
+
},
|
|
16720
|
+
"net_cents": {
|
|
16721
|
+
"type": "integer",
|
|
16722
|
+
"minimum": 0,
|
|
16723
|
+
"maximum": 9007199254740991,
|
|
16724
|
+
"description": "The charge, excluding VAT, in integer cents."
|
|
16725
|
+
},
|
|
16726
|
+
"vat_rate_percent": {
|
|
16727
|
+
"type": "integer",
|
|
16728
|
+
"minimum": 0,
|
|
16729
|
+
"maximum": 100,
|
|
16730
|
+
"description": "The VAT rate applied, in whole percent."
|
|
16731
|
+
},
|
|
16732
|
+
"vat_cents": {
|
|
16733
|
+
"type": "integer",
|
|
16734
|
+
"minimum": 0,
|
|
16735
|
+
"maximum": 9007199254740991,
|
|
16736
|
+
"description": "VAT, in integer cents (`vatCents`)."
|
|
16737
|
+
},
|
|
16738
|
+
"gross_cents": {
|
|
16739
|
+
"type": "integer",
|
|
16740
|
+
"minimum": 0,
|
|
16741
|
+
"maximum": 9007199254740991,
|
|
16742
|
+
"description": "Net plus VAT, in integer cents."
|
|
16743
|
+
},
|
|
16744
|
+
"period_start": {
|
|
16745
|
+
"type": "string",
|
|
16746
|
+
"format": "date-time",
|
|
16747
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
16748
|
+
"description": "The covered period's start."
|
|
16749
|
+
},
|
|
16750
|
+
"period_end": {
|
|
16751
|
+
"type": "string",
|
|
16752
|
+
"format": "date-time",
|
|
16753
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
16754
|
+
"description": "The covered period's end."
|
|
16755
|
+
},
|
|
16756
|
+
"due_at": {
|
|
16757
|
+
"type": "string",
|
|
16758
|
+
"format": "date-time",
|
|
16759
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
16760
|
+
"description": "When this charge is due."
|
|
16761
|
+
},
|
|
16762
|
+
"paid_at": {
|
|
16763
|
+
"anyOf": [
|
|
16764
|
+
{
|
|
16765
|
+
"type": "string",
|
|
16766
|
+
"format": "date-time",
|
|
16767
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
16768
|
+
},
|
|
16769
|
+
{
|
|
16770
|
+
"type": "null"
|
|
16771
|
+
}
|
|
16772
|
+
],
|
|
16773
|
+
"description": "When this charge was paid, or `null` while unpaid."
|
|
16774
|
+
},
|
|
16775
|
+
"invoice": {
|
|
16776
|
+
"oneOf": [
|
|
16777
|
+
{
|
|
16778
|
+
"type": "object",
|
|
16779
|
+
"properties": {
|
|
16780
|
+
"state": {
|
|
16781
|
+
"type": "string",
|
|
16782
|
+
"const": "not_issued",
|
|
16783
|
+
"description": "Not collected (due, a failed retry, or uncollectible): no invoice exists."
|
|
16784
|
+
}
|
|
16785
|
+
},
|
|
16786
|
+
"required": [
|
|
16787
|
+
"state"
|
|
16788
|
+
],
|
|
16789
|
+
"additionalProperties": false
|
|
16790
|
+
},
|
|
16791
|
+
{
|
|
16792
|
+
"type": "object",
|
|
16793
|
+
"properties": {
|
|
16794
|
+
"state": {
|
|
16795
|
+
"type": "string",
|
|
16796
|
+
"const": "pending",
|
|
16797
|
+
"description": "Collected; the Lexware invoice is not yet confirmed."
|
|
16798
|
+
}
|
|
16799
|
+
},
|
|
16800
|
+
"required": [
|
|
16801
|
+
"state"
|
|
16802
|
+
],
|
|
16803
|
+
"additionalProperties": false
|
|
16804
|
+
},
|
|
16805
|
+
{
|
|
16806
|
+
"type": "object",
|
|
16807
|
+
"properties": {
|
|
16808
|
+
"state": {
|
|
16809
|
+
"type": "string",
|
|
16810
|
+
"const": "issued",
|
|
16811
|
+
"description": "Lexware has confirmed the invoice."
|
|
16812
|
+
},
|
|
16813
|
+
"document_id": {
|
|
16814
|
+
"type": "string",
|
|
16815
|
+
"format": "uuid",
|
|
16816
|
+
"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)$",
|
|
16817
|
+
"description": "The Lexware document's id — read it with `GET /api/billing/documents/:id`."
|
|
16818
|
+
}
|
|
16819
|
+
},
|
|
16820
|
+
"required": [
|
|
16821
|
+
"state",
|
|
16822
|
+
"document_id"
|
|
16823
|
+
],
|
|
16824
|
+
"additionalProperties": false
|
|
16825
|
+
}
|
|
16826
|
+
],
|
|
16827
|
+
"description": "Whether a Lexware invoice exists for this charge yet, and which document it names once it does."
|
|
16140
16828
|
}
|
|
16141
16829
|
},
|
|
16142
16830
|
"required": [
|
|
16143
16831
|
"id",
|
|
16144
|
-
"
|
|
16145
|
-
"issued_at",
|
|
16832
|
+
"kind",
|
|
16146
16833
|
"status",
|
|
16147
16834
|
"currency",
|
|
16148
16835
|
"net_cents",
|
|
16149
16836
|
"vat_rate_percent",
|
|
16150
16837
|
"vat_cents",
|
|
16151
|
-
"gross_cents"
|
|
16838
|
+
"gross_cents",
|
|
16839
|
+
"period_start",
|
|
16840
|
+
"period_end",
|
|
16841
|
+
"due_at",
|
|
16842
|
+
"paid_at",
|
|
16843
|
+
"invoice"
|
|
16152
16844
|
],
|
|
16153
|
-
"additionalProperties": false
|
|
16845
|
+
"additionalProperties": false,
|
|
16846
|
+
"allOf": [
|
|
16847
|
+
{
|
|
16848
|
+
"if": {
|
|
16849
|
+
"properties": {
|
|
16850
|
+
"status": {
|
|
16851
|
+
"const": "paid"
|
|
16852
|
+
}
|
|
16853
|
+
},
|
|
16854
|
+
"required": [
|
|
16855
|
+
"status"
|
|
16856
|
+
]
|
|
16857
|
+
},
|
|
16858
|
+
"then": {
|
|
16859
|
+
"properties": {
|
|
16860
|
+
"invoice": {
|
|
16861
|
+
"properties": {
|
|
16862
|
+
"state": {
|
|
16863
|
+
"enum": [
|
|
16864
|
+
"pending",
|
|
16865
|
+
"issued"
|
|
16866
|
+
]
|
|
16867
|
+
}
|
|
16868
|
+
}
|
|
16869
|
+
}
|
|
16870
|
+
}
|
|
16871
|
+
}
|
|
16872
|
+
},
|
|
16873
|
+
{
|
|
16874
|
+
"if": {
|
|
16875
|
+
"properties": {
|
|
16876
|
+
"status": {
|
|
16877
|
+
"enum": [
|
|
16878
|
+
"due",
|
|
16879
|
+
"uncollectible",
|
|
16880
|
+
"cancelled"
|
|
16881
|
+
]
|
|
16882
|
+
}
|
|
16883
|
+
},
|
|
16884
|
+
"required": [
|
|
16885
|
+
"status"
|
|
16886
|
+
]
|
|
16887
|
+
},
|
|
16888
|
+
"then": {
|
|
16889
|
+
"properties": {
|
|
16890
|
+
"invoice": {
|
|
16891
|
+
"properties": {
|
|
16892
|
+
"state": {
|
|
16893
|
+
"const": "not_issued"
|
|
16894
|
+
}
|
|
16895
|
+
}
|
|
16896
|
+
}
|
|
16897
|
+
}
|
|
16898
|
+
}
|
|
16899
|
+
}
|
|
16900
|
+
]
|
|
16154
16901
|
},
|
|
16155
|
-
"description": "Newest first, at most 24."
|
|
16902
|
+
"description": "Newest first, at most 24. Lists only due charges with issuer `lexware` — never a pre-cutover charge, a legacy payment (legacy_issued/legacy_held/legacy_person/legacy_usd) or a late USD collection: none of those carry a Lexware intent, and they stay in `invoices` or nowhere. `[]` while `issuer` is `cloud`."
|
|
16156
16903
|
}
|
|
16157
16904
|
},
|
|
16158
16905
|
"required": [
|
|
@@ -16160,7 +16907,9 @@
|
|
|
16160
16907
|
"account",
|
|
16161
16908
|
"payment_method",
|
|
16162
16909
|
"payment_method_options",
|
|
16163
|
-
"
|
|
16910
|
+
"issuer",
|
|
16911
|
+
"invoices",
|
|
16912
|
+
"charges"
|
|
16164
16913
|
],
|
|
16165
16914
|
"additionalProperties": false
|
|
16166
16915
|
},
|
|
@@ -16627,7 +17376,11 @@
|
|
|
16627
17376
|
"enum": [
|
|
16628
17377
|
"legacy_usd_invoice",
|
|
16629
17378
|
"legacy_payer_unresolved",
|
|
16630
|
-
"mandate_policy_unresolved"
|
|
17379
|
+
"mandate_policy_unresolved",
|
|
17380
|
+
"lexware_contact_pending",
|
|
17381
|
+
"lexware_contact_changed",
|
|
17382
|
+
"issuer_cutover_in_progress",
|
|
17383
|
+
"lexware_issuance_paused"
|
|
16631
17384
|
]
|
|
16632
17385
|
},
|
|
16633
17386
|
"original_amount": {
|
|
@@ -24476,7 +25229,11 @@
|
|
|
24476
25229
|
"enum": [
|
|
24477
25230
|
"legacy_usd_invoice",
|
|
24478
25231
|
"legacy_payer_unresolved",
|
|
24479
|
-
"mandate_policy_unresolved"
|
|
25232
|
+
"mandate_policy_unresolved",
|
|
25233
|
+
"lexware_contact_pending",
|
|
25234
|
+
"lexware_contact_changed",
|
|
25235
|
+
"issuer_cutover_in_progress",
|
|
25236
|
+
"lexware_issuance_paused"
|
|
24480
25237
|
]
|
|
24481
25238
|
},
|
|
24482
25239
|
"original_amount": {
|
|
@@ -25258,7 +26015,7 @@
|
|
|
25258
26015
|
"type": "string",
|
|
25259
26016
|
"format": "uuid",
|
|
25260
26017
|
"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)$",
|
|
25261
|
-
"description": "
|
|
26018
|
+
"description": "What dunning is chasing: a historical open `FL-…` invoice, or a due charge. Before the issuer cutover a due charge appears here only while the payer's VAT ID is unsettled; it has no number yet, is not in `invoices`, and `POST /api/billing/invoices/:id/pay` takes either. After the cutover this is always a due charge (in `charges`): pay it with `POST /api/billing/charges/:id/pay`."
|
|
25262
26019
|
},
|
|
25263
26020
|
"gross_cents": {
|
|
25264
26021
|
"type": "integer",
|
|
@@ -25461,6 +26218,14 @@
|
|
|
25461
26218
|
},
|
|
25462
26219
|
"description": "What a payment-method change may offer right now, so a client offers exactly what the cloud accepts. `applepay` is absent when it needs an open invoice and none is open; `[]` when the org has no billing account."
|
|
25463
26220
|
},
|
|
26221
|
+
"issuer": {
|
|
26222
|
+
"type": "string",
|
|
26223
|
+
"enum": [
|
|
26224
|
+
"cloud",
|
|
26225
|
+
"lexware"
|
|
26226
|
+
],
|
|
26227
|
+
"description": "Which system issues this org's charges: `cloud` before the issuer cutover, or `lexware` after it."
|
|
26228
|
+
},
|
|
25464
26229
|
"invoices": {
|
|
25465
26230
|
"type": "array",
|
|
25466
26231
|
"items": {
|
|
@@ -25538,7 +26303,226 @@
|
|
|
25538
26303
|
],
|
|
25539
26304
|
"additionalProperties": false
|
|
25540
26305
|
},
|
|
25541
|
-
"description": "Newest first, at most 24."
|
|
26306
|
+
"description": "Cloud-issued invoices from before the issuer cutover; read-only, never grows after it. Newest first, at most 24."
|
|
26307
|
+
},
|
|
26308
|
+
"charges": {
|
|
26309
|
+
"type": "array",
|
|
26310
|
+
"items": {
|
|
26311
|
+
"type": "object",
|
|
26312
|
+
"properties": {
|
|
26313
|
+
"id": {
|
|
26314
|
+
"type": "string",
|
|
26315
|
+
"format": "uuid",
|
|
26316
|
+
"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)$",
|
|
26317
|
+
"description": "The due charge's id — never a Cloud invoice number. Pay it with `POST /api/billing/charges/:id/pay`."
|
|
26318
|
+
},
|
|
26319
|
+
"kind": {
|
|
26320
|
+
"type": "string",
|
|
26321
|
+
"enum": [
|
|
26322
|
+
"first",
|
|
26323
|
+
"renewal",
|
|
26324
|
+
"change"
|
|
26325
|
+
],
|
|
26326
|
+
"description": "What caused the charge: the first charge after checkout, a scheduled renewal, or a mid-period plan change."
|
|
26327
|
+
},
|
|
26328
|
+
"status": {
|
|
26329
|
+
"type": "string",
|
|
26330
|
+
"enum": [
|
|
26331
|
+
"due",
|
|
26332
|
+
"paid",
|
|
26333
|
+
"uncollectible",
|
|
26334
|
+
"cancelled"
|
|
26335
|
+
],
|
|
26336
|
+
"description": "The charge's own status. A charged back or manually refunded charge stays `paid` — refunds and chargebacks are handled in Mollie or Lexware by hand; this status and the invoice it names are unchanged, and the resulting Lexware credit note appears under `GET /api/billing/documents` instead."
|
|
26337
|
+
},
|
|
26338
|
+
"currency": {
|
|
26339
|
+
"type": "string",
|
|
26340
|
+
"const": "eur",
|
|
26341
|
+
"description": "Every charge billed through Lexware is EUR."
|
|
26342
|
+
},
|
|
26343
|
+
"net_cents": {
|
|
26344
|
+
"type": "integer",
|
|
26345
|
+
"minimum": 0,
|
|
26346
|
+
"maximum": 9007199254740991,
|
|
26347
|
+
"description": "The charge, excluding VAT, in integer cents."
|
|
26348
|
+
},
|
|
26349
|
+
"vat_rate_percent": {
|
|
26350
|
+
"type": "integer",
|
|
26351
|
+
"minimum": 0,
|
|
26352
|
+
"maximum": 100,
|
|
26353
|
+
"description": "The VAT rate applied, in whole percent."
|
|
26354
|
+
},
|
|
26355
|
+
"vat_cents": {
|
|
26356
|
+
"type": "integer",
|
|
26357
|
+
"minimum": 0,
|
|
26358
|
+
"maximum": 9007199254740991,
|
|
26359
|
+
"description": "VAT, in integer cents (`vatCents`)."
|
|
26360
|
+
},
|
|
26361
|
+
"gross_cents": {
|
|
26362
|
+
"type": "integer",
|
|
26363
|
+
"minimum": 0,
|
|
26364
|
+
"maximum": 9007199254740991,
|
|
26365
|
+
"description": "Net plus VAT, in integer cents."
|
|
26366
|
+
},
|
|
26367
|
+
"period_start": {
|
|
26368
|
+
"type": "string",
|
|
26369
|
+
"format": "date-time",
|
|
26370
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
26371
|
+
"description": "The covered period's start."
|
|
26372
|
+
},
|
|
26373
|
+
"period_end": {
|
|
26374
|
+
"type": "string",
|
|
26375
|
+
"format": "date-time",
|
|
26376
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
26377
|
+
"description": "The covered period's end."
|
|
26378
|
+
},
|
|
26379
|
+
"due_at": {
|
|
26380
|
+
"type": "string",
|
|
26381
|
+
"format": "date-time",
|
|
26382
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
26383
|
+
"description": "When this charge is due."
|
|
26384
|
+
},
|
|
26385
|
+
"paid_at": {
|
|
26386
|
+
"anyOf": [
|
|
26387
|
+
{
|
|
26388
|
+
"type": "string",
|
|
26389
|
+
"format": "date-time",
|
|
26390
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
26391
|
+
},
|
|
26392
|
+
{
|
|
26393
|
+
"type": "null"
|
|
26394
|
+
}
|
|
26395
|
+
],
|
|
26396
|
+
"description": "When this charge was paid, or `null` while unpaid."
|
|
26397
|
+
},
|
|
26398
|
+
"invoice": {
|
|
26399
|
+
"oneOf": [
|
|
26400
|
+
{
|
|
26401
|
+
"type": "object",
|
|
26402
|
+
"properties": {
|
|
26403
|
+
"state": {
|
|
26404
|
+
"type": "string",
|
|
26405
|
+
"const": "not_issued",
|
|
26406
|
+
"description": "Not collected (due, a failed retry, or uncollectible): no invoice exists."
|
|
26407
|
+
}
|
|
26408
|
+
},
|
|
26409
|
+
"required": [
|
|
26410
|
+
"state"
|
|
26411
|
+
],
|
|
26412
|
+
"additionalProperties": false
|
|
26413
|
+
},
|
|
26414
|
+
{
|
|
26415
|
+
"type": "object",
|
|
26416
|
+
"properties": {
|
|
26417
|
+
"state": {
|
|
26418
|
+
"type": "string",
|
|
26419
|
+
"const": "pending",
|
|
26420
|
+
"description": "Collected; the Lexware invoice is not yet confirmed."
|
|
26421
|
+
}
|
|
26422
|
+
},
|
|
26423
|
+
"required": [
|
|
26424
|
+
"state"
|
|
26425
|
+
],
|
|
26426
|
+
"additionalProperties": false
|
|
26427
|
+
},
|
|
26428
|
+
{
|
|
26429
|
+
"type": "object",
|
|
26430
|
+
"properties": {
|
|
26431
|
+
"state": {
|
|
26432
|
+
"type": "string",
|
|
26433
|
+
"const": "issued",
|
|
26434
|
+
"description": "Lexware has confirmed the invoice."
|
|
26435
|
+
},
|
|
26436
|
+
"document_id": {
|
|
26437
|
+
"type": "string",
|
|
26438
|
+
"format": "uuid",
|
|
26439
|
+
"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)$",
|
|
26440
|
+
"description": "The Lexware document's id — read it with `GET /api/billing/documents/:id`."
|
|
26441
|
+
}
|
|
26442
|
+
},
|
|
26443
|
+
"required": [
|
|
26444
|
+
"state",
|
|
26445
|
+
"document_id"
|
|
26446
|
+
],
|
|
26447
|
+
"additionalProperties": false
|
|
26448
|
+
}
|
|
26449
|
+
],
|
|
26450
|
+
"description": "Whether a Lexware invoice exists for this charge yet, and which document it names once it does."
|
|
26451
|
+
}
|
|
26452
|
+
},
|
|
26453
|
+
"required": [
|
|
26454
|
+
"id",
|
|
26455
|
+
"kind",
|
|
26456
|
+
"status",
|
|
26457
|
+
"currency",
|
|
26458
|
+
"net_cents",
|
|
26459
|
+
"vat_rate_percent",
|
|
26460
|
+
"vat_cents",
|
|
26461
|
+
"gross_cents",
|
|
26462
|
+
"period_start",
|
|
26463
|
+
"period_end",
|
|
26464
|
+
"due_at",
|
|
26465
|
+
"paid_at",
|
|
26466
|
+
"invoice"
|
|
26467
|
+
],
|
|
26468
|
+
"additionalProperties": false,
|
|
26469
|
+
"allOf": [
|
|
26470
|
+
{
|
|
26471
|
+
"if": {
|
|
26472
|
+
"properties": {
|
|
26473
|
+
"status": {
|
|
26474
|
+
"const": "paid"
|
|
26475
|
+
}
|
|
26476
|
+
},
|
|
26477
|
+
"required": [
|
|
26478
|
+
"status"
|
|
26479
|
+
]
|
|
26480
|
+
},
|
|
26481
|
+
"then": {
|
|
26482
|
+
"properties": {
|
|
26483
|
+
"invoice": {
|
|
26484
|
+
"properties": {
|
|
26485
|
+
"state": {
|
|
26486
|
+
"enum": [
|
|
26487
|
+
"pending",
|
|
26488
|
+
"issued"
|
|
26489
|
+
]
|
|
26490
|
+
}
|
|
26491
|
+
}
|
|
26492
|
+
}
|
|
26493
|
+
}
|
|
26494
|
+
}
|
|
26495
|
+
},
|
|
26496
|
+
{
|
|
26497
|
+
"if": {
|
|
26498
|
+
"properties": {
|
|
26499
|
+
"status": {
|
|
26500
|
+
"enum": [
|
|
26501
|
+
"due",
|
|
26502
|
+
"uncollectible",
|
|
26503
|
+
"cancelled"
|
|
26504
|
+
]
|
|
26505
|
+
}
|
|
26506
|
+
},
|
|
26507
|
+
"required": [
|
|
26508
|
+
"status"
|
|
26509
|
+
]
|
|
26510
|
+
},
|
|
26511
|
+
"then": {
|
|
26512
|
+
"properties": {
|
|
26513
|
+
"invoice": {
|
|
26514
|
+
"properties": {
|
|
26515
|
+
"state": {
|
|
26516
|
+
"const": "not_issued"
|
|
26517
|
+
}
|
|
26518
|
+
}
|
|
26519
|
+
}
|
|
26520
|
+
}
|
|
26521
|
+
}
|
|
26522
|
+
}
|
|
26523
|
+
]
|
|
26524
|
+
},
|
|
26525
|
+
"description": "Newest first, at most 24. Lists only due charges with issuer `lexware` — never a pre-cutover charge, a legacy payment (legacy_issued/legacy_held/legacy_person/legacy_usd) or a late USD collection: none of those carry a Lexware intent, and they stay in `invoices` or nowhere. `[]` while `issuer` is `cloud`."
|
|
25542
26526
|
}
|
|
25543
26527
|
},
|
|
25544
26528
|
"required": [
|
|
@@ -25546,7 +26530,9 @@
|
|
|
25546
26530
|
"account",
|
|
25547
26531
|
"payment_method",
|
|
25548
26532
|
"payment_method_options",
|
|
25549
|
-
"
|
|
26533
|
+
"issuer",
|
|
26534
|
+
"invoices",
|
|
26535
|
+
"charges"
|
|
25550
26536
|
],
|
|
25551
26537
|
"additionalProperties": false,
|
|
25552
26538
|
"description": "The billing view after the change."
|