|
| 1 | +type: object |
| 2 | +required: |
| 3 | + - lago_subscription_id |
| 4 | + - external_subscription_id |
| 5 | + - subscription_from_datetime |
| 6 | + - subscription_to_datetime |
| 7 | + - charges_from_datetime |
| 8 | + - charges_to_datetime |
| 9 | + - invoicing_reason |
| 10 | +properties: |
| 11 | + lago_subscription_id: |
| 12 | + type: string |
| 13 | + format: uuid |
| 14 | + description: Unique identifier assigned to the subscription, created by Lago. |
| 15 | + example: "1a901a90-1a90-1a90-1a90-1a901a901a90" |
| 16 | + external_subscription_id: |
| 17 | + type: string |
| 18 | + description: Unique identifier assigned to the subscription in your application. |
| 19 | + example: "external_id" |
| 20 | + lago_plan_id: |
| 21 | + type: string |
| 22 | + format: uuid |
| 23 | + description: Unique identifier assigned to the plan, created by Lago. |
| 24 | + example: "1a901a90-1a90-1a90-1a90-1a901a901a90" |
| 25 | + subscription_from_datetime: |
| 26 | + type: string |
| 27 | + format: "date-time" |
| 28 | + description: The beginning date of the subscription billing period. This field indicates the start date of the billing period associated with the subscription fee. |
| 29 | + example: "2022-04-29T08:59:51Z" |
| 30 | + subscription_to_datetime: |
| 31 | + type: string |
| 32 | + format: "date-time" |
| 33 | + description: The ending date of the subscription billing period. This field indicates the end date of the billing period associated with the subscription fee. |
| 34 | + example: "2022-05-29T08:59:51Z" |
| 35 | + charges_from_datetime: |
| 36 | + type: string |
| 37 | + format: "date-time" |
| 38 | + description: The beginning date of the period that covers the charge fees. It is applicable only to the `charge` fees attached to the subscription. This field indicates the start date of the billing period or subscription period associated with the fees. |
| 39 | + example: "2022-04-29T08:59:51Z" |
| 40 | + charges_to_datetime: |
| 41 | + type: string |
| 42 | + format: "date-time" |
| 43 | + description: The ending date of the period that covers the charge fees. It is applicable only to the `charge` fees attached to the subscription. This field indicates the end date of the billing period or subscription period associated with the fees. |
| 44 | + example: "2022-05-29T08:59:51Z" |
| 45 | + invoicing_reason: |
| 46 | + type: string |
| 47 | + enum: |
| 48 | + - subscription_starting |
| 49 | + - subscription_periodic |
| 50 | + - subscription_terminating |
| 51 | + - in_advance_charge |
| 52 | + - in_advance_charge_periodic |
| 53 | + - progressive_billing |
| 54 | + description: The reason explaining why this subscription appears on the invoice. |
| 55 | + example: "subscription_starting" |
0 commit comments