# Subscription

**Test family:** `SUB`

Use this as a business-semantic overlay on the relevant input, CRUD, action, access, money, and time item files.

- **SUB-001** Start trial/paid subscription once with correct plan, price, currency, quantity, period, and entitlement.
- **SUB-002** Trial conversion, expiry, payment failure, grace, recovery, pause, resume, cancel now/period-end, and reactivation transition correctly.
- **SUB-003** Upgrade/downgrade and quantity changes compute proration/credit/effective time and entitlement atomically.
- **SUB-004** Renewal at month-end/leap-day/DST and provider retry does not double invoice or lose entitlement.
- **SUB-005** Cancellation race with renewal/payment/webhook has one explainable final state.
- **SUB-006** Grandfathered/retired plan, coupons, taxes, credits, and failed payment remain historically truthful.

## Comprehensive per-item coverage

- **SUB-007** Create with missing, empty, ordinary, minimum, maximum, malformed, unknown, and deprecated field values; report each invalid field without losing valid work.
- **SUB-008** Use names and descriptions containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, accents, mixed scripts, RTL, combining marks, confusables, and boundary lengths.
- **SUB-009** Use inert markup, script, SQL, template, command, path, CSV-formula, header, and log canaries; preserve them as data in every rendered and exported context.
- **SUB-010** Create through UI, API, import, duplication, automation, mobile, admin, and migration; apply one schema, default, authorization, and uniqueness contract.
- **SUB-011** Create exact, case-variant, normalization-equivalent, external-ID, and concurrently submitted duplicates; prevent accidental merge or split identity.
- **SUB-012** Edit from two sessions and through a stale form; detect conflicts, preserve versions, and avoid silent last-write loss.
- **SUB-013** Change parent, owner, status, tenant, and related records; maintain referential integrity, derived values, permissions, and audit atomically.
- **SUB-014** Attempt read and mutation as owner, collaborator, restricted role, removed member, external guest, and another tenant.
- **SUB-015** Change permission or ownership between rendering and commit; reauthorize final reads, writes, downloads, and notifications.
- **SUB-016** Search, filter, sort, group, count, chart, paginate, mention, and deep-link every lifecycle state without hidden records leaking through counts or timing.
- **SUB-017** Retry create/update/delete after timeout and resend the same request; use stable idempotency and return the committed result.
- **SUB-018** Force validation, dependency, storage, index, notification, integration, and audit failures; expose partial state and recovery.
- **SUB-019** Import and export nulls, long values, Unicode, relationships, attachments, unknown fields, old versions, and line-ending/encoding variants.
- **SUB-020** Archive, restore, soft-delete, hard-delete, expire, retain, place on hold, anonymize, and purge according to policy.
- **SUB-021** Reuse identifiers, names, URLs, or external keys after deletion only under an explicit anti-impersonation and reference policy.
- **SUB-022** Verify keyboard, screen reader, zoom/reflow, high contrast, translated labels, RTL, and mobile behavior across create, view, edit, and errors.
- **SUB-023** Measure list, detail, create, update, bulk, search, import, export, and deletion behavior at supported dataset and relationship scale.
- **SUB-024** Verify notifications, webhooks, feeds, analytics, and integrations contain the correct actor, record version, tenant, and permitted fields once.
- **SUB-025** Record actor, authority, source, old/new values, relation changes, time, correlation ID, retries, and outcome without prohibited data.
- **SUB-026** Reconcile record, cache, replica, index, aggregate, attachment, and integration state after delayed or partial processing.

[Back to Records, work management, CRM, and commerce index](../../records-commerce-work.md)
