create_subscription
Create a new subscription, recurring bill, or installment plan. Use type="subscription" for SaaS/streaming services, type="bill" for utilities, and type="installment" for a finite financed purchase paid off over a fixed number of payments. An installment requires maxOccurrences (number of payments) and dueDate (first payment date). expectedAmount is a decimal in the subscription currency. Requires finance:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the subscription (e.g. "Netflix", "Electricity") | |
| type | No | Type: "subscription" (default), "bill", or "installment" | |
| notes | No | Additional notes about the subscription | |
| dueDate | No | First payment date (ISO 8601). Required for installments; enables a payment schedule. | |
| endDate | No | End date if the subscription is finite (ISO 8601) | |
| accountId | No | Account ID to associate with this subscription | |
| frequency | Yes | Billing frequency: weekly, biweekly, monthly, quarterly, semi_annual, annual | |
| startDate | Yes | Start date of the subscription (ISO 8601, e.g. "2024-01-01") | |
| categoryId | No | Category ID to associate with this subscription | |
| expectedAmount | No | Expected payment amount as a decimal (e.g. 9.99). Use with expectedCurrencyCode | |
| maxOccurrences | No | Total number of payments. Required for installments; null/omitted means an indefinite schedule. | |
| transactionType | No | Transaction type: "expense" (default) or "income" | |
| expectedCurrencyCode | No | Currency code for expectedAmount (e.g. "USD", "EUR") |