---
title: "GET /billing/{tenantLocator}/invoices/quotes/statelessPreview"
method: GET
path: "/billing/{tenantLocator}/invoices/quotes/statelessPreview"
---

# GET /billing/{tenantLocator}/invoices/quotes/statelessPreview

`GET /billing/{tenantLocator}/invoices/quotes/statelessPreview`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/billing/{tenantLocator}/invoices/quotes/statelessPreview`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/billing/:tenantLocator/invoices/quotes/statelessPreview/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tenantLocator` string, uuid, required

## Query parameters

- `quotePreviewRequest` QuoteBillingPreviewRequest, required
  - `accountLocator` string, ulid, required
  - `productName` string, required
  - `termStartTime` string, date-time, required
  - `termEndTime` string, date-time, required
  - `timezone` string
  - `durationBasis` 'years' | 'months' | 'weeks' | 'days' | 'hours'
  - `currency` string
  - `invoiceFeeAmount` number
  - `installmentPreferences` InstallmentPreferences
    - `cadence` 'none' | 'fullPay' | 'weekly' | 'everyOtherWeek' | 'monthly' | 'quarterly' | 'semiannually' | 'annually' | 'thirtyDays' | 'everyNDays'
    - `anchorMode` 'generateDay' | 'termStartDay' | 'dueDay'
    - `generateLeadDays` integer
    - `dueLeadDays` integer
    - `installmentWeights` number[], required
    - `maxInstallmentsPerTerm` integer
    - `installmentPlanName` string
    - `anchorType` 'none' | 'dayOfMonth' | 'anchorTime' | 'dayOfWeek' | 'weekOfMonth'
    - `dayOfMonth` integer
    - `dayOfWeek` 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday'
    - `weekOfMonth` 'none' | 'first' | 'second' | 'third' | 'fourth' | 'fifth'
    - `anchorTime` string, date-time
    - `autopayLeadDays` number
  - `charges` PreviewChargeRequest[], required
    - `amount` number, required
    - `chargeType` string, required
    - `elementLocator` string, ulid
    - `elementStaticLocator` string, ulid
- `includeZeroAmountInvoices` boolean
- `count` integer

## Response `200`

OK

- InvoicePreviewResponse[]
  - `generateTime` string, date-time, required
  - `dueTime` string, date-time, required
  - `startTime` string, date-time, required
  - `endTime` string, date-time, required
  - `invoiceItems` InvoiceItemPreview[], required
    - `chargeType` string, required
    - `chargeCategory` string, required
    - `amount` number, required
    - `quoteLocator` string, ulid
    - `policyLocator` string, ulid
    - `elementType` string, required
    - `elementStaticLocator` string, ulid, required
    - `transactionLocators` string[], required
  - `totalAmount` number, required
  - `autopayTime` string, date-time, required
  - `installmentLocators` string[], required

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/6537d24b3693?raw)
