# InsCipher Developer Portal > Developer documentation for InsCipher API, integrations, and platform tools. Versioned API pages are split into one section per version, each labelled released or pending. A pending version is not available in Sandbox or Production yet. # Getting Started ## Introduction URL: https://developer.inscipher.com/getting-started/introduction/introduction Welcome to the InsCipher Developer Hub. Use our APIs, webhooks, and integrations to calculate surplus lines taxes, complete diligent effort forms, and import policy transactions and documents. > **Warning:** This guide is for current InsCipher customers with an active account. If you're new, [book a demo](https://www.inscipher.com/demo) or [contact sales](https://www.inscipher.com/contact). ### Available APIs and Webhooks The following APIs and Webhooks are available for both **Filing Services®** and **Connect®** partners. ![](https://developer.inscipher.com/images/connect-image.png) | Type | API | Description | Use Cases / Benefits | |---|---|---|---| | POST | [SL Tax Calculator](https://developer.inscipher.com/api/tax-calculations) | Calculate SL taxes using InsCipher's engine | Get calculated SL taxes and state-specific fees; retrieve filing document requirements; get state stamp wording; apply fee restriction logic | | POST | [Diligent Forms](https://developer.inscipher.com/api/diligent-forms) | Auto-fill state diligent effort forms and affidavits | Submit policy data and diligent search results; receive a completed state form for all 50 states | | POST | [Transaction Import](https://developer.inscipher.com/api/transaction-import/overview) | Import policy transaction details and documents | **Single** — immediate success/fail response; **Batch** — submit batch, then poll for results | | GET | [Batch Import Status](https://developer.inscipher.com/api/transaction-import/import-status) | Retrieve results for previously imported batches | Check import status; surface tax errors, missing fields, and missing documents | | POST | [Document Import](https://developer.inscipher.com/api/document-import) | Import policy documents and diligent effort affidavits separately | Attach documents after transactions have been imported | | GET | [Transaction Search](https://developer.inscipher.com/api/transaction-search) | Search and retrieve transaction details and filing status | Look up filed transactions by policy number, invoice, date range; get filing status, tax paid dates, SLA transaction IDs | | GET | [Transaction Status](https://developer.inscipher.com/api/transaction-status) | Retrieve current status and full details for a single transaction | Check filing status, tax and fee breakdown, paid dates, and attached documents by transaction ID or invoice number | | HTTP Callback | [Webhooks](https://developer.inscipher.com/webhooks/overview) | Receive event callbacks | Get notified when transaction events occur | ### Terminology | Term | Definition | | --- | --- | | **Transaction / Filing** | Policy data, invoice details, or an individual policy filing. | | **Surplus Lines** | Non-admitted policies written on the Excess and Surplus Lines market. | | **Documents** | Policy documents — declination pages, full policy docs, diligent effort forms. | | **Line of Business** | The Line of Business / Coverage Code associated with the policy. | ### Rate Limits :::warning[Rate Limit] InsCipher API requests are limited to **10,000 requests per API key, per minute** across all public endpoints. Exceeding this limit returns a `429 Too Many Requests` response. Wait until the next minute to retry. ::: ### Errors InsCipher uses standard HTTP response codes: | Code | Meaning | | --- | --- | | `2xx` | Success | | `4xx` | Client-side error — invalid or missing information | | `5xx` | Server-side error | ## Authentication URL: https://developer.inscipher.com/getting-started/authentication InsCipher's API supports two methods of authentication: **API Key** and **OAuth 2.0**. Both can be used independently or simultaneously depending on your security requirements. ### Getting Your API Key - **Connect® partners:** Go to **Settings > User List & Settings**, select the Agency Admin user, and click **Get a new API Key** under API & Batch Import Settings. One key covers all agencies in your account. - **Filing Services® partners:** Go to **Settings > API > Edit > API Information** and click **Get a new API Key**. - Alternatively, contact customer support for assistance. > **Danger:** Your API key is shown **once** at generation. Losing it requires generating a new one, which immediately **inactivates the old key**. ### Endpoints | Environment | Base URL | | --- | --- | | Sandbox | `https://sandbox.inscipher.com/` | | Production | `https://surpluslines.inscipher.com/` | > **Warning:** All requests must be made over HTTPS. ### API Key Authentication Depending on the endpoint, pass your API key either as a query parameter or in the request header. **Query parameter** ``` /api/v1/get-transaction-status.json?apikey=YOUR_API_KEY&transaction_id=1121168 ``` **Request header** ```bash curl --request POST \ --url https://surpluslines.inscipher.com/api/tax-calculator/calculate-general-taxes \ --header 'accept: application/json' \ --header 'apiKey: YOUR_API_KEY' \ --header 'content-type: application/json' ``` ### OAuth 2.0 Authentication OAuth 2.0 is available alongside API key authentication. To use it, you must have API access already enabled and know your username and password. #### 1. Obtain Access Token ```http POST /api/oauth2/token Content-Type: application/json { "grant_type": "password", "username": "your_username", "password": "your_password" } ``` **Response fields** | Field | Description | | --- | --- | | `access_token` | Used for authenticated API requests | | `refresh_token` | Used to obtain a new access token | | `expires_in` | Token lifetime in seconds (typically 3600) | #### 2. Refresh Token ```http POST /api/oauth2/token Content-Type: application/json { "grant_type": "refresh_token", "refresh_token": "your_refresh_token" } ``` > **Note:** Refresh tokens are valid for 1 month. After expiry, re-authenticate with username and password (Step 1). #### 3. Use the Token ```http GET /api/protected/resource Authorization: Bearer your_access_token ``` An expired or invalid token returns `401 Unauthorized`. # CSV Imports ## Import Transactions URL: https://developer.inscipher.com/csv-imports/import-transactions Rather than submitting policy transactions one by one through the tax calculator wizard, you can upload a batch of transactions at once using a spreadsheet file. [Video: https://developer.inscipher.com/FS_CSV_Batch_Import_Tutorial_04112025.mp4](https://developer.inscipher.com/FS_CSV_Batch_Import_Tutorial_04112025.mp4) ### Before You Begin Download the template for your account type. The template includes all supported fields with descriptions and accepted values. | Account type | Template | |---|---| | **Filing Services® and Connect® users** | [Download Filing Services & Connect Template](https://developer.inscipher.com/openapi/CSV_Transaction_Import_Template_Filing_Services_Connect.xlsx) | | **Utah Broker users** | [Download Utah Broker Template](https://developer.inscipher.com/openapi/CSV_Transaction_Import_Template_Utah.xlsx) | For additional notes on specific fields, see the [Field Reference](https://developer.inscipher.com/csv-imports/field-reference). ### 1. Prepare Your File You have two options: - **Use the InsCipher template** — open the **Field List & Definitions** sheet for descriptions and accepted values for each field, then fill in your data in the **Import File > Save as .CSV** sheet and save the file as `.csv` before uploading. - **Export from your policy management system** — if your system already produces a usable file, you can upload it with any column names. You will map them to InsCipher fields in [step 4](#4-map-columns). :::note Make sure your file is in `.csv` format — not `.csv (UTF-8)`, `.xls`, or `.xlsx`. ::: ### 2. Navigate to Batch Import In the top navigation bar, go to **Filings > Batch Import**. ![Batch Import top navigation](https://developer.inscipher.com/images/csv-import/nav-top-batch-import.png) ### 3. Upload the CSV File Upload your file. Connect® partners: first select your **Agency** from the dropdown, then upload. Click **Continue** to proceed to column mapping. ![Upload screen — Filing Services® partners](https://developer.inscipher.com/images/csv-import/upload-fs.png) ### 4. Map Columns Map the columns from your file to the required InsCipher headers. **1. Use a saved mapping (if available)** If you have imported before, click **Use saved mapping** to skip to step 5 — the system remembers your previous column mapping. To review or update it, click **Review column mapping**. ![Column mapping — saved mapping option](https://developer.inscipher.com/images/csv-import/map-saved-mapping.png) **2. Select the physical state column** Select the column in your file that contains the physical/risk state. In the InsCipher template this is `physical_state_code`. In custom files it may have a different name. ![Physical state column and Group By Column](https://developer.inscipher.com/images/csv-import/map-physical-state-group-by.png) If your file has **multiple rows per transaction** (for example, one row per line of business), set **Group By Column** to the column that identifies each unique transaction — such as `Transaction #`. Leave it blank if each transaction is already on a single row. ![Multi-row CSV example](https://developer.inscipher.com/images/csv-import/map-group-by-example.png) **3. Map all remaining columns** ![Column mapping sections](https://developer.inscipher.com/images/csv-import/map-sections.png) Fields are grouped into three sections: | Section | Description | |---|---| | **Required** | Must be mapped to proceed. If you don't have data for a required field, map the header anyway and leave the data blank — you can fill in placeholders during Validate & Submit. | | **Recommended** | Needed to complete the transaction for filing in most states. | | **Other** | Optional in most states. | ![Column mapping progress summary](https://developer.inscipher.com/images/csv-import/summary.png) **Multi-index fields** (marked in the UI) let you map multiple columns from your file into a single InsCipher field. For example, if you have separate columns per line of business: - Map `LOB1`, `LOB2`, `LOB3` → **Line of Business List** - Map `LOB1 Premium`, `LOB2 Premium`, `LOB3 Premium` → **Premium Breakdown** The number of columns mapped to Line of Business List must match the number mapped to Premium Breakdown, or you will get an import error. ![Multi-index field mapping](https://developer.inscipher.com/images/csv-import/map-multi-index.png) To skip unmapped columns, click **Don't import data in unmapped columns** before proceeding. ### 5. Validate & Submit Review your data before submitting. Two views are available: - **View Error Rows Only** — shows only rows with validation errors. Click any highlighted cell to correct the value. - **View All Rows** — shows all rows. Use this to make final adjustments before import. ![Validate & Submit screen](https://developer.inscipher.com/images/csv-import/validate-submit.png) **Quick ways to fix errors:** | Option | Effect | |---|---| | Click the number on a column header | Shows a summary of all issues in that column | | **Apply to identical error** (checkbox 1) | Fixes all rows with the same error in the current import | | **Apply to future identical errors** (checkbox 2) | Auto-applies your fix to the same value in all future imports | If there are too many errors to address, fix the underlying file and start a new import. ![Error fix checkboxes](https://developer.inscipher.com/images/csv-import/validate-error-checkboxes.png) For accepted values and field descriptions, see the [Field Reference](https://developer.inscipher.com/csv-imports/field-reference). When you are ready, click **Continue**. Your file will be queued for import. If any errors remain after import, they will appear in the **Filings Import Log**. ## Templates & Field Reference URL: https://developer.inscipher.com/csv-imports/field-reference Download the template for your account type. Each template has three sheets: 1. **Instructions** — overview and tips 2. **Field List & Definitions** — descriptions and accepted values for every field 3. **Import File > Save as .CSV** — fill in your data here, then save this sheet as `.csv` before uploading to InsCipher | Account type | Template | |---|---| | **Filing Services® and Connect® users** | [Download Filing Services & Connect Template](https://developer.inscipher.com/openapi/CSV_Transaction_Import_Template_Filing_Services_Connect.xlsx) | | **Utah Broker users** | [Download Utah Broker Template](https://developer.inscipher.com/openapi/CSV_Transaction_Import_Template_Utah.xlsx) | For import codes (transaction types, lines of business, insurance companies, document types), refer to your mapping packet: - [Filing Services® partners](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_hu3dx3gjqc) - [Connect® partners](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_83noca0k9c) - [Utah brokers](https://datastudio.google.com/u/0/reporting/b58e42e6-38ac-4d36-9b03-422c45a6e83a/page/p_vw82sh8crc) :::note Boolean fields (`rpg`, `physical_same_as_mailing`, `layered_risk`, etc.) accept either `1`/`0` or `yes`/`no`. Both formats produce the same result. ::: ## Import Documents URL: https://developer.inscipher.com/csv-imports/import-documents [Embedded video](https://veracityinsuranceso.sharepoint.com/sites/InsCipher/_layouts/15/embed.aspx?UniqueId=94b8e832-b189-4aec-8843-dff85f2c7762&embed=%7B%22hvm%22%3Atrue%2C%22ust%22%3Atrue%7D&referrer=StreamWebApp&referrerScenario=EmbedDialog.Create) After importing transactions, you can bulk attach policy documents to them using the Document Import wizard. > **Note:** There is a limit of 500 transactions per bulk document attachment session. ### Open the Document Import Wizard You can open the wizard from two places: **From the Filings Import Log:** 1. In the top navigation bar, go to **Filings > Filings Import Log**. ![Filings top navigation](https://developer.inscipher.com/images/csv-import/log-navigation.png) 2. Find the relevant batch. 3. Click **Attach Documents**. ![Filings Import Log — Attach Documents button](https://developer.inscipher.com/images/csv-import/attach_documents.png) **From the Filing List:** 1. Go to **Filings > All Filings**. ![Filings menu — All Filings](https://developer.inscipher.com/images/csv-import/All_filings.png) 2. Select one or more transactions. A dialog will appear in the bottom right showing the number of selected items. ![Filing list with transactions selected](https://developer.inscipher.com/images/csv-import/check_all.png) 3. Click the **Select an Action** dropdown and choose **Attach Documents**. 4. Click **Submit**, then confirm in the dialog that appears. ![Bulk Attach Documents confirmation](https://developer.inscipher.com/images/csv-import/confirm_bulk_attachment.png) ### 1. Choose Upload Method Select whether you want to upload **one file at a time** or **multiple files at once**. | Method | Best for | |---|---| | **One file at a time** | Reviewing a list of filings and dragging documents onto each one individually. | | **Multiple files at once** | Attaching all documents in a single upload, mapped to transactions either manually via CSV or automatically by InsCipher. | ![Select Upload Method screen](https://developer.inscipher.com/images/csv-import/Chose_method.png) ### 2. Upload Documents The next step depends on the method you selected. #### One file at a time You will see a list of transactions with unfulfilled document requirements. The **Document Description** column shows which required document is missing for each transaction. ![Transaction list with Document Description column](https://developer.inscipher.com/images/csv-import/document-description.png) Drag and drop the appropriate document onto the transaction, or click to select it from your computer. The **Proceed without attaching all required documents** toggle lets you finalize and submit before all requirements are met — you can return later to attach remaining documents. ![Match and Submit — Proceed without attaching toggle](https://developer.inscipher.com/images/csv-import/proceed-without-attaching-all.png) > **Tip:** - Open the document importer in one window and your file explorer in another — drag and drop directly between them. > - You can save progress and return later for any documents you haven't attached yet. #### Multiple files at once Upload all your document files at once. After uploading, use the **Would you like us to automatically classify your documents?** toggle to choose the mapping method. ![Automatically classify documents toggle](https://developer.inscipher.com/images/csv-import/would-you-like-to-classify-automatically.png) ##### Map manually with a CSV file Set the toggle to **No**. An additional **CSV Mapping File** upload area appears — upload your document files and your mapping CSV, then click **Continue**. ![No selected — CSV Mapping File upload visible](https://developer.inscipher.com/images/csv-import/no-selected.png) The CSV mapping file requires these headers: | Header | Description | |---|---| | `invoice_number` | The invoice number used when the transaction was imported. Used to match the document to the correct transaction. | | `code` | InsCipher's document import code for the document type. See the mapping packet for your client type below. | | `file` | Exact file name including extension, matching the files you uploaded. | ![CSV mapping file example](https://developer.inscipher.com/images/csv-import/excel-example.png) #### Document import code mapping packets | Client type | Mapping packet | |---|---| | Filing Services® | [View](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_otc1uchjqc) | | Connect® | [View](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_otc1uchjqc) | | Utah-registered agencies | [View](https://lookerstudio.google.com/u/0/reporting/b58e42e6-38ac-4d36-9b03-422c45a6e83a/page/p_otc1uchjqc) | [Download sample CSV mapping file](https://22769583.fs1.hubspotusercontent-na1.net/hubfs/22769583/documents%20(3).csv) > **Tip:** If you are attaching more than 20 documents at a time, using a CSV mapping file speeds up the process. ##### Let InsCipher classify documents automatically Set the toggle to **Yes**. Upload your document files, then click **Continue**. ![Yes selected — documents only upload](https://developer.inscipher.com/images/csv-import/yes-selected.png) InsCipher will match each document to a transaction automatically. The progress bar at the top of the **Match & Submit** screen shows that mapping is in progress — this can take a few seconds to several minutes. ![Match and Submit — mapping in progress](https://developer.inscipher.com/images/csv-import/progress-bar.png) When mapping completes, any unresolved documents appear as **Unmapped documents**. Review these manually — select the correct transaction and document type for each unmapped file. ![Match and Submit — unmapped documents](https://developer.inscipher.com/images/csv-import/errors.png) ![Manually selecting filing and document type](https://developer.inscipher.com/images/csv-import/manual-doc-type.png) ### 3. Finalize the Mapping When you are ready, click **Finalize Document Mapping**. Confirm in the dialog that appears. ![Finalize Document Mapping confirmation](https://developer.inscipher.com/images/csv-import/finalise_document_mapping.png) You will be redirected back to the page you started from — the Filings Import Log or the Filing List. ## Troubleshooting Imports URL: https://developer.inscipher.com/csv-imports/troubleshooting All import batches are logged, including transactions that were imported successfully, transactions that were not imported, and the original import file. This page covers how to review the import log, fix errors, and manage batches. ### Open the Filings Import Log In the top navigation bar, go to **Filings > Filings Import Log**. ![Filings Import Log — top navigation](https://developer.inscipher.com/images/csv-import/log-navigation.png) ### Review Transactions in a Batch Click **View Transactions** on the batch to see all transactions imported in that batch. ![Filings Import Log — View Transactions button](https://developer.inscipher.com/images/csv-import/View-transactions.png) ### Download the Original Import File To review the file that was imported, click **Import File** on the batch. ![Filings Import Log — Import File button](https://developer.inscipher.com/images/csv-import/import-file.png) ### Download the Error Log If a batch contains import errors, an **Error Log** button appears on the batch. Click it to download a list of all errors. ![Filings Import Log — Error Log button](https://developer.inscipher.com/images/csv-import/error-log.png) Each entry in the error log shows the reason for the error followed by the policy number that failed to import. ![Error log content — errors with policy numbers](https://developer.inscipher.com/images/csv-import/csv-sample1.png) ### Fix Errors in a Batch To fix errors, open the batch and correct the values in the affected rows. ![CSV file with highlighted error values to correct](https://developer.inscipher.com/images/csv-import/csv2-correct-error.png) For accepted values and field descriptions, see the [Field Reference](https://developer.inscipher.com/csv-imports/field-reference). ### Delete a Batch If a batch contains too many errors to fix individually, delete the entire batch using the **Delete** button on the batch. Then fix the underlying file and re-import. ![Filings Import Log — Delete button](https://developer.inscipher.com/images/csv-import/delete-batch.png) ### Attach Documents to a Batch To attach policy documents to transactions in a batch, click **Attach Documents**. This opens the [Document Import wizard](https://developer.inscipher.com/csv-imports/import-documents). ![Filings Import Log — Attach Documents button](https://developer.inscipher.com/images/csv-import/attach-docs.png) # Tax Calculator Widget ## Tax Calculator Widget URL: https://developer.inscipher.com/tax-calculator-widget The InsCipher Tax Calculator Widget gives surplus lines professionals instant access to accurate E&S tax calculations directly within their existing internal tools. Embedded via iframe, the widget requires no software installation and integrates seamlessly into your agency management system, broker portal, or carrier platform. The widget supports three methods for entering policy data: - **Manual entry** — input premium, state, and policy details directly into the form fields. - **AI document extraction** — upload a surplus lines quote, binder, or policy document and the widget's AI engine automatically extracts key fields — including gross premium, effective dates, and insured details — and pre-fills the form. - **AI chat entry** — describe the risk or paste policy details into the chat interface, and the widget intelligently maps the information to the appropriate form fields. Upon submission, the widget returns a complete surplus lines tax breakdown, including: - State surplus lines taxes - Stamping office fees (where applicable) - Municipal taxes (Kentucky only) - Total taxes and fees due Along with the tax calculation, the widget surfaces relevant state-specific compliance documents, such as diligent effort forms and stamping office filing instructions, to support your end-to-end placement workflow. ### Embedding the Widget To embed the widget, add the following snippet to any page on your internal site or portal: ```html ``` Replace `YOUR_WIDGET_URL` with the URL provided by your InsCipher account manager. > **Warning:** The widget URL contains authentication credentials. Do not share it publicly or outside of your organization. Some platforms require allowlisting the InsCipher domain before the widget will load. #### SharePoint Example **Prerequisites** *(optional — only if embedding is blocked)* Ensure `surpluslines.inscipher.com` is added to the SharePoint **HTML embed allowlist**: SharePoint admin center → **Settings** → **HTML embed allowlist**. If you are not the admin, forward this to your IT team. **Embed the widget** 1. Open an existing SharePoint page and click **Edit**, or create a new page. 2. Click the **+** icon and search for **Embed** in the web parts list. 3. Select **Embed**. 4. Paste the iframe snippet (``) into the **"Website address or embed code"** field. 5. Click **Publish**. > **Note:** If you see "Embedding content from this website isn't allowed", the InsCipher domain has not yet been added to the allowlist — see Prerequisites above. *The widget embedded in a SharePoint page:* ![Tax Calculator Widget embedded in SharePoint](https://developer.inscipher.com/images/tax_calculator_widget.png) ### Using the Widget #### Calculate Taxes ##### AI-Assisted Mode (Default) 1. On the widget's main screen, upload a policy PDF, or type the policy details directly into the chat. 2. The widget will extract the relevant fields and pre-fill the form automatically. 3. Review all pre-filled values carefully before proceeding. > **Warning:** Automated detection is not 100% error-free — always verify the values are accurate and complete. 4. Click **Calculate Taxes**. ##### Manual Mode 1. Click **Enter Details Manually** in the top right corner of the widget. 2. Fill out the fields. 3. Click **Calculate Taxes**. #### Review and Download Results After clicking **Calculate Taxes**, the widget displays a **Calculation Result** screen with two tabs: ##### Taxes Tab Shows a full breakdown of the calculation including state, premium, line of business, transaction type, all applicable taxes and fees, total amount due, state stamp wording, and document notes. Click **Download PDF** to save the full tax breakdown. ##### State Documents Tab Shows state-specific documents split into two sections: - **Required Uploads** — documents that must be attached, with filing, binding, and signature requirements indicated for each. - **Optional/Reference** — additional documents provided for reference. Click **Download** next to individual documents or **Download All** to save all at once. To start over, click **Start New Calculation**. To go back and edit the form, click **Back to Form**. # API Directory ## Diligent Forms (POST) URL: https://developer.inscipher.com/api/diligent-forms The Diligent Forms API automates surplus lines compliance document production, eliminating the manual process of downloading blank templates and filling them out by hand. The API stores diligent search data and uses policy details passed in the request to auto-populate affidavits, state filing forms, and diligent effort forms, including carrier declination information sourced directly from your AMS. It returns a JSON response with download URLs for each generated document, along with field-level warnings for any data gaps requiring manual completion. The API integrates into existing AMS, quote/bind, or rating systems, and the underlying compliance database is maintained by InsCipher's team with thousands of regulatory variables updated monthly, ensuring returned forms always reflect current state requirements. - [Endpoint](#endpoint) - [How It Works](#how-it-works) - [Key Variables](#key-variables) - [How to Use This Request](#how-to-use-this-request) ### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/pdf-filing-affidavit/generate.json` | POST | | **Production** | `https://surpluslines.inscipher.com/api/pdf-filing-affidavit/generate.json` | POST | :::warning All API requests must be made over HTTPS and must include a valid API key in the `apikey` request header. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: ### How It Works 1. Submit a POST request with the policy and insured details. 2. InsCipher determines the applicable state forms and populates them using the request data and stored configuration (diligent search records, license info, signatures). 3. The API returns a JSON response containing time-limited download URLs for each generated document. 4. Retrieve the documents using the returned URLs. > **Note:** Not every field is used in every document. When required information is not provided or cannot be determined, the document is returned with partial information and must be completed manually. #### Signatures Signature fields (`insured_signature`, `sl_broker_signature`, `retail_producer_signature`) accept a **Base64-encoded PNG** image string. If signatures are already stored in the license/user configuration in InsCipher, they are applied automatically and do not need to be passed in the request. ### Key Variables | Resource | Purpose | |---|---| | [Transaction Types](https://datastudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_83noca0k9c) | Map your transaction types to InsCipher codes | | [Generic Lines of Business](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc) | Map lines of business to InsCipher import codes | | [Complete Diligent Forms List](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_r8qinkl7fd) | All state forms and their document codes | | [Declining Reasons](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_anzzcq710d) | Allowed values for `dc_declining_reason` by state | | [Received Declination Options](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_fld9hmw20d) | Allowed values for `dc_who_received_declinations` | | [Underwriting Considerations](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_wy2ov6z20d) | Allowed values for `dc_underwriting_consideration` | | [Declining Carrier Custom Fields](https://datastudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_n4b7cm7n7d) | Custom field IDs for `dc_custom_field_id` by state, and what to send for each | | [Policy Limit Requirements](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_fxcbrpspyc) | State-by-state `policy_limit` requirements | --- ### How to Use This Request ### Field reference — Diligent Forms API OpenAPI 3.0.3: https://developer.inscipher.com/openapi/diligent-forms.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. #### POST /api/pdf-filing-affidavit/generate.json Diligent Forms [POST] ##### Parameters - `apiKey` (header, string, required) API Key ##### Request body Content type: `application/json` - `quote_id` (string, required, max length 100, example `QT-2024-001234`) 🟥 **REQUIRED** — ID assigned by the broker to identify the quote requesting affidavits for. - `transaction_type` (string, required, max length 10, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BO`, `BD`, example `PN`) 🟥 **REQUIRED** — Transaction type code. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_83noca0k9c)** to map your codes. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BO | Back-out / Reversal | Correction of a filing error. | | BD | Binder | Temporary proof of coverage. | - `physical_state_code` (string, required, max length 2, example `CA`) 🟥 **REQUIRED** — 2-letter physical state code for the insured. Used to identify the documentation applicable to the request. **Important:** Use `physical_state_code` (not `physical_state`) for this endpoint. - `policy_effective_date` (string, required, example `2019-04-01`) 🟥 **REQUIRED** — Start date for the policy. Format: `YYYY-MM-DD`. - `account_written_as` (string, required, max length 2, one of `B`, `DC`, example `DC`) 🟥 **REQUIRED** — Used to determine the "Producing Broker" information for the Affidavit. | Value | Meaning | |---|---| | `B` | Brokerage — requires the Retail Producer Fields to determine producing broker | | `DC` | Direct Client — pulls the SL Broker Information saved, or uses SL Broker Fields | - `mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Identifies the insured name to include on the affidavit. - `policy_number` (string, optional, nullable, max length 50, example `CA20170228-05`) **CONDITIONAL** — Required in: CA|CO|DE|FL|ID|LA|MA|MS|MT|NV|NM|NY|NC|ND|OR|PA|RI|TX|UT|VA|WA|WV. Policy number for the quote. - `sla_transaction_number` (string, optional, nullable, example `MA2024000001`) **CONDITIONAL** — Required in: MA|NJ. Transaction ID for the policy. - `agent_id` (integer, optional, nullable, example `24`) **OPTIONAL** — When provided, pulls relevant broker information from InsCipher to complete the affidavits. With an Agency Admin API key, pass your own agency's ID; with a Filing Agency Admin API key, pass the ID of an agency you manage. When omitted, the agency details on the forms come from the `agency_*` fields of the request (`agency_street_address`, `agency_city`, `agency_state`, `agency_zip_code`, and so on). - `policy_expiration_date` (string, optional, nullable, example `2020-04-01`) **CONDITIONAL** — End date for the policy. Format: `YYYY-MM-DD`. - `rpg` (integer, optional, nullable, one of `0`, `1`, default `0`, example `0`) **CONDITIONAL** — Required in: OR. Is the policy an RPG (Risk Purchasing Group) policy? `1` = Yes, `0` = No. - `ecp` (integer, optional, nullable, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** — Is the policy an ECP (Exempt Commercial Purchaser) policy? `1` = Yes, `0` = No. - `windstorm_exclusion` (number, optional, nullable, one of `0`, `1`, default `0`, example `0`) **CONDITIONAL** — Required in: FL. Indicator for the windstorm exclusion. `1` = Yes, `0` = No. - `exempt` (integer, optional, nullable, one of `0`, `1`, default `0`, example `0`) **CONDITIONAL** — Required in: UT. Is the coverage considered tax exempt by the state? `1` = Exempt, `0` = Not Exempt. Unless you know that the line of business is Tax Exempt, set value to `0` or leave blank (the system defaults to `0`). - `transaction_line_of_business` (string, optional, nullable, max length 255, example `GEN-1001`) **OPTIONAL** — Line of Business code(s) to be identified on the affidavit. Use InsCipher Generic Import Codes (GEN-XXXX) or state-specific codes. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc)** to map your codes. Multiple values separated by `|` (e.g., `GEN-1001|GEN-1020`). **Important:** Use `transaction_line_of_business` (not `transaction_line_of_business_list`) for this endpoint. - `non_admitted_insurer_code` (string, optional, nullable, example `CA1255|CA28358`) **CONDITIONAL** — Required in: CA|DE|FL|MA|MS|MT|NM|NY|NC|OR|RI|TX|VA|WA|WY. Insurance company code(s) to be identified on the affidavit. Multiple values separated by `|`. - `insurer_premium_coverage_percentage` (string, optional, nullable, example `49|51`) **OPTIONAL** — Insurance company premium coverage percentage. Multiple values pipe-delimited, must sum to 100. - `syndicate_list` (string, optional, nullable, example `AA-1120131|AA-1120124`) **CONDITIONAL** — Required in: MT. Lloyd’s Syndicates to be identified on the affidavit. Multiple values separated by `|`. - `policy_limit` (integer, optional, nullable, minimum 0, example `0`) **CONDITIONAL** — Aggregate policy limit to be identified on the affidavit. Also referred to as casualty limit in some states. See state-by-state requirements: [Policy Limit Requirements](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_fxcbrpspyc). - `property_limit` (integer, optional, nullable, minimum 0, example `0`) **CONDITIONAL** — Property policy limit to be identified on the affidavit when applicable. - `risk_description` (string, optional, nullable, max length 255, example `General Accidental Coverage`) **CONDITIONAL** — Required in: AK|CA|CO|DE|MA|NJ|NC|PA|WV. Description of risk to be identified on the affidavit. - `risk_description_import_code` (string, optional, nullable, example `GEN-DESC-001`) **OPTIONAL** — Risk description import code, when applicable. - `premium` (number, float, optional, nullable, example `3108.5`) **CONDITIONAL** — Required in: CA|DE|FL|MA|MT|NY|NC|OR|RI|WA. Premium amount for the policy. - `fire_premium` (number, float, optional, nullable, example `0`) **OPTIONAL** — New Jersey. The portion of `premium` allocated to fire coverage, as a total across all lines of business. Printed on generated documents whose template uses it, exactly as sent — this endpoint does not calculate it or apply the 60/40 split. - `inspection_fee` (number, float, optional, nullable, example `200`) **CONDITIONAL** — Required in: FL|NY|OR. Carrier fee amount for the policy. - `agency_fee` (number, float, optional, nullable, example `0`) **CONDITIONAL** — Required in: FL|MT|NY|OR|WA. Broker fee amount for the policy. - `sl_tax` (number, float, optional, nullable, example `117`) **CONDITIONAL** — Required in: FL|MT|NY. Surplus Lines Tax amount for the policy. - `collection_fee` (number, float, optional, nullable, example `1.11`) **OPTIONAL** — Collection fee amount, when applicable. - `stamping_fee` (number, float, optional, nullable, example `7.8`) **CONDITIONAL** — Required in: FL|NY. Stamping Fee amount for the policy. - `sl_service_charge` (number, float, optional, nullable, example `0`) **CONDITIONAL** — Required in: OR|MS. OR/MS-specific service charge. - `municipal_fee` (number, float, optional, nullable, example `0`) **CONDITIONAL** — KY-specific municipal fee. - `fm_tax` (number, float, optional, nullable, example `0`) **CONDITIONAL** — Required in: MT|OR. FM Tax amount for the policy. - `empa_tax` (number, float, optional, nullable, example `0`) **CONDITIONAL** — Required in: FL|OR (Wet Marine). EMPA Tax amount for the policy. - `total` (number, float, optional, nullable, example `4224.8`) **OPTIONAL** — Total transaction amount, when applicable. - `mailing_first_name` (string, optional, nullable, example `Darold`) **OPTIONAL** — Mailing insured first name, when separate name components are provided. - `mailing_last_name` (string, optional, nullable, example `Jones`) **OPTIONAL** — Mailing insured last name, when separate name components are provided. - `mailing_insured_address` (string, optional, nullable, example `234 Park Street`) **CONDITIONAL** — Required in: AR|CA|DE|FL|ID|MA|NJ|NC|RI|WA|WV|WY. Mailing address for the insured. - `mailing_insured_address2` (string, optional, nullable, example `Apt 2B`) **CONDITIONAL** — Required in: AR|CA|DE|FL|ID|MA|NJ|NC|RI|WA|WV|WY. Mailing address line 2 for the insured. - `mailing_city` (string, optional, nullable, max length 100, example `Roseville`) **CONDITIONAL** — Required in: AR|CA|DE|FL|ID|MA|NJ|NC|RI|WA|WV|WY. Mailing city for the insured. - `mailing_state_code` (string, optional, nullable, max length 20, example `CA`) **CONDITIONAL** — Mailing state for the insured. 2-letter state code. - `mailing_zip_code` (string, optional, nullable, max length 20, example `95678`) **CONDITIONAL** — Required in: AR|CA|DE|FL|ID|MA|NJ|NC|RI|WA|WV|WY. Mailing zip code for the insured. - `insured_phone` (string, optional, nullable, max length 100, example `212-456-7890`) **CONDITIONAL** — Required in: AR|FL. Phone number for the insured. - `insured_email` (string, optional, nullable, max length 100, example `producer@demo.none`) **CONDITIONAL** — Required in: AR. Email address for the insured. - `insured_entity` (string, optional, nullable, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `commercial`) **CONDITIONAL** — Required in: TX. Identifies the type of insured entity. Used to determine tax exemption status in certain states. | Value | Meaning | |---|---| | `individual` | Personal Lines | | `commercial` | Commercial Lines | | `governmental` | Governmental entity | | `federal` | Federal Credit Union | | `tribal` | Tribal Lands | | `hospital_alliance` | Hospital Alliance | | `state_approved_tax_exempt` | State Approved Tax Exempt Entity | - `insured_signature` (string, optional, nullable, example ``) **CONDITIONAL** — Required in: AR|DE|FL|KS|KY|MA|MD|NJ|NY|NC|OH|RI|UT|WV|WY. Base64-encoded PNG signature image for the insured. - `physical_address` (string, optional, nullable, max length 255, example `450 E New Circle Rd`) **CONDITIONAL** — Required in: CA|DE|FL|LA|MA|MT|NJ|NC|OH|PA|RI|WV. Physical address for the insured. - `physical_address2` (string, optional, nullable, max length 255, example ``) **CONDITIONAL** — Required in: CA|DE|FL|LA|MA|MT|NJ|NC|OH|PA|RI|WV. Physical address line 2 for the insured. - `physical_city` (string, optional, nullable, max length 100, example `Roseville`) **CONDITIONAL** — Required in: CA|DE|FL|LA|MA|MT|NJ|NC|OH|PA|RI|WV. Physical city for the insured. - `physical_zip_code` (string, optional, nullable, max length 20, example `95678`) **CONDITIONAL** — Required in: CA|DE|FL|LA|MA|MT|NJ|NC|OH|PA|RI|WV. Physical zip code for the insured. - `broker_name` (string, optional, nullable, example `Mickey Mouse`) **CONDITIONAL** — Required in: All states except AK|KS|KY|MD|NC|TN|UT. The PRODUCER name (for either the AGENCY license to identify the agent within the agency, or the PRODUCER license). - `license_type` (string, optional, nullable, one of `AGENCY`, `PRODUCER`, example `AGENCY`) **OPTIONAL** — Either `AGENCY` or `PRODUCER`. If both are needed, provide one section for AGENCY (name/license number) and one for PRODUCER. - `license_name` (string, optional, nullable, example `MM Insurance Agency`) **CONDITIONAL** — Required in: All states except AL|AR|DE|ID|KS|MD|MS|NV|NJ|NM|NC|ND|OH|RI|TN|TX|UT|VA|WV. The AGENCY name / "Organization Name" (for either the PRODUCER license when Agency Name should be listed, or the AGENCY license). - `license_number` (string, optional, nullable, max length 255, example `12345678`) **CONDITIONAL** — Required in: All states except AK|AL|AR|KS|KY|LA|MD|NV|NJ|NM|NC|OH|TN|UT|WA|WY. For PRODUCER license type. - `agency_license_number` (string, optional, nullable, example `87654321`) **OPTIONAL** — Agency license number, for forms that print it. Replaces the number InsCipher would otherwise take from the license or the agent's agency. - `agency_street_address` (string, optional, nullable, example `123 Main St`) **CONDITIONAL** — Required in: AK|AR|FL|MS|MT|NJ|NM|NY|OR|RI|VA. Address for the agency. - `agency_street_address2` (string, optional, nullable, example `Suite B23`) **CONDITIONAL** — Required in: AK|AR|FL|MS|MT|NJ|NM|NY|OR|RI|VA. Address line 2 for the agency. - `agency_city` (string, optional, nullable, example `San Diego`) **CONDITIONAL** — Required in: AK|AR|FL|MS|MT|NJ|NM|NY|OR|RI|VA. City for the agency. - `agency_state` (string, optional, nullable, example `CA`) **CONDITIONAL** — State for the agency. - `agency_zip_code` (string, optional, nullable, example `12345`) **CONDITIONAL** — Required in: AK|AR|FL|MS|MT|NJ|NM|NY|OR|RI|VA. Zip code for the agency. - `agency_county` (string, optional, nullable, example `San Diego County`) **OPTIONAL** — Agency county, when applicable. - `agency_phone` (string, optional, nullable, example `111-222-3333`) **CONDITIONAL** — Required in: AK|MS|OR. Phone number for the licensee (AGENCY or PRODUCER). - `agency_email` (string, optional, nullable, example `demo@fake.com`) **CONDITIONAL** — Required in: OR. Email address for the licensee (AGENCY or PRODUCER). - `sl_broker_signature` (string, optional, nullable, example ``) **CONDITIONAL** — Required in: All states except AR|KY|MD|TN|UT|VA. Signature stored with the license/user configuration, or Base64-encoded PNG signature image for the surplus lines broker. - `retail_producer_name` (string, optional, nullable, max length 255, example `Producer Name`) **CONDITIONAL** — Required in: All states except AK|AR|KS|KY|MA|MD|MS|NV|NJ|NC|ND|TN|UT|VA. Retail producer name to include on the affidavit. - `retail_agency_name` (string, optional, nullable, max length 255, example `Producer Agency Name`) **CONDITIONAL** — Required in: All states except AL|DE|ID|KS|MD|MS|NV|NM|NC|ND|OH|RI|TN|TX|UT|VA|WV. Retail agency name to include on the affidavit. - `retail_address` (string, optional, nullable, max length 255, example `Demo Street 1`) **CONDITIONAL** — Required in: AK|AR|FL|NJ|NM|NY|OR. Retail agency address. - `retail_address2` (string, optional, nullable, max length 255, example `2nd floor`) **CONDITIONAL** — Required in: AK|AR|FL|NJ|NM|NY|OR. Retail agency address line 2. - `retail_city` (string, optional, nullable, max length 255, example `Demo City`) **CONDITIONAL** — Required in: AK|AR|FL|NJ|NM|NY|OR. Retail agency city. - `retail_state` (string, optional, nullable, max length 2, example `WA`) **CONDITIONAL** — Retail agency state. 2-letter state code. - `retail_zip` (string, optional, nullable, max length 255, example `12345`) **CONDITIONAL** — Required in: AK|AR|FL|NJ|NM|NY|OR. Retail agency zip code. - `retail_producer_license` (string, optional, nullable, max length 255, example `123456789`) **CONDITIONAL** — Required in: All states except AK|AL|AR|KS|KY|LA|MA|MD|MS|NV|NJ|NM|NC|ND|OH|RI|TN|UT|VA|WA. Retail producer license number. - `retail_agency_license` (string, optional, nullable, max length 255, example `987654321`) **CONDITIONAL** — Required in: AK|CA|MA|MT|NY|PA|WA|WY. Retail agency license number. - `retail_phone_number` (string, optional, nullable, max length 255, example `111-222-3333`) **CONDITIONAL** — Required in: AK|OR. Retail agency phone number. - `retail_email_address` (string, optional, nullable, max length 255, example `demo@fake.com`) **CONDITIONAL** — Required in: OR. Retail producer email address. - `retail_producer_signature` (string, optional, nullable, example ``) **CONDITIONAL** — Required in: All states except AR|ID|KY|MD|MS|NV|NM|ND|RI|TN|TX|UT|VA|WA|WY. Base64-encoded PNG signature image for the retail producer. - `associated_producer` (string, optional, nullable, max length 255, example `1234567`) **CONDITIONAL** — License Number of Associated Producer. Applies only if Associated Producer is enabled for the selected physical state and the selected license type is Agency. - `dc_naic` (string, optional, nullable, max length 255, example `54267|37816|49865`) **CONDITIONAL** — NAIC number of the declining carrier(s). Multiple values separated by `|`. A NAIC is printed only if it is on InsCipher's admitted-carrier list for the state (or the general list, for a state without one), and the carrier name is taken from that list. A NAIC that is not on the list is dropped. See the carriers on the list for each state: [Admitted Carriers](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_gn0kfx520d). - `dc_date_declined` (string, optional, nullable, max length 255, example `2017-02-02|2017-02-03`) **CONDITIONAL** — Date declination(s) were received. Format: `YYYY-MM-DD`. Multiple dates separated by `|` in the same order as `dc_naic` (e.g., `2017-02-02|2017-02-03`). - `dc_declining_reason` (string, optional, nullable, max length 255, example `Underwriting reason|Other`) **CONDITIONAL** — Required in: All states except AR|CA|KS|KY|LA|MA|MD|MS|NM|NY|NC|ND|OR|PA|RI|TN|VA|WA. Declination reason. Multiple values separated by `|`. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_anzzcq710d)** to map your codes. - `dc_underwriting_consideration` (string, optional, nullable, max length 255, example `Demo|Test|Considered`) **CONDITIONAL** — Required in: NY. Underwriting consideration. Multiple values separated by `|`. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_wy2ov6z20d)** to map your codes. - `dc_underwriting_consideration_explanation` (string, optional, nullable, example `other reason explained`) **OPTIONAL** — Explanation for the underwriting consideration, when applicable. Multiple values separated by `|`. - `dc_representative_name` (string, optional, nullable, max length 255, example `John|Doe|Johnson`) **CONDITIONAL** — Required in: All states except AL|AR|CO|KS|KY|LA|MA|MD|MS|MT|NM|NY|NC|ND|OR|PA|TN|TX|VA|WA. Representative name who declined coverage. Multiple values separated by `|`. - `dc_representative_title` (string, optional, nullable, max length 255, example `Mr|Dr|Ms`) **CONDITIONAL** — Required in: AZ|DC|GA|HI|IL|IN|IA|MI|MN|MO|NE|NH|NC|SC|SD|VT|VI|WA. Representative title. Multiple values separated by `|`. - `dc_representative_email` (string, optional, nullable, max length 255, example `demo@demo.none|test@demo.none`) **CONDITIONAL** — Required in: AZ|CA|DC|FL|GA|HI|IL|IN|IA|MI|MN|MO|NE|NH|NC|SC|SD|UT|VT|VI|WA. Representative email address. Multiple values separated by `|`. - `dc_representative_phone_number` (string, optional, nullable, max length 255, example `54|36|465`) **CONDITIONAL** — Required in: AK|AZ|CA|DE|DC|FL|GA|HI|IL|IN|IA|MI|MN|MO|NE|NV|NH|NJ|NC|SC|SD|UT|VT|VI|WA|WY. Representative phone number. Multiple values separated by `|`. - `dc_representative_website` (string, optional, nullable, max length 255, example `demo.none|demo.none`) **CONDITIONAL** — Required in: CA (if no representative name provided). Representative website. Multiple values separated by `|`. - `dc_who_received_declinations` (string, optional, nullable, example `SL Broker`) **CONDITIONAL** — Required in: CA (to determine if Question 7 is completed on SL2). Who received declinations: SL Broker, Retail Producer, or Other Person in Office. Must be among the options configured in the admin interface. Can be a string or the option number. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_fld9hmw20d)** to map your codes. - `dc_other_person_in_office` (string, optional, nullable, max length 255, example `Some Other Person`) **CONDITIONAL** — Required in: CA (if `dc_who_received_declinations` = Other Person in Office). Name of the Other Person in Office. - `dc_who_performed_diligent_search` (integer, optional, nullable, one of `1`, `2`, example `1`) **CONDITIONAL** — Required in: CA (to determine if SL Broker/Transactor or Retail Producer is used to answer Question 1 on SL2). Who completed the diligent search: | Value | Meaning | |---|---| | `1` | Surplus Lines Broker | | `2` | Retail Producer | When `2` and a retail agency is sent, the CA SL-2 answers Question 1 with the agency (1(B)) and leaves 1(A) blank. The response still lists `transaction.ca_sl2_question1a` in `warnings`; you can ignore it. `retail_producer_license` prints in 1(A) only when no retail agency is sent. - `dc_custom_field_value` (string, optional, nullable, example `Yes|No`) **OPTIONAL** — Custom diligent-carrier field value, when configured. Multiple custom field values separated by `|` in the same order as `dc_custom_field_id` (e.g., `custom field value|custom field value 2`). - `dc_custom_field_explanation` (string, optional, nullable, example `custom explanation`) **OPTIONAL** — Custom diligent-carrier field explanation, when configured. Multiple custom field explanations separated by `|` in the same order as `dc_custom_field_value` and `dc_custom_field_id` (e.g., `custom field explanation|custom field explanation 2`). - `dc_custom_field_id` (string, optional, nullable, example `2|3`) **OPTIONAL** — Available in: AL|AK|CA|FL|IA|KS|LA|MA|NM|NY|PA|WA|WV. ID(s) of the state's declining carrier custom fields: state-specific questions on the diligent forms, such as *Copy of Declinations attached?* in AL. Multiple IDs separated by `|` in the same order as `dc_custom_field_value` (e.g., `2|3`). Custom fields are used only when declining carrier information is sent in the same request. See the IDs for each state and what to send: [Declining Carrier Custom Fields](https://datastudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b/page/p_n4b7cm7n7d). To load a prefilled request, pick a state from the request examples. Example request: ```json { "quote_id": "QT-2024-001234", "transaction_type": "PN", "physical_state_code": "CA", "policy_effective_date": "2019-04-01", "account_written_as": "DC", "mailing_insured_name": "Westfield Galleria at Roseville", "policy_number": "CA20170228-05", "sla_transaction_number": "MA2024000001", "agent_id": 24, "policy_expiration_date": "2020-04-01", "rpg": 0, "ecp": 0, "windstorm_exclusion": 0, "exempt": 0, "transaction_line_of_business": "GEN-1001", "non_admitted_insurer_code": "CA1255|CA28358", "insurer_premium_coverage_percentage": "49|51", "syndicate_list": "AA-1120131|AA-1120124", "policy_limit": 0, "property_limit": 0, "risk_description": "General Accidental Coverage", "risk_description_import_code": "GEN-DESC-001", "premium": 3108.5, "inspection_fee": 200, "agency_fee": 0, "sl_tax": 117, "collection_fee": 1.11, "stamping_fee": 7.8, "sl_service_charge": 0, "municipal_fee": 0, "fm_tax": 0, "empa_tax": 0, "total": 4224.8, "mailing_first_name": "Darold", "mailing_last_name": "Jones", "mailing_insured_address": "234 Park Street", "mailing_insured_address2": "Apt 2B", "mailing_city": "Roseville", "mailing_state_code": "CA", "mailing_zip_code": "95678", "insured_phone": "212-456-7890", "insured_email": "producer@demo.none", "insured_entity": "commercial", "insured_signature": "", "physical_address": "450 E New Circle Rd", "physical_address2": "", "physical_city": "Roseville", "physical_zip_code": "95678", "broker_name": "Mickey Mouse", "license_type": "AGENCY", "license_name": "MM Insurance Agency", "license_number": "12345678", "agency_license_number": "87654321", "agency_street_address": "123 Main St", "agency_street_address2": "Suite B23", "agency_city": "San Diego", "agency_state": "CA", "agency_zip_code": "12345", "agency_county": "San Diego County", "agency_phone": "111-222-3333", "agency_email": "demo@fake.com", "sl_broker_signature": "", "retail_producer_name": "Producer Name", "retail_agency_name": "Producer Agency Name", "retail_address": "Demo Street 1", "retail_address2": "2nd floor", "retail_city": "Demo City", "retail_state": "CA", "retail_zip": "12345", "retail_producer_license": "123456789", "retail_agency_license": "987654321", "retail_phone_number": "111-222-3333", "retail_email_address": "demo@fake.com", "retail_producer_signature": "", "associated_producer": "1234567", "dc_naic": "54267|37816|49865", "dc_date_declined": "2017-02-02|2017-02-03", "dc_declining_reason": "Underwriting reason|Other", "dc_underwriting_consideration": "Demo|Test|Considered", "dc_underwriting_consideration_explanation": "other reason explained", "dc_representative_name": "John|Doe|Johnson", "dc_representative_title": "Mr|Dr|Ms", "dc_representative_email": "demo@demo.none|test@demo.none", "dc_representative_phone_number": "54|36|465", "dc_representative_website": "demo.none|demo.none", "dc_who_received_declinations": "SL Broker", "dc_other_person_in_office": "Some Other Person", "dc_who_performed_diligent_search": 1 } ``` ##### Responses **200** — Request processed. Check `success`: when document generation fails, the response is still `200`, with `success: false` and a `message`. Body (`DiligentFormsResponseDto`): - `success` (boolean, optional, example `true`) `true` when the documents were generated. `false` when document generation failed; the response then has no `documents` and carries `message` instead. - `message` (string, optional, example `Document generating failed`) Present only when `success` is `false`. - `documents` (array of object, optional) Array of applicable or generated documents for the request. If no document matches the request, the response is still `success: true`, with an empty `documents` array. The array can also contain an extra generated sheet listing insurance companies (the BR-7 supplement). It is added in CA when there are more than 3 insurance companies, and in MA when there are more than 2. It is returned as a `generated` document with status `completed`. - `documents[].status` (string, optional, one of `completed`, `partially_completed`, `complete_manually`, `supplemental`) Document generation status. - `completed`: the form was generated and no warnings were raised. This does not mean every field on the PDF is filled: some fields are never filled, and those stay blank without a warning. - `partially_completed`: the form was generated, but some fields were missing or empty in the request. The document's `warnings` list names each one with "not provided or provided empty. The value might be optional. Complete document manually." In practice this means some blanks are left for you to fill in by hand. - `complete_manually`: the form has no fields the system can fill, so it is returned essentially unfilled. - `supplemental`: a static blank form (with `type``not_generated`), returned as a download link and never filled. - `documents[].type` (string, optional, one of `generated`, `not_generated`) Document delivery type. - `documents[].code` (string, optional) Short code identifying the document type (e.g., `D2NOT`, `SL2`, `AFFID`, `DISCL`). - `documents[].name` (string, optional) Document name returned by the API (e.g., `D-2 Notice`, `SL-2`). - `documents[].note` (string, optional, nullable, example `To be signed by insured prior to binding the policy.`) Document-specific broker instructions or notes. - `documents[].doc_id` (integer, optional, example `177`) Numeric document identifier. - `documents[].url` (string, optional, example `https://surpluslines.inscipher.com/doc/link/{hash}/{id}`) Time-limited URL to download the document. - `documents[].siganture_requirements` (string, optional, example `Insured`) Who must sign the document. **Note:** This field name is intentionally misspelled in the API response (`siganture_requirements`, not `signature_requirements`). Use the field exactly as returned until the backend normalizes the name. - `documents[].required_for_filing` (string, optional, one of `yes`, `no`) Whether the document is required for filing. - `documents[].required_for_binding` (string, optional, one of `yes`, `no`) Whether the document is required for binding the policy. - `documents[].include_with_policy` (string, optional, one of `yes`, `no`) Whether the document should be included with the policy. - `documents[].include_in_diligent_effort` (string, optional, one of `yes`, `no`) Whether the document should be included in diligent-effort materials. - `documents[].keep_on_hand` (string, optional, one of `yes`, `no`) Whether the document should be kept on file. - `documents[].warnings` (object, optional, nullable) Document-level warning messages for partially completed generated documents. Keys are whatever the form template refers to: a request field (`risk_description`), an internal keyword (`transaction.insured_first_name`) or a group name (`declining_carrier`). Values are arrays of warning message strings. - `warnings` (object, optional, nullable) Top-level warning messages keyed by request field name. Present only when warnings exist. Values are arrays of warning message strings. **401** — The API key was sent in the query string, but the account accepts it only in the `apikey` header. The body is plain text, sent with `Content-Type: text/html`. **403** — - API key missing or invalid: plain-text body `Authentication Failed.`, sent with `Content-Type: text/html`. - The API key's account does not have access to Diligent Forms. **422** — Validation or processing error. An `agent_id` that does not exist, or that belongs to an agency you do not own or manage, rejects the whole request: `message` is `Handling request failed. Request has critical errors.` and `errors` contains `{"agent_id": ["Agent ID \"24\" is not valid."]}`. Body (`DiligentFormsErrorDto`): - `message` (string, optional) Human-readable error summary. Common values: `Handling Request failed...`, `Validation error!`, `Invalid json!` - `errors` (one of, optional) Validation details. Shape varies by failure class: object with string values, object with string-array values, or a plain string array. - `errors` — option 1 of 3: object - `errors` — option 2 of 3: object - `errors` — option 3 of 3: array of string - `metadata` (array of any, optional) Additional metadata about the failure. **500** — Unexpected server-side error. `error` is empty. Body: - `message` (string, optional, example `Handling request failed. Admins are informed. Please check request format and content and try again.`) - `error` (string, optional, example ``) ## Document Import (POST) URL: https://developer.inscipher.com/api/document-import The Document Import API lets agencies programmatically attach policy-related documents to existing transactions. Use this endpoint when documents are not already included in a [Single](https://developer.inscipher.com/api/transaction-import/single) or [Batch](https://developer.inscipher.com/api/transaction-import/batch) Transaction Import request — documents should not be submitted through both methods for the same transaction. - [Endpoint](#endpoint) - [How It Works](#how-it-works) - [Key Variables](#key-variables) - [How to Use This Request](#how-to-use-this-request) ### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v4/transaction/{idOrInvoiceNumber}/document` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v4/transaction/{idOrInvoiceNumber}/document` | POST | :::warning All API requests must be made over HTTPS and must include a valid API key in the `apikey` request header. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: ### How It Works #### Identifying the Transaction The path parameter `idOrInvoiceNumber` accepts two forms: | Form | Path example | Query parameter | |---|---|---| | InsCipher Transaction ID | `/api/v4/transaction/213426/document` | *(omit `useInvoiceNumber`)* | | Agency Invoice Number | `/api/v4/transaction/INVSL42398300/document` | `?useInvoiceNumber=true` | `useInvoiceNumber` accepts both `true`/`false` and `1`/`0`. #### Submitting Documents Send a POST request with a JSON **array** where each element is one document object. A single request can include multiple documents — all will be grouped under the `batch_id` returned in the response. Each document object requires three fields: `code`, `name`, and `file` (Base64-encoded content). #### Ad-hoc Documents If a `code` value is not recognized, the document is imported as an ad-hoc attachment. Ad-hoc documents are attached to the transaction but are not included in state filings unless manually mapped in InsCipher. #### Reading the Response A `200` response confirms the batch was received, not that all documents were saved. The `documents[].status` field always returns `0` — even for rejected documents — so it cannot be used to detect failures. To check whether each document actually imported, read `documents[].status_message`: a value of `"Success"` means the document was saved. #### Supported File Types The server decodes the Base64 content and identifies the file type from the content itself. The filename extension in `name` is used for display only and does not affect validation. Supported formats: `pdf`, `png`, `tiff`, `jpeg`, `jpg`, `doc`, `docx`, `xls`, `xlsx`. :::note If the decoded content is an unsupported file type, `status_message` returns `"Not allowed type : bin, accepted: pdf, png, tiff, jpeg, jpg, doc, docx, xls, xlsx"`. If the Base64 string itself is invalid, `status_message` returns `"Document {code} base64 content invalid"`. In both cases, the HTTP response is still `200` — check `status_message` to detect the failure. ::: ### Key Variables | Resource | Purpose | Connect® | Filing Services® | |---|---|---|---| | Document Import Codes | Map your document types to InsCipher import codes | [View](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_otc1uchjqc) | [View](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_otc1uchjqc) | --- ### How to Use This Request ### Field reference — InsCipher Document Import API OpenAPI 3.0.3: https://developer.inscipher.com/openapi/document-import.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. Each agency is issued a unique encrypted key. The header form is preferred; the query-string form (`?apikey=...`) is also accepted for backward compatibility. #### POST /api/v4/transaction/{idOrInvoiceNumber}/document Document Import ##### Parameters - `idOrInvoiceNumber` (path, string, required) 🟥 **REQUIRED** — Transaction identifier. Accepts either: - InsCipher's internal **Transaction ID** (when `useInvoiceNumber` is omitted or `false`) - The agency's **Invoice Number** (when `useInvoiceNumber=true`) - `useInvoiceNumber` (query, boolean, optional, nullable, default `false`) **CONDITIONAL** — Required when `idOrInvoiceNumber` is the agency's invoice number rather than InsCipher's internal Transaction ID. When omitted or `false`, the path parameter is treated as an InsCipher Transaction ID. Both boolean (`true`/`false`) and integer (`1`/`0`) forms are accepted. ##### Request body Content type: `application/json` - `[].code` (string, required, max length 255, example `POLIC`) 🟥 **REQUIRED** — Document import code. Unrecognized codes are imported as ad-hoc attachments and attached to the transaction but will not be included in state filings without manual mapping. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].name` (string, required, max length 255, example `policy_85F-56565.pdf`) 🟥 **REQUIRED** — Original filename including extension (e.g., `policy_85F-56565.pdf`). Used for display purposes only — the extension is not used for type validation. - `[].file` (string, required, example `JVBERi0xLjQKJeLjz9MKMyAwIG9iago...`) 🟥 **REQUIRED** — File contents encoded as a Base64 string. The server decodes the Base64 content and identifies the file type from the content itself. Supported formats: `pdf`, `png`, `tiff`, `jpeg`, `jpg`, `doc`, `docx`, `xls`, `xlsx`. If the decoded content is an unsupported type, `status_message` will be: `"Not allowed type : bin, accepted: pdf, png, tiff, jpeg, jpg, doc, docx, xls, xlsx"`. If the Base64 string is invalid (cannot be decoded), `status_message` will be: `"Document {code} base64 content invalid"`. Example request: ```json [ { "code": "POLIC", "name": "policy_85F-56565.pdf", "file": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago..." }, { "code": "AFFIDCA", "name": "affidavit_CA.pdf", "file": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago..." } ] ``` ##### Responses **200** — Batch accepted. Check `documents[].status_message` and `summary` to determine per-document outcome — `documents[].status` returns `0` in all cases and is **not** a success indicator. Body: - `batch_id` (string, optional, example `67ac324a8d74e3be20c15aa28047179e`) Identifier assigned to this document import batch. Format: 32-character lowercase hex string. - `documents` (array of object, optional) Per-document import results. One object per document submitted. - `documents[].code` (string, optional, example `POLIC`) Document code echoed from the request. - `documents[].transaction_id` (integer, optional, example `213426`) InsCipher Transaction ID this document is attached to. Always populated — even when the document is rejected at MIME validation. Identifies the resolved transaction, not whether the document was saved. - `documents[].status` (integer, optional, example `0`) Processing status code. Returns `0` in all observed cases, including documents rejected at MIME validation. **Not a success indicator.** Always inspect `status_message` (or `summary`) to determine the actual outcome. | Value | Meaning | |---|---| | `0` | Processed — inspect `status_message` for outcome | - `documents[].status_message` (string, optional, example `Success`) Result message for this document. | Value | Meaning | |---|---| | `"Success"` | Document imported successfully | | `"Not allowed type : bin, accepted: pdf, png, tiff, jpeg, jpg, doc, docx, xls, xlsx"` | File content is an unsupported type | | `"Document {code} base64 content invalid"` | Base64 string could not be decoded | | `"Not allowed mime type : {mime type}"` | File content has a MIME type that is not accepted | | `"Error: upload document '' size {size} MB is too big, {limit} MB is allowed."` | File is larger than the limit for the document code (47.7 MB unless the code sets its own) | | `"File name cannot be empty"` | `name` has no file name before the extension | | `"Uploaded file not reachable"` | File was saved but could not be read back from storage | | `"Internal system error"` | Unexpected error while saving this document | - `summary` (string, optional, example `Import of batch '67ac324a8d74e3be20c15aa28047179e' finished successfully. 2 row(s) were successfully imported, 0 row(s) skipped`) Overall batch outcome. Two distinct message templates: **Partial or full success:** `"Import of batch '{batch_id}' finished successfully. N row(s) were successfully imported, M row(s) skipped"` **No rows imported:** `"No rows were imported, check if file is correctly formatted or if it has been imported already."` **400** — Malformed request or schema validation failure. The same message is returned for all validation errors (body sent as an object instead of array, missing `code`, `name`, or `file`) — the response is non-diagnostic and does not identify which field caused the failure. Other invalid input found while processing the request also returns `400`, with the underlying message in `error`. Body: - `error` (string, optional, example `Request format does not meet required`) **403** — - API key missing or invalid: plain-text body `Authentication Failed.`, sent with `Content-Type: application/json`. - The API key's account is not allowed to upload documents to this transaction: JSON body with `error`. Body: - option 1 of 2: string - option 2 of 2: object - `error` (string, optional) **404** — Path identifier does not resolve to a known transaction. Body: - `error` (string, optional, example `Transaction not found`) **429** — Request rate exceeded platform limits. The body is plain text, sent with `Content-Type: application/json`. **500** — Generic server-side error. Body: - `error` (string, optional, example `System error`) ## Tax Calculations (POST) URL: https://developer.inscipher.com/api/tax-calculations InsCipher's Tax Calculator API simplifies compliance by automatically calculating complex, state-specific insurance taxes and fees for single or multi-line transactions. By providing basic details like location, dates, and coverage types, you instantly receive a complete line-by-line tax breakdown, the exact state stamp wording, transparent calculation rules, and a list of necessary filing documents to ensure accurate quoting and compliance. - [Endpoint](#endpoint) - [Key Variables](#key-variables) - [FAQs](#faqs) - [How to Use This Request](#how-to-use-this-request) ### Endpoint :::warning All API requests must be made over HTTPS and must include a valid API key in the `apikey` request header. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: ### Key Variables Reference the following data tables when constructing requests or interpreting the response: | Resource | Purpose | |---|---| | [Transaction Types](https://datastudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_hu3dx3gjqc) | Map your transaction types to InsCipher codes | | [Generic Lines of Business](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc) | Map lines of business to InsCipher import codes | | [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc) | State-specific field label definitions | | [State Stamp Wording](https://lookerstudio.google.com/s/pruKt8r4i3Q) | Required disclosure text by state | | [Document Requirements](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_otc1uchjqc) | State-specific policy documents required to bind coverage | ### FAQs **Can I calculate taxes for future policy effective dates?** State taxes and fees can change at any time. However, most states update taxes in the fall (if they update taxes at all). InsCipher maintains at least one full calendar year of tax rates at a time. Tax rules are updated for the following year by the InsCipher Compliance Team (typically finalized Sept/Oct). Because future rates are unpredictable, best practice is to submit transactions within the current calendar year. **How do I calculate taxes on endorsements?** For endorsements, submit the **difference in premium** (not the new total). - **APE** (Additional Premium Endorsement): Submit the positive difference (e.g., original $500, new $650, submit $150). - **RPE** (Return Premium Endorsement): Submit the positive difference. The system recognizes the RPE transaction type and applies it as a credit automatically. **How are Documents returned via this endpoint?** - **Templates:** Links to download blank state forms. - **Requirements:** Informational flags indicating if a specific document is required for submission. **How do Generic Lines of Business Import Codes work?** Use our [Generic Import Codes](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc) (GEN-XXXX) to simplify line of business mapping to state-specific codes. Some states have line-of-business-specific tax rates (not all). Custom mapping adjustments can be requested during implementation. **How should I understand tax titles?** In some states, rather than having a unique field name, we have chosen to repurpose field names for specific fees. Refer to the [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc) datasheet for definitions. **Do states restrict broker or carrier fees?** Certain states restrict fees. In the JSON response, InsCipher will automatically adjust the fee amounts where fee restrictions apply. For a summary, refer to the [Fee Restrictions Guide](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_tz4ybpmhzc). **What classifies as 'Taxable Fees'?** InsCipher will determine whether or not a specific broker or carrier fee is taxable and return the calculated amount in the JSON response. Map the fees you charge to the insured (in excess of premium) to either **Broker Fees** [`agency_fee`] or **Carrier Fees** [`inspection_fee`; renamed to `carrier_fee` in v3]. For a summary of taxable fees, please refer to the [Taxable Fees Guide](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_f7qdebf6sd). **How do I calculate taxes for policies with installment payments?** Always calculate taxes on the **full policy premium**, not on individual installment amounts. States require all taxes and fees to be reported as aggregated amounts upfront — the payment schedule between the insured and the broker does not affect the tax calculation. **Example:** A policy with a $10,000 premium, split into 5 installments of $2,000 each: | | ❌ Incorrect | ✅ Correct | |---|---|---| | `premium` | `2000` (one installment) | `10000` (full premium) | | `sl_tax` returned | ~$20 | $100 | | `stamping_fee` returned | ~$4 | $20 | Submit the returned totals (`sl_tax: 100`, `stamping_fee: 20`) when creating the transaction — regardless of how many installments the insured will pay. --- ### Tax Calculations (POST) — version v3 (PENDING RELEASE — not available in Sandbox or Production yet; details may change) **Pending release — not in production** Tax Calculator API **v3 has not been released yet**: it is not available in the Sandbox or Production environments, and requests to the v3 URL will fail. This specification is published early so you can plan your integration; details may still change before release. #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v3/tax-calculator/calculate-general-taxes` *(pending release)* | POST | | **Production** | `https://surpluslines.inscipher.com/api/v3/tax-calculator/calculate-general-taxes` *(pending release)* | POST | #### FAQs: How do I calculate taxes for policies with installment payments? In v3 these amounts come back as entries in the `state_taxes` array: read `tax_value` on the `sl_tax` and `stamping_fee` items. > **Danger:** **v3 is pending release.** The reference below documents the upcoming contract — the endpoint is not yet live, so Send requests will fail until v3 is deployed. #### Field reference — Tax Calculator API OpenAPI 3.0.0: https://developer.inscipher.com/openapi/tax-calculator-v3.yaml - Server: `https://sandbox.inscipher.com` — Sandbox (v3 pending release) - Server: `https://surpluslines.inscipher.com` — Production (v3 pending release) - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v3/tax-calculator/calculate-general-taxes Tax Calculator API v3 ###### Request body **How to use this request** **If you only want tax calculations:** Use **Required** + **Recommended** fields. **If you want Kentucky‑specific behavior:** Also include fields from the **Kentucky Specific Fields** section. **If you want document handling:** Also include fields from the **Documents** section. You can safely ignore any section you don't need. --- **Request Fields** The full v3 request follows — each field is labeled 🟥 **REQUIRED**, **RECOMMENDED**, **CONDITIONAL**, or **OPTIONAL**. Enter values below to build a mock request; the **REQUEST** panel on the right updates as you type. Content type: `application/json` - `home_state` (string, required, max length 20, example `TX`) 🟥 **REQUIRED** State where the risk is located. Accepts the 2-letter abbreviation (e.g., `KY`, `TX`) or the full state name (e.g., `Kentucky`). For a risk in more than one state, send the insured's home state: where the insured has its principal place of business (principal residence for an individual) if the policy covers a risk there, otherwise the state with the greatest share of the taxable premium. See [What is a home state?](https://www.inscipher.com/blog/what-is-a-home-state) - `transaction_type` (string, required, max length 50, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BD`) 🟥 **REQUIRED** Transaction type code (e.g., `PN` = New Policy, `PR` = Renewal). **New in v3:** if the state restricts the type you send, the calculation automatically falls back to that type's configured Secondary Filing Type instead of returning an error — the response's `transaction_type` tells you which type was actually used. You only get a validation error when neither the requested type nor its secondary is allowed in the state. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_hu3dx3gjqc)** to map your codes. **SHOW ALL TRANSACTION TYPES AND DETAILS** | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BD | Binder | Temporary proof of coverage. | - `line_of_business_list` (array of object, required) 🟥 **REQUIRED** Structured array of lines of business with their premium breakout — one object per coverage. Replaces v2.2's pipe-delimited `transaction_line_of_business_list` / `transaction_line_of_business_coverage` / `transaction_line_of_business_fire_coverage` strings. We recommend using the **Generic Import codes**; state-specific codes may also be used. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc)** to map your codes. Because line-of-business requirements vary by state, we recommend sending a LOB breakdown for package policies when available. If a state only allows a single LOB, InsCipher selects the coverage with the **highest premium**. - `line_of_business_list[].item` (string, required, max length 250, example `GEN-1001`) InsCipher LOB import code (e.g., `GEN-1001`). - `line_of_business_list[].premium` (number, required, example `3108.5`) Premium breakout for this LOB, rounded to the nearest cent, **without** the dollar sign. - `line_of_business_list[].fire_premium` (number, optional, nullable, example `400`) The portion of this LOB's premium allocated to fire coverage. Currently applicable to **New Jersey** only — used to calculate NJ's Fire Marshal Tax and Surplus Lines Tax separately. If omitted, fire premium is treated as `0` and taxes are calculated as if there is no fire premium. - `agency_fee` (number, float, optional) **OPTIONAL** Total of all non-carrier underwriting fees (e.g., broker or agency fees). Defaults to `0` if omitted. Which fees each state taxes or restricts: [Taxable Fees](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_f7qdebf6sd), [Fee Restrictions](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_tz4ybpmhzc). - `carrier_fee` (number, float, optional) **OPTIONAL** Fees from the carrier or underwriting process (e.g., inspections, protection lookup). Renamed from `inspection_fee` in v2.2. Defaults to `0` if omitted. Which fees each state taxes or restricts: [Taxable Fees](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_f7qdebf6sd), [Fee Restrictions](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_tz4ybpmhzc). - `rpg` (boolean, optional, default `false`, example `false`) **RECOMMENDED** Risk Purchasing Group indicator. Boolean in v3 (`true`/`false`), not `0`/`1`. Defaults to `false`. - `policy_effective_date` (string, date, optional, example `2026-02-18`) **RECOMMENDED** Policy effective date (`YYYY-MM-DD`). Used to determine active tax/fee rules; mandatory when the active tax rule's *Based on date field* setting is **Policy**. If omitted and `transaction_effective_date` is provided, that date is used; if both are omitted, the current date is used. - `transaction_effective_date` (string, date, optional, example `2026-02-18`) **RECOMMENDED** Transaction effective date (`YYYY-MM-DD`). For endorsements, this is the endorsement date; for New/Renewal policies, this equals the Policy Effective Date. Mandatory when the active tax rule's *Based on date field* setting is **Transaction**. If omitted and `policy_effective_date` is provided, that date is used; if both are omitted, the current date is used. - `insured_entity` (string, optional, max length 25, example `commercial`) **RECOMMENDED** Insured entity type import code (e.g., `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`). Renamed from `mailing_entity_type` in v2.2; any active entity type import code is accepted. Used by states that may consider certain entity types tax exempt (currently SC, NC, TN, FL). If omitted, `commercial` is assumed in states that use entity-type logic. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_0udhhnp5qd)** to map your codes. - `commission_received` (boolean, optional, default `false`, example `false`) **RECOMMENDED** Indicator if commission was received. Boolean in v3 (`true`/`false`), not `0`/`1`. Only applicable in the state of New Hampshire. If the commission is received, policy fees cannot be charged (used for calculating fee restrictions). Defaults to `false`. - `account_written_as` (string, optional, one of `B`, `DC`, example `B`) **OPTIONAL** — Affects document selection. Indicates whether the policy is written: `B` = Brokerage or `DC` = Direct to Client. Use `B` if you sell through a retail agent. Use `DC` if the policy is sold directly to the insured. If omitted, the default Agency Admin setting will be used. - `admitted` (boolean, optional, default `false`, example `false`) **CONDITIONAL** — Kentucky only. Controls whether to return non-admitted (default) or admitted tax calculations. Boolean in v3: use `false` (default) for non-admitted market transactions, or `true` for admitted — applicable to Kentucky only. When `true`, the response's `state_taxes` contains the admitted premium-tax entries. - `physical_address` (string, optional, nullable, max length 255, example `450 E New Circle Rd`) **CONDITIONAL** — Required for Kentucky. Street address of insured/risk location. No PO Boxes unless specifically allowed by the Agency Admin configuration. - `physical_city` (string, optional, nullable, max length 100, example `Lexington`) **CONDITIONAL** — Required for Kentucky. City of insured/risk location. - `physical_zip_code` (string, optional, nullable, max length 20, example `40509`) **CONDITIONAL** — Required for Kentucky. ZIP code of insured/risk location. - `ecp` (boolean, optional, default `false`, example `false`) **OPTIONAL** — Affects document selection. Exempt Commercial Purchaser indicator. Boolean in v3 (`true`/`false`), not `0`/`1`. Defaults to `false`. Unless you know what this is, leave it out or set it to `false`. - `tax_exempt` (boolean, optional, default `false`, example `false`) **OPTIONAL** — Tax-exempt policy. Marks the policy as tax exempt, as `tax_exempt: 1` does in v2.2. Boolean in v3 (`true`/`false`), not `0`/`1`. Defaults to `false`. Exemptions tied to `insured_entity` (for example `governmental` or `tribal`) apply without it. Example request: ```json { "home_state": "TX", "transaction_type": "PN", "line_of_business_list": [ { "item": "GEN-1014", "premium": 220.14 }, { "item": "GEN-1020", "premium": 800 }, { "item": "GEN-1030", "premium": 1921.42 } ], "agency_fee": 90, "carrier_fee": 100.25, "rpg": false, "policy_effective_date": "2026-02-23", "transaction_effective_date": "2026-02-23", "insured_entity": "commercial", "commission_received": false } ``` ###### Responses **200** — Success: Returns the echoed request together with the calculated taxes/fees, stamp wording, adjustment rules, required state documents, and (Kentucky only) municipal/county tax settings. **How to consume this response** - **Tax-only integrations:** iterate `state_taxes` — one entry per tax/fee that applied to this transaction, each with its machine code (`item`), state-specific display title, calculated amount, and rate. - **Document workflows:** use `tax_rule.state_documents` to determine required documents, notes, and download links. - **Stamp wording:** use `state_stamp_wording` for the disclosure text and its formatting rules. - **Fee restrictions and rounding:** use `adjustment_rules` for the state's fee restriction, max-fee, rounding, and tax-exemption settings. Headers: `X-Generated-At` Body: - `generated_at` (string, date-time, optional, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `home_state` (string, optional) State echoed from the request. - `transaction_type` (string, optional) The transaction type the calculation actually used: the requested one, or its Secondary Filing Type when the state restricts the requested one — compare it with what you sent to detect the substitution. (See: [Transaction Type mapping per State](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_hu3dx3gjqc)) - `line_of_business_list` (array of object, optional) Lines of business echoed from the request. - `line_of_business_list[].item` (string, optional) InsCipher LOB import code. - `line_of_business_list[].premium` (number, optional) Premium breakout for this LOB. - `line_of_business_list[].fire_premium` (number, optional, nullable) Fire premium breakout for this LOB (NJ only); `null` when not sent. - `policy_effective_date` (string, date, optional, nullable) Policy effective date echoed from the request (`null` when not sent). - `transaction_effective_date` (string, date, optional, nullable) Transaction effective date echoed from the request (`null` when not sent). - `agency_fee` (number, optional) The agency fee the calculation used: all non-carrier underwriting fees (Broker, Agency, etc.). Non-admitted rules apply the state's fee restrictions to it, so it can differ from the fee you sent. `0` when not sent. - `carrier_fee` (number, optional) The carrier fee the calculation used (carrier or underwriting related fees). Non-admitted rules apply the state's fee restrictions to it, so it can differ from the fee you sent. `0` when not sent. - `rpg` (boolean, optional) Risk Purchasing Group indicator. - `account_written_as` (string, optional, nullable) How the policy is written: `B` = Brokerage, `DC` = Direct to Client. When omitted from the request, the resolved default is returned. - `insured_entity` (string, optional, nullable) Insured entity type as an import code (e.g., `commercial`): the first import code of the entity type the calculation used, so it can differ from what you sent if you send a secondary import code or different letter case. When omitted, returns the applied default (`commercial`) in states that use entity-type logic, or `null` in states that do not. - `commission_received` (boolean, optional) Whether commission was received (New Hampshire only). - `physical_address` (string, optional) The risk address, as sent in the request. Present only when the request has it. - `physical_city` (string, optional) The risk city, as sent in the request. Present only when the request has it. - `physical_zip_code` (string, optional) The risk ZIP code, as sent in the request. Present only when the request has it. - `admitted` (boolean, optional) Whether admitted tax calculations were requested (KY only). - `tax_exempt` (boolean, optional) The `tax_exempt` value you sent, or `false` when you omitted it. - `ecp` (boolean, optional) Exempt Commercial Purchaser indicator echoed from the request. - `state_taxes` (array of object, optional) Taxes and fees applied to this transaction — one entry per applied item. Which items appear depends on the state and its active tax rule: `sl_tax`, `stamping_fee`, `sl_service_charge`, `fm_tax`, `empa_tax`, `municipal_tax`, `county_tax`; for Kentucky admitted tax rules: `premium_tax` and `premium_tax_life`. Replaces the flat `sl_tax` / `stamping_fee` / … response fields of v2.2. - `state_taxes[].item` (string, optional) Machine code of the tax/fee (e.g., `sl_tax`, `stamping_fee`, `fm_tax`). - `state_taxes[].title` (string, optional, nullable) State-specific display title (e.g., "Surplus Lines Tax"). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `state_taxes[].tax_value` (number, optional) Calculated amount for this tax/fee. - `state_taxes[].tax_percentage` (number, optional, nullable) The rate used for the calculation, as configured on the state tax rule. `null` when the tax/fee is a fixed amount rather than a percentage, for `municipal_tax`/`county_tax` entries, and for `sl_tax` when the state splits the SL tax across several rates (e.g., New Jersey fire premium) — a single base rate would be misleading there. For `fm_tax`, this is the effective rate: the configured value multiplied by the share of the premium it applies to. - `state_taxes[].admitted` (object, optional) Present only on admitted premium-tax entries (Kentucky admitted tax rules). - `state_taxes[].admitted.premium_tax` (number, optional) Insurance premiums tax amount. - `state_taxes[].admitted.premium_tax_life` (number, optional) Insurance premiums tax amount for life-insurance companies. - `state_stamp_wording` (object, optional) State surplus lines stamp wording and its formatting requirements. Replaces v2.2's flat `state_properties.state_stamp_wording_*` fields. (See: [State Stamp Wording](https://lookerstudio.google.com/s/pruKt8r4i3Q)) - `state_stamp_wording.text` (string, optional, nullable) Surplus lines disclosure wording required by the state. - `state_stamp_wording.instructions` (string, optional, nullable) Instructions for how wording must be applied to the policy. - `state_stamp_wording.font_size` (integer, optional, nullable) Font size requirement for the state stamp wording. - `state_stamp_wording.font_bold` (boolean, optional, nullable) Bold formatting flag. - `state_stamp_wording.font_italics` (boolean, optional, nullable) Italics formatting flag. - `state_stamp_wording.font_color` (string, optional, nullable) Font color for state stamp wording. - `state_stamp_wording.type` (string, optional, nullable) Type of wording: "wording" or "notice". - `state_stamp_wording.updated_at` (string, optional, nullable) Timestamp of the last update to the wording rules (`YYYY-MM-DD HH:MM:SS`). - `adjustment_rules` (object, optional) Fee restriction, max-fee, rounding, and exemption settings of the tax rule that applied to this transaction. - `adjustment_rules.fee_restrictions` (boolean, optional) Are there fee restrictions? - `adjustment_rules.fee_restriction_amount_fixed_active` (boolean, optional) Is a fixed fee restriction active? - `adjustment_rules.fee_restriction_amount_fixed` (number, optional, nullable) Fixed fee restriction value (if active). - `adjustment_rules.fee_restriction_amount_percentage_active` (boolean, optional) Is a percentage fee restriction active? - `adjustment_rules.fee_restriction_amount_percentage` (number, optional, nullable) Percentage restriction value (if active). - `adjustment_rules.max_fee` (boolean, optional) Is there a max fee rule? - `adjustment_rules.max_fee_amount_type` (integer, optional, nullable) Max Fee type: 1 = Percentage, 2 = Fixed. - `adjustment_rules.max_fee_amount` (number, optional, nullable) Max fee value (depending on type). - `adjustment_rules.round_up_taxes_to_the_nearest_dollar` (boolean, optional) Round up taxes to nearest dollar. - `adjustment_rules.round_taxes_to_the_nearest_dollar` (boolean, optional) Round taxes to nearest dollar. - `adjustment_rules.round_up_premium_to_the_nearest_dollar` (boolean, optional) Round up premium to nearest dollar. - `adjustment_rules.round_premium_to_the_nearest_dollar` (boolean, optional) Round premium to nearest dollar. - `adjustment_rules.round_up_fees_to_the_nearest_dollar` (boolean, optional) Round up fees to nearest dollar. - `adjustment_rules.round_fees_to_the_nearest_dollar` (boolean, optional) Round fees to nearest dollar. - `municipal_tax_settings` (array of object, optional) Kentucky only. Municipal (city) tax settings that applied to the transaction. - `municipal_tax_settings[].municipal_tax_setting` (object, optional) Municipal tax setting details. - `municipal_tax_settings[].municipal_tax_setting.municipality_name` (string, optional, nullable) Municipality name. - `municipal_tax_settings[].municipal_tax_setting.line_category` (string, optional, nullable) Municipal-level line category. - `county_tax_settings` (array of object, optional) Kentucky only. County tax settings that applied to the transaction. - `county_tax_settings[].county_name` (string, optional, nullable) Name of the county. - `county_tax_settings[].line_category` (string, optional, nullable) County-level line category. - `tax_rule` (object, optional) In v3 this object only carries the state document requirements. The tax rule's calculation settings are summarized in `state_taxes` (rates) and `adjustment_rules` (restrictions/rounding) instead of the full v2.2 `tax_rule` dump. `state_notes` is intentionally not returned in v3. - `tax_rule.state_documents` (array of object, optional) State documents that apply to this request: the calling account's active documents for the state, the rule's `rpg` and the policy effective date, limited to those that list the transaction type the calculation used (`transaction_type` in this response, which differs from the requested type when a Secondary Filing Type is substituted). Same selection as the general endpoint and v2.2. (See: [Document Requirements](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_otc1uchjqc)) - `tax_rule.state_documents[].name` (string, optional, nullable) Document name. - `tax_rule.state_documents[].code` (string, optional, nullable) Document code. - `tax_rule.state_documents[].upload_required` (boolean, optional) Whether upload is required. - `tax_rule.state_documents[].required_for_filing` (boolean, optional) Whether required for filing. - `tax_rule.state_documents[].required_for_binding` (boolean, optional) Whether required for binding. - `tax_rule.state_documents[].include_with_policy` (boolean, optional) Should be included with policy. - `tax_rule.state_documents[].include_in_diligent_effort` (boolean, optional) Should be included in diligent effort docs. - `tax_rule.state_documents[].keep_on_hand` (boolean, optional) Should be kept on file. - `tax_rule.state_documents[].signature_requirements` (string, optional, nullable) Who must sign (e.g., Insured, Broker, Agent); `None` when no signature is required. - `tax_rule.state_documents[].document_group` (string, optional, nullable) Document group/category. - `tax_rule.state_documents[].transaction_types` (array of object, optional) Transaction types this document applies to. - `tax_rule.state_documents[].transaction_types[].name` (string, optional, nullable) Transaction type name. - `tax_rule.state_documents[].transaction_types[].short_code` (string, optional, nullable) Transaction type code. - `tax_rule.state_documents[].document_note` (string, optional, nullable) Document-specific notes. - `tax_rule.state_documents[].document_download_link` (string, optional, nullable) One-time URL to download the document. Available for 1 minute once returned. **400** — Bad Request — the request body could not be parsed as JSON. Headers: `X-Generated-At` Body (`UnifiedApiError`): - `generated_at` (string, date-time, required, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `code` (string, required, one of `auth_failed`, `forbidden`, `malformed_request`, `validation_error`, `method_not_allowed`, `rate_limited`, `server_error`, example `validation_error`) Machine-readable failure kind. - `message` (string, required, example `Validation error!`) Human-readable summary of the failure. - `details` (object, required) Field-keyed messages for a validation failure: `{ "": "" }`. Empty for every other failure. **401** — Unauthorized — authentication failed, the API key is missing or invalid. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **403** — Forbidden — the authenticated key exists but the Tax Calculator API is not enabled for the account. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **405** — Method Not Allowed — wrong HTTP method; the `Allow` header lists the supported ones. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **422** — Unprocessable Entity — fields that fail validation, or no active tax rule for the given state/date/LOB. `details` maps each rejected field to its message, and is empty when the failure is not field-specific. A body that is valid JSON but not an object (for example an array) is reported under `details.body`. In New Jersey, `details.fire_premium` reports a fire premium that exceeds the premium or has the opposite sign. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **429** — Rate limit exceeded — this endpoint allows 10,000 requests per 60 seconds per API key. When present, the `Retry-After` header carries the wait in seconds. It is left out when the wait is not known. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **500** — Internal server error. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). ### Tax Calculations (POST) — version v2.2 (released; default on the page) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v2.2/tax-calculator/calculate-general-taxes` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v2.2/tax-calculator/calculate-general-taxes` | POST | #### Field reference — Tax Calculator API OpenAPI 3.0.0: https://developer.inscipher.com/openapi/tax-calculator-v2-2.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v2.2/tax-calculator/calculate-general-taxes Tax Calculator API ###### Request body **How to use this request** **If you only want tax calculations:** Use **Required** + **Recommended** fields. **If you want Kentucky‑specific behavior:** Also include fields from the **Kentucky Specific Fields** section. **If you want document handling:** Also include fields from the **Documents** section. You can safely ignore any section you don't need. --- **Minimum Fields for Tax Calculation** Required inputs to perform a tax calculation. Enter values below to build a mock request; the **REQUEST** panel on the right updates as you type. Content type: `application/json` - `physical_state` (string, required, max length 2, pattern `^[A-Z]{2}$`) 🟥 **REQUIRED** Physical state 2-letter code where the risk is located (e.g., `KY`). For a risk in more than one state, send the insured's home state: where the insured has its principal place of business (principal residence for an individual) if the policy covers a risk there, otherwise the state with the greatest share of the taxable premium. See [What is a home state?](https://www.inscipher.com/blog/what-is-a-home-state) - `transaction_type` (string, optional, max length 5, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BO`, `BD`) **RECOMMENDED** 2-letter transaction type code (e.g., `PN` = New Policy, `PR` = Renewal). Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_hu3dx3gjqc)** to map your codes. **SHOW ALL TRANSACTION TYPES AND DETAILS** | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BO | Back-out / Reversal | Correction of a filing error. | | BD | Binder | Temporary proof of coverage. | - `transaction_line_of_business_list` (string, required) 🟥 **REQUIRED** This is an InsCipher-specific import code. We recommend using the **Generic Import codes**; state-specific codes may also be used. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc)** to map your codes. **Use Cases:** **Single LOB:** `GEN-1001` **Multiple LOB / package policies:** `GEN-1010 | GEN-2000` (pipe `|` delimited; spaces optional). Because line-of-business requirements vary by state, we recommend sending a LOB breakdown for package policies when available. If a state only allows a single LOB, InsCipher selects the coverage with the **highest premium**. - `transaction_line_of_business_coverage` (string, required) 🟥 **REQUIRED** Premium breakout (rounded to the nearest cent) **without** the dollar sign. **Use Cases:** **Single LOB:** `200.27` **Multiple LOB / package policies:** `300 | 1250.50 | 500` (pipe `|` delimited, in the **same order** as `transaction_line_of_business_list`; spaces optional). - `agency_fee` (number, float, optional) **CONDITIONAL** — Required when `admitted` is `1`. Total of all non-carrier underwriting fees (e.g., broker or agency fees). Defaults to `0` if omitted. Which fees each state taxes or restricts: [Taxable Fees](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_f7qdebf6sd), [Fee Restrictions](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_tz4ybpmhzc). - `inspection_fee` (number, float, optional) **CONDITIONAL** — Required when `admitted` is `1`. Fees from the carrier or underwriting process (e.g., inspections, protection lookup). Defaults to `0` if omitted. Which fees each state taxes or restricts: [Taxable Fees](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_f7qdebf6sd), [Fee Restrictions](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_tz4ybpmhzc). - `transaction_line_of_business_fire_coverage` (string, optional, example `400|0|0`) **OPTIONAL** — New Jersey (v2.2+). The portion of each line of business's premium allocated to fire coverage. Used to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately, keeping your filing aligned with state requirements. Pipe `|` delimited, one value per line of business in the **same order** as `transaction_line_of_business_list` (spaces optional). **Use Cases:** **Single LOB:** `400` **Multiple LOB / package policies:** `400 | 0 | 0` If omitted, fire premium is treated as `0` and taxes are calculated as if there is no fire premium. The 60/40 default split applied when the setting is enabled. - `line_of_business` (string, optional, nullable, deprecated, example `GEN-1001`) **[DON'T USE - TO BE DEPRECATED]** Single InsCipher line of business import code. Optional. NOTE: This is a legacy field; we recommend using `transaction_line_of_business_list` instead. Single LOB only (one code per request). - `premium` (number, float, optional, deprecated, example `700.32`) **[DON'T USE - TO BE DEPRECATED]** Total policy premium amount. Optional. NOTE: This is a legacy field; we recommend using `transaction_line_of_business_coverage` instead. Single premium amount only (one value per request). - `rpg` (integer, optional, one of `0`, `1`, default `0`, example `0`) **RECOMMENDED** Risk Purchasing Group indicator: `0` = No, `1` = Yes. Defaults to `0`. - `policy_effective_date` (string, date, optional, example `2026-02-18`) **RECOMMENDED** Policy effective date (`YYYY-MM-DD`). Used by calculator logic to determine active tax/fee rules. If omitted, InsCipher uses the date the request is submitted. - `transaction_effective_date` (string, date, optional, example `2025-01-15`) **RECOMMENDED** Transaction effective date (`YYYY-MM-DD`). For endorsements, this is the endorsement date. For New/Renewal policies, this equals the Policy Effective Date. If omitted, today's date is used as the transaction effective date. - `mailing_entity_type` (string, optional, default `"commercial"`, example `commercial`) **RECOMMENDED** Insured entity type (e.g., `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`). Insured entity types are used for states that may consider certain entity types tax exempt. Currently only applies to a few states. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_0udhhnp5qd)** to map your codes. - `mailing_state` (string, optional, max length 20, example `NJ`) **OPTIONAL** — Does not affect the calculation. Insured's mailing state, 2-letter code (e.g., `NJ`). Same format as `physical_state`. Send it when the mailing address differs from the physical address. Tax rules are selected from `physical_state`; the state you send here is returned under `mailing_state_properties`, and a code that matches no state leaves that object empty. - `commission_received` (integer, optional, default `0`, example `0`) **RECOMMENDED** Indicator if commission was received: `0` = No, `1` = Yes. Only applicable in the state of New Hampshire. If the commission is received, policy fees cannot be charged (use for calculating fee restrictions). If omitted, the default value is `0`. - `layered_risk` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** Layered-risk flag: `0` = No, `1` = Yes. Defaults to `0`. May affect fees. - `broker_of_record_change` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** Broker-of-record change indicator: `0` = No, `1` = Yes. Defaults to `0`. - `risk_retention_group` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** Risk Retention Group flag: `0` = No, `1` = Yes. Defaults to `0`. - `non_admitted_insurer_code` (string, optional, example `NAIC12345`) **OPTIONAL** Non-admitted insurer code. Code identifying the non-admitted insurer on this transaction. - `admitted` (integer, optional, one of `0`, `1`, default `0`, example `0`) **CONDITIONAL** — Kentucky only. Controls whether to return non-admitted (default) or admitted tax calculations. Use `0` (default) for non-admitted market transactions, or `1` for admitted — applicable to Kentucky only. - `physical_address` (string, optional, nullable, example `123 Main St`) **CONDITIONAL** — Required when `physical_state` is `KY`. Street address of insured/risk location. No PO Boxes unless specifically allowed by the configuration. - `physical_city` (string, optional, nullable, example `Frankfort`) **CONDITIONAL** — Required when `physical_state` is `KY`. City of insured/risk location. - `physical_zip_code` (string, optional, nullable, example `40601`) **CONDITIONAL** — Required when `physical_state` is `KY`. ZIP code of insured/risk location. - `account_written_as` (string, optional, one of `B`, `DC`, example `B`) **OPTIONAL** — Affects document selection. Indicates whether the policy is written: `B` = Brokerage or `DC` = Direct to Client. Use `B` if you sell through a retail agent. Use `DC` if the policy is sold directly to the insured. If omitted, `B` is used. - `tax_exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) **CONDITIONAL** — Required for Utah. In Utah it affects which documents are returned. In other states it can change the amounts: in Kentucky, `1` applies the tax-exempt rule, which sets the stamping fee to 0 and leaves the other taxes unchanged. Tax Exempt indicator: `0` = No, `1` = Yes. Defaults to `0`. Unless you know that the insured/entity is Tax Exempt, set the value to `0` or leave it blank (the system defaults to `0`). Currently required only for the state of Utah. - `ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** — Affects document selection. Exempt Commercial Purchaser indicator: `0` = No, `1` = Yes. Defaults to `0`. Unless you know what this is, set this value to `0`. - `export_list` (integer, optional, deprecated, default `0`, example `0`) **[DON'T USE - TO BE DEPRECATED]** Export List indicator: `0` = No (Default), `1` = Yes. Use this when the coverage is on the state's Export List. Example request: ```json { "physical_state": "TX", "transaction_type": "PN", "transaction_line_of_business_list": "GEN-1014 | GEN-1020 | GEN-1030", "transaction_line_of_business_coverage": "220.14 | 800 | 1921.42", "agency_fee": 90, "inspection_fee": 100.25, "rpg": 0, "policy_effective_date": "2026-02-23", "transaction_effective_date": "2026-02-23", "mailing_entity_type": "commercial", "commission_received": 0 } ``` ###### Responses **200** — Success: Returns tax calculations and document requirements. **How to consume this response** This endpoint can return **tax totals**, **state rules/stamp wording**, and **document requirements** in a single response. Which parts you consume depends on your integration needs: **Tax-only integrations:** focus on the top-level policy/transaction fields you need for reconciliation, plus the **tax totals** (e.g., surplus lines tax, stamping fee, municipal/county fees, etc.). For tax-line details (titles/rates/amount logic), use the `tax_rule` section (titles, amount types, percentages, and calculated amounts). **Document workflows:** use the documents portion of the response (see `tax_rule.state_documents`) to determine required documents, notes, and any download links. **State rules / stamp wording:** use `state_properties` for stamp wording text/instructions, and `tax_rule.state_notes` / `tax_rule.state_documents` when you need state guidance, filing rules, and required forms. Body: - `line_of_business_list` (array of object, optional) Array of LOB objects: `id`, `fm_tax_percentage`, `generic_code`, `code`, `fm_tax_title`, `empa_tax_title`. For fire-premium states (New Jersey), `fm_tax_percentage` and `fm_tax_title` are not returned here; see `tax_rule.fm_tax`. (See: [Generic Lines of Business List](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc), [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `line_of_business_list[].generic_code` (string, optional) Generic LOB code (InsCipher standard). - `line_of_business_list[].code` (string, optional) State/filing-specific LOB code. - `line_of_business_list[].fm_tax_title` (string, optional, nullable) Label for FM tax title (if any). Not returned for fire-premium states (New Jersey). - `line_of_business_list[].empa_tax_title` (string, optional, nullable) Label for EMPA tax title (if any). - `line_of_business_list[].id` (integer, optional, nullable) Unique identifier for the line of business. - `line_of_business_list[].fm_tax_percentage` (number, optional, nullable) Fire Marshal tax percentage (if applicable). Not returned for fire-premium states (New Jersey). - `state_properties` (object, optional) Object containing state-specific surplus lines requirements, including stamp wording, font rules, and rounding options. (See: [State Stamp Wording](https://lookerstudio.google.com/s/pruKt8r4i3Q)) - `state_properties.state_stamp_wording_text` (string, optional, nullable) Surplus lines disclosure wording required by the state. - `state_properties.state_stamp_wording_instructions` (string, optional, nullable) Instructions for how wording must be applied to the policy. - `state_properties.state_stamp_wording_font_size` (number, optional, nullable) Font size requirement for the state stamp wording. - `state_properties.state_stamp_wording_font_bold` (integer, optional, nullable, one of `0`, `1`) Bold formatting flag. - `state_properties.state_stamp_wording_font_italics` (integer, optional, nullable, one of `0`, `1`) Italics formatting flag. - `state_properties.state_stamp_wording_font_color` (string, optional, nullable) Font color for state stamp wording. - `state_properties.state_stamp_wording_type` (string, optional, nullable) Type of wording (e.g., "wording", "template"). - `state_properties.state_stamp_wording_updated_at` (string, optional, nullable, example `2025-09-09 14:30:00`) Timestamp of last update for wording rules (`YYYY-MM-DD HH:MM:SS`). - `mailing_state_properties` (object, optional, nullable) State-specific rules for mailing address (if different from risk state). - `mailing_state` (string, optional, nullable) Mailing state code echoed from request; `null` if not sent. - `super_agent` (object, optional, nullable) **OPTIONAL** Super agent identifier. - `super_agent.id` (integer, optional) Super agent ID. - `account_written_as` (string, optional) Brokerage = B or Direct to Client = DC. - `line_of_business` (string, optional) General line of business import codes. - `transaction_type` (string, optional) 2-letter transaction type code (e.g., PN = New Policy, PR = Renewal). (See: [Transaction Type mapping per State](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_hu3dx3gjqc)) - `premium` (number, optional) Policy premium amount. Not returned for fire-premium states (New Jersey); see `total_premium`. - `total_premium` (number, optional) Total policy premium amount. Returned only for fire-premium states (New Jersey), in place of `premium`. - `fire_premium` (number, optional, nullable) Fire premium amount. Returned only for fire-premium states (New Jersey). - `agency_fee` (number, optional) Agency Fee: all non-carrier underwriting fees (Broker, Agency, etc.). - `inspection_fee` (number, optional) Carrier/underwriting related fees (e.g., inspection). - `sl_tax` (number, optional) Surplus Lines tax amount. - `stamping_fee` (number, optional) Stamping fee amount. - `sl_service_charge` (number, optional) Surplus Lines service charge fee amount. **Louisiana (interim):** the Fire Marshal Fund Tax is returned here — with `sl_service_charge_title` = "Fire Marshal Fund Tax" — not under `fm_tax`, due to a temporary system limitation. This mapping will move to `fm_tax` in a future version, announced in advance. - `municipal_fee` (number, optional, nullable) Local government premium tax (LGPT). Applicable to KY only. - `county_fee` (number, optional, nullable) County tax fee (if applicable). KY only. - `fm_tax` (number, optional) Fire Marshal tax. For the **Louisiana** Fire Marshal Fund Tax, use `sl_service_charge` instead (interim). - `empa_tax` (number, optional) EMPA tax (Emergency Management Preparedness Act tax, state-specific). - `rpg` (integer, optional) Risk Purchasing Group indicator: 0 = No, 1 = Yes. - `physical_state` (string, optional) State code echoed from request. - `tax_exempt` (integer, optional) Tax-exempt status: 0 = No, 1 = Yes. - `export_list` (integer, optional, nullable) Export-list status: 0 = No, 1 = Yes. - `commission_received` (boolean, optional, nullable) Whether commission was received. - `collection_fee` (number, optional) Collection fee amount. - `continuous_coverage` (integer, optional) Continuous coverage indicator: 0 = No, 1 = Yes. - `physical_address` (string, optional, nullable) Risk-location address echoed from request (KY only). - `physical_city` (string, optional, nullable) Risk-location city echoed from request (KY only). - `physical_zip_code` (string, optional, nullable) Risk-location ZIP code echoed from request (KY only). - `premium_tax` (number, optional) Insurance premiums tax (KY admitted only). - `premium_tax_life` (number, optional) Insurance premiums tax for life-insurance companies (KY admitted only). - `tax_rule` (object, optional) Object describing all tax/fee rules and restrictions. - `tax_rule.is_sl_tax_active` (boolean, optional) Whether Surplus Lines Tax is active. - `tax_rule.sl_tax_amount_type` (integer, optional) Surplus Lines Tax type: 1 = Percentage, 2 = Fixed. Not returned when `is_multiple_calculations_active` is `true`; see `sl_tax_allocation`. - `tax_rule.sl_tax_amount` (number, optional) Surplus Lines Tax rate or fixed amount. Not returned when `is_multiple_calculations_active` is `true`; see `sl_tax_allocation`. - `tax_rule.sl_tax_amount_applies_to` (array of string, optional) What the Surplus Lines Tax applies to, as labels (e.g., `["Policy Premium"]`). Returned only for fire-premium states (New Jersey). - `tax_rule.is_sl_tax_input_manual` (boolean, optional) Can SL tax be manually entered? - `tax_rule.is_stamping_fee_active` (boolean, optional) Whether stamping fee is active. - `tax_rule.stamping_fee_amount_type` (integer, optional) Stamping Fee type: 1 = Percentage, 2 = Fixed. - `tax_rule.stamping_fee_amount` (number, optional) Stamping Fee rate or fixed amount. - `tax_rule.is_stamping_fee_input_manual` (boolean, optional) Can stamping fee be manually entered? - `tax_rule.exclude_stamping_fee_when_negative_premium` (boolean, optional) Exclude stamping fee if premium is negative. - `tax_rule.is_sl_service_charge_active` (boolean, optional) Whether Service Charge is active. - `tax_rule.sl_service_charge_amount_type` (integer, optional) Service Charge type: 1 = Percentage, 2 = Fixed. - `tax_rule.sl_service_charge_amount` (number, optional) Service Charge rate or fixed amount. - `tax_rule.is_sl_service_charge_input_manual` (boolean, optional) Can Service Charge be manually entered? - `tax_rule.is_municipal_fee_active` (boolean, optional) Whether municipal fee is active. - `tax_rule.municipal_fee_amount_type` (integer, optional) Municipal Fee type: 1 = Percentage, 2 = Fixed. - `tax_rule.municipal_fee_amount` (number, optional) Municipal fee rate or fixed amount. - `tax_rule.is_municipal_fee_input_manual` (boolean, optional) Can municipal fee be manually entered? - `tax_rule.fee_restrictions` (boolean, optional) Are there fee restrictions? - `tax_rule.fee_restriction_amount_fixed_active` (boolean, optional) Is a fixed fee restriction active? - `tax_rule.fee_restriction_amount_fixed` (number, optional, nullable) Fixed fee restriction value (if active). - `tax_rule.fee_restriction_amount_percentage_active` (boolean, optional) Is a percentage fee restriction active? - `tax_rule.fee_restriction_amount_percentage` (number, optional, nullable) Percentage restriction value (if active). - `tax_rule.max_fee` (boolean, optional) Is there a max fee rule? - `tax_rule.max_fee_amount_type` (integer, optional) Max Fee Type: 1 = Percentage, 2 = Fixed. - `tax_rule.max_fee_amount` (number, optional, nullable) Max fee value (depending on type). - `tax_rule.fee_restriction_apply_to` (array of integer, optional) Fee restriction applies to (array of fee codes). - `tax_rule.fee_restriction_apply_from` (array of integer, optional) Fee restriction applies from (array of fee codes). - `tax_rule.both_fees_allowed` (boolean, optional) Whether multiple fees are allowed. - `tax_rule.ask_if_commission_received` (boolean, optional) Whether to ask if commission is received. - `tax_rule.zero_agency_fee_if_commission_received` (boolean, optional) Force agency fee = 0 if commission is received. - `tax_rule.round_up_taxes_to_the_nearest_dollar` (boolean, optional) Round up taxes to nearest dollar. - `tax_rule.round_taxes_to_the_nearest_dollar` (boolean, optional) Round taxes to nearest dollar. - `tax_rule.round_up_premium_to_the_nearest_dollar` (boolean, optional) Round up premium to nearest dollar. - `tax_rule.round_premium_to_the_nearest_dollar` (boolean, optional) Round premium to nearest dollar. - `tax_rule.round_up_fees_to_the_nearest_dollar` (boolean, optional) Round up fees to nearest dollar. - `tax_rule.round_fees_to_the_nearest_dollar` (boolean, optional) Round fees to nearest dollar. - `tax_rule.sl_tax_title` (string, optional, nullable) Surplus Lines Tax label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.sl_service_charge_title` (string, optional, nullable) Service Charge Fee label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.stamping_fee_title` (string, optional, nullable) Stamping Fee label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.municipal_fee_title` (string, optional, nullable) Municipal Fee label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.is_multiple_calculations_active` (boolean, optional) Whether multiple tax calculation rules apply to this transaction (e.g., separate calculations for fire and non-fire premium in New Jersey). When `true`, see `sl_tax_allocation` for the rule sets. Returned only for fire-premium states (New Jersey). - `tax_rule.sl_tax_allocation` (array of object, optional) SL tax rule sets used when multiple calculations are active (e.g., New Jersey fire vs. non-fire premium split), one per part of the premium. Returned only for fire-premium states (New Jersey). - `tax_rule.sl_tax_allocation[].sl_tax_apply_to` (array of string, optional) What this SL Tax rule set applies to, as labels (e.g., `["Fire Premium"]`). - `tax_rule.sl_tax_allocation[].sl_tax_amount_type` (integer, optional) SL Tax type: 1 = Percentage, 2 = Fixed. - `tax_rule.sl_tax_allocation[].sl_tax_amount` (number, optional) SL Tax rate or fixed amount. - `tax_rule.fm_tax` (object, optional) Fire Marshal tax rule details. Returned only for fire-premium states (New Jersey); other states return `fm_tax_percentage` and `fm_tax_title` on `line_of_business_list[]` items. - `tax_rule.fm_tax.is_fire_tax_based_on_fire_premium_active` (boolean, optional) Whether the state calculates Fire Marshal tax based on `fire_premium` rather than total premium. - `tax_rule.fm_tax.fm_tax_title` (string, optional, nullable) Display label for the Fire Marshal tax. (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.fm_tax.fm_tax_amount_type` (integer, optional) FM Tax type: always `1` (Percentage). - `tax_rule.fm_tax.fm_tax_amount` (number, optional) FM Tax rate as a percentage (`3` = 3%). - `tax_rule.fm_tax.fm_tax_amount_applies_to` (array of string, optional) What the FM tax applies to, as labels (e.g., `["Fire Premium"]`). - `tax_rule.state_notes` (array of object, optional) State-specific notes to assist in quoting/binding. - `tax_rule.state_notes[].note_type_data` (object, optional) Object describing the note's type. - `tax_rule.state_notes[].note_type_data.id` (integer, optional) - `tax_rule.state_notes[].note_type_data.label` (string, optional) - `tax_rule.state_notes[].notification_type_data` (object, optional) Object describing notification severity. - `tax_rule.state_notes[].notification_type_data.id` (integer, optional) - `tax_rule.state_notes[].notification_type_data.label` (string, optional) Label of the notification type (e.g., Info, Warning). - `tax_rule.state_notes[].note_type` (integer, optional) Numeric code of the note type. - `tax_rule.state_notes[].note` (string, optional) The note body (often HTML). - `tax_rule.state_notes[].instructions` (string, optional, nullable) Extra instructions (optional). - `tax_rule.state_notes[].font_size` (number, optional, nullable) Suggested font size (optional). - `tax_rule.state_notes[].color` (string, optional, nullable) Suggested font color (optional). - `tax_rule.state_notes[].bold` (integer, optional, nullable, one of `0`, `1`) Bold flag. - `tax_rule.state_notes[].italic` (integer, optional, nullable, one of `0`, `1`) Italic flag. - `tax_rule.state_documents` (array of object, optional) State-required documents. Each entry defines name, code, notes, etc. (See: [Document Requirements](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_otc1uchjqc)) - `tax_rule.state_documents[].id` (integer, optional) Document ID. - `tax_rule.state_documents[].name` (string, optional) Document name. - `tax_rule.state_documents[].code` (string, optional) Document code. - `tax_rule.state_documents[].document_note` (string, optional, nullable) Document-specific notes. - `tax_rule.state_documents[].document_download_link` (string, optional, nullable) One-time URL to download document. Available for 1 minute once returned. - `tax_rule.state_documents[].upload_required` (boolean, optional) Whether upload is required. - `tax_rule.state_documents[].transaction_types` (array of object, optional) Array of applicable transaction types. - `tax_rule.state_documents[].transaction_types[].name` (string, optional) Transaction type name. - `tax_rule.state_documents[].transaction_types[].short_code` (string, optional) 2-letter transaction type code. - `tax_rule.state_documents[].last_edited_at` (string, date, optional, nullable) Last edited date (`YYYY-MM-DD`). - `tax_rule.state_documents[].date_active_from` (string, date, optional, nullable) Start date active. - `tax_rule.state_documents[].date_active_to` (string, date, optional, nullable) End date active. - `tax_rule.state_documents[].document_group` (string, optional) Document group/category. - `tax_rule.state_documents[].rpg` (integer, optional) RPG applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].ecp` (integer, optional) ECP applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].exempt` (integer, optional) Tax Exempt applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].export_list` (integer, optional) Export List applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].required_for_filing` (boolean, optional) Whether required for filing. - `tax_rule.state_documents[].required_for_binding` (boolean, optional) Whether required for binding. - `tax_rule.state_documents[].include_with_policy` (boolean, optional) Should be included with policy. - `tax_rule.state_documents[].include_in_diligent_effort` (boolean, optional) Should be included in diligent effort docs. - `tax_rule.state_documents[].keep_on_hand` (boolean, optional) Should be kept on file. - `tax_rule.state_documents[].signature_requirements` (string, optional) Who must sign (e.g., Insured, Broker, Agent). - `tax_rule.state_documents[].pdf_cipher_document` (object, optional) PDF form linked to this document. Each key is `null` when no form is linked. - `tax_rule.state_documents[].pdf_cipher_document.uuid` (string, optional, nullable) Form ID. - `tax_rule.state_documents[].pdf_cipher_document.properties` (array of any, optional, nullable) Form properties. - `tax_rule.state_documents[].pdf_cipher_document.errors` (array of any, optional, nullable) Form errors. - `municipal_tax_settings` (array of object, optional, nullable) Collection of municipal tax settings (KY only). - `municipal_tax_settings[].municipal_tax_setting` (object, optional) Municipal tax setting details. - `municipal_tax_settings[].municipal_tax_setting.municipality_name` (string, optional) Municipality name (KY only). - `municipal_tax_settings[].municipal_tax_setting.municipality_code` (string, optional, nullable) Municipality code (KY only). - `municipal_tax_settings[].municipal_tax_setting.line_category` (string, optional) Municipal-level line category (KY only). - `county_tax_settings` (object, optional, nullable) County tax setting for the address (KY only). `null` when no county tax applies. With `admitted: 1` the object carries `county_name` and `line_category` instead, and `county_name` is `*No County Found` when the address is in no taxable county. - `county_tax_settings.municipality_name` (string, optional, nullable) Name of the county (KY only). - `county_tax_settings.municipality_code` (string, optional, nullable) County code (KY only). - `county_tax_settings.county_name` (string, optional, nullable) Name of the county. Returned with `admitted: 1` only. - `county_tax_settings.line_category` (string, optional, nullable) County-level line category (KY only). **400** — Bad Request — the request failed validation or could not be processed. Validation failures return `errors`, a list of messages; other failures return `error`, a single message. An unexpected error returns a plain-text body, sent with `Content-Type: application/json`. Body: - option 1 of 3: object - `errors` (array of string, optional) - option 2 of 3: object - `error` (string, optional) - option 3 of 3: string **401** — Unauthorized — the API key is valid, but the Tax Calculator API is not enabled for the account. Body: - `error` (string, optional, example `Unauthorized access`) - `message` (string, optional, example `Insufficient permissions to access this API endpoint`) - `status` (integer, optional, example `401`) **403** — Forbidden — the API key is missing or invalid. The body is plain text, sent with `Content-Type: application/json`. **422** — Unprocessable Entity — no tax rule matches the request, or the request could not be read as a transaction. Body: - `message` (string, optional) `Unable to find tax rule` or `Unable to parse transaction from request`. - `error` (string, optional) Returned with `Unable to parse transaction from request` only. ### Tax Calculations (POST) — version general (unversioned URL) (released) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/tax-calculator/calculate-general-taxes` | POST | | **Production** | `https://surpluslines.inscipher.com/api/tax-calculator/calculate-general-taxes` | POST | #### Field reference — Tax Calculator API OpenAPI 3.0.0: https://developer.inscipher.com/openapi/tax-calculator.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/tax-calculator/calculate-general-taxes Tax Calculator API ###### Request body **How to use this request** **If you only want tax calculations:** Use **Required** + **Recommended** fields. **If you want Kentucky‑specific behavior:** Also include fields from the **Kentucky Specific Fields** section. **If you want document handling:** Also include fields from the **Documents** section. You can safely ignore any section you don't need. --- **Minimum Fields for Tax Calculation** Required inputs to perform a tax calculation. Enter values below to build a mock request; the **REQUEST** panel on the right updates as you type. Content type: `application/json` - `physical_state` (string, required, max length 2, pattern `^[A-Z]{2}$`) 🟥 **REQUIRED** Physical state 2-letter code where the risk is located (e.g., `KY`). For a risk in more than one state, send the insured's home state: where the insured has its principal place of business (principal residence for an individual) if the policy covers a risk there, otherwise the state with the greatest share of the taxable premium. See [What is a home state?](https://www.inscipher.com/blog/what-is-a-home-state) - `transaction_type` (string, optional, max length 5, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BO`, `BD`) **RECOMMENDED** 2-letter transaction type code (e.g., `PN` = New Policy, `PR` = Renewal). Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_hu3dx3gjqc)** to map your codes. **SHOW ALL TRANSACTION TYPES AND DETAILS** | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BO | Back-out / Reversal | Correction of a filing error. | | BD | Binder | Temporary proof of coverage. | - `transaction_line_of_business_list` (string, required) 🟥 **REQUIRED** This is an InsCipher-specific import code. We recommend using the **Generic Import codes**; state-specific codes may also be used. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc)** to map your codes. **Use Cases:** **Single LOB:** `GEN-1001` **Multiple LOB / package policies:** `GEN-1010 | GEN-2000` (pipe `|` delimited; spaces optional). Because line-of-business requirements vary by state, we recommend sending a LOB breakdown for package policies when available. If a state only allows a single LOB, InsCipher selects the coverage with the **highest premium**. - `transaction_line_of_business_coverage` (string, required) 🟥 **REQUIRED** Premium breakout (rounded to the nearest cent) **without** the dollar sign. **Use Cases:** **Single LOB:** `200.27` **Multiple LOB / package policies:** `300 | 1250.50 | 500` (pipe `|` delimited, in the **same order** as `transaction_line_of_business_list`; spaces optional). - `agency_fee` (number, float, optional) **CONDITIONAL** — Required when `admitted` is `1`. Total of all non-carrier underwriting fees (e.g., broker or agency fees). Defaults to `0` if omitted. Which fees each state taxes or restricts: [Taxable Fees](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_f7qdebf6sd), [Fee Restrictions](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_tz4ybpmhzc). - `inspection_fee` (number, float, optional) **CONDITIONAL** — Required when `admitted` is `1`. Fees from the carrier or underwriting process (e.g., inspections, protection lookup). Defaults to `0` if omitted. Which fees each state taxes or restricts: [Taxable Fees](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_f7qdebf6sd), [Fee Restrictions](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_tz4ybpmhzc). - `line_of_business` (string, optional, nullable, deprecated, example `GEN-1001`) **[DON'T USE - TO BE DEPRECATED]** Single InsCipher line of business import code. Optional. NOTE: This is a legacy field; we recommend using `transaction_line_of_business_list` instead. Single LOB only (one code per request). - `premium` (number, float, optional, deprecated, example `700.32`) **[DON'T USE - TO BE DEPRECATED]** Total policy premium amount. Optional. NOTE: This is a legacy field; we recommend using `transaction_line_of_business_coverage` instead. Single premium amount only (one value per request). - `rpg` (integer, optional, one of `0`, `1`, default `0`, example `0`) **RECOMMENDED** Risk Purchasing Group indicator: `0` = No, `1` = Yes. Defaults to `0`. - `policy_effective_date` (string, date, optional, example `2026-02-18`) **RECOMMENDED** Policy effective date (`YYYY-MM-DD`). Used by calculator logic to determine active tax/fee rules. If omitted, InsCipher uses the date the request is submitted. - `transaction_effective_date` (string, date, optional, example `2025-01-15`) **RECOMMENDED** Transaction effective date (`YYYY-MM-DD`). For endorsements, this is the endorsement date. For New/Renewal policies, this equals the Policy Effective Date. If omitted, today's date is used as the transaction effective date. - `mailing_entity_type` (string, optional, default `"commercial"`, example `commercial`) **RECOMMENDED** Insured entity type (e.g., `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`). Insured entity types are used for states that may consider certain entity types tax exempt. Currently only applies to a few states. Use our **[mapping packet](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_0udhhnp5qd)** to map your codes. - `commission_received` (integer, optional, default `0`, example `0`) **RECOMMENDED** Indicator if commission was received: `0` = No, `1` = Yes. Only applicable in the state of New Hampshire. If the commission is received, policy fees cannot be charged (use for calculating fee restrictions). If omitted, the default value is `0`. - `layered_risk` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** Layered-risk flag: `0` = No, `1` = Yes. Defaults to `0`. May affect fees. - `broker_of_record_change` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** Broker-of-record change indicator: `0` = No, `1` = Yes. Defaults to `0`. - `risk_retention_group` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** Risk Retention Group flag: `0` = No, `1` = Yes. Defaults to `0`. - `admitted` (integer, optional, one of `0`, `1`, default `0`, example `0`) **CONDITIONAL** — Kentucky only. Controls whether to return non-admitted (default) or admitted tax calculations. Use `0` (default) for non-admitted market transactions, or `1` for admitted — applicable to Kentucky only. - `physical_address` (string, optional, nullable, example `123 Main St`) **CONDITIONAL** — Required when `physical_state` is `KY`. Street address of insured/risk location. No PO Boxes unless specifically allowed by the configuration. - `physical_city` (string, optional, nullable, example `Frankfort`) **CONDITIONAL** — Required when `physical_state` is `KY`. City of insured/risk location. - `physical_zip_code` (string, optional, nullable, example `40601`) **CONDITIONAL** — Required when `physical_state` is `KY`. ZIP code of insured/risk location. - `account_written_as` (string, optional, one of `B`, `DC`, example `B`) **OPTIONAL** — Affects document selection. Indicates whether the policy is written: `B` = Brokerage or `DC` = Direct to Client. Use `B` if you sell through a retail agent. Use `DC` if the policy is sold directly to the insured. If omitted, `B` is used. - `tax_exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) **CONDITIONAL** — Required for Utah. In Utah it affects which documents are returned. In other states it can change the amounts: in Kentucky, `1` applies the tax-exempt rule, which sets the stamping fee to 0 and leaves the other taxes unchanged. Tax Exempt indicator: `0` = No, `1` = Yes. Defaults to `0`. Unless you know that the insured/entity is Tax Exempt, set the value to `0` or leave it blank (the system defaults to `0`). Currently required only for the state of Utah. - `ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) **OPTIONAL** — Affects document selection. Exempt Commercial Purchaser indicator: `0` = No, `1` = Yes. Defaults to `0`. Unless you know what this is, set this value to `0`. - `export_list` (integer, optional, deprecated, default `0`, example `0`) **[DON'T USE - TO BE DEPRECATED]** Export List indicator: `0` = No (Default), `1` = Yes. Use this when the coverage is on the state's Export List. Example request: ```json { "physical_state": "TX", "transaction_type": "PN", "transaction_line_of_business_list": "GEN-1014 | GEN-1020 | GEN-1030", "transaction_line_of_business_coverage": "220.14 | 800 | 1921.42", "agency_fee": 90, "inspection_fee": 100.25, "rpg": 0, "policy_effective_date": "2026-02-23", "transaction_effective_date": "2026-02-23", "mailing_entity_type": "commercial", "commission_received": 0 } ``` ###### Responses **200** — Success: Returns tax calculations and document requirements. **How to consume this response** This endpoint can return **tax totals**, **state rules/stamp wording**, and **document requirements** in a single response. Which parts you consume depends on your integration needs: **Tax-only integrations:** focus on the top-level policy/transaction fields you need for reconciliation, plus the **tax totals** (e.g., surplus lines tax, stamping fee, municipal/county fees, etc.). For tax-line details (titles/rates/amount logic), use the `tax_rule` section (titles, amount types, percentages, and calculated amounts). **Document workflows:** use the documents portion of the response (see `tax_rule.state_documents`) to determine required documents, notes, and any download links. **State rules / stamp wording:** use `state_properties` for stamp wording text/instructions, and `tax_rule.state_notes` / `tax_rule.state_documents` when you need state guidance, filing rules, and required forms. Body: - `line_of_business_list` (array of object, optional) Array of LOB objects: `id`, `fm_tax_percentage`, `generic_code`, `code`, `fm_tax_title`, `empa_tax_title`. (See: [Generic Lines of Business List](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_4q66kh8crc), [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `line_of_business_list[].generic_code` (string, optional) Generic LOB code (InsCipher standard). - `line_of_business_list[].code` (string, optional) State/filing-specific LOB code. - `line_of_business_list[].fm_tax_title` (string, optional, nullable) Label for FM tax title (if any). - `line_of_business_list[].empa_tax_title` (string, optional, nullable) Label for EMPA tax title (if any). - `line_of_business_list[].id` (integer, optional, nullable) Unique identifier for the line of business. - `line_of_business_list[].fm_tax_percentage` (number, optional, nullable) Fire Marshal tax percentage (if applicable). - `state_properties` (object, optional) Object containing state-specific surplus lines requirements, including stamp wording, font rules, and rounding options. (See: [State Stamp Wording](https://lookerstudio.google.com/s/pruKt8r4i3Q)) - `state_properties.state_stamp_wording_text` (string, optional, nullable) Surplus lines disclosure wording required by the state. - `state_properties.state_stamp_wording_instructions` (string, optional, nullable) Instructions for how wording must be applied to the policy. - `state_properties.state_stamp_wording_font_size` (number, optional, nullable) Font size requirement for the state stamp wording. - `state_properties.state_stamp_wording_font_bold` (integer, optional, nullable, one of `0`, `1`) Bold formatting flag. - `state_properties.state_stamp_wording_font_italics` (integer, optional, nullable, one of `0`, `1`) Italics formatting flag. - `state_properties.state_stamp_wording_font_color` (string, optional, nullable) Font color for state stamp wording. - `state_properties.state_stamp_wording_type` (string, optional, nullable) Type of wording (e.g., "wording", "template"). - `state_properties.state_stamp_wording_updated_at` (string, optional, nullable, example `2025-09-09 14:30:00`) Timestamp of last update for wording rules (`YYYY-MM-DD HH:MM:SS`). - `mailing_state_properties` (object, optional, nullable) State-specific rules for mailing address (if different from risk state). - `account_written_as` (string, optional) Brokerage = B or Direct to Client = DC. - `line_of_business` (string, optional) General line of business import codes. - `transaction_type` (string, optional) 2-letter transaction type code (e.g., PN = New Policy, PR = Renewal). (See: [Transaction Type mapping per State](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_hu3dx3gjqc)) - `premium` (number, optional) Policy premium amount. - `agency_fee` (number, optional) Agency Fee: all non-carrier underwriting fees (Broker, Agency, etc.). - `inspection_fee` (number, optional) Carrier/underwriting related fees (e.g., inspection). - `sl_tax` (number, optional) Surplus Lines tax amount. - `stamping_fee` (number, optional) Stamping fee amount. - `sl_service_charge` (number, optional) Surplus Lines service charge fee amount. - `municipal_fee` (number, optional, nullable) Local government premium tax (LGPT). Applicable to KY only. - `county_fee` (number, optional, nullable) County tax fee (if applicable). KY only. - `fm_tax` (number, optional) Fire Marshal tax. - `empa_tax` (number, optional) EMPA tax (Emergency Management Preparedness Act tax, state-specific). - `rpg` (integer, optional) Risk Purchasing Group indicator: 0 = No, 1 = Yes. - `physical_state` (string, optional) State code echoed from request. - `tax_exempt` (integer, optional) Tax-exempt status: 0 = No, 1 = Yes. - `export_list` (integer, optional, nullable) Export-list status: 0 = No, 1 = Yes. - `commission_received` (boolean, optional, nullable) Whether commission was received. - `collection_fee` (number, optional) Collection fee amount. - `continuous_coverage` (integer, optional) Continuous coverage indicator: 0 = No, 1 = Yes. - `physical_address` (string, optional, nullable) Risk-location address echoed from request (KY only). - `physical_city` (string, optional, nullable) Risk-location city echoed from request (KY only). - `physical_zip_code` (string, optional, nullable) Risk-location ZIP code echoed from request (KY only). - `premium_tax` (number, optional) Insurance premiums tax (KY admitted only). - `premium_tax_life` (number, optional) Insurance premiums tax for life-insurance companies (KY admitted only). - `tax_rule` (object, optional) Object describing all tax/fee rules and restrictions. - `tax_rule.is_sl_tax_active` (boolean, optional) Whether Surplus Lines Tax is active. - `tax_rule.sl_tax_amount_type` (integer, optional) Surplus Lines Tax type: 1 = Percentage, 2 = Fixed. - `tax_rule.sl_tax_amount` (number, optional) Surplus Lines Tax rate or fixed amount. - `tax_rule.is_sl_tax_input_manual` (boolean, optional) Can SL tax be manually entered? - `tax_rule.is_stamping_fee_active` (boolean, optional) Whether stamping fee is active. - `tax_rule.stamping_fee_amount_type` (integer, optional) Stamping Fee type: 1 = Percentage, 2 = Fixed. - `tax_rule.stamping_fee_amount` (number, optional) Stamping Fee rate or fixed amount. - `tax_rule.is_stamping_fee_input_manual` (boolean, optional) Can stamping fee be manually entered? - `tax_rule.exclude_stamping_fee_when_negative_premium` (boolean, optional) Exclude stamping fee if premium is negative. - `tax_rule.is_sl_service_charge_active` (boolean, optional) Whether Service Charge is active. - `tax_rule.sl_service_charge_amount_type` (integer, optional) Service Charge type: 1 = Percentage, 2 = Fixed. - `tax_rule.sl_service_charge_amount` (number, optional) Service Charge rate or fixed amount. - `tax_rule.is_sl_service_charge_input_manual` (boolean, optional) Can Service Charge be manually entered? - `tax_rule.is_municipal_fee_active` (boolean, optional) Whether municipal fee is active. - `tax_rule.municipal_fee_amount_type` (integer, optional) Municipal Fee type: 1 = Percentage, 2 = Fixed. - `tax_rule.municipal_fee_amount` (number, optional) Municipal fee rate or fixed amount. - `tax_rule.is_municipal_fee_input_manual` (boolean, optional) Can municipal fee be manually entered? - `tax_rule.fee_restrictions` (boolean, optional) Are there fee restrictions? - `tax_rule.fee_restriction_amount_fixed_active` (boolean, optional) Is a fixed fee restriction active? - `tax_rule.fee_restriction_amount_fixed` (number, optional, nullable) Fixed fee restriction value (if active). - `tax_rule.fee_restriction_amount_percentage_active` (boolean, optional) Is a percentage fee restriction active? - `tax_rule.fee_restriction_amount_percentage` (number, optional, nullable) Percentage restriction value (if active). - `tax_rule.max_fee` (boolean, optional) Is there a max fee rule? - `tax_rule.max_fee_amount_type` (integer, optional) Max Fee Type: 1 = Percentage, 2 = Fixed. - `tax_rule.max_fee_amount` (number, optional, nullable) Max fee value (depending on type). - `tax_rule.fee_restriction_apply_to` (array of integer, optional) Fee restriction applies to (array of fee codes). - `tax_rule.fee_restriction_apply_from` (array of integer, optional) Fee restriction applies from (array of fee codes). - `tax_rule.both_fees_allowed` (boolean, optional) Whether multiple fees are allowed. - `tax_rule.ask_if_commission_received` (boolean, optional) Whether to ask if commission is received. - `tax_rule.zero_agency_fee_if_commission_received` (boolean, optional) Force agency fee = 0 if commission is received. - `tax_rule.round_up_taxes_to_the_nearest_dollar` (boolean, optional) Round up taxes to nearest dollar. - `tax_rule.round_taxes_to_the_nearest_dollar` (boolean, optional) Round taxes to nearest dollar. - `tax_rule.round_up_premium_to_the_nearest_dollar` (boolean, optional) Round up premium to nearest dollar. - `tax_rule.round_premium_to_the_nearest_dollar` (boolean, optional) Round premium to nearest dollar. - `tax_rule.round_up_fees_to_the_nearest_dollar` (boolean, optional) Round up fees to nearest dollar. - `tax_rule.round_fees_to_the_nearest_dollar` (boolean, optional) Round fees to nearest dollar. - `tax_rule.sl_tax_title` (string, optional, nullable) Surplus Lines Tax label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.sl_service_charge_title` (string, optional, nullable) Service Charge Fee label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.stamping_fee_title` (string, optional, nullable) Stamping Fee label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.municipal_fee_title` (string, optional, nullable) Municipal Fee label (UI title). (See: [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_xv4ud8gjqc)) - `tax_rule.state_notes` (array of object, optional) State-specific notes to assist in quoting/binding. - `tax_rule.state_notes[].note_type_data` (object, optional) Object describing the note's type. - `tax_rule.state_notes[].note_type_data.id` (integer, optional) - `tax_rule.state_notes[].note_type_data.label` (string, optional) - `tax_rule.state_notes[].notification_type_data` (object, optional) Object describing notification severity. - `tax_rule.state_notes[].notification_type_data.id` (integer, optional) - `tax_rule.state_notes[].notification_type_data.label` (string, optional) Label of the notification type (e.g., Info, Warning). - `tax_rule.state_notes[].note_type` (integer, optional) Numeric code of the note type. - `tax_rule.state_notes[].note` (string, optional) The note body (often HTML). - `tax_rule.state_notes[].instructions` (string, optional, nullable) Extra instructions (optional). - `tax_rule.state_notes[].font_size` (number, optional, nullable) Suggested font size (optional). - `tax_rule.state_notes[].color` (string, optional, nullable) Suggested font color (optional). - `tax_rule.state_notes[].bold` (integer, optional, nullable, one of `0`, `1`) Bold flag. - `tax_rule.state_notes[].italic` (integer, optional, nullable, one of `0`, `1`) Italic flag. - `tax_rule.state_documents` (array of object, optional) State-required documents. Each entry defines name, code, notes, etc. (See: [Document Requirements](https://lookerstudio.google.com/u/0/reporting/f3c07407-ee34-4ec9-8a4a-f90b1d585e6b/page/p_otc1uchjqc)) - `tax_rule.state_documents[].name` (string, optional) Document name. - `tax_rule.state_documents[].code` (string, optional) Document code. - `tax_rule.state_documents[].document_note` (string, optional, nullable) Document-specific notes. - `tax_rule.state_documents[].document_download_link` (string, optional, nullable) One-time URL to download document. Available for 1 minute once returned. - `tax_rule.state_documents[].upload_required` (boolean, optional) Whether upload is required. - `tax_rule.state_documents[].transaction_types` (array of object, optional) Array of applicable transaction types. - `tax_rule.state_documents[].transaction_types[].name` (string, optional) Transaction type name. - `tax_rule.state_documents[].transaction_types[].short_code` (string, optional) 2-letter transaction type code. - `tax_rule.state_documents[].last_edited_at` (string, date, optional, nullable) Last edited date (`YYYY-MM-DD`). - `tax_rule.state_documents[].date_active_from` (string, date, optional, nullable) Start date active. - `tax_rule.state_documents[].date_active_to` (string, date, optional, nullable) End date active. - `tax_rule.state_documents[].document_group` (string, optional) Document group/category. - `tax_rule.state_documents[].rpg` (integer, optional) RPG applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].ecp` (integer, optional) ECP applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].exempt` (integer, optional) Tax Exempt applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].export_list` (integer, optional) Export List applicability: 0 = No, 1 = Yes, 2 = Both. - `tax_rule.state_documents[].required_for_filing` (boolean, optional) Whether required for filing. - `tax_rule.state_documents[].required_for_binding` (boolean, optional) Whether required for binding. - `tax_rule.state_documents[].include_with_policy` (boolean, optional) Should be included with policy. - `tax_rule.state_documents[].include_in_diligent_effort` (boolean, optional) Should be included in diligent effort docs. - `tax_rule.state_documents[].keep_on_hand` (boolean, optional) Should be kept on file. - `tax_rule.state_documents[].signature_requirements` (string, optional) Who must sign (e.g., Insured, Broker, Agent). - `municipal_tax_settings` (array of object, optional, nullable) Collection of municipal tax settings (KY only). - `municipal_tax_settings[].municipal_tax_setting` (object, optional) Municipal tax setting details. - `municipal_tax_settings[].municipal_tax_setting.municipality_name` (string, optional) Municipality name (KY only). - `municipal_tax_settings[].municipal_tax_setting.line_category` (string, optional) Municipal-level line category (KY only). - `county_tax_settings` (object, optional, nullable) County tax setting for the address (KY only). `null` when no county tax applies. With `admitted: 1` the object carries `county_name` and `line_category` instead, and `county_name` is `*No County Found` when the address is in no taxable county. - `county_tax_settings.municipality_name` (string, optional, nullable) Name of the county (KY only). - `county_tax_settings.county_name` (string, optional, nullable) Name of the county. Returned with `admitted: 1` only. - `county_tax_settings.line_category` (string, optional, nullable) County-level line category (KY only). **400** — Bad Request — the request failed validation or could not be processed. Validation failures return `errors`, a list of messages; other failures return `error`, a single message. An unexpected error returns a plain-text body, sent with `Content-Type: application/json`. Body: - option 1 of 3: object - `errors` (array of string, optional) - option 2 of 3: object - `error` (string, optional) - option 3 of 3: string **401** — Unauthorized — the API key is valid, but the Tax Calculator API is not enabled for the account. Body: - `error` (string, optional, example `Unauthorized access`) - `message` (string, optional, example `Insufficient permissions to access this API endpoint`) - `status` (integer, optional, example `401`) **403** — Forbidden — the API key is missing or invalid. The body is plain text, sent with `Content-Type: application/json`. **422** — Unprocessable Entity — no tax rule matches the request, or the request could not be read as a transaction. Body: - `message` (string, optional) `Unable to find tax rule` or `Unable to parse transaction from request`. - `error` (string, optional) Returned with `Unable to parse transaction from request` only. ## Transaction Search (POST) URL: https://developer.inscipher.com/api/transaction-search The Transaction Search API retrieves policy transactions previously imported into InsCipher. Results are filtered by optional request parameters and returned in paginated pages. - [Endpoint](#endpoint) - [How It Works](#how-it-works) - [How to Use This Request](#how-to-use-this-request) ### Endpoint :::warning All API requests must be made over HTTPS and must include a valid API key in the `apikey` request header. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: ### How It Works --- ### Transaction Search (POST) — version v1.1 (released; default on the page) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v1.1/search-transactions` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v1.1/search-transactions` | POST | #### Filters All request body filters are optional. Omitting the body entirely (or sending an empty object) returns all transactions for the agency, paginated. When multiple filters are provided, they are combined with logical AND. **Date filters.** `date_filed`, `policy_effective_date` and `transaction_effective_date` each accept a `from` date, a `to` date, or both: | Filter form | Behavior | |---|---| | `from` only | Returns transactions from that date forward | | `to` only | Returns transactions up to and including that date | | Both `from` and `to` | Returns transactions within the range (inclusive) | **Status and state filters.** | Filter | Behavior | |---|---| | `status` | Returns transactions in one lifecycle status. For agent accounts, `8` (Ready to File) can also return transactions in `10` (In E-File Queue) | | `transaction_sub_status` | Returns transactions in one sub-status. A sub-status implies its parent status, so `status` is not needed alongside it | | `insured_physical_state` | Returns transactions whose insured physical state is any of the listed two-letter codes, e.g. `["CA", "TX"]`. Codes are case-insensitive | Each filter takes the same codes returned in the transaction's `transaction_status`, `transaction_sub_status` and `insured_physical_state` fields — see the reference below for the values. :::note If `status` and `transaction_sub_status` contradict each other (for example `status: 4` with `transaction_sub_status: 13`), the request is accepted and returns no transactions. An unknown field, an unknown status, sub-status or state code, a `from` date later than `to`, or a `page` that is not a positive integer is rejected with HTTP 422. ::: #### Pagination Each page returns up to 100 transactions. Use the `page` query parameter to navigate pages (e.g., `?page=2`). The default is page 1. The response includes a `pagination` object with the following fields: | Field | Description | |---|---| | `total` | Total number of matching transactions across all pages | | `per_page` | Transactions per page — fixed at 100 | | `page` | Current page number (1-based) | | `pages` | Total number of available pages | | `next` | Relative URL for the next page, including the `/api` prefix (e.g. `/api/v1.1/search-transactions.json?page=2`) — **omitted entirely** on the last page | To retrieve all results, follow `pagination.next` on each response until the field is absent. **Upgrading from v1?** See the [Transaction Search v1.1 changelog](https://developer.inscipher.com/changelog/transaction-search-v1-1) for the full list of request, response, and error-handling changes. #### Field reference — InsCipher Transaction Search API OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-search-v1-1.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. The header form (`apikey`) is preferred. The query-string form (`?apikey=...`) is also accepted, unless your account is configured to require the header — then a query-string key is rejected with HTTP 401. ##### POST /api/v1.1/search-transactions Transaction Search V1.1 ###### Parameters - `page` (query, integer, optional, minimum 1, default `1`) Page number for pagination, starting from 1. Each page returns up to 100 transactions. Use the `pagination.next` URL from the previous response to traverse all pages. ###### Request body Content type: `application/json` - `date_filed` (object, optional) Filter by the date the policy was filed. - `date_filed.from` (string, date, optional, nullable, example `2024-01-30`) Start of the date range. Format: `YYYY-MM-DD`. - `date_filed.to` (string, date, optional, nullable, example `2025-06-01`) End of the date range. Format: `YYYY-MM-DD`. - `policy_effective_date` (object, optional) Filter by policy effective date. - `policy_effective_date.from` (string, date, optional, nullable, example `2024-01-30`) Start of the date range. Format: `YYYY-MM-DD`. - `policy_effective_date.to` (string, date, optional, nullable, example `2025-06-01`) End of the date range. Format: `YYYY-MM-DD`. - `transaction_effective_date` (object, optional) Filter by transaction effective date. For new and renewal policies this matches the policy effective date; for endorsements it is the endorsement effective date. - `transaction_effective_date.from` (string, date, optional, nullable, example `2024-01-30`) Start of the date range. Format: `YYYY-MM-DD`. - `transaction_effective_date.to` (string, date, optional, nullable, example `2025-06-01`) End of the date range. Format: `YYYY-MM-DD`. - `status` (integer, optional, nullable, one of `1`, `2`, `3`, `4`, `5`, `7`, `8`, `9`, `10`, `15`, example `4`) Returns transactions in this lifecycle status. One code per request, from the `transaction_status` table in the response. For agent accounts, `8` (Ready to File) can also return transactions in `10` (In E-File Queue). - `transaction_sub_status` (integer, optional, nullable, one of `11`, `12`, `13`, `14`, example `13`) Returns transactions in this sub-status. One code per request, from the `transaction_sub_status` table in the response. A sub-status implies its parent status, so `status` is not needed alongside it. If `status` is sent and contradicts the sub-status, the request is accepted and returns no transactions. - `insured_physical_state` (array of string, optional, nullable) Two-letter state codes. A transaction matches when its physical state is any of the listed codes. Codes are case-insensitive. Example request: ```json { "status": 4, "insured_physical_state": [ "CA", "TX" ] } ``` ###### Responses **200** — Paginated list of transactions matching the request filters. Headers: `X-Generated-At` Body: - `generated_at` (string, date-time, required, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `data` (array of object, required) Array of transaction objects for the current page. - `data[].id` (integer, optional, example `6198187`) InsCipher Transaction ID. Unique identifier for the transaction within InsCipher. - `data[].transaction_type` (string, optional, nullable, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BO`, `BD`, example `PN`) InsCipher transaction type code for the policy event. | Code | Name | |---|---| | `PN` | New Policy | | `PR` | Policy Renewal | | `APE` | Additional Premium Endorsement | | `RPE` | Return Premium Endorsement | | `AE` | Audit | | `FC` | Flat Cancellation | | `ZPE` | Zero Premium Endorsement | | `PC` | Pro Rata Cancellation | | `XE` | Extension Endorsement | | `ARE` | Audit Return Endorsement | | `RI` | Reinstatement | | `BO` | Back-out / Reversal | | `BD` | Binder | - `data[].transaction_status` (integer, optional, one of `1`, `2`, `3`, `4`, `5`, `7`, `8`, `9`, `10`, `15`, example `4`) Numeric status code representing the transaction's lifecycle stage. The same codes are accepted by the `status` request filter. | Value | Status | |---|---| | `1` | Saved | | `2` | Submitted | | `3` | Flagged | | `4` | Filed | | `5` | Archived | | `7` | Void | | `8` | Ready to File | | `9` | Unregistered | | `10` | In E-File Queue | | `15` | State Questioned | - `data[].transaction_sub_status` (integer, optional, nullable, one of `11`, `12`, `13`, `14`) Sub-status providing additional detail for transactions in **Flagged** (3) or **State Questioned** (15) status. `null` for all other statuses. The same codes are accepted by the `transaction_sub_status` request filter. | Value | Meaning | |---|---| | `11` | Pending Broker *(State Questioned)* | | `12` | Pending Filing Agent *(State Questioned)* | | `13` | Pending Broker *(Flagged)* | | `14` | Pending Filing Agent *(Flagged)* | - `data[].policy_number` (string, optional, nullable, example `CA20170228-05`) Policy number associated with the transaction. - `data[].insured_physical_state` (string, optional, nullable, example `CO`) Two-letter state code identifying the physical location of the insured risk. - `data[].policy_effective_date` (string, date, optional, nullable, example `2024-08-12`) Policy start date. Format: `YYYY-MM-DD`. - `data[].policy_expiration_date` (string, date, optional, nullable, example `2025-08-12`) Policy end date. Format: `YYYY-MM-DD`. - `data[].transaction_effective_date` (string, date, optional, nullable, example `2024-08-12`) Effective date of the transaction. For endorsements, this is the endorsement effective date. Format: `YYYY-MM-DD`. - `data[].date_filed` (string, date-time, optional, nullable, example `2024-08-22T00:00:00-06:00`) Date and time the policy was filed with the state. Format: ISO 8601 with timezone offset, the same as Transaction Status v2. - `data[].date_ready_to_file` (string, date-time, optional, nullable, example `2024-08-12T00:00:00-06:00`) Date and time the transaction became ready to file. Format: ISO 8601 with timezone offset, the same as Transaction Status v2. - `data[].gl_moved_date` (string, date-time, optional, nullable) Date and time the transaction was moved to the general ledger. Format: ISO 8601 with timezone offset, the same as Transaction Status v2. `null` when not yet moved. - `data[].premium` (number, optional, nullable, example `281.1`) Premium amount. Negative values represent returns or corrections. - `data[].agency_fee` (number, optional, nullable, example `200`) Agency (broker) fee amount. - `data[].carrier_fee` (number, optional, nullable, example `15`) Carrier/underwriting related fees (e.g., inspection). Named `inspection_fee` in Search v1. - `data[].sl_tax` (number, optional, nullable, example `20.45`) Surplus Lines tax amount. - `data[].stamping_fee` (number, optional, nullable, example `7.8`) Stamping fee amount. - `data[].sl_service_charge` (number, optional, nullable, example `0`) Surplus Lines service charge. Applies in OR and MS. - `data[].municipal_fee` (number, optional, nullable, example `0`) Municipal fee. Applies in KY. - `data[].county_fee` (number, optional, nullable, example `0`) County fee. Applies in KY. - `data[].fm_tax` (number, optional, nullable, example `0`) Fire Marshal tax. Applies in IL, MT, OR, SD. - `data[].empa_tax` (number, optional, nullable, example `0`) EMPA tax. Applies in FL. - `data[].collection_fee` (number, optional, nullable, example `1.11`) Collection fee, when applicable. - `data[].insured_name` (string, optional, nullable, example `Westfield Galleria at Roseville`) Mailing name of the insured. - `data[].municipal_name` (string, optional, nullable, example `Livermore`) Municipality name. Applies in states with municipal-level taxation (e.g. KY). - `data[].municipal_category` (string, optional, nullable, example `casualty_liability_only`) Municipal category classification. - `data[].transaction_id_number` (string, optional, nullable, example `IL20170000000`) Transaction identifier number assigned by the state regulatory system, when available. - `data[].sl_tax_paid_date` (string, date, optional, nullable, example `2025-02-04`) Date the Surplus Lines tax was paid. Format: `YYYY-MM-DD`, the same as Transaction Status v2. - `data[].stamping_fee_paid_date` (string, date, optional, nullable, example `2025-02-04`) Date the stamping fee was paid. Format: `YYYY-MM-DD`, the same as Transaction Status v2. - `data[].other_taxes_paid_date` (string, date, optional, nullable, example `2026-05-01`) Date other taxes were paid. Format: `YYYY-MM-DD`, the same as Transaction Status v2. - `data[].sl_tax_invoice_id` (string, optional, nullable, example `SL-4308864`) Invoice identifier assigned when the Surplus Lines tax was billed. - `data[].stamping_fee_invoice_id` (string, optional, nullable, example `SF-4712445`) Invoice identifier assigned when the stamping fee was billed. - `data[].unique_id` (string, optional, nullable, example `201702028950`) Client-supplied unique identifier originally provided at import for duplicate detection and source-system tracking. - `data[].extra_invoice_number` (string, optional, nullable, example `INVN-MPP97WBDYWFYFM`) Additional invoice number associated with the transaction, when provided at import. - `data[].filed_under_license_name` (string, optional, nullable, example `QA Agency`) Name of the license the transaction was filed under. - `data[].filed_under_license_number` (string, optional, nullable, example `CA-1234`) License number the transaction was filed under. - `data[].date_submitted` (string, date, optional, nullable, example `2024-08-12`) Date the transaction was submitted. Format: `YYYY-MM-DD`. - `data[].submitted_by` (string, optional, nullable, example `John Doe`) Full name of the user who submitted the transaction, taken from its status history. `null` when no such history entry is available. - `data[].flagged_by` (string, optional, nullable) Full name of the user who flagged the transaction. - `data[].date_flagged` (string, date, optional, nullable) Date the transaction was flagged. Format: `YYYY-MM-DD`. - `data[].ready_to_file_by` (string, optional, nullable, example `John Doe`) Full name of the user who marked the transaction Ready to File. - `data[].state_filing_due_date` (string, date, optional, nullable, example `2024-09-30`) Date the filing is due to the state. Format: `YYYY-MM-DD`. - `data[].filed_by` (string, optional, nullable, example `John Doe`) Full name of the user who filed the transaction. - `data[].filing_admin` (string, optional, nullable, example `Jane Smith`) Full name of the filing admin assigned to the transaction. - `data[].agency_name` (string, optional, nullable, example `Acme Insurance Agency`) Agency name stored on the transaction. - `data[].total` (number, optional, nullable, example `3407.98`) Premium plus every tax and fee on the transaction. - `data[].amount_due` (number, optional, nullable, example `99.48`) Taxes and fees due: SL tax, stamping fee, service charge, municipal and county fees, filing, rush filing and late charges, FM, FHCF and EMPA taxes. - `data[].date_edited` (string, date, optional, nullable, example `2024-08-22`) Date the transaction was last edited. Format: `YYYY-MM-DD`. - `data[].late_charge_added_by` (string, optional, nullable) Full name of the user who added the late charge. - `data[].customer_code` (string, optional, nullable, example `CUST-001`) Customer code of the transaction. - `data[].transaction_documents` (array of object, optional) Array of documents attached to the transaction. - `data[].transaction_documents[].name` (string, optional, nullable, example `Policy Declarations`) Display name of the document. - `data[].transaction_documents[].code` (string, optional, nullable, example `POLIC`) Document type code. `null` for ad-hoc or custom documents. - `data[].transaction_documents[].download_url` (string, optional, example `https://surpluslines.inscipher.com/transaction/document/6198187/3765315/download`) Time-limited URL to download the document. - `data[].created_by` (string, optional, nullable, example `AgencyAdmin Automation`) Name of the user or process that created the transaction. - `data[].created_date` (string, date-time, optional, example `2024-06-25T13:56:19-06:00`) Timestamp when the transaction was created in InsCipher. Format: ISO 8601 with timezone offset (e.g. `2024-06-25T13:56:19-06:00`), the same as Transaction Status v2. - `pagination` (object, required) - `pagination.total` (integer, required, example `341`) Total number of transactions matching the request filters across all pages. - `pagination.per_page` (integer, required, example `100`) Number of transactions returned per page. Fixed at 100. - `pagination.page` (integer, required, example `1`) Current page number, 1-based. A page past the last one returns `200` with an empty `data` array, `page` echoed back, and no `next`. - `pagination.pages` (integer, required, example `4`) Total number of pages available for the current request. - `pagination.next` (string, optional, example `/api/v1.1/search-transactions.json?page=2`) Relative URL for the next page of results, including the `/api` prefix. Present only when more pages are available. The field is **omitted entirely** (not returned as `null`) on the last page. Example response: ```json { "generated_at": "2026-08-11T05:47:44.812Z", "data": [ { "id": 6198187, "transaction_type": "PN", "transaction_status": 4, "transaction_sub_status": null, "policy_number": "85856867987", "insured_physical_state": "CO", "policy_effective_date": "2024-08-12", "policy_expiration_date": "2025-08-12", "transaction_effective_date": "2024-08-12", "date_filed": "2024-08-22T00:00:00-06:00", "date_ready_to_file": "2024-08-12T00:00:00-06:00", "gl_moved_date": null, "premium": 0, "agency_fee": 150, "carrier_fee": 0, "sl_tax": 4.5, "stamping_fee": 0, "sl_service_charge": 0, "municipal_fee": 0, "county_fee": null, "fm_tax": 0, "empa_tax": 0, "collection_fee": 0, "insured_name": "T&D Security Services Inc", "municipal_name": null, "municipal_category": null, "transaction_id_number": null, "sl_tax_paid_date": null, "stamping_fee_paid_date": null, "other_taxes_paid_date": null, "sl_tax_invoice_id": null, "stamping_fee_invoice_id": null, "unique_id": null, "extra_invoice_number": "11759069", "filed_under_license_name": "TESTING CO", "filed_under_license_number": "5112331341", "date_submitted": "2024-08-12", "submitted_by": "Sidney Watts", "flagged_by": null, "date_flagged": null, "ready_to_file_by": "Sidney Watts", "state_filing_due_date": "2024-09-30", "filed_by": "Jane Smith", "filing_admin": "Jane Smith", "agency_name": "Acme Insurance Agency", "total": 154.5, "amount_due": 4.5, "date_edited": "2024-08-22", "late_charge_added_by": null, "customer_code": null, "transaction_documents": [ { "name": "Policy Declarations", "code": "POLIC", "download_url": "https://surpluslines.inscipher.com/transaction/document/6198187/3765315/download" }, { "name": "Affidavit - Part C", "code": "AFFIDC", "download_url": "https://surpluslines.inscipher.com/transaction/document/6198187/3765316/download" } ], "created_by": "Sidney Watts Demo", "created_date": "2024-06-25T13:56:19-06:00" } ], "pagination": { "total": 341, "per_page": 100, "page": 1, "pages": 4, "next": "/api/v1.1/search-transactions.json?page=2" } } ``` **400** — Bad Request — the request body could not be parsed as JSON. Headers: `X-Generated-At` Body (`UnifiedApiError`): - `generated_at` (string, date-time, required, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `code` (string, required, one of `auth_failed`, `malformed_request`, `validation_error`, `method_not_allowed`, `rate_limited`, `server_error`, example `validation_error`) Machine-readable failure kind. - `message` (string, required, example `Validation error!`) Human-readable summary of the failure. - `details` (object, required) Field-keyed messages for a validation failure: `{ "": "" }`. Empty for every other failure. **401** — Unauthorized — the API key is missing or invalid, or it was sent in the query string while your account requires it in the header. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **405** — Method Not Allowed — wrong HTTP method; the `Allow` header lists the supported ones. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **422** — Unprocessable Entity — the request body or the `page` parameter failed validation: an unknown field, an unknown status, sub-status or state code, a value that cannot be read as the field's type (numeric strings such as `"4"` are accepted for number fields), a reversed date range, an unparsable date, or a page that is not a positive integer. The body is checked first: `page` errors are reported only when the body is valid. A body that is valid JSON but not an object is reported under `details.body`. `details` maps each rejected field to its message, keyed by the field name as sent; an item in `insured_physical_state` carries its index (for example `insured_physical_state[1]`). Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **429** — Rate limit exceeded — this endpoint allows 10,000 requests per 60 seconds. When present, the `Retry-After` header carries the wait in seconds. It is left out when the wait is not known. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **500** — Internal server error. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). ### Transaction Search (POST) — version v1 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v1/search-transactions` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v1/search-transactions` | POST | #### Filters All request body filters are optional. Omitting the body entirely (or sending an empty object) returns all transactions for the agency, paginated. Three date filters are supported: `date_filed`, `policy_effective_date`, and `transaction_effective_date`. Each accepts a `from` date, a `to` date, or both: | Filter form | Behavior | |---|---| | `from` only | Returns transactions from that date forward | | `to` only | Returns transactions up to and including that date | | Both `from` and `to` | Returns transactions within the range (inclusive) | When multiple filters are provided, they are combined with logical AND — only transactions matching all filters are returned. :::note Providing a `from` date that is later than `to` is rejected with HTTP 422. Open-ended ranges (one boundary omitted) are valid. ::: #### Pagination Each page returns up to 50 transactions. Use the `page` query parameter to navigate pages (e.g., `?page=2`). The default is page 1. The response includes a `pagination` object with the following fields: | Field | Description | |---|---| | `total` | Total number of matching transactions across all pages | | `per_page` | Transactions per page — fixed at 50 | | `page` | Current page number (1-based) | | `pages` | Total number of available pages | | `next` | Relative URL for the next page — **omitted entirely** on the last page | To retrieve all results, follow `pagination.next` on each response until the field is absent. #### Field reference — InsCipher Transaction Search API OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-search.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. The header form (`apikey`) is preferred. The query-string form (`?apikey=...`) is accepted for backward compatibility. ##### POST /api/v1/search-transactions Transaction Search ###### Parameters - `page` (query, integer, optional, minimum 1, default `1`) Page number for pagination, starting from 1. Each page returns up to 50 transactions. Use the `pagination.next` URL from the previous response to traverse all pages. ###### Request body Content type: `application/json` - `date_filed` (object, optional) Filter by the date the policy was filed. - `date_filed.from` (string, date, optional, nullable, example `2024-01-30`) Start of the date range. Format: `YYYY-MM-DD`. - `date_filed.to` (string, date, optional, nullable, example `2025-06-01`) End of the date range. Format: `YYYY-MM-DD`. - `policy_effective_date` (object, optional) Filter by policy effective date. - `policy_effective_date.from` (string, date, optional, nullable, example `2024-01-30`) Start of the date range. Format: `YYYY-MM-DD`. - `policy_effective_date.to` (string, date, optional, nullable, example `2025-06-01`) End of the date range. Format: `YYYY-MM-DD`. - `transaction_effective_date` (object, optional) Filter by transaction effective date. For new and renewal policies this matches the policy effective date; for endorsements it is the endorsement effective date. - `transaction_effective_date.from` (string, date, optional, nullable, example `2024-01-30`) Start of the date range. Format: `YYYY-MM-DD`. - `transaction_effective_date.to` (string, date, optional, nullable, example `2025-06-01`) End of the date range. Format: `YYYY-MM-DD`. Example request: ```json { "date_filed": { "from": "2024-01-30", "to": "2025-06-01" }, "policy_effective_date": { "from": "2024-01-30", "to": "2025-06-01" } } ``` ###### Responses **200** — Paginated list of transactions matching the request filters. Body: - `data` (array of object, optional) Array of transaction objects for the current page. - `data[].id` (integer, optional, example `6198187`) InsCipher Transaction ID. Unique identifier for the transaction within InsCipher. - `data[].transaction_type` (string, optional, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BO`, `BD`, example `PN`) InsCipher transaction type code for the policy event. | Code | Name | |---|---| | `PN` | New Policy | | `PR` | Policy Renewal | | `APE` | Additional Premium Endorsement | | `RPE` | Return Premium Endorsement | | `AE` | Audit | | `FC` | Flat Cancellation | | `ZPE` | Zero Premium Endorsement | | `PC` | Pro Rata Cancellation | | `XE` | Extension Endorsement | | `ARE` | Audit Return Endorsement | | `RI` | Reinstatement | | `BO` | Back-out / Reversal | | `BD` | Binder | - `data[].transaction_status` (integer, optional, one of `1`, `2`, `3`, `4`, `5`, `7`, `8`, `9`, `10`, `15`, example `4`) Numeric status code representing the transaction's lifecycle stage. | Value | Status | |---|---| | `1` | Saved | | `2` | Submitted | | `3` | Flagged | | `4` | Filed | | `5` | Archived | | `7` | Void | | `8` | Ready to File | | `9` | Unregistered | | `10` | E-File Queue | | `15` | State Questioned | - `data[].transaction_sub_status` (integer, optional, nullable, one of `11`, `12`, `13`, `14`) Sub-status providing additional detail for transactions in **Flagged** (3) or **State Questioned** (15) status. Always present; `null` for all other statuses. | Value | Meaning | |---|---| | `11` | Pending Broker *(State Questioned)* | | `12` | Pending Filing Agent *(State Questioned)* | | `13` | Pending Broker *(Flagged)* | | `14` | Pending Filing Agent *(Flagged)* | - `data[].policy_number` (string, optional, nullable, example `CA20170228-05`) Policy number associated with the transaction. - `data[].physical_state` (string, optional, nullable, example `CO`) Two-letter state code identifying the physical location of the insured risk. - `data[].policy_effective_date` (string, date, optional, nullable, example `2024-08-12`) Policy start date. Format: `YYYY-MM-DD`. - `data[].policy_expiration_date` (string, date, optional, nullable, example `2025-08-12`) Policy end date. Format: `YYYY-MM-DD`. - `data[].transaction_effective_date` (string, date, optional, nullable, example `2024-08-12`) Effective date of the transaction. For endorsements, this is the endorsement effective date. Format: `YYYY-MM-DD`. - `data[].date_filed` (string, date, optional, nullable, example `2024-08-22`) Date the policy was filed with the state. Format: `YYYY-MM-DD`. - `data[].date_ready_to_file` (string, date, optional, nullable, example `2024-08-12`) Date the transaction became ready to file. Format: `YYYY-MM-DD`. - `data[].gl_moved_date` (string, date, optional, nullable) Date the transaction was moved to the general ledger. Format: `YYYY-MM-DD`. `null` when not yet moved. - `data[].premium` (number, optional, example `281.1`) Premium amount. Negative values represent returns or corrections. - `data[].agency_fee` (number, optional, nullable, example `200`) Agency (broker) fee amount. - `data[].inspection_fee` (number, optional, nullable, example `15`) Inspection (carrier) fee amount. - `data[].sl_tax` (number, optional, nullable, example `20.45`) Surplus Lines tax amount. - `data[].stamping_fee` (number, optional, nullable, example `7.8`) Stamping fee amount. - `data[].sl_service_charge` (number, optional, nullable, example `0`) Surplus Lines service charge. Applies in OR and MS. - `data[].municipal_fee` (number, optional, nullable, example `0`) Municipal fee. Applies in KY. - `data[].county_fee` (number, optional, nullable, example `0`) County fee. Applies in KY. - `data[].fm_tax` (number, optional, nullable, example `0`) Fire Marshal tax. Applies in IL, MT, OR, SD. - `data[].empa_tax` (number, optional, nullable, example `0`) EMPA tax. Applies in FL. - `data[].collection_fee` (number, optional, example `1.11`) Collection fee, when applicable. - `data[].mailing_insured_name` (string, optional, nullable, example `Westfield Galleria at Roseville`) Mailing name of the insured. - `data[].municipal_name` (string, optional, nullable, example `Livermore`) Municipality name. Applies in states with municipal-level taxation (e.g. KY). - `data[].municipal_category` (string, optional, nullable, example `casualty_liability_only`) Municipal category classification. - `data[].transaction_id_number` (string, optional, nullable, example `IL20170000000`) Transaction identifier number assigned by the state regulatory system, when available. - `data[].sl_tax_paid_date` (string, date-time, optional, nullable, example `2025-02-04T19:19:08-07:00`) Timestamp when the Surplus Lines tax was paid. Format: ISO 8601 with timezone offset. - `data[].stamping_fee_paid_date` (string, date-time, optional, nullable, example `2025-02-04T19:19:08-07:00`) Timestamp when the stamping fee was paid. Format: ISO 8601 with timezone offset. - `data[].other_taxes_paid_date` (string, date-time, optional, nullable, example `2026-05-01T06:00:00-06:00`) Timestamp when other taxes were paid. Format: ISO 8601 with timezone offset. - `data[].sl_tax_invoice_id` (string, optional, nullable, example `SL-4308864`) Invoice identifier assigned when the Surplus Lines tax was billed. - `data[].stamping_fee_invoice_id` (string, optional, nullable, example `SF-4712445`) Invoice identifier assigned when the stamping fee was billed. - `data[].unique_id` (string, optional, nullable, example `201702028950`) Client-supplied unique identifier originally provided at import for duplicate detection and source-system tracking. - `data[].extra_invoice_number` (string, optional, nullable, example `INVN-MPP97WBDYWFYFM`) Additional invoice number associated with the transaction, when provided at import. - `data[].filed_under_license_name` (string, optional, nullable, example `QA Agency`) Name of the license the transaction was filed under. - `data[].filed_under_license_number` (string, optional, nullable, example `CA-1234`) License number the transaction was filed under. - `data[].transaction_documents` (array of object, optional) Array of documents attached to the transaction. - `data[].transaction_documents[].name` (string, optional, nullable, example `Policy Declarations`) Display name of the document. - `data[].transaction_documents[].code` (string, optional, nullable, example `POLIC`) Document type code. `null` for ad-hoc or custom documents. - `data[].transaction_documents[].download_url` (string, optional, example `https://surpluslines.inscipher.com/transaction/document/6198187/3765315/download`) Time-limited URL to download the document. - `data[].created_by` (string, optional, nullable, example `AgencyAdmin Automation`) Name of the user or process that created the transaction. - `data[].created_date` (string, optional, example `2024-06-25 13:56:19 America/Denver`) Timestamp when the transaction was created in InsCipher. Format: `YYYY-MM-DD HH:MM:SS {timezone_name}` (e.g. `2024-06-25 13:56:19 America/Denver`). Note: this is not ISO 8601 — use string parsing rather than a date library. - `pagination` (object, optional) - `pagination.total` (integer, optional, example `341`) Total number of transactions matching the request filters across all pages. - `pagination.per_page` (integer, optional, example `50`) Number of transactions returned per page. Fixed at 50. - `pagination.page` (integer, optional, example `1`) Current page number, 1-based. - `pagination.pages` (integer, optional, example `7`) Total number of pages available for the current request. - `pagination.next` (string, optional, example `/v1/search-transactions.json?page=2`) Relative URL for the next page of results. Present only when more pages are available. The field is **omitted entirely** (not returned as `null`) on the last page. Example response: ```json { "data": [ { "id": 6198187, "transaction_type": "PN", "transaction_status": 4, "transaction_sub_status": null, "policy_number": "85856867987", "physical_state": "CO", "policy_effective_date": "2024-08-12", "policy_expiration_date": "2025-08-12", "transaction_effective_date": "2024-08-12", "date_filed": "2024-08-22", "date_ready_to_file": "2024-08-12", "gl_moved_date": null, "premium": 0, "agency_fee": 150, "inspection_fee": 0, "sl_tax": 4.5, "stamping_fee": 0, "sl_service_charge": 0, "municipal_fee": 0, "county_fee": null, "fm_tax": 0, "empa_tax": 0, "collection_fee": 0, "mailing_insured_name": "T&D Security Services Inc", "municipal_name": null, "municipal_category": null, "transaction_id_number": null, "sl_tax_paid_date": null, "stamping_fee_paid_date": null, "other_taxes_paid_date": null, "sl_tax_invoice_id": null, "stamping_fee_invoice_id": null, "unique_id": null, "extra_invoice_number": "11759069", "filed_under_license_name": "TESTING CO", "filed_under_license_number": "5112331341", "transaction_documents": [ { "name": "Policy Declarations", "code": "POLIC", "download_url": "https://surpluslines.inscipher.com/transaction/document/6198187/3765315/download" }, { "name": "Affidavit - Part C", "code": "AFFIDC", "download_url": "https://surpluslines.inscipher.com/transaction/document/6198187/3765316/download" } ], "created_by": "Sidney Watts Demo", "created_date": "2024-06-25 13:56:19 America/Denver" } ], "pagination": { "total": 341, "per_page": 50, "page": 1, "pages": 7, "next": "/v1/search-transactions.json?page=2" } } ``` **403** — API key missing or invalid. The body is plain text, sent with `Content-Type: application/json`. **422** — Request validation failed: malformed JSON, an invalid filter value, a `from` date later than `to`, or a `page` that is not a positive integer. `errors` is keyed by the rejected input. Body: - `message` (string, optional, example `Validation error!`) `Validation error!`, or `Invalid json!` when the body cannot be parsed. - `errors` (any, optional) Validation messages keyed by the rejected input. When the body cannot be parsed, a list holding the parse error. - `metadata` (array of any, optional) Always empty. **500** — Generic server-side error. The body is plain text, sent with `Content-Type: application/json`. ## Transaction Import — Overview URL: https://developer.inscipher.com/api/transaction-import/overview The Transaction Import API allows agencies to programmatically import transactional policy data and documents into the InsCipher portal. InsCipher provides two endpoints depending on your integration needs. - [Single Import](https://developer.inscipher.com/api/transaction-import/single) - [Batch Import](https://developer.inscipher.com/api/transaction-import/batch) ### Getting Started 1. Identify your use case: | | [Single Import](https://developer.inscipher.com/api/transaction-import/single) | [Batch Import](https://developer.inscipher.com/api/transaction-import/batch) | |---|---|---| | **Transactions per request** | 1 | Multiple | | **Response** | Synchronous — immediate result | Asynchronous — queue-based | | **Result retrieval** | Included in the response body | Via webhook callback or GET request | | **Batch ID** | Shared daily — one batch ID covers all calls made until 08:03 UTC | Per-request — a new batch ID is returned with each request | | **Use when** | Real-time integrations, low volume, immediate feedback needed | Daily batch jobs, high volume, async processing acceptable | 2. Find your mapping packet Many request fields take InsCipher codes, not free text: transaction types, lines of business, insurance companies, descriptions of risk, entity types and document codes. These codes are listed in a mapping packet, which InsCipher updates as state rules change. Use the packet that matches who files your surplus lines taxes: | Who files your taxes | Mapping packet | |---|---| | InsCipher's filing team files for you (Filing Services®) | [Filing Services mapping packet](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_hu3dx3gjqc) | | Your own team files in the InsCipher portal (Connect®) | [Connect mapping packet](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_83noca0k9c) | **Not sure which applies to you?** If you get your API key under **Settings > API**, you are on Filing Services. If you get it under **Settings > User List & Settings**, you are on Connect. 3. Review the key variables | Variable | Notes | Mapping packet | |---|---|---| | **Transaction Types** | Map your company policy types to InsCipher transaction codes | [Filing Services](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_hu3dx3gjqc) · [Connect](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_83noca0k9c) | | **Insurance Companies** | Generally use the carrier's NAIC code | [Filing Services](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_dy91ojhjqc) · [Connect](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_dy91ojhjqc) | | **Lines of Business** | Use InsCipher Generic LOB Import Codes (recommended) | [Filing Services](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_vpzoyi7crc) · [Connect](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_4q66kh8crc) | | **Description of Risk** | A few states require specific coded values — use state-specific codes | [Filing Services](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/zrMeC) · [Connect](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/zrMeC) | | **Fee Types** | Map taxable fees to either `agency_fee` (broker/agency) or `inspection_fee` (carrier) | [Filing Services](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_9dtdxrm5sd) · [Connect](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_vmqrr2e6sd) | | **Document Requirements** | Map your policy documents to InsCipher document import codes | [Filing Services](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_otc1uchjqc) · [Connect](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_otc1uchjqc) | | **Tax Titles** | Map tax payable codes to state-specific fields (`sl_tax`, `stamping_fee`, `fm_tax`, etc.) | [Filing Services](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_xv4ud8gjqc) · [Connect](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_xv4ud8gjqc) | ### FAQs **What is the difference between Broker Fees and Carrier Fees?** InsCipher separates fees into two buckets because they are taxed and reported differently depending on the state. **Broker Fees** (`agency_fee`) — Agency, policy, broker, filing, or other fees charged by or retained by the broker that are not mandated by the carrier. **Carrier Fees** (`inspection_fee`) — Inspection, audit, underwriting, or other fees charged or mandated by the carrier and retained by the carrier. Map your fees to the correct bucket so that InsCipher can accurately determine SL Tax calculations. **How do state tax and fee field names work?** InsCipher uses the following default field names for state taxes and fees: | Field | Default Label | |---|---| | `sl_tax` | Surplus Lines Tax | | `stamping_fee` | Stamping Fee | | `sl_service_charge` | Surplus Lines Service Charge | | `fm_tax` | Fire Marshal Tax | | `empa_tax` | EMPA Tax | | `municipal_fee` | Municipal Tax | In some states, InsCipher repurposes these field names for state-specific fees. Refer to the [Unique State Tax Titles](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_xv4ud8gjqc) table for definitions. **How do Generic Lines of Business Import Codes work?** InsCipher maintains active coverage code lists by state. Use Generic Import Codes (`GEN-XXXX`) from the [Generic LOB List](https://docs.google.com/spreadsheets/d/1AvhAXYExgeRJ3nMw5NAzugDgl4_UhsvDyzv4MVBhSjE/edit?gid=0#gid=0) — the system automatically maps them to the correct state-specific line of business on import. > **Warning:** It is your responsibility to review the mapping and ensure all needed codes are covered. InsCipher can add codes during implementation — submit all requested changes in a single email. Changes requested after implementation may be subject to an hourly rate. **Can I import documents separately from transactions?** Yes. After transactions have been imported successfully, documents can be added in a separate step using your internal invoice number or the InsCipher Transaction ID. See the [Document Import](https://developer.inscipher.com/api/document-import) guide for details. ## Transaction Import — Single (POST) URL: https://developer.inscipher.com/api/transaction-import/single The Single Import endpoint allows agencies to import one policy transaction per request and receive an immediate, synchronous response. Use this endpoint for real-time integrations where instant feedback is required. - [Endpoint](#endpoint) - [How It Works](#how-it-works) - [Mapping Packets](#mapping-packets) - [LOB and Carrier Format](#lob-and-carrier-format) - [How to Use This Request](#how-to-use-this-request) ### Endpoint :::warning All API requests must be made over HTTPS and must include a valid API key in the `apikey` request header. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: ### How It Works #### Submitting a Transaction The Single Import endpoint accepts one transaction per request. The response is returned synchronously — results are available immediately in the response body without any polling or webhook setup. ### Mapping Packets Codes for transaction types, lines of business, insurance companies, descriptions of risk, entity types and documents come from your mapping packet: - **InsCipher's filing team files for you:** [Filing Services mapping packet](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_hu3dx3gjqc) - **Your own team files in the InsCipher portal:** [Connect mapping packet](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_83noca0k9c) Not sure which applies to you? See [Find your mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet). ### LOB and Carrier Format The Single endpoint uses **arrays of objects** for lines of business, carriers, and declining carriers. --- ### Transaction Import — Single (POST) — version v3 (released; default on the page) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v3/single/transaction.json` | POST | | Production | `https://surpluslines.inscipher.com/api/v3/single/transaction` | POST | The request body is sent as a plain JSON object — no wrapper key required. #### Batch ID Behavior Unlike the Batch endpoint (which issues a new `batch_id` with every request), the Single endpoint uses a **shared daily batch ID**. All Single Import calls submitted on the same calendar day are grouped under the same `batch_id`, which resets at 08:03 UTC. #### LOB and Carrier Format | Field | Format | Amount unit | |---|---|---| | `line_of_business_list` | `[{"item": "GEN-1001", "premium": 3108.50, "fire_premium": 500.00}]` | Dollar amount | | `insurance_company_list` | `[{"item": "24856", "coverage": 100}]` | Percentage (0–100) | | `syndicate_list` | `[{"item": "AA-1126033", "coverage": 100}]` | Percentage (0–100) | | `declining_carriers` | `[{"naic": "54267", "date_declined": "2017-02-02", "declining_reason": "other"}]` | — | Each line-of-business object carries `item` (the LOB import code), `premium` (the dollar amount for that line) and, for New Jersey, `fire_premium` (the fire portion of that line's premium). The fire portion is stated per line of business, including for single-LOB transactions. :::warning **Yes/no fields take real JSON booleans.** Every field the request reference types as boolean accepts only `true` or `false`; any other value, including `0` and `1`, is rejected with HTTP 422. ::: **Idaho — Homeowner Policy:** for Idaho filings on a homeowner-applicable line of business, include the top-level `homeowner_policy` field (`true` = Yes, `false` = No). Optional and ignored for non-Idaho states. **Upgrading from v2.2?** See the [Transaction Import v3 & v5 changelog](https://developer.inscipher.com/changelog/transaction-import-v3-v5) for the full list of request, response, and error-handling changes. #### Field reference — Transaction Import — Single OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-import-v3.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v3/single/transaction.json Single Transaction API import V3 ###### Request body Payload for the single transaction import. The body is a plain JSON object — no wrapper key. Boolean flags must be sent as real JSON booleans in v3 (`true`/`false`); `0`/`1` is rejected. Load an example from the dropdown to pre-fill a realistic payload — CA, TX, NY, NJ, and FL scenarios are included. Content type: `application/json` - `id` (string, optional, nullable, max length 255, example `201702028950`) Client-supplied unique import ID used for duplicate detection and source-system tracking. - `parent_id` (string, optional, nullable, max length 255, example `201702028949`) Parent transaction ID. Links this transaction to a prior import in the same source system. - `policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number being imported (non-unique). State-specific length limits may apply on top of the 50-char limit. - `transaction_type` (string, required, max length 10, example `PN`) 🟥 **REQUIRED** — InsCipher transaction type code for the imported policy event. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `policy_type` (string, optional, nullable, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Available options depend on the agency's configuration: - `standard` — Standard policy - `master` — Master policy - `cert` — Certificate issued under a master policy - `reporting_form` — Reporting form policy - `account_written_as` (string, optional, nullable, max length 10, one of `B`, `DC`, example `B`) Whether business is written as brokerage (B) or direct-to-client (DC). If omitted, the default Agency Admin setting is used. - `policy_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date. - `policy_expiration_date` (string, date, optional, nullable, example `2018-02-01`) Policy end date. If omitted, defaults to 12 months after the policy effective date. - `transaction_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction. For endorsements, use the endorsement effective date. - `expiring_policy_number` (string, optional, nullable, max length 50, example `CA20170228-04`) Prior policy number used for renewal transactions. - `invoice_date` (string, date, optional, nullable, example `2017-02-01`) Invoice / issued / revenue-recognition date used by some state workflows. - `invoice_number` (string, optional, nullable, max length 255, example `INVN-10001`) Internal invoice identifier. Typically only used by InsCipher Connect clients. - `rpg` (boolean, optional, nullable, example `false`) Risk Purchasing Group flag. If omitted, defaults to false. - `layered_risk` (boolean, optional, nullable, example `false`) Layered-risk flag. If omitted, defaults to false. - `broker_of_record` (boolean, optional, nullable, example `false`) Broker-of-record change flag. If omitted, defaults to false. - `risk_retention_group` (boolean, optional, nullable, example `false`) Risk Retention Group flag. If omitted, defaults to false. - `purchasing_group_name` (string, optional, nullable, max length 255, example `Cal Association`) Purchasing group name to provide when RPG applies. If missing while rpg = true, the transaction still imports but surfaces an RPG warning. - `risk_description` (string, optional, nullable, max length 255, example `General Accidental Coverage`) Risk description or import code. NY, OH and PA require specific coded values; other states (AK, CT, DE) have their own lists. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `risk_description_import_code` (string, optional, nullable, max length 255, example `RD01`) Description of Risk import code, validated against the physical state's predefined list. When sent, it is imported instead of risk_description. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `ecp` (boolean, optional, nullable, example `false`) Exempt Commercial Purchaser flag. If omitted, defaults to false. - `tax_exempt` (boolean, optional, nullable, example `false`) **CONDITIONAL** — Tax-exempt flag. Required only for Utah; may apply to other states. If omitted, defaults to false. - `multi_state` (boolean, optional, nullable, example `false`) Flag indicating the insured risk spans multiple states. InsCipher reports 100% of premium to the home state. If omitted, defaults to false. - `policy_limit` (number, float, optional, nullable, example `0`) Aggregate policy limit / liability amount. Recommended whenever available. Stored as a whole number; any decimal part is dropped. - `property_limit` (number, float, optional, nullable, example `0`) Property policy limit. Recommended whenever available. Stored as a whole number; any decimal part is dropped. - `line_of_business_list` (array of object, optional, nullable) Array of line-of-business import code / premium pairs. Multi-LOB submissions add more array items. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `line_of_business_list[].item` (string, required, max length 250, example `GEN-1001`) 🟥 **REQUIRED** — Line of business import code. - `line_of_business_list[].premium` (number, required, example `3108.5`) 🟥 **REQUIRED** — Premium amount ($) for the line of business. - `line_of_business_list[].fire_premium` (number, optional, nullable, example `500`) Fire premium portion of the LOB premium (NJ Fire Marshal tax). - `insurance_company_list` (array of object, optional, nullable) Array of carrier import code / coverage-percentage pairs. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `insurance_company_list[].item` (string, required, max length 250, example `24856`) 🟥 **REQUIRED** — Insurance company item (NAICS) - `insurance_company_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage - `syndicate_list` (array of object, optional, nullable) Array of Lloyd's syndicate code / coverage-percentage pairs. - `syndicate_list[].item` (string, required, max length 250, example `AA-1126033`) 🟥 **REQUIRED** — Syndicate company item (NAICS) - `syndicate_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage - `premium` (number, optional, nullable, example `3108.5`) Policy premium amount. If omitted, 0 is imported. - `agency_fee` (number, optional, nullable, example `200`) Broker / agency fee bucket for non-carrier fees. If omitted, 0 is imported. - `carrier_fee` (number, optional, nullable, example `0`) Carrier fee bucket for inspection, audit, underwriting or similar carrier-retained fees. If omitted, 0 is imported. - `collection_fee` (number, optional, nullable, example `1.11`) Collection fee amount. Currently applicable in KY and FL. - `sl_tax` (number, optional, nullable, example `117`) Imported surplus-lines tax amount. Validated by the tax calculator when import is enabled. - `stamping_fee` (number, optional, nullable, example `7.8`) Imported stamping fee amount. Label varies by state (FSLO fee in FL, Regulatory Fee in MI). - `sl_service_charge` (number, optional, nullable, example `0`) Imported surplus-lines service charge amount. Currently active in OR and MS. - `municipal_fee` (number, optional, nullable, example `0`) Imported municipal or local tax amount. Currently active only in KY. - `fm_tax` (number, optional, nullable, example `0`) Imported Fire Marshal tax amount. Active in states where Fire Marshal / Fire Tax applies. - `empa_tax` (number, optional, nullable, example `0`) Imported EMPA tax amount. Active in FL based on line of business; used for special tax amounts in other states. - `total` (number, optional, nullable, example `4224.8`) Total transaction amount. If omitted, calculated from premium, taxes and fees. - `commission_received` (boolean, optional, nullable, example `false`) Commission-received flag. Currently only applies to NH. If omitted, defaults to false. - `insured_name` (string, required, max length 100, example `John Doe`) 🟥 **REQUIRED** — Insured name as it appears on policy documents. - `insured_first_name` (string, optional, nullable, max length 100, example `John`) First name of the responsible individual for the insured entity. - `insured_last_name` (string, optional, nullable, max length 100, example `Doe`) Last name of the responsible individual for the insured entity. - `insured_mailing_street` (string, optional, nullable, max length 255, example `1151 Galleria Blvd`) Mailing address line 1 for the insured. - `insured_mailing_street2` (string, optional, nullable, max length 255, example `Suite 200`) Mailing address line 2, if applicable. - `insured_mailing_city` (string, optional, nullable, max length 100, example `Roseville`) Mailing city for the insured. - `insured_mailing_zip` (string, optional, nullable, max length 20, example `95678`) Mailing ZIP / postal code for the insured. - `insured_mailing_state` (string, optional, nullable, max length 20, example `CA`) Mailing state as a 2-letter code. - `insured_entity` (string, optional, nullable, max length 100, example `individual`) Insured entity type used for state-specific rules and exemptions (SC, NC, TN, FL). Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `insured_email` (string, email, optional, nullable, max length 100, example `producer@demo.none`) Mailing insured email address. - `insured_phone` (string, optional, nullable, max length 100, example `212-456-7890`) Mailing insured phone number. - `insured_county` (string, optional, nullable, max length 100, example `Washington`) Mailing county value when used by the state workflow. - `physical_same_as_mailing` (boolean, required, example `true`) 🟥 **REQUIRED** — True when the physical address/state matches mailing, false when it differs. If mailing is blank but physical is provided, set true. - `insured_physical_street` (string, optional, nullable, max length 255, example `1151 Galleria Blvd`) Physical / risk address line 1 when different from mailing. - `insured_physical_street2` (string, optional, nullable, max length 255, example `Suite 200`) Physical / risk address line 2, if applicable. - `insured_physical_city` (string, optional, nullable, max length 100, example `Roseville`) Physical / risk city. - `insured_physical_zip` (string, optional, nullable, max length 20, example `95678`) Physical / risk ZIP / postal code. - `insured_physical_state` (string, optional, nullable, max length 20, example `CA`) Physical / risk state as a 2-letter code. **Required when `physical_same_as_mailing` is `false`.** - `agent_id` (integer, optional, nullable, example `1`) InsCipher agent/user ID used to associate the transaction with a specific user. - `agent_notes` (string, optional, nullable, max length 1000, example `test notes`) Free-text notes shown on the Filing Details page. - `transaction_documents` (array of object, optional, nullable) Array of documents uploaded with the transaction. Supports url and base64 payload modes. - `transaction_documents[].code` (string, required, max length 255, example `D1DISC`) 🟥 **REQUIRED** — Document code for the transaction document. - `transaction_documents[].url` (string, uri, optional, nullable, max length 4096) **CONDITIONAL** — URL of the document to upload. A document needs either a `url`, or both `document_payload` and `document_filename`. - `transaction_documents[].id` (string, optional, nullable, max length 255, example `1000001`) Document ID associated with the transaction. - `transaction_documents[].type` (string, optional, max length 255, one of `url`, `base64`, default `"url"`, example `url`) Whether the document is sent as a `url` or a `base64` payload. Optional, defaults to `url`. - `transaction_documents[].cookie_url` (string, uri, optional, nullable, max length 255) An optional URL for cookies related to the document, if applicable. - `transaction_documents[].document_payload` (string, optional, nullable, max length 100000000) **CONDITIONAL** — Base64-encoded document. Required together with `document_filename` when no `url` is sent. - `transaction_documents[].document_filename` (string, optional, nullable, max length 255, example `policy.pdf`) **CONDITIONAL** — File name for the base64 payload. Required together with `document_payload` when no `url` is sent. - `sop_name` (string, optional, nullable, max length 100, example `SOP Name`) Service of Process contact name. Applicable for AL. - `sop_address` (string, optional, nullable, max length 255, example `Demo street 1`) Service of Process address line 1. - `sop_address_2` (string, optional, nullable, max length 255, example `2nd floor`) Service of Process address line 2, if applicable. - `sop_city` (string, optional, nullable, max length 100, example `Winthrop`) Service of Process city. - `sop_state` (string, optional, nullable, max length 20, example `WA`) Service of Process state code. - `sop_zip` (string, optional, nullable, max length 20, example `98862`) Service of Process ZIP / postal code. - `declining_carriers` (array of object, optional, nullable) Array of declining carrier objects. - `declining_carriers[].naic` (string, optional, nullable, max length 255, example `54267`) Declining Carrier NAIC code. - `declining_carriers[].date_declined` (string, optional, nullable, max length 255, example `2017-02-02`) Declining Carrier Date Declined. - `declining_carriers[].declining_reason` (string, optional, nullable, max length 255, example `other`) **CONDITIONAL** — Declining Carrier Date Declined. Enter text value that applies to each state: - CA: Company's capacity reached, Underwriting reason, Refused to state, Other. - MS & MT: Underwriting Reasons, Unable to place in an admitted market. - NV: Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain). - NJ: Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market. - NY: Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify). - OH: Reasons. - OR: Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010. - WY: Reason. - AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY: Unable to place in admitted market. - All other states: leave blank. Multiple values are separated by pipe symbol | and are required if there are multiple NAIC codes. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].underwriting_consideration` (string, optional, nullable, max length 255, example `Considered`) **CONDITIONAL** — Declining Carrier Underwriting Consideration, only applicable for New York. Enter text value from the list below: - Recent transactions by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage Multiple values are separated by pipe symbol | and are required if there are multiple NAIC codes. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_name` (string, optional, nullable, max length 255, example `John Doe`) **CONDITIONAL** — Declining Carrier Representative Name. and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_title` (string, optional, nullable, max length 255, example `Agent`) **CONDITIONAL** — Declining Carrier Representative Title, only applicable for New York. Enter text value from the list below: - Company Employee - Agent - Other (Specify) Multiple values are separated by pipe symbol | and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_email` (string, email, optional, nullable, max length 255, example `demo@demo.com`) **CONDITIONAL** — Declining Carrier Representative Email. Multiple values are separated by a pipe symbol | and are required if there are multiple NAIC codes. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_phone_number` (string, optional, nullable, max length 255, example `465`) **CONDITIONAL** — Declining Carrier Representative Phone Number. and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_website` (string, optional, nullable, max length 255, example `demo.com`) **CONDITIONAL** — Declining Carrier Representative Website. and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_who_performed_diligent_search` (integer, optional, nullable, one of `1`, `2`, example `1`) Who performed the diligent search. 1 = Surplus Lines Broker, 2 = Retail Producer. - `dc_custom` (array of any, optional, nullable) Values for the state's declining-carrier custom fields, in order: the first value goes to custom field 1, the second to custom field 2, and so on. CA SL2 example: `["Text", true]`. Field numbers by state: [Diligent Forms packet](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b). - Text field: send a string. - Boolean field: send `true` or `false`. - To skip a field, send `null` or `""` in its place, for example `[null, null, "Text", true]` for fields 3 and 4 only. If a value doesn't fit its field (for example, text sent for a boolean field), it isn't saved, but the transaction still imports. `warnings` then names it by its place in the list, for example `dc_custom_2` for the second value. - `dc_custom[]` — option 1 of 2: string - `dc_custom[]` — option 2 of 2: boolean - `retail_producer_name` (string, optional, nullable, max length 255, example `Producer Name`) **CONDITIONAL** — Retail producer name. Required in WA, OR, AK when business is written through a retail producer. - `retail_agency_name` (string, optional, nullable, max length 255, example `Producer Agency Name`) **CONDITIONAL** — Retail agency name for retail-producer workflows. Required in WA, OR, AK when applicable. - `retail_address` (string, optional, nullable, max length 255, example `Demo street 1`) **CONDITIONAL** — Retail producer address line 1. Required in WA, OR, AK when applicable. - `retail_address2` (string, optional, nullable, max length 255, example `2nd floor`) Retail producer address line 2, if applicable. - `retail_city` (string, optional, nullable, max length 255, example `Demo City`) **CONDITIONAL** — Retail producer city. Required in WA, OR, AK when applicable. - `retail_state` (string, optional, nullable, max length 2, example `WA`) **CONDITIONAL** — Retail producer state code. Required in WA, OR, AK when applicable. - `retail_zip` (string, optional, nullable, max length 255, example `12345`) **CONDITIONAL** — Retail producer ZIP / postal code. Required in WA, OR, AK when applicable. - `retail_producer_license` (string, optional, nullable, max length 255, example `RP-123456`) **CONDITIONAL** — Retail producer license number when required by state settings. - `retail_agency_license` (string, optional, nullable, max length 255, example `RA-123456`) **CONDITIONAL** — Retail agency license number when required by state settings. - `retail_producer_npn` (string, optional, nullable, max length 255, example `12345678`) Retail producer National Producer Number. - `retail_producer_id` (string, optional, nullable, max length 255) Retail producer ID. - `retail_phone_number` (string, optional, nullable, max length 255, example `212-456-7890`) **CONDITIONAL** — Retail producer phone number when required by state settings. - `retail_email_address` (string, email, optional, nullable, max length 255, example `retail@demo.none`) **CONDITIONAL** — Retail producer email address when required by state settings. - `windstorm_exclusion` (boolean, optional, nullable, example `false`) Windstorm exclusion flag for selected property coverages (TX, FL). - `windstorm_eligible_for_pool` (boolean, optional, nullable, example `false`) Windstorm pool eligibility flag (FL). - `windstorm_deductible` (number, optional, nullable, example `0.51`) Windstorm / hurricane deductible amount (FL). - `windstorm_primary_amount` (number, optional, nullable, example `10`) Windstorm primary amount, Coverage A (FL). - `windstorm_other_coverages_deductible` (number, optional, nullable, example `25`) All-other-perils deductible amount (FL). - `affordable_housing_qualification` (boolean, optional, nullable, example `false`) Affordable Housing Qualification flag. Only applies to OR; defaults to false. - `homeowner_policy` (boolean, optional, nullable, example `false`) **CONDITIONAL** — Is this a Homeowner Policy? Required for Idaho filings on a homeowner applicable line of business. Only ID asks the question, so a value sent for any other state is ignored. - `lloyds_cover_holder_number` (string, optional, nullable, max length 255, example `CH-12345`) Lloyd's cover-holder number. - `lloyds_cover_holder_name` (string, optional, nullable, max length 255, example `Cover Holder Name`) Lloyd's cover-holder name. - `associated_producer` (string, optional, nullable, max length 255, example `1234567`) Associated producer license number (also called Transactor in CA). Applies when the feature is enabled for the physical state and the license type is Agency. - `stamping_fee_invoice_id` (string, optional, nullable, max length 255, example `INVST-20001`) Stamping-fee invoice ID used for tracking in InsCipher Connect. - `sl_tax_invoice_id` (string, optional, nullable, max length 255, example `INVSL-30001`) Surplus-lines-tax invoice ID used for tracking in InsCipher Connect. - `business_group_id` (string, optional, nullable, max length 255, example `Division 1`) Business-group tracking field used by InsCipher Connect (divisions / regions / groups). - `customer_code` (string, optional, nullable, max length 255, example `OPT CUST CODE12`) Customer-code tracking field used by InsCipher Connect. - `transaction_status` (integer, optional, nullable) Transaction workflow/status code to set on import. Ignored in UT and ID. - `license_number` (string, optional, nullable, max length 255, example `LIC-123456`) License number used to match the filing license. Default logic is used if not found or ambiguous. - `filing_admin` (string, optional, nullable, max length 255, example `Filing Admin Name`) Filing-admin name used to match the target filing administrator. Default logic is used if not found or ambiguous. - `date_filed` (string, date, optional, nullable, example `2024-01-01`) Filed date. If provided, the transaction imports directly into Filed status. - `umr_number` (string, optional, nullable, max length 255, example `UMR-12345`) **CONDITIONAL** — UMR (Lloyd's Unique Market Reference) number. Required in NJ and FL when Lloyd's is a carrier. - `sla_transaction_number` (string, optional, nullable, max length 255, example `IL20170000000`) **CONDITIONAL** — SLA transaction number. Required in NJ. Must follow XXXXX-XX-XXXXX format. - `unique_id` (string, optional, nullable, max length 255, example `ext-10001`) Additional external unique identifier. - `stamping_fee_date_paid` (string, date, optional, nullable, example `2024-01-01`) Date the stamping fee was paid. - `sl_tax_paid_date` (string, date, optional, nullable, example `2024-01-01`) Date the surplus-lines tax was paid. - `other_taxes_paid_date` (string, date, optional, nullable, example `2024-01-01`) Date other taxes were paid. - `dba` (string, optional, nullable, max length 100, example `Example DBA`) Doing-business-as name. Example request: ```json { "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "transaction_type": "PN", "rpg": false, "premium": 3108.5, "agency_fee": 200, "carrier_fee": 0, "insured_name": "Westfield Galleria at Roseville", "insured_mailing_street": "1151 Galleria Blvd", "insured_mailing_city": "Roseville", "insured_mailing_zip": "95678", "insured_mailing_state": "CA", "physical_same_as_mailing": true, "line_of_business_list": [ { "item": "GEN-1001", "premium": 3108.5 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ], "dc_custom": [ "Text", true ] } ``` ###### Responses **200** — HTTP 200 means the request was received — not necessarily that the transaction imported successfully. Always check the `status` field on each transaction object for the actual import result. | `status` | Meaning | |---|---| | `0` | Transaction imported successfully | | non-zero | Transaction was rejected — read `status_message` for the reason | `warnings` carries non-fatal problems on an otherwise successful import. In v3 `warnings.documentsUpload` is an **array of the missing required document codes** (the same codes used in `transaction_documents[].code`), so you no longer have to look up which document to supply. The key is absent when nothing is missing. Headers: `X-Generated-At` Body: - `generated_at` (string, date-time, optional, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `batch_id` (string, optional, example `de0c696b5b3350b0ac88dfcebbfd9ca1`) Shared daily batch ID. All Single Import calls on the same calendar day share one `batch_id`, which resets at 08:03 UTC. - `transactions` (array of object, optional) - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request; `null` when you did not send one. - `transactions[].policy_number` (string, optional, example `CA20170228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Import result code. `0` = imported successfully; any other value indicates the transaction was rejected — read `status_message`. - `transactions[].status_message` (string, optional, example `Success`) Human-readable result. Carries the rejection detail when `status` is non-zero. - `transactions[].transaction_id` (number, optional, example `34859`) InsCipher internal transaction ID. Present only when `status` = `0`. - `transactions[].related_transaction_id` (number, optional, example `34860`) Present only when an APE or RPE submission whose line-of-business premiums mix positive and negative amounts is split. The split creates a related transaction, and this is its `transaction_id`. Omitted when the submission is not split. - `transactions[].warnings` (object, optional, nullable) Present on every successful import; `null` when there are no warnings. Omitted when `status` is non-zero. Example response: ```json { "generated_at": "2026-08-11T05:47:44.812Z", "batch_id": "de0c696b5b3350b0ac88dfcebbfd9ca1", "transactions": [ { "id": "201909240000000001", "policy_number": "CA20170228-05", "status": 0, "status_message": "Success", "transaction_id": 34859, "warnings": null } ] } ``` **400** — Bad Request — the body could not be parsed as JSON (`malformed_request`), or the same item number was received twice in the batch (`single_transaction_import_error`). Headers: `X-Generated-At` Body (`UnifiedApiError`): - `generated_at` (string, date-time, required, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `code` (string, required, one of `auth_failed`, `malformed_request`, `validation_error`, `single_transaction_import_error`, `method_not_allowed`, `rate_limited`, `server_error`, example `validation_error`) Machine-readable failure kind. - `message` (string, required, example `Validation error!`) Human-readable summary of the failure. - `details` (object, required) Field-keyed messages for a validation failure: `{ "": "" }`. Empty for every other failure. **401** — Unauthorized — the API key is missing or invalid. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **405** — Method Not Allowed — wrong HTTP method; the `Allow` header lists the supported ones. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **422** — Unprocessable Entity — field validation failed. `details` maps each rejected field to its message. Nested fields use the path of the value (for example `transaction_documents[0].cookie_url`); type errors on nested values can use dot-separated indexes such as `transaction_documents.0.code`. Checks run in stages (boolean flags, then field types, then field rules), and `details` lists only the first stage that fails, so a missing required text field is reported as `Value null is not a valid string.` A body that is valid JSON but not an object is reported under `details.body`. A `transaction_type` that does not exist, or that is not allowed on import such as `BO` (backout), is rejected here, and no transaction is created. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **429** — Rate limit exceeded — this endpoint allows 10,000 requests per 60 seconds per API key. When present, the `Retry-After` header carries the wait in seconds. It is left out when the wait is not known. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **500** — Internal server error. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). ### Transaction Import — Single (POST) — version v2.2 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v2.2/single/transaction.json` | POST | | Production | `https://surpluslines.inscipher.com/api/v2.2/single/transaction` | POST | The request body is sent as a plain JSON object — no wrapper key required. #### Batch ID Behavior Unlike the Batch endpoint (which issues a new `batch_id` with every request), the Single endpoint uses a **shared daily batch ID**. All Single Import calls submitted by the same API user on the same calendar day are grouped under the same `batch_id`, which resets at 08:03 UTC. #### LOB and Carrier Format | Field | Format | `coverage` unit | |---|---|---| | `line_of_business_list` | `[{"item": "GEN-1001", "coverage": 3108.50, "fire_coverage": 500.00}]` | Dollar amount | | `insurance_company_list` | `[{"item": "24856", "coverage": 100}]` | Percentage (0–100) | | `syndicate_list` | `[{"item": "AA-1126033", "coverage": 100}]` | Percentage (0–100) | | `declining_carriers` | `[{"naic": "54267", "date_declined": "2017-02-02", "declining_reason": "other"}]` | — | `fire_coverage` is an optional field on each LOB object — New Jersey only. For single-LOB transactions, use the top-level `fire_premium` field instead. **Idaho — Homeowner Policy:** for Idaho filings on a homeowner-applicable line of business, include the top-level `homeowner_policy` field (`1` = Yes, `0` = No). Optional and ignored for non-Idaho states. #### Field reference — Transaction Import — Single OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-import-v2-2.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v2.2/single/transaction.json Single Transaction API import V2.1 ###### Request body Payload for the single transaction import. Supports `insurance_company_list[].coverage` and `syndicate_list[].coverage`. Load an example from the dropdown to pre-fill a realistic payload — CA, TX, NY, and FL scenarios are included. Content type: `application/json` - `id` (string, optional, max length 255, example `201702028950`) Unique ID used for tracking imported transactions. This number is used to identify possible duplicate transactions. Identified duplicate transactions are excluded from being imported. - `parent_id` (string, optional, max length 255) Parent transaction ID. - `policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number for transaction (Non-unique field). InsCipher character limitation may be different than the state limitation for batch filing - See mapping documentation for specific state limitations. - `policy_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date (`YYYY-MM-DD`). - `policy_expiration_date` (string, date, optional, example `2018-02-01`) Policy expiration date.If omitted, the default value will be calculated to be 12 months from the Policy Effective Date. - `transaction_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction (`YYYY-MM-DD`). For endorsements, use the endorsement effective date. For new or renewal policies, equals `policy_effective_date`. - `expiring_policy_number` (string, optional, max length 50, example `CA20170228-04`) Expiring Policy Number. Only required for Renewal Type Policies. - `invoice_date` (string, date, optional, example `2017-02-01`) This is the date that the policy was invoiced in most states. In GA, this is the Revenue Recognition Date, in HI, this is the Date Issued. If omitted, the filing effective date will be used. Required for Filing Services® partners. - `invoice_number` (string, optional, max length 255, example `INVN-10001`) The 'Invoice ID' field on the Tracking tab in the filing details page of a Filing Agent User.Typically only used by InsCipher Connect partners. - `transaction_type` (string, required, max length 5, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BD`, example `PN`) 🟥 **REQUIRED** — Transaction type code. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BD | Binder | Temporary proof of coverage. | - `policy_type` (string, optional, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Available options depend on the agency's configuration: - `standard` — Standard policy - `master` — Master policy - `cert` — Certificate issued under a master policy - `reporting_form` — Reporting form policy - `homeowner_policy` (integer, optional, one of `0`, `1`, example `1`) **CONDITIONAL** — Is this a Homeowner Policy? Required for Idaho filings on a homeowner-applicable line of business; optional and ignored for non-Idaho states. `TRUE = 1, FALSE = 0`. - `account_written_as` (string, optional, max length 50, one of `B`, `DC`, example `B`) Account Written values are listed below. If omitted, the default Agency setting will be used. - `rpg` (number, integer, optional, one of `0`, `1`, default `0`, example `0`) Risk Purchasing Group? Yes = 1 No = 0 If omitted, NO (0) value will be used. Unless you know what an RPG is, set this value to 0. - `layered_risk` (number, integer, optional, one of `0`, `1`, example `0`) Layered Risk Yes = 1 No = 0 - `broker_of_record` (number, integer, optional, one of `0`, `1`, example `0`) Broker of Record Change Yes = 1 No = 0 - `risk_retention_group` (integer, optional, one of `0`, `1`, example `0`) Risk Retention Group Yes = 1 No = 0 - `purchasing_group_name` (string, optional, max length 255, example `Cal Association`) Required if RPG (rpg field) is set to Yes (or 1). If not included and RPG = Yes, then transaction will still import but will show RPG error. - `risk_description` (string, optional, max length 255, example `General Accidental Coverage`) Description of risk. For NY, OH, and PA, state-specific import codes are required. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) Exempt Commercial Purchaser? Yes = 1 No = 0 If omitted, 0 (zero) value will be imported. Unless you know what this is, set this value to 0. - `exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) Is the coverage considered tax exempt by the state? Yes = 1, No = 0. Unless you know that the line of business is tax exempt, set value to 0 or leave blank (the system will default to 0). Currently required only for the state of Utah. - `multi_state` (integer, optional, max length 1, one of `0`, `1`, default `0`, example `0`) Does the insured's liability reside in multiple states? Yes = 1, No = 0. InsCipher does not calculate multi-state surplus lines tax breakdowns. With NIMA dissolving in 2016, InsCipher reports 100% of the premium to the home state of the insured and bases the tax percentages off that state. If omitted, the default is No (0). Currently only required for the state of Utah. - `policy_limit` (number, float, optional, example `0`) Aggregate policy limit/liability amount. Required for Filing Services® partners. For Connect® partners, about a dozen states require this — we recommend including it on every submission. Send a number (decimals are accepted). - `property_limit` (number, float, optional, example `0`) Property Policy Limit. Requirement depends on State and Agency settings. We recommend including the property policy limit on every submission; if not required, this amount will be ignored. Send a number (decimals are accepted). - `line_of_business_list` (array of object, optional, nullable) If multiple lines of business apply, use the line of business list breakdown. Requirement depends on state regulations; we recommend importing all transactions with multiple lines of business where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `line_of_business_list[].item` (string, required, max length 250, example `GEN-1001`) 🟥 **REQUIRED** — Line of business item (code) - `line_of_business_list[].coverage` (number, required, example `3108.5`) 🟥 **REQUIRED** — Premium amount in dollars for this line of business. - `line_of_business_list[].fire_coverage` (number, float, optional, example `250.75`) **v2.1+ — New Jersey only.** The fire portion of the premium for this line of business. Used to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. - `insurance_company_list` (array of object, optional, nullable) For policies with multiple insurance companies, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `insurance_company_list[].item` (string, required, max length 250, example `24856`) 🟥 **REQUIRED** — Insurance company item (NAICS) - `insurance_company_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this carrier (0–100). - `syndicate_list` (array of object, optional, nullable) For policies with multiple syndicates, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. - `syndicate_list[].item` (string, required, max length 250, example `AA-1126033`) 🟥 **REQUIRED** — Syndicate company item (NAICS) - `syndicate_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this syndicate (0–100). - `premium` (number, float, optional) Policy premium. If omitted, 0 (zero) amount will be imported. - `fire_premium` (number, float, optional, example `500`) **OPTIONAL** — New Jersey (v2.1+). The portion of total premium allocated to fire coverage, for single-LOB transactions. Same data type and logic as `premium`. When provided, InsCipher uses this amount to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. For multi-LOB transactions, set `fire_coverage` on each object in `line_of_business_list` instead. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. - `agency_fee` (number, float, optional) Policy / Broker / Agency Fee. If omitted, defaults to `0.00`. We recommend including this field explicitly on every submission for Connect® partners. Optional for Filing Services® partners. - `inspection_fee` (number, float, optional) Inspection / Audit / Underwriting Fee. If omitted, defaults to `0.00`. - `collection_fee` (number, float, optional) Collection Fee. Ignored if the fee is not applicable. - `sl_tax` (number, float, optional) Surplus Lines Tax (name may vary slightly by state). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the tax is not applicable. - `stamping_fee` (number, float, optional) Stamping Fee (name may vary, such as FSLO fee in Florida or Fire Marshal Tax in Oregon). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `sl_service_charge` (number, float, optional) Currently active only in the state of Oregon and Mississippi. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. Ignored if the service charge is not applicable. **Louisiana (interim):** submit the Fire Marshal Fund Tax amount here, not under `fm_tax`. Temporary mapping; it will move to `fm_tax` in a future version, announced in advance. - `municipal_fee` (number, float, optional) Currently active only in Kentucky. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. - `fm_tax` (number, float, optional) Fire Marshal Tax based on Line of Business. Active in the state of Illinois and is based off premium amount. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. For the **Louisiana** Fire Marshal Fund Tax, use `sl_service_charge` instead (interim). - `empa_tax` (number, float, optional) EMPA tax. Active in the state of Florida and is based on Line of Business. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `total` (number, float, optional, example `4224.8`) Total amount = premium + all taxes + all policy fees. If omitted, the system will sum up and import the total automatically. - `commission_received` (integer, int32, optional, one of `0`, `1`, default `0`, example `0`) Is commission received? Currently only applies to NH. Yes = 1, No = 0. If commission is received, policy fees cannot be charged (Tax rule #33 - NH RPG). If omitted, 0 (zero) value will be imported. - `mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Insured name as it appears in policy documents. - `mailing_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Mailing address. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_address2` (string, optional, max length 255, example `Suite 200`) Mailing address line 2 (if applicable). - `mailing_city` (string, optional, max length 100, example `Roseville`) Mailing city. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_zip_code` (string, optional, max length 20, example `95678`) Mailing zip code. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_state_code` (string, optional, max length 20, example `CA`) Mailing state. 2-letter state code. Required if at least one mailing address field is provided. - `insured_entity` (string, optional, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `individual`) Mailing Entity Type. Mailing Entity Types are listed below. Code = Name: `individual` = Individual, `commercial` = Commercial, `governmental` = Governmental, `federal` = Federal Credit Union, `tribal` = Tribal Lands, `hospital_alliance` = Hospital Alliance, `state_approved_tax_exempt` = State Approved Tax Exempt Entity. Only applies to SC, NC, TN & FL. Notification for future states will occur as they apply. - `insured_email` (string, optional, max length 100, example `producer@demo.none`) Mailing Insured Email - `insured_phone` (string, optional, max length 100, example `212-456-7890`) Mailing Insured Phone - `insured_county` (string, optional, max length 100, example `Washington`) Mailing County - `physical_same_as_mailing` (integer, required, max length 1, one of `0`, `1`, example `1`) 🟥 **REQUIRED** — If the Physical State is the same as the Mailing State, set this value = 1. If not, set this value = 0. IMPORTANT: If you make the physical state the same as mailing state, ensure both addresses have valid 'States' codes to avoid import errors. If mailing address fields are blank but physical address is provided, set this to 1 (Yes). - `physical_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Physical address. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_address2` (string, optional, max length 255, example `Suite 200`) Physical address line 2 - `physical_city` (string, optional, max length 100, example `Roseville`) Physical city. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_zip_code` (string, optional, max length 20, example `95678`) Physical zip code. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_state_code` (string, optional, max length 20, example `CA`) Physical state. 2-letter state code. Required if Physical State is NOT the same as Mailing State. - `agent_id` (integer, optional, example `1`) **Connect® only.** InsCipher agent/user ID. Identifies which Connect® user the filing is credited to — and, for a filing-admin key, which agency it is filed for. **Agency Admin API key — optional.** Supply the ID of an active agent in your agency to credit the filing to them; omit it and the filing is credited to the agency itself. A value that is not an active agent of your agency is **silently ignored**, the filing is credited to the agency, and no error is returned. **Filing Agency Admin API key — required.** Here `agent_id` additionally selects which of the agencies you manage the transaction is filed for: pass that agency's Agency Admin ID, or the ID of an agent within it. The agency must be one you manage, and must be active. Agent-level API keys cannot authenticate against these endpoints. - `agent_notes` (string, optional, max length 1000, example `test notes`) Populates the Agent Notes section on the Filing Details page of a Filing Agent/Filing Agency Admin user. Include only if you want to add other information about the policy not captured in any of the other fields above. - `transaction_documents` (array of object, optional, nullable) Section for uploading transaction documents during API submission. If omitted, documents can be added later using the bulk drag-and-drop feature in the Filings Import Log or manually in the filing details page for each policy. Document requirements may vary based on Agency settings if documents are optional. - `transaction_documents[].code` (string, required, max length 255, example `POLIC`) 🟥 **REQUIRED** — Document code for the transaction document. - `transaction_documents[].url` (string, optional, max length 4096, example `https://yourdomain.com/file.pdf`) **CONDITIONAL** — URL of the document to be uploaded. Required unless `document_payload` and `document_filename` are both sent. - `transaction_documents[].id` (string, optional, max length 255, example `1000001`) Document ID associated with the transaction. - `transaction_documents[].type` (string, optional, max length 255, one of `url`, `base64`, example `url`) Type of document, specifying whether it's a URL or a base64 string. - `transaction_documents[].cookie_url` (string, optional, nullable, max length 255, example `https://yourdomain.com/auth-cookie`) An optional URL for cookies related to the document, if applicable. - `transaction_documents[].document_payload` (string, optional, max length 100000000, pattern `[A-Za-z0-9+/=]*`) **CONDITIONAL** — Base64 encoded string for the document payload. Required, together with `document_filename`, when `url` is not sent. - `transaction_documents[].document_filename` (string, optional, max length 255, example `policy.pdf`) **CONDITIONAL** — Document file name for the Base64 payload. Required, together with `document_payload`, when `url` is not sent. - `sop_name` (string, optional, max length 100, example `SOP Name`) Service Of Process Name. Service of Process is a clause used in the event of a failure to pay amounts claimed under the policy. Currently applicable for Alabama and Oklahoma. If included but not applicable, it will be ignored upon import. - `sop_address` (string, optional, max length 255, example `Demo street 1`) Service Of Process Address. - `sop_address_2` (string, optional, max length 255, example `2nd floor`) Service Of Process Address 2 (if applicable). - `sop_city` (string, optional, max length 100, example `Winthrop`) Service Of Process City. - `sop_state` (string, optional, max length 20, example `WA`) Service Of Process State. 2 letter state code. - `sop_zip` (string, optional, max length 20, example `98862`) Service Of Process Zip Code. - `declining_carriers` (array of object, optional, nullable) Array of declining carrier details. - `declining_carriers[].naic` (string, optional, max length 255, example `54267`) Declining Carrier NAIC code. - `declining_carriers[].date_declined` (string, date, optional, max length 255, example `2017-02-02`) Declining Carrier Date Declined. - `declining_carriers[].declining_reason` (string, optional, max length 255, example `other`) Declining carrier reason text. Use the allowed value for the insured's physical state. The numeric import code assigned in the admin interface (e.g., `1`, `2`) is also accepted. | State(s) | Allowed Values | |---|---| | MS & MT | Underwriting Reasons, Unable to place in an admitted market | | NV | Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain) | | NJ | Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market | | NY | Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify) | | OH | Reasons | | OR | Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010 | | WY | Reason | | AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY | Unable to place in admitted market | | All other states | Leave blank | Values shown above are defaults. Actual options are configured per state in the admin interface and may vary. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].underwriting_consideration` (string, optional, max length 255, example `Considered`) Declining Carrier Underwriting Consideration, only applicable for New York. Enter text value from the list below: - Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage - Communications with other professionals, such as brokers, agents, risk managers, insurance department or ELANY personnel indicating the insurer will underwrite that class - Any other valid basis you can document Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_name` (string, optional, max length 255, example `John Doe`) Declining Carrier Representative Name. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_title` (string, optional, max length 255, example `Agent`) Declining Carrier Representative Title, only applicable for New York. Enter text value from the list below: - Company Employee - Agent - Other (Specify) Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_email` (string, optional, max length 255, example `demo@demo.com`) Declining Carrier Representative Email. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_phone_number` (string, optional, max length 255, example `212-456-7890`) Declining Carrier Representative Phone Number. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_website` (string, optional, max length 255, example `demo.com`) Declining Carrier Representative Website. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_who_received_the_declinations` (string, optional, max length 255, example `Other Person Office`) Who Received Declinations. Must be among the options provided in the admin interface. It can be a string or a number representing the option. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_other_person_in_office` (string, optional, max length 255, example `Some Other Person`) Who Received Declinations Explanation. This field is saved and visible only if the `who_received_the_declinations` option selected has the 'enable text box for explanation' checkbox checked in the admin interface. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_who_performed_diligent_search` (integer, optional, one of `1`, `2`, example `1`) Who Completed Diligent Search: - `1` — Surplus Lines Broker - `2` — Retail Producer - `retail_producer_name` (string, optional, max length 255, example `Producer Name`) Retail Producer Name. Required in states that mandate retail producer disclosure when business is written through a Retail Agent/Producer. Requirements vary by state and account configuration. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_agency_name` (string, optional, max length 255, example `Producer Agency Name`) Retail Agency Name. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_address` (string, optional, max length 255, example `Demo street 1`) Retail Producer's Address Line 1. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_address2` (string, optional, max length 255, example `2nd floor`) Retail Producer's Address Line 2. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_city` (string, optional, max length 255, example `Demo City`) Retail Producer City Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_state` (string, optional, max length 2, example `WA`) Retail Producer State Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_zip` (string, optional, max length 255, example `12345`) Retail Producer Zip Code Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_producer_license` (string, optional, nullable, max length 255, example `RP-123456`) Retail Producer License. Depends on state retail producer settings. - `retail_agency_license` (string, optional, nullable, max length 255, example `RA-123456`) Retail Agency License. Depends on state retail producer settings. - `retail_phone_number` (string, optional, nullable, max length 255, example `212-456-7890`) Retail Producer Phone Number. Depends on state retail producer settings. - `retail_email_address` (string, optional, nullable, max length 255, example `retail@demo.none`) Retail Producer Email Address. Depends on state retail producer settings. - `wind_storm_exclusion` (integer, optional, one of `0`, `1`, example `0`) Windstorm Exclusion Flag. Indicates if windstorm exclusion applies. Only applicable to certain property coverages in TX and FL. - `1` — TRUE - `0` — FALSE - `wind_storm_eligible_for_pool` (integer, optional, one of `0`, `1`, example `0`) Windstorm Pool Exclusion Flag. - `1` — TRUE - `0` — FALSE - `wind_storm_deduction` (number, float, optional, example `0.51`) Windstorm/Hurricane Deductible. Amount of windstorm/hurricane deductible related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `wind_storm_primary_amount` (number, float, optional, example `10`) Windstorm Primary Amount (Coverage A). Amount related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `wind_storm_other_coverages_deductible` (number, float, optional, example `25`) All Other Perils Deductible. Amount related to all other deductibles not mentioned in the other fields above. Only applicable in FL. If not applicable, leave blank. - `lloyds_cover_holder_number` (string, optional, max length 255, example `CH-12345`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `lloyds_cover_holder_name` (string, optional, max length 255, example `Cover Holder Name`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `associated_producer` (string, optional, max length 255, example `1234567`) License Number of Associated Producer. Applies only if Associated Producer is enabled for the selected physical state and the selected license type is Agency. Validation errors do not appear if a document has been provided with the Associated Producer Optional checkbox checked in the document settings of the admin interface. - `stamping_fee_invoice_id` (string, optional, max length 255, example `INVST-20001`) Stamping Fee Invoice ID field on the Tracking tab in the filing details page of a Filing Agent User. Only applies to InsCipher Connect partners. - `sl_tax_invoice_id` (string, optional, max length 255, example `INVSL-30001`) SL Tax Invoice ID field on the Tracking tab in the filing details page of a Filing Agent/Filing Agency Admin User. Only applies to InsCipher Connect partners. - `business_group_id` (string, optional, max length 255, example `Division 1`) Business Group ID. This is for assigning divisions, regions, or other business groups to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `customer_code` (string, optional, max length 255, example `OPT CUST CODE12`) Customer Code. Used for associating specific customer classifications from your management system to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `transaction_status` (integer, int32, optional, nullable, example `1`) Transaction Status. Not applicable to Utah and Idaho; this field will be ignored in those states, and default logic will be used. - `license_number` (string, optional, nullable, max length 255, example `LIC-123456`) License Number. Default logic will be used if the license is not found or multiple licenses are found. - `filing_admin` (string, optional, nullable, max length 255, example `Filing Admin Name`) Filing Admin Name. Default logic will be used if the filing admin is not found or multiple filing admins are found. - `date_filed` (string, date, optional, example `2024-01-01`) Date Filed. If the transaction is imported with a 'Date Filed', it will automatically be imported in a 'Filed' status. - `umr_number` (string, optional, max length 255, example `UMR-12345`) UMR Number - `sla_transaction_number` (string, optional, max length 255, example `IL20170000000`) SLA transaction number. Required in NJ. - `unique_id` (string, optional, max length 255, example `ext-10001`) Unique ID - `stamping_fee_date_paid` (string, date, optional, example `2024-01-01`) Stamping Fee Date Paid - `sl_tax_paid_date` (string, date, optional, example `2024-01-01`) SL Tax Paid Date - `other_taxes_paid_date` (string, date, optional, example `2024-01-01`) Other Taxes Paid Date - `dba` (string, optional, max length 100, example `Example DBA`) Doing Business As (DBA) — the trade name or assumed name under which the insured operates, if different from their legal entity name. For example, "ABC Holdings LLC" doing business as "Fresh Market". Include when the insured's operating name differs from the legal name on the policy, as some states require the DBA name for accurate filing and surplus lines reporting. - `affordable_housing_qualification` (integer, optional, one of `0`, `1`, example `0`) **CONDITIONAL** — Required in: OR. Determines whether or not the Affordable Housing Qualification applies to the policy. - `1` — TRUE - `0` — FALSE Example request: ```json { "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "transaction_type": "PN", "rpg": 0, "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "mailing_address": "1151 Galleria Blvd", "mailing_city": "Roseville", "mailing_zip_code": "95678", "mailing_state_code": "CA", "physical_same_as_mailing": 1, "line_of_business_list": [ { "item": "GEN-1001", "coverage": 3108.5 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ] } ``` ###### Responses **200** — HTTP 200 means the request was received — not necessarily that the transaction imported successfully. Always check the `status` field on each transaction object for the actual import result. | `status` | Meaning | |---|---| | `0` | Transaction imported successfully | | `2001` | Request accepted, but transaction failed validation — check `status_message` for details | | `3001` | Rejected — read `status_message`: a duplicate transaction, a missing `agent_id` on a Filing Agency Admin key, or an `agent_id` that is unknown, not managed by the caller, or inactive | | `1001`–`1053`, `5003` | Rejected — import error; `status_message` gives the reason. See the error code list on the [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) page | | `500` | Internal system error | Body: - `batch_id` (string, optional, example `912a654e961bb083981145c344ca40c6`) Shared daily batch ID. All Single Import calls from the same API user on the same calendar day share one `batch_id`, which resets at 08:03 UTC. - `transactions` (array of object, optional) - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request, echoed back. `null` if omitted. - `transactions[].policy_number` (string, optional, example `CA20170228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Import result code. `0` = transaction imported successfully. Any other value is an import error code — check `status_message` for the error detail. - `transactions[].status_message` (string, optional, example `Success`) Human-readable result. When `status` is non-zero, this contains the error detail. - `transactions[].transaction_id` (number, optional, example `208368`) InsCipher-assigned internal transaction ID. Present only when `status` = 0. - `transactions[].warnings` (object, optional, nullable) Non-fatal validation warnings. Import succeeded but review these values. `null` when there are none; omitted when `status` is not `0`. Besides tax and fee mismatches (`slTax`, `stampingFee`, `total`), warnings can include: `serviceProcessInformation`: Service of Process info is required and missing (always in Alabama, unless your account has it set as optional). `parentTransaction`: the parent filing has not been submitted to the portal yet. `parentPolicy`: no parent policy was found. `retailProducer`: retail producer data was sent but does not apply to the risk state, so it was ignored. **403** — Forbidden — authentication failed (missing or invalid API key). Returned as a plain-text body with `Content-Type: application/json`. **422** — Payload validation error — the request was rejected before processing. Fix the request body and retry. Body: - `message` (string, optional, example `Validation error!`) - `errors` (object, optional) - `metadata` (array of string, optional) **500** — Internal server error Body: - `error` (string, optional, example `single transaction import v2.2 error`) - `message` (string, optional, example `An internal server error occurred during the transaction import.`) ### Transaction Import — Single (POST) — version v2.1 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v2.1/single/transaction.json` | POST | | Production | `https://surpluslines.inscipher.com/api/v2.1/single/transaction` | POST | The request body is sent as a plain JSON object — no wrapper key required. #### Batch ID Behavior Unlike the Batch endpoint (which issues a new `batch_id` with every request), the Single endpoint uses a **shared daily batch ID**. All Single Import calls submitted by the same API user on the same calendar day are grouped under the same `batch_id`, which resets at 08:03 UTC. #### LOB and Carrier Format | Field | Format | `coverage` unit | |---|---|---| | `line_of_business_list` | `[{"item": "GEN-1001", "coverage": 3108.50, "fire_coverage": 500.00}]` | Dollar amount | | `insurance_company_list` | `[{"item": "24856", "coverage": 100}]` | Percentage (0–100) | | `syndicate_list` | `[{"item": "AA-1126033", "coverage": 100}]` | Percentage (0–100) | | `declining_carriers` | `[{"naic": "54267", "date_declined": "2017-02-02", "declining_reason": "other"}]` | — | `fire_coverage` is an optional field on each LOB object — New Jersey only. For single-LOB transactions, use the top-level `fire_premium` field instead. #### Field reference — Transaction Import — Single OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-import-v2-1.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v2.1/single/transaction.json Single Transaction API import V2.1 ###### Request body Payload for the single transaction import. Supports `insurance_company_list[].coverage` and `syndicate_list[].coverage`. Load an example from the dropdown to pre-fill a realistic payload — CA, TX, NY, and FL scenarios are included. Content type: `application/json` - `id` (string, optional, max length 255, example `201702028950`) Unique ID used for tracking imported transactions. This number is used to identify possible duplicate transactions. Identified duplicate transactions are excluded from being imported. - `parent_id` (string, optional, max length 255) Parent transaction ID. - `policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number for transaction (Non-unique field). InsCipher character limitation may be different than the state limitation for batch filing - See mapping documentation for specific state limitations. - `policy_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date (`YYYY-MM-DD`). - `policy_expiration_date` (string, date, optional, example `2018-02-01`) Policy expiration date.If omitted, the default value will be calculated to be 12 months from the Policy Effective Date. - `transaction_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction (`YYYY-MM-DD`). For endorsements, use the endorsement effective date. For new or renewal policies, equals `policy_effective_date`. - `expiring_policy_number` (string, optional, max length 50, example `CA20170228-04`) Expiring Policy Number. Only required for Renewal Type Policies. - `invoice_date` (string, date, optional, example `2017-02-01`) This is the date that the policy was invoiced in most states. In GA, this is the Revenue Recognition Date, in HI, this is the Date Issued. If omitted, the filing effective date will be used. Required for Filing Services® partners. - `invoice_number` (string, optional, max length 255, example `INVN-10001`) The 'Invoice ID' field on the Tracking tab in the filing details page of a Filing Agent User.Typically only used by InsCipher Connect partners. - `transaction_type` (string, required, max length 5, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BD`, example `PN`) 🟥 **REQUIRED** — Transaction type code. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BD | Binder | Temporary proof of coverage. | - `policy_type` (string, optional, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Available options depend on the agency's configuration: - `standard` — Standard policy - `master` — Master policy - `cert` — Certificate issued under a master policy - `reporting_form` — Reporting form policy - `account_written_as` (string, optional, max length 50, one of `B`, `DC`, example `B`) Account Written values are listed below. If omitted, the default Agency setting will be used. - `rpg` (number, integer, optional, one of `0`, `1`, default `0`, example `0`) Risk Purchasing Group? Yes = 1 No = 0 If omitted, NO (0) value will be used. Unless you know what an RPG is, set this value to 0. - `layered_risk` (number, integer, optional, one of `0`, `1`, example `0`) Layered Risk Yes = 1 No = 0 - `broker_of_record` (number, integer, optional, one of `0`, `1`, example `0`) Broker of Record Change Yes = 1 No = 0 - `risk_retention_group` (integer, optional, one of `0`, `1`, example `0`) Risk Retention Group Yes = 1 No = 0 - `purchasing_group_name` (string, optional, max length 255, example `Cal Association`) Required if RPG (rpg field) is set to Yes (or 1). If not included and RPG = Yes, then transaction will still import but will show RPG error. - `risk_description` (string, optional, max length 255, example `General Accidental Coverage`) Description of risk. For NY, OH, and PA, state-specific import codes are required. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) Exempt Commercial Purchaser? Yes = 1 No = 0 If omitted, 0 (zero) value will be imported. Unless you know what this is, set this value to 0. - `exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) Is the coverage considered tax exempt by the state? Yes = 1, No = 0. Unless you know that the line of business is tax exempt, set value to 0 or leave blank (the system will default to 0). Currently required only for the state of Utah. - `multi_state` (integer, optional, max length 1, one of `0`, `1`, default `0`, example `0`) Does the insured's liability reside in multiple states? Yes = 1, No = 0. InsCipher does not calculate multi-state surplus lines tax breakdowns. With NIMA dissolving in 2016, InsCipher reports 100% of the premium to the home state of the insured and bases the tax percentages off that state. If omitted, the default is No (0). Currently only required for the state of Utah. - `policy_limit` (number, float, optional, example `0`) Aggregate policy limit/liability amount. Required for Filing Services® partners. For Connect® partners, about a dozen states require this — we recommend including it on every submission. Send a number (decimals are accepted). - `property_limit` (number, float, optional, example `0`) Property Policy Limit. Requirement depends on State and Agency settings. We recommend including the property policy limit on every submission; if not required, this amount will be ignored. Send a number (decimals are accepted). - `line_of_business_list` (array of object, optional, nullable) If multiple lines of business apply, use the line of business list breakdown. Requirement depends on state regulations; we recommend importing all transactions with multiple lines of business where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `line_of_business_list[].item` (string, required, max length 250, example `GEN-1001`) 🟥 **REQUIRED** — Line of business item (code) - `line_of_business_list[].coverage` (number, required, example `3108.5`) 🟥 **REQUIRED** — Premium amount in dollars for this line of business. - `line_of_business_list[].fire_coverage` (number, float, optional, example `250.75`) **v2.1+ — New Jersey only.** The fire portion of the premium for this line of business. Used to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. - `insurance_company_list` (array of object, optional, nullable) For policies with multiple insurance companies, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `insurance_company_list[].item` (string, required, max length 250, example `24856`) 🟥 **REQUIRED** — Insurance company item (NAICS) - `insurance_company_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this carrier (0–100). - `syndicate_list` (array of object, optional, nullable) For policies with multiple syndicates, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. - `syndicate_list[].item` (string, required, max length 250, example `AA-1126033`) 🟥 **REQUIRED** — Syndicate company item (NAICS) - `syndicate_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this syndicate (0–100). - `premium` (number, float, optional) Policy premium. If omitted, 0 (zero) amount will be imported. - `fire_premium` (number, float, optional, example `500`) **OPTIONAL** — New Jersey (v2.1+). The portion of total premium allocated to fire coverage, for single-LOB transactions. Same data type and logic as `premium`. When provided, InsCipher uses this amount to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. For multi-LOB transactions, set `fire_coverage` on each object in `line_of_business_list` instead. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. - `agency_fee` (number, float, optional) Policy / Broker / Agency Fee. If omitted, defaults to `0.00`. We recommend including this field explicitly on every submission for Connect® partners. Optional for Filing Services® partners. - `inspection_fee` (number, float, optional) Inspection / Audit / Underwriting Fee. If omitted, defaults to `0.00`. - `collection_fee` (number, float, optional) Collection Fee. Ignored if the fee is not applicable. - `sl_tax` (number, float, optional) Surplus Lines Tax (name may vary slightly by state). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the tax is not applicable. - `stamping_fee` (number, float, optional) Stamping Fee (name may vary, such as FSLO fee in Florida or Fire Marshal Tax in Oregon). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `sl_service_charge` (number, float, optional) Currently active only in the state of Oregon and Mississippi. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. Ignored if the service charge is not applicable. **Louisiana (interim):** submit the Fire Marshal Fund Tax amount here, not under `fm_tax`. Temporary mapping; it will move to `fm_tax` in a future version, announced in advance. - `municipal_fee` (number, float, optional) Currently active only in Kentucky. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. - `fm_tax` (number, float, optional) Fire Marshal Tax based on Line of Business. Active in the state of Illinois and is based off premium amount. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. For the **Louisiana** Fire Marshal Fund Tax, use `sl_service_charge` instead (interim). - `empa_tax` (number, float, optional) EMPA tax. Active in the state of Florida and is based on Line of Business. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `total` (number, float, optional, example `4224.8`) Total amount = premium + all taxes + all policy fees. If omitted, the system will sum up and import the total automatically. - `commission_received` (integer, int32, optional, one of `0`, `1`, default `0`, example `0`) Is commission received? Currently only applies to NH. Yes = 1, No = 0. If commission is received, policy fees cannot be charged (Tax rule #33 - NH RPG). If omitted, 0 (zero) value will be imported. - `mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Insured name as it appears in policy documents. - `mailing_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Mailing address. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_address2` (string, optional, max length 255, example `Suite 200`) Mailing address line 2 (if applicable). - `mailing_city` (string, optional, max length 100, example `Roseville`) Mailing city. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_zip_code` (string, optional, max length 20, example `95678`) Mailing zip code. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_state_code` (string, optional, max length 20, example `CA`) Mailing state. 2-letter state code. Required if at least one mailing address field is provided. - `insured_entity` (string, optional, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `individual`) Mailing Entity Type. Mailing Entity Types are listed below. Code = Name: `individual` = Individual, `commercial` = Commercial, `governmental` = Governmental, `federal` = Federal Credit Union, `tribal` = Tribal Lands, `hospital_alliance` = Hospital Alliance, `state_approved_tax_exempt` = State Approved Tax Exempt Entity. Only applies to SC, NC, TN & FL. Notification for future states will occur as they apply. - `insured_email` (string, optional, max length 100, example `producer@demo.none`) Mailing Insured Email - `insured_phone` (string, optional, max length 100, example `212-456-7890`) Mailing Insured Phone - `insured_county` (string, optional, max length 100, example `Washington`) Mailing County - `physical_same_as_mailing` (integer, required, max length 1, one of `0`, `1`, example `1`) 🟥 **REQUIRED** — If the Physical State is the same as the Mailing State, set this value = 1. If not, set this value = 0. IMPORTANT: If you make the physical state the same as mailing state, ensure both addresses have valid 'States' codes to avoid import errors. If mailing address fields are blank but physical address is provided, set this to 1 (Yes). - `physical_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Physical address. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_address2` (string, optional, max length 255, example `Suite 200`) Physical address line 2 - `physical_city` (string, optional, max length 100, example `Roseville`) Physical city. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_zip_code` (string, optional, max length 20, example `95678`) Physical zip code. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_state_code` (string, optional, max length 20, example `CA`) Physical state. 2-letter state code. Required if Physical State is NOT the same as Mailing State. - `agent_id` (integer, optional, example `1`) **Connect® only.** InsCipher agent/user ID. Identifies which Connect® user the filing is credited to — and, for a filing-admin key, which agency it is filed for. **Agency Admin API key — optional.** Supply the ID of an active agent in your agency to credit the filing to them; omit it and the filing is credited to the agency itself. A value that is not an active agent of your agency is **silently ignored**, the filing is credited to the agency, and no error is returned. **Filing Agency Admin API key — required.** Here `agent_id` additionally selects which of the agencies you manage the transaction is filed for: pass that agency's Agency Admin ID, or the ID of an agent within it. The agency must be one you manage, and must be active. Agent-level API keys cannot authenticate against these endpoints. - `agent_notes` (string, optional, max length 1000, example `test notes`) Populates the Agent Notes section on the Filing Details page of a Filing Agent/Filing Agency Admin user. Include only if you want to add other information about the policy not captured in any of the other fields above. - `transaction_documents` (array of object, optional, nullable) Section for uploading transaction documents during API submission. If omitted, documents can be added later using the bulk drag-and-drop feature in the Filings Import Log or manually in the filing details page for each policy. Document requirements may vary based on Agency settings if documents are optional. - `transaction_documents[].code` (string, required, max length 255, example `POLIC`) 🟥 **REQUIRED** — Document code for the transaction document. - `transaction_documents[].url` (string, optional, max length 4096, example `https://yourdomain.com/file.pdf`) **CONDITIONAL** — URL of the document to be uploaded. Required unless `document_payload` and `document_filename` are both sent. - `transaction_documents[].id` (string, optional, max length 255, example `1000001`) Document ID associated with the transaction. - `transaction_documents[].type` (string, optional, max length 255, one of `url`, `base64`, example `url`) Type of document, specifying whether it's a URL or a base64 string. - `transaction_documents[].cookie_url` (string, optional, nullable, max length 255, example `https://yourdomain.com/auth-cookie`) An optional URL for cookies related to the document, if applicable. - `transaction_documents[].document_payload` (string, optional, max length 100000000, pattern `[A-Za-z0-9+/=]*`) **CONDITIONAL** — Base64 encoded string for the document payload. Required, together with `document_filename`, when `url` is not sent. - `transaction_documents[].document_filename` (string, optional, max length 255, example `policy.pdf`) **CONDITIONAL** — Document file name for the Base64 payload. Required, together with `document_payload`, when `url` is not sent. - `sop_name` (string, optional, max length 100, example `SOP Name`) Service Of Process Name. Service of Process is a clause used in the event of a failure to pay amounts claimed under the policy. Currently applicable for Alabama and Oklahoma. If included but not applicable, it will be ignored upon import. - `sop_address` (string, optional, max length 255, example `Demo street 1`) Service Of Process Address. - `sop_address_2` (string, optional, max length 255, example `2nd floor`) Service Of Process Address 2 (if applicable). - `sop_city` (string, optional, max length 100, example `Winthrop`) Service Of Process City. - `sop_state` (string, optional, max length 20, example `WA`) Service Of Process State. 2 letter state code. - `sop_zip` (string, optional, max length 20, example `98862`) Service Of Process Zip Code. - `declining_carriers` (array of object, optional, nullable) Array of declining carrier details. - `declining_carriers[].naic` (string, optional, max length 255, example `54267`) Declining Carrier NAIC code. - `declining_carriers[].date_declined` (string, date, optional, max length 255, example `2017-02-02`) Declining Carrier Date Declined. - `declining_carriers[].declining_reason` (string, optional, max length 255, example `other`) Declining carrier reason text. Use the allowed value for the insured's physical state. The numeric import code assigned in the admin interface (e.g., `1`, `2`) is also accepted. | State(s) | Allowed Values | |---|---| | MS & MT | Underwriting Reasons, Unable to place in an admitted market | | NV | Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain) | | NJ | Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market | | NY | Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify) | | OH | Reasons | | OR | Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010 | | WY | Reason | | AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY | Unable to place in admitted market | | All other states | Leave blank | Values shown above are defaults. Actual options are configured per state in the admin interface and may vary. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].underwriting_consideration` (string, optional, max length 255, example `Considered`) Declining Carrier Underwriting Consideration, only applicable for New York. Enter text value from the list below: - Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage - Communications with other professionals, such as brokers, agents, risk managers, insurance department or ELANY personnel indicating the insurer will underwrite that class - Any other valid basis you can document Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_name` (string, optional, max length 255, example `John Doe`) Declining Carrier Representative Name. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_title` (string, optional, max length 255, example `Agent`) Declining Carrier Representative Title, only applicable for New York. Enter text value from the list below: - Company Employee - Agent - Other (Specify) Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_email` (string, optional, max length 255, example `demo@demo.com`) Declining Carrier Representative Email. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_phone_number` (string, optional, max length 255, example `212-456-7890`) Declining Carrier Representative Phone Number. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_website` (string, optional, max length 255, example `demo.com`) Declining Carrier Representative Website. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_who_received_the_declinations` (string, optional, max length 255, example `Other Person Office`) Who Received Declinations. Must be among the options provided in the admin interface. It can be a string or a number representing the option. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_other_person_in_office` (string, optional, max length 255, example `Some Other Person`) Who Received Declinations Explanation. This field is saved and visible only if the `who_received_the_declinations` option selected has the 'enable text box for explanation' checkbox checked in the admin interface. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_who_performed_diligent_search` (integer, optional, one of `1`, `2`, example `1`) Who Completed Diligent Search: - `1` — Surplus Lines Broker - `2` — Retail Producer - `retail_producer_name` (string, optional, max length 255, example `Producer Name`) Retail Producer Name. Required in states that mandate retail producer disclosure when business is written through a Retail Agent/Producer. Requirements vary by state and account configuration. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_agency_name` (string, optional, max length 255, example `Producer Agency Name`) Retail Agency Name. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_address` (string, optional, max length 255, example `Demo street 1`) Retail Producer's Address Line 1. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_address2` (string, optional, max length 255, example `2nd floor`) Retail Producer's Address Line 2. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_city` (string, optional, max length 255, example `Demo City`) Retail Producer City Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_state` (string, optional, max length 2, example `WA`) Retail Producer State Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_zip` (string, optional, max length 255, example `12345`) Retail Producer Zip Code Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_producer_license` (string, optional, nullable, max length 255, example `RP-123456`) Retail Producer License. Depends on state retail producer settings. - `retail_agency_license` (string, optional, nullable, max length 255, example `RA-123456`) Retail Agency License. Depends on state retail producer settings. - `retail_phone_number` (string, optional, nullable, max length 255, example `212-456-7890`) Retail Producer Phone Number. Depends on state retail producer settings. - `retail_email_address` (string, optional, nullable, max length 255, example `retail@demo.none`) Retail Producer Email Address. Depends on state retail producer settings. - `wind_storm_exclusion` (integer, optional, one of `0`, `1`, example `0`) Windstorm Exclusion Flag. Indicates if windstorm exclusion applies. Only applicable to certain property coverages in TX and FL. - `1` — TRUE - `0` — FALSE - `wind_storm_eligible_for_pool` (integer, optional, one of `0`, `1`, example `0`) Windstorm Pool Exclusion Flag. - `1` — TRUE - `0` — FALSE - `wind_storm_deduction` (number, float, optional, example `0.51`) Windstorm/Hurricane Deductible. Amount of windstorm/hurricane deductible related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `wind_storm_primary_amount` (number, float, optional, example `10`) Windstorm Primary Amount (Coverage A). Amount related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `wind_storm_other_coverages_deductible` (number, float, optional, example `25`) All Other Perils Deductible. Amount related to all other deductibles not mentioned in the other fields above. Only applicable in FL. If not applicable, leave blank. - `lloyds_cover_holder_number` (string, optional, max length 255, example `CH-12345`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `lloyds_cover_holder_name` (string, optional, max length 255, example `Cover Holder Name`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `associated_producer` (string, optional, max length 255, example `1234567`) License Number of Associated Producer. Applies only if Associated Producer is enabled for the selected physical state and the selected license type is Agency. Validation errors do not appear if a document has been provided with the Associated Producer Optional checkbox checked in the document settings of the admin interface. - `stamping_fee_invoice_id` (string, optional, max length 255, example `INVST-20001`) Stamping Fee Invoice ID field on the Tracking tab in the filing details page of a Filing Agent User. Only applies to InsCipher Connect partners. - `sl_tax_invoice_id` (string, optional, max length 255, example `INVSL-30001`) SL Tax Invoice ID field on the Tracking tab in the filing details page of a Filing Agent/Filing Agency Admin User. Only applies to InsCipher Connect partners. - `business_group_id` (string, optional, max length 255, example `Division 1`) Business Group ID. This is for assigning divisions, regions, or other business groups to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `customer_code` (string, optional, max length 255, example `OPT CUST CODE12`) Customer Code. Used for associating specific customer classifications from your management system to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `transaction_status` (integer, int32, optional, nullable, example `1`) Transaction Status. Not applicable to Utah and Idaho; this field will be ignored in those states, and default logic will be used. - `license_number` (string, optional, nullable, max length 255, example `LIC-123456`) License Number. Default logic will be used if the license is not found or multiple licenses are found. - `filing_admin` (string, optional, nullable, max length 255, example `Filing Admin Name`) Filing Admin Name. Default logic will be used if the filing admin is not found or multiple filing admins are found. - `date_filed` (string, date, optional, example `2024-01-01`) Date Filed. If the transaction is imported with a 'Date Filed', it will automatically be imported in a 'Filed' status. - `umr_number` (string, optional, max length 255, example `UMR-12345`) UMR Number - `sla_transaction_number` (string, optional, max length 255, example `IL20170000000`) SLA transaction number. Required in NJ. - `unique_id` (string, optional, max length 255, example `ext-10001`) Unique ID - `stamping_fee_date_paid` (string, date, optional, example `2024-01-01`) Stamping Fee Date Paid - `sl_tax_paid_date` (string, date, optional, example `2024-01-01`) SL Tax Paid Date - `other_taxes_paid_date` (string, date, optional, example `2024-01-01`) Other Taxes Paid Date - `dba` (string, optional, max length 100, example `Example DBA`) Doing Business As (DBA) — the trade name or assumed name under which the insured operates, if different from their legal entity name. For example, "ABC Holdings LLC" doing business as "Fresh Market". Include when the insured's operating name differs from the legal name on the policy, as some states require the DBA name for accurate filing and surplus lines reporting. - `affordable_housing_qualification` (integer, optional, one of `0`, `1`, example `0`) **CONDITIONAL** — Required in: OR. Determines whether or not the Affordable Housing Qualification applies to the policy. - `1` — TRUE - `0` — FALSE Example request: ```json { "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "transaction_type": "PN", "rpg": 0, "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "mailing_address": "1151 Galleria Blvd", "mailing_city": "Roseville", "mailing_zip_code": "95678", "mailing_state_code": "CA", "physical_same_as_mailing": 1, "line_of_business_list": [ { "item": "GEN-1001", "coverage": 3108.5 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ] } ``` ###### Responses **200** — HTTP 200 means the request was received — not necessarily that the transaction imported successfully. Always check the `status` field on each transaction object for the actual import result. | `status` | Meaning | |---|---| | `0` | Transaction imported successfully | | `2001` | Request accepted, but transaction failed validation — check `status_message` for details | | `3001` | Rejected — read `status_message`: a duplicate transaction, a missing `agent_id` on a Filing Agency Admin key, or an `agent_id` that is unknown, not managed by the caller, or inactive | | `1001`–`1053`, `5003` | Rejected — import error; `status_message` gives the reason. See the error code list on the [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) page | | `500` | Internal system error | Body: - `batch_id` (string, optional, example `912a654e961bb083981145c344ca40c6`) Shared daily batch ID. All Single Import calls from the same API user on the same calendar day share one `batch_id`, which resets at 08:03 UTC. - `transactions` (array of object, optional) - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request, echoed back. `null` if omitted. - `transactions[].policy_number` (string, optional, example `CA20170228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Import result code. `0` = transaction imported successfully. Any other value is an import error code — check `status_message` for the error detail. - `transactions[].status_message` (string, optional, example `Success`) Human-readable result. When `status` is non-zero, this contains the error detail. - `transactions[].transaction_id` (number, optional, example `208368`) InsCipher-assigned internal transaction ID. Present only when `status` = 0. - `transactions[].warnings` (object, optional, nullable) Non-fatal validation warnings. Import succeeded but review these values. `null` when there are none; omitted when `status` is not `0`. **403** — Forbidden — authentication failed (missing or invalid API key). Returned as a plain-text body with `Content-Type: application/json`. **422** — Payload validation error — the request was rejected before processing. Fix the request body and retry. Body: - `message` (string, optional, example `Validation error!`) - `errors` (object, optional) - `metadata` (array of string, optional) **500** — Internal server error Body: - `error` (string, optional, example `single transaction import v2.1 error`) - `message` (string, optional, example `An internal server error occurred during the transaction import.`) ### Transaction Import — Single (POST) — version v2 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v2/single/transaction` | POST | | Production | `https://surpluslines.inscipher.com/api/v2/single/transaction` | POST | The request body is sent as a plain JSON object — no wrapper key required. #### Batch ID Behavior Unlike the Batch endpoint (which issues a new `batch_id` with every request), the Single endpoint uses a **shared daily batch ID**. All Single Import calls submitted by the same API user on the same calendar day are grouped under the same `batch_id`, which resets at 08:03 UTC. #### LOB and Carrier Format | Field | Format | `coverage` unit | |---|---|---| | `line_of_business_list` | `[{"item": "GEN-1001", "coverage": 3108.50}]` | Dollar amount | | `insurance_company_list` | `[{"item": "24856", "coverage": 100}]` | Percentage (0–100) | | `syndicate_list` | `[{"item": "AA-1126033", "coverage": 100}]` | Percentage (0–100) | | `declining_carriers` | `[{"naic": "54267", "date_declined": "2017-02-02", "declining_reason": "other"}]` | — | #### Field reference — Transaction Import — Single OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-import.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v2/single/transaction Single Transaction API import V2 ###### Request body Payload for the single transaction import. Supports `insurance_company_list[].coverage` and `syndicate_list[].coverage`. Load an example from the dropdown to pre-fill a realistic payload — CA, TX, NY, and FL scenarios are included. Content type: `application/json` - `id` (string, optional, max length 255, example `201702028950`) Unique ID used for tracking imported transactions. This number is used to identify possible duplicate transactions. Identified duplicate transactions are excluded from being imported. - `parent_id` (string, optional, max length 255) Parent transaction ID. - `policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number for transaction (Non-unique field). InsCipher character limitation may be different than the state limitation for batch filing - See mapping documentation for specific state limitations. - `policy_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date (`YYYY-MM-DD`). - `policy_expiration_date` (string, date, optional, example `2018-02-01`) Policy expiration date.If omitted, the default value will be calculated to be 12 months from the Policy Effective Date. - `transaction_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction (`YYYY-MM-DD`). For endorsements, use the endorsement effective date. For new or renewal policies, equals `policy_effective_date`. - `expiring_policy_number` (string, optional, max length 50, example `CA20170228-04`) Expiring Policy Number. Only required for Renewal Type Policies. - `invoice_date` (string, date, optional, example `2017-02-01`) This is the date that the policy was invoiced in most states. In GA, this is the Revenue Recognition Date, in HI, this is the Date Issued. If omitted, the filing effective date will be used. Required for Filing Services® partners. - `invoice_number` (string, optional, max length 255, example `INVN-10001`) The 'Invoice ID' field on the Tracking tab in the filing details page of a Filing Agent User.Typically only used by InsCipher Connect partners. - `transaction_type` (string, required, max length 5, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BD`, example `PN`) 🟥 **REQUIRED** — Transaction type code. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BD | Binder | Temporary proof of coverage. | - `policy_type` (string, optional, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Available options depend on the agency's configuration: - `standard` — Standard policy - `master` — Master policy - `cert` — Certificate issued under a master policy - `reporting_form` — Reporting form policy - `account_written_as` (string, optional, max length 50, one of `B`, `DC`, example `B`) Account Written values are listed below. If omitted, the default Agency setting will be used. - `rpg` (number, integer, optional, one of `0`, `1`, default `0`, example `0`) Risk Purchasing Group? Yes = 1 No = 0 If omitted, NO (0) value will be used. Unless you know what an RPG is, set this value to 0. - `layered_risk` (number, integer, optional, one of `0`, `1`, example `0`) Layered Risk Yes = 1 No = 0 - `broker_of_record` (number, integer, optional, one of `0`, `1`, example `0`) Broker of Record Change Yes = 1 No = 0 - `risk_retention_group` (integer, optional, one of `0`, `1`, example `0`) Risk Retention Group Yes = 1 No = 0 - `purchasing_group_name` (string, optional, max length 255, example `Cal Association`) Required if RPG (rpg field) is set to Yes (or 1). If not included and RPG = Yes, then transaction will still import but will show RPG error. - `risk_description` (string, optional, max length 255, example `General Accidental Coverage`) Description of risk. For NY, OH, and PA, state-specific import codes are required. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) Exempt Commercial Purchaser? Yes = 1 No = 0 If omitted, 0 (zero) value will be imported. Unless you know what this is, set this value to 0. - `exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) Is the coverage considered tax exempt by the state? Yes = 1, No = 0. Unless you know that the line of business is tax exempt, set value to 0 or leave blank (the system will default to 0). Currently required only for the state of Utah. - `multi_state` (integer, optional, max length 1, one of `0`, `1`, default `0`, example `0`) Does the insured's liability reside in multiple states? Yes = 1, No = 0. InsCipher does not calculate multi-state surplus lines tax breakdowns. With NIMA dissolving in 2016, InsCipher reports 100% of the premium to the home state of the insured and bases the tax percentages off that state. If omitted, the default is No (0). Currently only required for the state of Utah. - `policy_limit` (number, float, optional, example `0`) Aggregate policy limit/liability amount. Required for Filing Services® partners. For Connect® partners, about a dozen states require this — we recommend including it on every submission. Send a number (decimals are accepted). - `property_limit` (number, float, optional, example `0`) Property Policy Limit. Requirement depends on State and Agency settings. We recommend including the property policy limit on every submission; if not required, this amount will be ignored. Send a number (decimals are accepted). - `line_of_business_list` (array of object, optional, nullable) If multiple lines of business apply, use the line of business list breakdown. Requirement depends on state regulations; we recommend importing all transactions with multiple lines of business where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `line_of_business_list[].item` (string, required, max length 250, example `GEN-1001`) 🟥 **REQUIRED** — Line of business item (code) - `line_of_business_list[].coverage` (number, required, example `3108.5`) 🟥 **REQUIRED** — Premium amount in dollars for this line of business. - `insurance_company_list` (array of object, optional, nullable) For policies with multiple insurance companies, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `insurance_company_list[].item` (string, required, max length 250, example `24856`) 🟥 **REQUIRED** — Insurance company item (NAICS) - `insurance_company_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this carrier (0–100). - `syndicate_list` (array of object, optional, nullable) For policies with multiple syndicates, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. - `syndicate_list[].item` (string, required, max length 250, example `AA-1126033`) 🟥 **REQUIRED** — Syndicate company item (NAICS) - `syndicate_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this syndicate (0–100). - `premium` (number, float, optional) Policy premium. If omitted, 0 (zero) amount will be imported. - `agency_fee` (number, float, optional) Policy / Broker / Agency Fee. If omitted, defaults to `0.00`. We recommend including this field explicitly on every submission for Connect® partners. Optional for Filing Services® partners. - `inspection_fee` (number, float, optional) Inspection / Audit / Underwriting Fee. If omitted, defaults to `0.00`. - `collection_fee` (number, float, optional) Collection Fee. Ignored if the fee is not applicable. - `sl_tax` (number, float, optional) Surplus Lines Tax (name may vary slightly by state). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the tax is not applicable. - `stamping_fee` (number, float, optional) Stamping Fee (name may vary, such as FSLO fee in Florida or Fire Marshal Tax in Oregon). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `sl_service_charge` (number, float, optional) Currently active only in the state of Oregon and Mississippi. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. Ignored if the service charge is not applicable. - `municipal_fee` (number, float, optional) Currently active only in Kentucky. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. - `fm_tax` (number, float, optional) Fire Marshal Tax based on Line of Business. Active in the state of Illinois and is based off premium amount. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `empa_tax` (number, float, optional) EMPA tax. Active in the state of Florida and is based on Line of Business. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `total` (number, float, optional, example `4224.8`) Total amount = premium + all taxes + all policy fees. If omitted, the system will sum up and import the total automatically. - `commission_received` (integer, int32, optional, one of `0`, `1`, default `0`, example `0`) Is commission received? Currently only applies to NH. Yes = 1, No = 0. If commission is received, policy fees cannot be charged (Tax rule #33 - NH RPG). If omitted, 0 (zero) value will be imported. - `mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Insured name as it appears in policy documents. - `mailing_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Mailing address. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_address2` (string, optional, max length 255, example `Suite 200`) Mailing address line 2 (if applicable). - `mailing_city` (string, optional, max length 100, example `Roseville`) Mailing city. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_zip_code` (string, optional, max length 20, example `95678`) Mailing zip code. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `mailing_state_code` (string, optional, max length 20, example `CA`) Mailing state. 2-letter state code. Required if at least one mailing address field is provided. - `insured_entity` (string, optional, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `individual`) Mailing Entity Type. Mailing Entity Types are listed below. Code = Name: `individual` = Individual, `commercial` = Commercial, `governmental` = Governmental, `federal` = Federal Credit Union, `tribal` = Tribal Lands, `hospital_alliance` = Hospital Alliance, `state_approved_tax_exempt` = State Approved Tax Exempt Entity. Only applies to SC, NC, TN & FL. Notification for future states will occur as they apply. - `insured_email` (string, optional, max length 100, example `producer@demo.none`) Mailing Insured Email - `insured_phone` (string, optional, max length 100, example `212-456-7890`) Mailing Insured Phone - `insured_county` (string, optional, max length 100, example `Washington`) Mailing County - `physical_same_as_mailing` (integer, required, max length 1, one of `0`, `1`, example `1`) 🟥 **REQUIRED** — If the Physical State is the same as the Mailing State, set this value = 1. If not, set this value = 0. IMPORTANT: If you make the physical state the same as mailing state, ensure both addresses have valid 'States' codes to avoid import errors. If mailing address fields are blank but physical address is provided, set this to 1 (Yes). - `physical_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Physical address. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_address2` (string, optional, max length 255, example `Suite 200`) Physical address line 2 - `physical_city` (string, optional, max length 100, example `Roseville`) Physical city. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_zip_code` (string, optional, max length 20, example `95678`) Physical zip code. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `physical_state_code` (string, optional, max length 20, example `CA`) Physical state. 2-letter state code. Required if Physical State is NOT the same as Mailing State. - `agent_id` (integer, optional, example `1`) **Connect® only.** InsCipher agent/user ID. Identifies which Connect® user the filing is credited to — and, for a filing-admin key, which agency it is filed for. **Agency Admin API key — optional.** Supply the ID of an active agent in your agency to credit the filing to them; omit it and the filing is credited to the agency itself. A value that is not an active agent of your agency is **silently ignored**, the filing is credited to the agency, and no error is returned. **Filing Agency Admin API key — required.** Here `agent_id` additionally selects which of the agencies you manage the transaction is filed for: pass that agency's Agency Admin ID, or the ID of an agent within it. The agency must be one you manage, and must be active. Agent-level API keys cannot authenticate against these endpoints. - `agent_notes` (string, optional, max length 1000, example `test notes`) Populates the Agent Notes section on the Filing Details page of a Filing Agent/Filing Agency Admin user. Include only if you want to add other information about the policy not captured in any of the other fields above. - `transaction_documents` (array of object, optional, nullable) Section for uploading transaction documents during API submission. If omitted, documents can be added later using the bulk drag-and-drop feature in the Filings Import Log or manually in the filing details page for each policy. Document requirements may vary based on Agency settings if documents are optional. - `transaction_documents[].code` (string, required, max length 255, example `POLIC`) 🟥 **REQUIRED** — Document code for the transaction document. - `transaction_documents[].url` (string, optional, max length 4096, example `https://yourdomain.com/file.pdf`) **CONDITIONAL** — URL of the document to be uploaded. Required unless `document_payload` and `document_filename` are both sent. - `transaction_documents[].id` (string, optional, max length 255, example `1000001`) Document ID associated with the transaction. - `transaction_documents[].type` (string, optional, max length 255, one of `url`, `base64`, example `url`) Type of document, specifying whether it's a URL or a base64 string. - `transaction_documents[].cookie_url` (string, optional, nullable, max length 255, example `https://yourdomain.com/auth-cookie`) An optional URL for cookies related to the document, if applicable. - `transaction_documents[].document_payload` (string, optional, max length 100000000, pattern `[A-Za-z0-9+/=]*`) **CONDITIONAL** — Base64 encoded string for the document payload. Required, together with `document_filename`, when `url` is not sent. - `transaction_documents[].document_filename` (string, optional, max length 255, example `policy.pdf`) **CONDITIONAL** — Document file name for the Base64 payload. Required, together with `document_payload`, when `url` is not sent. - `sop_name` (string, optional, max length 100, example `SOP Name`) Service Of Process Name. Service of Process is a clause used in the event of a failure to pay amounts claimed under the policy. Currently applicable for Alabama and Oklahoma. If included but not applicable, it will be ignored upon import. - `sop_address` (string, optional, max length 255, example `Demo street 1`) Service Of Process Address. - `sop_address_2` (string, optional, max length 255, example `2nd floor`) Service Of Process Address 2 (if applicable). - `sop_city` (string, optional, max length 100, example `Winthrop`) Service Of Process City. - `sop_state` (string, optional, max length 20, example `WA`) Service Of Process State. 2 letter state code. - `sop_zip` (string, optional, max length 20, example `98862`) Service Of Process Zip Code. - `declining_carriers` (array of object, optional, nullable) Array of declining carrier details. - `declining_carriers[].naic` (string, optional, max length 255, example `54267`) Declining Carrier NAIC code. - `declining_carriers[].date_declined` (string, date, optional, max length 255, example `2017-02-02`) Declining Carrier Date Declined. - `declining_carriers[].declining_reason` (string, optional, max length 255, example `other`) Declining carrier reason text. Use the allowed value for the insured's physical state. The numeric import code assigned in the admin interface (e.g., `1`, `2`) is also accepted. | State(s) | Allowed Values | |---|---| | MS & MT | Underwriting Reasons, Unable to place in an admitted market | | NV | Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain) | | NJ | Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market | | NY | Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify) | | OH | Reasons | | OR | Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010 | | WY | Reason | | AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY | Unable to place in admitted market | | All other states | Leave blank | Values shown above are defaults. Actual options are configured per state in the admin interface and may vary. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].underwriting_consideration` (string, optional, max length 255, example `Considered`) Declining Carrier Underwriting Consideration, only applicable for New York. Enter text value from the list below: - Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage - Communications with other professionals, such as brokers, agents, risk managers, insurance department or ELANY personnel indicating the insurer will underwrite that class - Any other valid basis you can document Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_name` (string, optional, max length 255, example `John Doe`) Declining Carrier Representative Name. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_title` (string, optional, max length 255, example `Agent`) Declining Carrier Representative Title, only applicable for New York. Enter text value from the list below: - Company Employee - Agent - Other (Specify) Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_email` (string, optional, max length 255, example `demo@demo.com`) Declining Carrier Representative Email. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_phone_number` (string, optional, max length 255, example `212-456-7890`) Declining Carrier Representative Phone Number. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `declining_carriers[].representative_website` (string, optional, max length 255, example `demo.com`) Declining Carrier Representative Website. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_who_received_the_declinations` (string, optional, max length 255, example `Other Person Office`) Who Received Declinations. Must be among the options provided in the admin interface. It can be a string or a number representing the option. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_other_person_in_office` (string, optional, max length 255, example `Some Other Person`) Who Received Declinations Explanation. This field is saved and visible only if the `who_received_the_declinations` option selected has the 'enable text box for explanation' checkbox checked in the admin interface. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `dc_who_performed_diligent_search` (integer, optional, one of `1`, `2`, example `1`) Who Completed Diligent Search: - `1` — Surplus Lines Broker - `2` — Retail Producer - `retail_producer_name` (string, optional, max length 255, example `Producer Name`) Retail Producer Name. Required in states that mandate retail producer disclosure when business is written through a Retail Agent/Producer. Requirements vary by state and account configuration. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_agency_name` (string, optional, max length 255, example `Producer Agency Name`) Retail Agency Name. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_address` (string, optional, max length 255, example `Demo street 1`) Retail Producer's Address Line 1. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_address2` (string, optional, max length 255, example `2nd floor`) Retail Producer's Address Line 2. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_city` (string, optional, max length 255, example `Demo City`) Retail Producer City Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_state` (string, optional, max length 2, example `WA`) Retail Producer State Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_zip` (string, optional, max length 255, example `12345`) Retail Producer Zip Code Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `retail_producer_license` (string, optional, nullable, max length 255, example `RP-123456`) Retail Producer License. Depends on state retail producer settings. - `retail_agency_license` (string, optional, nullable, max length 255, example `RA-123456`) Retail Agency License. Depends on state retail producer settings. - `retail_phone_number` (string, optional, nullable, max length 255, example `212-456-7890`) Retail Producer Phone Number. Depends on state retail producer settings. - `retail_email_address` (string, optional, nullable, max length 255, example `retail@demo.none`) Retail Producer Email Address. Depends on state retail producer settings. - `wind_storm_exclusion` (integer, optional, one of `0`, `1`, example `0`) Windstorm Exclusion Flag. Indicates if windstorm exclusion applies. Only applicable to certain property coverages in TX and FL. - `1` — TRUE - `0` — FALSE - `wind_storm_eligible_for_pool` (integer, optional, one of `0`, `1`, example `0`) Windstorm Pool Exclusion Flag. - `1` — TRUE - `0` — FALSE - `wind_storm_deduction` (number, float, optional, example `0.51`) Windstorm/Hurricane Deductible. Amount of windstorm/hurricane deductible related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `wind_storm_primary_amount` (number, float, optional, example `10`) Windstorm Primary Amount (Coverage A). Amount related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `wind_storm_other_coverages_deductible` (number, float, optional, example `25`) All Other Perils Deductible. Amount related to all other deductibles not mentioned in the other fields above. Only applicable in FL. If not applicable, leave blank. - `lloyds_cover_holder_number` (string, optional, max length 255, example `CH-12345`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `lloyds_cover_holder_name` (string, optional, max length 255, example `Cover Holder Name`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `associated_producer` (string, optional, max length 255, example `1234567`) License Number of Associated Producer. Applies only if Associated Producer is enabled for the selected physical state and the selected license type is Agency. Validation errors do not appear if a document has been provided with the Associated Producer Optional checkbox checked in the document settings of the admin interface. - `stamping_fee_invoice_id` (string, optional, max length 255, example `INVST-20001`) Stamping Fee Invoice ID field on the Tracking tab in the filing details page of a Filing Agent User. Only applies to InsCipher Connect partners. - `sl_tax_invoice_id` (string, optional, max length 255, example `INVSL-30001`) SL Tax Invoice ID field on the Tracking tab in the filing details page of a Filing Agent/Filing Agency Admin User. Only applies to InsCipher Connect partners. - `business_group_id` (string, optional, max length 255, example `Division 1`) Business Group ID. This is for assigning divisions, regions, or other business groups to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `customer_code` (string, optional, max length 255, example `OPT CUST CODE12`) Customer Code. Used for associating specific customer classifications from your management system to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `transaction_status` (integer, int32, optional, nullable, example `1`) Transaction Status. Not applicable to Utah and Idaho; this field will be ignored in those states, and default logic will be used. - `license_number` (string, optional, nullable, max length 255, example `LIC-123456`) License Number. Default logic will be used if the license is not found or multiple licenses are found. - `filing_admin` (string, optional, nullable, max length 255, example `Filing Admin Name`) Filing Admin Name. Default logic will be used if the filing admin is not found or multiple filing admins are found. - `date_filed` (string, date, optional, example `2024-01-01`) Date Filed. If the transaction is imported with a 'Date Filed', it will automatically be imported in a 'Filed' status. - `umr_number` (string, optional, max length 255, example `UMR-12345`) UMR Number - `sla_transaction_number` (string, optional, max length 255, example `IL20170000000`) SLA transaction number. Required in NJ. - `unique_id` (string, optional, max length 255, example `ext-10001`) Unique ID - `stamping_fee_date_paid` (string, date, optional, example `2024-01-01`) Stamping Fee Date Paid - `sl_tax_paid_date` (string, date, optional, example `2024-01-01`) SL Tax Paid Date - `other_taxes_paid_date` (string, date, optional, example `2024-01-01`) Other Taxes Paid Date - `dba` (string, optional, max length 100, example `Example DBA`) Doing Business As (DBA) — the trade name or assumed name under which the insured operates, if different from their legal entity name. For example, "ABC Holdings LLC" doing business as "Fresh Market". Include when the insured's operating name differs from the legal name on the policy, as some states require the DBA name for accurate filing and surplus lines reporting. - `affordable_housing_qualification` (integer, optional, one of `0`, `1`, example `0`) **CONDITIONAL** — Required in: OR. Determines whether or not the Affordable Housing Qualification applies to the policy. - `1` — TRUE - `0` — FALSE Example request: ```json { "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "transaction_type": "PN", "rpg": 0, "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "mailing_address": "1151 Galleria Blvd", "mailing_city": "Roseville", "mailing_zip_code": "95678", "mailing_state_code": "CA", "physical_same_as_mailing": 1, "line_of_business_list": [ { "item": "GEN-1001", "coverage": 3108.5 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ] } ``` ###### Responses **200** — HTTP 200 means the request was received — not necessarily that the transaction imported successfully. Always check the `status` field on each transaction object for the actual import result. | `status` | Meaning | |---|---| | `0` | Transaction imported successfully | | `2001` | Request accepted, but transaction failed validation — check `status_message` for details | | `3001` | Rejected — read `status_message`: a duplicate transaction, a missing `agent_id` on a Filing Agency Admin key, or an `agent_id` that is unknown, not managed by the caller, or inactive | | `1001`–`1053`, `5003` | Rejected — import error; `status_message` gives the reason. See the error code list on the [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) page | | `500` | Internal system error | Body: - `batch_id` (string, optional, example `912a654e961bb083981145c344ca40c6`) Shared daily batch ID. All Single Import calls from the same API user on the same calendar day share one `batch_id`, which resets at 08:03 UTC. - `transactions` (array of object, optional) - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request, echoed back. `null` if omitted. - `transactions[].policy_number` (string, optional, example `CA20170228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Import result code. `0` = transaction imported successfully. Any other value is an import error code — check `status_message` for the error detail. - `transactions[].status_message` (string, optional, example `Success`) Human-readable result. When `status` is non-zero, this contains the error detail. - `transactions[].transaction_id` (number, optional, example `208368`) InsCipher-assigned internal transaction ID. Present only when `status` = 0. - `transactions[].warnings` (object, optional, nullable) Non-fatal validation warnings. Import succeeded but review these values. `null` when there are none; omitted when `status` is not `0`. **403** — Forbidden — authentication failed (missing or invalid API key). Returned as a plain-text body with `Content-Type: application/json`. **422** — Payload validation error — the request was rejected before processing. Fix the request body and retry. Body: - `message` (string, optional, example `Validation error!`) - `errors` (object, optional) - `metadata` (array of string, optional) **500** — Internal server error Body: - `error` (string, optional, example `single transaction import v2 error`) - `message` (string, optional, example `An internal server error occurred during the transaction import.`) ### Transaction Import — Single (POST) — version v1 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v1/single/transaction` | POST | | Production | `https://surpluslines.inscipher.com/api/v1/single/transaction` | POST | The request body requires three envelope fields alongside `transaction`: `batch_id` (a unique UUID v4 per request), `current_item` (always `1` for single-transaction imports), and `total_items` (always `1` for single-transaction imports). #### Batch ID Behavior You must supply a unique `batch_id` in every v1 request. Once a `batch_id` has been associated with a completed import, it cannot be reused — the server returns HTTP 400 if you attempt to reuse one. It must be a UUID v4 (e.g., `crypto.randomUUID()` or Postman's `{{$guid}}`). #### LOB and Carrier Format | Field | Format | `coverage` unit | |---|---|---| | `line_of_business_list` | `[{"item": "GEN-1001", "coverage": 3108.50}]` | Dollar amount | | `insurance_company_list` | `[{"item": "24856", "coverage": 100}]` | Percentage (0–100) | | `syndicate_list` | `[{"item": "AA-1126033", "coverage": 100}]` | Percentage (0–100) | | `declining_carriers` | `[{"naic": "54267", "date_declined": "2017-02-02", "declining_reason": "other"}]` | — | #### Field reference — Transaction Import — Single v1 OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-import-v1.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v1/single/transaction Single Transaction import ###### Request body Payload for the single transaction import. Supports `insurance_company_list[].coverage` and `syndicate_list[].coverage`. Load an example from the dropdown to pre-fill a realistic payload — CA, TX, NY, and FL scenarios are included. Content type: `application/json` - `batch_id` (string, uuid, required, example `17d05ec8-8041-4984-ada7-395ed6b12faa`) 🟥 **REQUIRED** — Unique batch identifier for this import. Must be a fresh value for each request — once a `batch_id` has been associated with a completed import, it cannot be reused (HTTP 400 is returned if you attempt to reuse one). Must be a UUID v4 (e.g., generated by `{{$guid}}` in Postman). - `current_item` (integer, required, example `1`) 🟥 **REQUIRED** — 1-based index of this transaction within the batch. For single-transaction imports, always use `1`. - `total_items` (integer, required, example `1`) 🟥 **REQUIRED** — Total number of transactions in this batch. For single-transaction imports, always use `1`. - `transaction` (object, required) - `transaction.id` (string, optional, max length 255, example `201702028950`) Unique ID used for tracking imported transactions. This number is used to identify possible duplicate transactions. Identified duplicate transactions are excluded from being imported. - `transaction.parent_id` (string, optional, max length 255) Parent transaction ID. - `transaction.policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number for transaction (Non-unique field). InsCipher character limitation may be different than the state limitation for batch filing - See mapping documentation for specific state limitations. - `transaction.policy_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date (`YYYY-MM-DD`). - `transaction.policy_expiration_date` (string, date, optional, example `2018-02-01`) Policy expiration date.If omitted, the default value will be calculated to be 12 months from the Policy Effective Date. - `transaction.transaction_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction (`YYYY-MM-DD`). For endorsements, use the endorsement effective date. For new or renewal policies, equals `policy_effective_date`. - `transaction.expiring_policy_number` (string, optional, max length 50, example `CA20170228-04`) Expiring Policy Number. Only required for Renewal Type Policies. - `transaction.invoice_date` (string, date, optional, example `2017-02-01`) This is the date that the policy was invoiced in most states. In GA, this is the Revenue Recognition Date, in HI, this is the Date Issued. If omitted, the filing effective date will be used. Required for Filing Services® partners. - `transaction.invoice_number` (string, optional, max length 255, example `INVN-10001`) The 'Invoice ID' field on the Tracking tab in the filing details page of a Filing Agent User.Typically only used by InsCipher Connect partners. - `transaction.transaction_type` (string, required, max length 5, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BD`, example `PN`) 🟥 **REQUIRED** — Transaction type code. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | PC | Pro Rata Cancelation | Termination with partial refund. | | XE | Extension Endorsement | Premium for extending coverage dates. | | ARE | Audit Return Endorsement | Post-expiry premium refund. | | RI | Reinstatement | Restoring coverage after cancellation. | | BD | Binder | Temporary proof of coverage. | - `transaction.policy_type` (string, optional, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Available options depend on the agency's configuration: - `standard` — Standard policy - `master` — Master policy - `cert` — Certificate issued under a master policy - `reporting_form` — Reporting form policy - `transaction.account_written_as` (string, optional, max length 50, one of `B`, `DC`, example `B`) Account Written values are listed below. If omitted, the default Agency setting will be used. - `transaction.rpg` (number, integer, optional, one of `0`, `1`, default `0`, example `0`) Risk Purchasing Group? Yes = 1 No = 0 If omitted, NO (0) value will be used. Unless you know what an RPG is, set this value to 0. - `transaction.layered_risk` (number, integer, optional, one of `0`, `1`, example `0`) Layered Risk Yes = 1 No = 0 - `transaction.broker_of_record` (number, integer, optional, one of `0`, `1`, example `0`) Broker of Record Change Yes = 1 No = 0 - `transaction.risk_retention_group` (integer, optional, one of `0`, `1`, example `0`) Risk Retention Group Yes = 1 No = 0 - `transaction.purchasing_group_name` (string, optional, max length 255, example `Cal Association`) Required if RPG (rpg field) is set to Yes (or 1). If not included and RPG = Yes, then transaction will still import but will show RPG error. - `transaction.risk_description` (string, optional, max length 255, example `General Accidental Coverage`) Description of risk. For NY, OH, and PA, state-specific import codes are required. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `transaction.ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) Exempt Commercial Purchaser? Yes = 1 No = 0 If omitted, 0 (zero) value will be imported. Unless you know what this is, set this value to 0. - `transaction.exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) Is the coverage considered tax exempt by the state? Yes = 1, No = 0. Unless you know that the line of business is tax exempt, set value to 0 or leave blank (the system will default to 0). Currently required only for the state of Utah. - `transaction.multi_state` (integer, optional, max length 1, one of `0`, `1`, default `0`, example `0`) Does the insured's liability reside in multiple states? Yes = 1, No = 0. InsCipher does not calculate multi-state surplus lines tax breakdowns. With NIMA dissolving in 2016, InsCipher reports 100% of the premium to the home state of the insured and bases the tax percentages off that state. If omitted, the default is No (0). Currently only required for the state of Utah. - `transaction.policy_limit` (number, float, optional, example `0`) Aggregate policy limit/liability amount. Required for Filing Services® partners. For Connect® partners, about a dozen states require this — we recommend including it on every submission. Send a number (decimals are accepted). - `transaction.property_limit` (number, float, optional, example `0`) Property Policy Limit. Requirement depends on State and Agency settings. We recommend including the property policy limit on every submission; if not required, this amount will be ignored. Send a number (decimals are accepted). - `transaction.line_of_business_list` (array of object, optional, nullable) If multiple lines of business apply, use the line of business list breakdown. Requirement depends on state regulations; we recommend importing all transactions with multiple lines of business where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `transaction.line_of_business_list[].item` (string, required, max length 250, example `GEN-1001`) 🟥 **REQUIRED** — Line of business item (code) - `transaction.line_of_business_list[].coverage` (number, required, example `3108.5`) 🟥 **REQUIRED** — Premium amount in dollars for this line of business. - `transaction.insurance_company_list` (array of object, optional, nullable) For policies with multiple insurance companies, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `transaction.insurance_company_list[].item` (string, required, max length 250, example `24856`) 🟥 **REQUIRED** — Insurance company item (NAICS) - `transaction.insurance_company_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this carrier (0–100). - `transaction.syndicate_list` (array of object, optional, nullable) For policies with multiple syndicates, provide the NAIC import code list. This requirement depends on state requirements; we recommend importing all transactions with multiple insurance companies where applicable. - `transaction.syndicate_list[].item` (string, required, max length 250, example `AA-1126033`) 🟥 **REQUIRED** — Syndicate company item (NAICS) - `transaction.syndicate_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage attributed to this syndicate (0–100). - `transaction.premium` (number, float, optional) Policy premium. If omitted, 0 (zero) amount will be imported. - `transaction.agency_fee` (number, float, optional) Policy / Broker / Agency Fee. If omitted, defaults to `0.00`. We recommend including this field explicitly on every submission for Connect® partners. Optional for Filing Services® partners. - `transaction.inspection_fee` (number, float, optional) Inspection / Audit / Underwriting Fee. If omitted, defaults to `0.00`. - `transaction.collection_fee` (number, float, optional) Collection Fee. Ignored if the fee is not applicable. - `transaction.sl_tax` (number, float, optional) Surplus Lines Tax (name may vary slightly by state). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the tax is not applicable. - `transaction.stamping_fee` (number, float, optional) Stamping Fee (name may vary, such as FSLO fee in Florida or Fire Marshal Tax in Oregon). The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `transaction.sl_service_charge` (number, float, optional) Currently active only in the state of Oregon and Mississippi. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. Ignored if the service charge is not applicable. - `transaction.municipal_fee` (number, float, optional) Currently active only in Kentucky. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. Ignored if the fee is not applicable. - `transaction.fm_tax` (number, float, optional) Fire Marshal Tax based on Line of Business. Active in the state of Illinois and is based off premium amount. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `transaction.empa_tax` (number, float, optional) EMPA tax. Active in the state of Florida and is based on Line of Business. The requirement depends on Agency account setting if tax import is optional. If Mandatory: 0 (zero) amount will be imported. - `transaction.total` (number, float, optional, example `4224.8`) Total amount = premium + all taxes + all policy fees. If omitted, the system will sum up and import the total automatically. - `transaction.commission_received` (integer, int32, optional, one of `0`, `1`, default `0`, example `0`) Is commission received? Currently only applies to NH. Yes = 1, No = 0. If commission is received, policy fees cannot be charged (Tax rule #33 - NH RPG). If omitted, 0 (zero) value will be imported. - `transaction.mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Insured name as it appears in policy documents. - `transaction.mailing_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Mailing address. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `transaction.mailing_address2` (string, optional, max length 255, example `Suite 200`) Mailing address line 2 (if applicable). - `transaction.mailing_city` (string, optional, max length 100, example `Roseville`) Mailing city. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `transaction.mailing_zip_code` (string, optional, max length 20, example `95678`) Mailing zip code. Required if at least one mailing address field is provided and if client has setting 'Full address optional' enabled. - `transaction.mailing_state_code` (string, optional, max length 20, example `CA`) Mailing state. 2-letter state code. Required if at least one mailing address field is provided. - `transaction.insured_entity` (string, optional, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `individual`) Mailing Entity Type. Mailing Entity Types are listed below. Code = Name: `individual` = Individual, `commercial` = Commercial, `governmental` = Governmental, `federal` = Federal Credit Union, `tribal` = Tribal Lands, `hospital_alliance` = Hospital Alliance, `state_approved_tax_exempt` = State Approved Tax Exempt Entity. Only applies to SC, NC, TN & FL. Notification for future states will occur as they apply. - `transaction.insured_email` (string, optional, max length 100, example `producer@demo.none`) Mailing Insured Email - `transaction.insured_phone` (string, optional, max length 100, example `212-456-7890`) Mailing Insured Phone - `transaction.insured_county` (string, optional, max length 100, example `Washington`) Mailing County - `transaction.physical_same_as_mailing` (integer, required, max length 1, one of `0`, `1`, example `1`) 🟥 **REQUIRED** — If the Physical State is the same as the Mailing State, set this value = 1. If not, set this value = 0. IMPORTANT: If you make the physical state the same as mailing state, ensure both addresses have valid 'States' codes to avoid import errors. If mailing address fields are blank but physical address is provided, set this to 1 (Yes). - `transaction.physical_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Physical address. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `transaction.physical_address2` (string, optional, max length 255, example `Suite 200`) Physical address line 2 - `transaction.physical_city` (string, optional, max length 100, example `Roseville`) Physical city. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `transaction.physical_zip_code` (string, optional, max length 20, example `95678`) Physical zip code. Required if Physical State is NOT the same as Mailing State and if client has setting Full address optional disabled. - `transaction.physical_state_code` (string, optional, max length 20, example `CA`) Physical state. 2-letter state code. Required if Physical State is NOT the same as Mailing State. - `transaction.agent_id` (integer, optional, example `1`) **Connect® only.** InsCipher agent/user ID. Identifies which Connect® user the filing is credited to — and, for a filing-admin key, which agency it is filed for. **Agency Admin API key — optional.** Supply the ID of an active agent in your agency to credit the filing to them; omit it and the filing is credited to the agency itself. A value that is not an active agent of your agency is **silently ignored**, the filing is credited to the agency, and no error is returned. **Filing Agency Admin API key — required.** Here `agent_id` additionally selects which of the agencies you manage the transaction is filed for: pass that agency's Agency Admin ID, or the ID of an agent within it. The agency must be one you manage, and must be active. Agent-level API keys cannot authenticate against these endpoints. - `transaction.agent_notes` (string, optional, max length 1000, example `test notes`) Populates the Agent Notes section on the Filing Details page of a Filing Agent/Filing Agency Admin user. Include only if you want to add other information about the policy not captured in any of the other fields above. - `transaction.transaction_documents` (array of object, optional, nullable) Section for uploading transaction documents during API submission. If omitted, documents can be added later using the bulk drag-and-drop feature in the Filings Import Log or manually in the filing details page for each policy. Document requirements may vary based on Agency settings if documents are optional. - `transaction.transaction_documents[].code` (string, required, max length 255, example `POLIC`) 🟥 **REQUIRED** — Document code for the transaction document. - `transaction.transaction_documents[].url` (string, optional, max length 4096, example `https://yourdomain.com/file.pdf`) **CONDITIONAL** — URL of the document to be uploaded. Required unless `document_payload` and `document_filename` are both sent. - `transaction.transaction_documents[].id` (string, optional, max length 255, example `1000001`) Document ID associated with the transaction. - `transaction.transaction_documents[].type` (string, optional, max length 255, one of `url`, `base64`, example `url`) Type of document, specifying whether it's a URL or a base64 string. - `transaction.transaction_documents[].cookie_url` (string, optional, nullable, max length 255, example `https://yourdomain.com/auth-cookie`) An optional URL for cookies related to the document, if applicable. - `transaction.transaction_documents[].document_payload` (string, optional, max length 100000000, pattern `[A-Za-z0-9+/=]*`) **CONDITIONAL** — Base64 encoded string for the document payload. Required, together with `document_filename`, when `url` is not sent. - `transaction.transaction_documents[].document_filename` (string, optional, max length 255, example `policy.pdf`) **CONDITIONAL** — Document file name for the Base64 payload. Required, together with `document_payload`, when `url` is not sent. - `transaction.sop_name` (string, optional, max length 100, example `SOP Name`) Service Of Process Name. Service of Process is a clause used in the event of a failure to pay amounts claimed under the policy. Currently applicable for Alabama and Oklahoma. If included but not applicable, it will be ignored upon import. - `transaction.sop_address` (string, optional, max length 255, example `Demo street 1`) Service Of Process Address. - `transaction.sop_address_2` (string, optional, max length 255, example `2nd floor`) Service Of Process Address 2 (if applicable). - `transaction.sop_city` (string, optional, max length 100, example `Winthrop`) Service Of Process City. - `transaction.sop_state` (string, optional, max length 20, example `WA`) Service Of Process State. 2 letter state code. - `transaction.sop_zip` (string, optional, max length 20, example `98862`) Service Of Process Zip Code. - `transaction.declining_carriers` (array of object, optional, nullable) Array of declining carrier details. - `transaction.declining_carriers[].naic` (string, optional, max length 255, example `54267`) Declining Carrier NAIC code. - `transaction.declining_carriers[].date_declined` (string, date, optional, max length 255, example `2017-02-02`) Declining Carrier Date Declined. - `transaction.declining_carriers[].declining_reason` (string, optional, max length 255, example `other`) Declining carrier reason text. Use the allowed value for the insured's physical state. The numeric import code assigned in the admin interface (e.g., `1`, `2`) is also accepted. | State(s) | Allowed Values | |---|---| | MS & MT | Underwriting Reasons, Unable to place in an admitted market | | NV | Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain) | | NJ | Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market | | NY | Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify) | | OH | Reasons | | OR | Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010 | | WY | Reason | | AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY | Unable to place in admitted market | | All other states | Leave blank | Values shown above are defaults. Actual options are configured per state in the admin interface and may vary. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.declining_carriers[].underwriting_consideration` (string, optional, max length 255, example `Considered`) Declining Carrier Underwriting Consideration, only applicable for New York. Enter text value from the list below: - Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage - Communications with other professionals, such as brokers, agents, risk managers, insurance department or ELANY personnel indicating the insurer will underwrite that class - Any other valid basis you can document Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.declining_carriers[].representative_name` (string, optional, max length 255, example `John Doe`) Declining Carrier Representative Name. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.declining_carriers[].representative_title` (string, optional, max length 255, example `Agent`) Declining Carrier Representative Title, only applicable for New York. Enter text value from the list below: - Company Employee - Agent - Other (Specify) Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.declining_carriers[].representative_email` (string, optional, max length 255, example `demo@demo.com`) Declining Carrier Representative Email. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.declining_carriers[].representative_phone_number` (string, optional, max length 255, example `212-456-7890`) Declining Carrier Representative Phone Number. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.declining_carriers[].representative_website` (string, optional, max length 255, example `demo.com`) Declining Carrier Representative Website. Required when NAIC code is present. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.dc_who_received_the_declinations` (string, optional, max length 255, example `Other Person Office`) Who Received Declinations. Must be among the options provided in the admin interface. It can be a string or a number representing the option. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.dc_other_person_in_office` (string, optional, max length 255, example `Some Other Person`) Who Received Declinations Explanation. This field is saved and visible only if the `who_received_the_declinations` option selected has the 'enable text box for explanation' checkbox checked in the admin interface. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.dc_who_performed_diligent_search` (integer, optional, one of `1`, `2`, example `1`) Who Completed Diligent Search: - `1` — Surplus Lines Broker - `2` — Retail Producer - `transaction.retail_producer_name` (string, optional, max length 255, example `Producer Name`) Retail Producer Name. Required in states that mandate retail producer disclosure when business is written through a Retail Agent/Producer. Requirements vary by state and account configuration. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.retail_agency_name` (string, optional, max length 255, example `Producer Agency Name`) Retail Agency Name. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.retail_address` (string, optional, max length 255, example `Demo street 1`) Retail Producer's Address Line 1. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.retail_address2` (string, optional, max length 255, example `2nd floor`) Retail Producer's Address Line 2. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.retail_city` (string, optional, max length 255, example `Demo City`) Retail Producer City Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.retail_state` (string, optional, max length 2, example `WA`) Retail Producer State Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.retail_zip` (string, optional, max length 255, example `12345`) Retail Producer Zip Code Location. Required in WA, OR, and AK only if the business is written through a Retail Agent/Producer. Validation errors do not appear if a document has been provided with the Retail Producer Fields Optional checkbox checked in the document settings of the admin interface. - `transaction.retail_producer_license` (string, optional, nullable, max length 255, example `RP-123456`) Retail Producer License. Depends on state retail producer settings. - `transaction.retail_agency_license` (string, optional, nullable, max length 255, example `RA-123456`) Retail Agency License. Depends on state retail producer settings. - `transaction.retail_phone_number` (string, optional, nullable, max length 255, example `212-456-7890`) Retail Producer Phone Number. Depends on state retail producer settings. - `transaction.retail_email_address` (string, optional, nullable, max length 255, example `retail@demo.none`) Retail Producer Email Address. Depends on state retail producer settings. - `transaction.wind_storm_exclusion` (integer, optional, one of `0`, `1`, example `0`) Windstorm Exclusion Flag. Indicates if windstorm exclusion applies. Only applicable to certain property coverages in TX and FL. - `1` — TRUE - `0` — FALSE - `transaction.wind_storm_eligible_for_pool` (integer, optional, one of `0`, `1`, example `0`) Windstorm Pool Exclusion Flag. - `1` — TRUE - `0` — FALSE - `transaction.wind_storm_deduction` (number, float, optional, example `0.51`) Windstorm/Hurricane Deductible. Amount of windstorm/hurricane deductible related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `transaction.wind_storm_primary_amount` (number, float, optional, example `10`) Windstorm Primary Amount (Coverage A). Amount related to certain property coverages. Only applicable in FL. If not applicable, leave blank. - `transaction.wind_storm_other_coverages_deductible` (number, float, optional, example `25`) All Other Perils Deductible. Amount related to all other deductibles not mentioned in the other fields above. Only applicable in FL. If not applicable, leave blank. - `transaction.lloyds_cover_holder_number` (string, optional, max length 255, example `CH-12345`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `transaction.lloyds_cover_holder_name` (string, optional, max length 255, example `Cover Holder Name`) According to Lloyd's, a Cover Holder is a company or partnership authorized by a Managing Agent to enter into contracts of insurance underwritten by members of a syndicate managed by it in accordance with the terms of a Binding Authority. For additional details, please see here. - `transaction.associated_producer` (string, optional, max length 255, example `1234567`) License Number of Associated Producer. Applies only if Associated Producer is enabled for the selected physical state and the selected license type is Agency. Validation errors do not appear if a document has been provided with the Associated Producer Optional checkbox checked in the document settings of the admin interface. - `transaction.stamping_fee_invoice_id` (string, optional, max length 255, example `INVST-20001`) Stamping Fee Invoice ID field on the Tracking tab in the filing details page of a Filing Agent User. Only applies to InsCipher Connect partners. - `transaction.sl_tax_invoice_id` (string, optional, max length 255, example `INVSL-30001`) SL Tax Invoice ID field on the Tracking tab in the filing details page of a Filing Agent/Filing Agency Admin User. Only applies to InsCipher Connect partners. - `transaction.business_group_id` (string, optional, max length 255, example `Division 1`) Business Group ID. This is for assigning divisions, regions, or other business groups to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `transaction.customer_code` (string, optional, max length 255, example `OPT CUST CODE12`) Customer Code. Used for associating specific customer classifications from your management system to a transaction for tracking purposes. Only applies to InsCipher Connect partners. - `transaction.transaction_status` (integer, int32, optional, nullable, example `1`) Transaction Status. Not applicable to Utah and Idaho; this field will be ignored in those states, and default logic will be used. - `transaction.license_number` (string, optional, nullable, max length 255, example `LIC-123456`) License Number. Default logic will be used if the license is not found or multiple licenses are found. - `transaction.filing_admin` (string, optional, nullable, max length 255, example `Filing Admin Name`) Filing Admin Name. Default logic will be used if the filing admin is not found or multiple filing admins are found. - `transaction.date_filed` (string, date, optional, example `2024-01-01`) Date Filed. If the transaction is imported with a 'Date Filed', it will automatically be imported in a 'Filed' status. - `transaction.umr_number` (string, optional, max length 255, example `UMR-12345`) UMR Number - `transaction.sla_transaction_number` (string, optional, max length 255, example `IL20170000000`) SLA transaction number. Required in NJ. - `transaction.unique_id` (string, optional, max length 255, example `ext-10001`) Unique ID - `transaction.stamping_fee_date_paid` (string, date, optional, example `2024-01-01`) Stamping Fee Date Paid - `transaction.sl_tax_paid_date` (string, date, optional, example `2024-01-01`) SL Tax Paid Date - `transaction.other_taxes_paid_date` (string, date, optional, example `2024-01-01`) Other Taxes Paid Date - `transaction.dba` (string, optional, max length 100, example `Example DBA`) Doing Business As (DBA) — the trade name or assumed name under which the insured operates, if different from their legal entity name. For example, "ABC Holdings LLC" doing business as "Fresh Market". Include when the insured's operating name differs from the legal name on the policy, as some states require the DBA name for accurate filing and surplus lines reporting. - `transaction.affordable_housing_qualification` (integer, optional, one of `0`, `1`, example `0`) **CONDITIONAL** — Required in: OR. Determines whether or not the Affordable Housing Qualification applies to the policy. - `1` — TRUE - `0` — FALSE Example request: ```json { "batch_id": "17d05ec8-8041-4984-ada7-395ed6b12faa", "current_item": 1, "total_items": 1, "transaction": { "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "transaction_type": "PN", "rpg": 0, "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "mailing_address": "1151 Galleria Blvd", "mailing_city": "Roseville", "mailing_zip_code": "95678", "mailing_state_code": "CA", "physical_same_as_mailing": 1, "line_of_business_list": [ { "item": "GEN-1001", "coverage": 3108.5 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ] } } ``` ###### Responses **200** — HTTP 200 means the request was received — not necessarily that the transaction imported successfully. Always check the `status` field on each transaction object for the actual import result. | `status` | Meaning | |---|---| | `0` | Transaction imported successfully | | `2001` | Request accepted, but transaction failed validation — check `status_message` for details | | `3001` | Rejected — read `status_message`: a duplicate transaction, a missing `agent_id` on a Filing Agency Admin key, or an `agent_id` that is unknown, not managed by the caller, or inactive | | `1001`–`1053`, `5003` | Rejected — import error; `status_message` gives the reason. See the error code list on the [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) page | | `500` | Internal system error | Body: - `batch_id` (string, optional, example `17d05ec8-8041-4984-ada7-395ed6b12faa`) The `batch_id` echoed from your request. - `transactions` (array of object, optional) - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request, echoed back. `null` if omitted. - `transactions[].policy_number` (string, optional, example `CA20170228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Import result code. `0` = transaction imported successfully. Any other value is an import error code — check `status_message` for the error detail. - `transactions[].status_message` (string, optional, example `Success`) Human-readable result. When `status` is non-zero, this contains the error detail. - `transactions[].transaction_id` (number, optional, example `208368`) InsCipher-assigned internal transaction ID. Present only when `status` = 0. - `transactions[].warnings` (object, optional, nullable) Non-fatal validation warnings. Import succeeded but review these values. `null` when there are none; omitted when `status` is not `0`. **400** — Bad request — a problem with the batch, not with the transaction fields. Causes: - **Batch ID reused**: `batch_id` was previously associated with a completed import — provide a new, unique value. - **Another batch in progress**: an import for a different `batch_id` is still in progress — complete it first. - **Item already received**: the `current_item` number was already received in this batch. - **Multiple imports for the batch**: more than one in-progress import was found for this `batch_id`. Import errors on the transaction itself are returned with HTTP 200 and a non-zero `status`. Body: - `error` (string, optional, example `single transaction import error`) - `message` (string, optional, example `The Batch ID 17d05ec8-8041-4984-ada7-395ed6b12faa cannot be reused as it has already been associated with a completed import. Please provide a new, unique Batch ID.`) **403** — Forbidden — authentication failed (missing or invalid API key). Returned as a plain-text body with `Content-Type: application/json`. **422** — Payload validation error — the request was rejected before processing. Fix the request body and retry. Body: - `message` (string, optional, example `Validation error!`) - `errors` (object, optional) - `metadata` (array of string, optional) **500** — Internal server error Body: - `error` (string, optional, example `single transaction import error`) - `message` (string, optional, example `An internal server error occurred during the transaction import.`) ## Transaction Import — Batch (POST) URL: https://developer.inscipher.com/api/transaction-import/batch The Batch Import endpoint allows agencies to import multiple policy transactions in a single request. Processing is asynchronous — submit the batch, then retrieve results via webhook or a GET status request. Use this endpoint for daily batch jobs and high-volume integrations. - [Endpoint](#endpoint) - [How It Works](#how-it-works) - [Mapping Packets](#mapping-packets) - [LOB and Carrier Format](#lob-and-carrier-format) - [How to Use This Request](#how-to-use-this-request) ### Endpoint :::warning All API requests must be made over HTTPS and must include a valid API key in the `apikey` request header. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: ### How It Works #### Submitting the Batch Send a POST request with a JSON array where each element is one policy transaction. A `batch_id` is returned immediately in the response. Every Batch Import request generates a new unique `batch_id`. The response includes a top-level `status` for the batch and a per-transaction `status` for each item: **Batch-level `status`** (top-level field): | Value | Description | |---|---| | `processing` | Batch accepted and scheduled; transactions not yet imported | | `waiting_for_processing` | Batch is queued and waiting | | `failed` | The entire batch processing attempt failed | **Per-transaction `status`** (inside each `transactions[]` object): | Value | Description | |---|---| | `0` | Transaction imported successfully | | `2001` | Validation error — check `status_message` for details | :::note A `200` HTTP response only confirms the batch was received and queued. Always check per-transaction `status` to know whether each transaction actually imported. ::: #### Retrieving Results ##### Webhook (Recommended) Configure a webhook to receive a callback when the batch status changes to `Processed`. This is the recommended approach for production integrations. Event name: `webhook.batch.status.processed` [Read more about the Batch Status Processed webhook](https://developer.inscipher.com/webhooks/event-reference/batch-events) ##### GET Request Alternatively, poll the [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) endpoint to check whether specific transactions imported successfully. See [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) for the complete list of per-transaction result codes. ### Mapping Packets Codes for transaction types, lines of business, insurance companies, descriptions of risk, entity types and documents come from your mapping packet: - **InsCipher's filing team files for you:** [Filing Services mapping packet](https://lookerstudio.google.com/u/0/reporting/0b499657-4b92-4336-9bb3-c3650692bcf9/page/p_hu3dx3gjqc) - **Your own team files in the InsCipher portal:** [Connect mapping packet](https://lookerstudio.google.com/u/0/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_83noca0k9c) Not sure which applies to you? See [Find your mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet). --- ### Transaction Import — Batch (POST) — version v5 (released; default on the page) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v5/transaction.json` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v5/transaction` | POST | The request body is a bare JSON **array** of transaction objects — there is no wrapper object, and each item has the same shape as a [Single Import v3](https://developer.inscipher.com/api/transaction-import/single) request body. #### Submitting the Batch On v5, each row is validated on its own when the batch is submitted. A row that fails validation is rejected on its own row, without being queued or imported, and the rest of the batch is still imported under the same `batch_id`. A rejected row carries one of these codes, with its field errors in `status_message`: | Value | Description | |---|---| | `1002` | Transaction type not found | | `1047` | Transaction type not allowed, such as `BO` (backout) | | `1012` | Physical state not valid | | `2001` | Missing required field | | `2002` | Any other field error: type, length, format or `policy_type` | Import Status (v5) lists the rejected rows after the processed ones, so every row of the batch is in one place. #### GET Request ``` GET /api/v5/transaction-import-results?batch_id={batch_id} ``` #### LOB and Carrier Format Lines of business, carriers, syndicates and declining carriers are **arrays of objects**. Each array element has the same shape the [Single Import v3](https://developer.inscipher.com/api/transaction-import/single) endpoint accepts. | Field | Format | Amount unit | |---|---|---| | `line_of_business_list` | `[{"item": "GEN-1001", "premium": 3108.50, "fire_premium": 500.00}]` | Dollar amount | | `insurance_company_list` | `[{"item": "24856", "coverage": 100}]` | Percentage (0–100) | | `syndicate_list` | `[{"item": "AA-1126033", "coverage": 100}]` | Percentage (0–100) | | `declining_carriers` | `[{"naic": "54267", "date_declined": "2017-02-02", "declining_reason": "other"}]` | — | Each line-of-business object carries `item` (the LOB import code), `premium` (the dollar amount for that line) and, for New Jersey, `fire_premium` (the fire portion of that line's premium). :::warning **Yes/no fields take real JSON booleans.** Every field the request reference types as boolean accepts only `true` or `false`; any other value, including `0` and `1`, is rejected: that row comes back with status `2002` and a message such as `rpg: The rpg field must be a boolean (true or false).`, and the rest of the batch is still imported. ::: **Upgrading from v4.2?** See the [Transaction Import v3 & v5 changelog](https://developer.inscipher.com/changelog/transaction-import-v3-v5) for the full list of request, response, and error-handling changes. #### Field reference — Transaction Import — Batch OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-import-v5.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v5/transaction.json Batch Transactions Import V5 ###### Request body A bare JSON **array** of transaction import items — there is no wrapper object. Each item has the same shape as the Single Import v3 request body. Boolean flags must be sent as real JSON booleans in v5 (`true`/`false`); `0`/`1` is rejected. Content type: `application/json` - `[].id` (string, optional, nullable, max length 255, example `201702028950`) Client-supplied unique import ID used for duplicate detection and source-system tracking. - `[].parent_id` (string, optional, nullable, max length 255, example `201702028949`) Parent transaction ID. Links this transaction to a prior import in the same source system. - `[].policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number being imported (non-unique). State-specific length limits may apply on top of the 50-char limit. - `[].transaction_type` (string, required, max length 10, example `PN`) 🟥 **REQUIRED** — InsCipher transaction type code for the imported policy event. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].policy_type` (string, optional, nullable, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Available options depend on the agency's configuration: - `standard` — Standard policy - `master` — Master policy - `cert` — Certificate issued under a master policy - `reporting_form` — Reporting form policy - `[].account_written_as` (string, optional, nullable, max length 10, one of `B`, `DC`, example `B`) Whether business is written as brokerage (B) or direct-to-client (DC). If omitted, the default Agency Admin setting is used. - `[].policy_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date. - `[].policy_expiration_date` (string, date, optional, nullable, example `2018-02-01`) Policy end date. If omitted, defaults to 12 months after the policy effective date. - `[].transaction_effective_date` (string, date, required, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction. For endorsements, use the endorsement effective date. - `[].expiring_policy_number` (string, optional, nullable, max length 50, example `CA20170228-04`) Prior policy number used for renewal transactions. - `[].invoice_date` (string, date, optional, nullable, example `2017-02-01`) Invoice / issued / revenue-recognition date used by some state workflows. - `[].invoice_number` (string, optional, nullable, max length 255, example `INVN-10001`) Internal invoice identifier. Typically only used by InsCipher Connect clients. - `[].rpg` (boolean, optional, nullable, example `false`) Risk Purchasing Group flag. If omitted, defaults to false. - `[].layered_risk` (boolean, optional, nullable, example `false`) Layered-risk flag. If omitted, defaults to false. - `[].broker_of_record` (boolean, optional, nullable, example `false`) Broker-of-record change flag. If omitted, defaults to false. - `[].risk_retention_group` (boolean, optional, nullable, example `false`) Risk Retention Group flag. If omitted, defaults to false. - `[].purchasing_group_name` (string, optional, nullable, max length 255, example `Cal Association`) Purchasing group name to provide when RPG applies. If missing while rpg = true, the transaction still imports but surfaces an RPG warning. - `[].risk_description` (string, optional, nullable, max length 255, example `General Accidental Coverage`) Risk description or import code. NY, OH and PA require specific coded values; other states (AK, CT, DE) have their own lists. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].risk_description_import_code` (string, optional, nullable, max length 255, example `RD01`) Description of Risk import code, validated against the physical state's predefined list. When sent, it is imported instead of risk_description. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].ecp` (boolean, optional, nullable, example `false`) Exempt Commercial Purchaser flag. If omitted, defaults to false. - `[].tax_exempt` (boolean, optional, nullable, example `false`) **CONDITIONAL** — Tax-exempt flag. Required only for Utah; may apply to other states. If omitted, defaults to false. - `[].multi_state` (boolean, optional, nullable, example `false`) Flag indicating the insured risk spans multiple states. InsCipher reports 100% of premium to the home state. If omitted, defaults to false. - `[].policy_limit` (number, float, optional, nullable, example `0`) Aggregate policy limit / liability amount. Recommended whenever available. Stored as a whole number; any decimal part is dropped. - `[].property_limit` (number, float, optional, nullable, example `0`) Property policy limit. Recommended whenever available. Stored as a whole number; any decimal part is dropped. - `[].line_of_business_list` (array of object, optional, nullable) Array of line-of-business import code / premium pairs. Multi-LOB submissions add more array items. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].line_of_business_list[].item` (string, required, max length 250, example `GEN-1001`) 🟥 **REQUIRED** — Line of business import code. - `[].line_of_business_list[].premium` (number, required, example `3108.5`) 🟥 **REQUIRED** — Premium amount ($) for the line of business. - `[].line_of_business_list[].fire_premium` (number, optional, nullable, example `500`) Fire premium portion of the LOB premium (NJ Fire Marshal tax). - `[].insurance_company_list` (array of object, optional, nullable) Array of carrier import code / coverage-percentage pairs. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].insurance_company_list[].item` (string, required, max length 250, example `24856`) 🟥 **REQUIRED** — Insurance company item (NAICS) - `[].insurance_company_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage - `[].syndicate_list` (array of object, optional, nullable) Array of Lloyd's syndicate code / coverage-percentage pairs. - `[].syndicate_list[].item` (string, required, max length 250, example `AA-1126033`) 🟥 **REQUIRED** — Syndicate company item (NAICS) - `[].syndicate_list[].coverage` (number, required, example `100`) 🟥 **REQUIRED** — Coverage percentage - `[].premium` (number, optional, nullable, example `3108.5`) Policy premium amount. If omitted, 0 is imported. - `[].agency_fee` (number, optional, nullable, example `200`) Broker / agency fee bucket for non-carrier fees. If omitted, 0 is imported. - `[].carrier_fee` (number, optional, nullable, example `0`) Carrier fee bucket for inspection, audit, underwriting or similar carrier-retained fees. If omitted, 0 is imported. - `[].collection_fee` (number, optional, nullable, example `1.11`) Collection fee amount. Currently applicable in KY and FL. - `[].sl_tax` (number, optional, nullable, example `117`) Imported surplus-lines tax amount. Validated by the tax calculator when import is enabled. - `[].stamping_fee` (number, optional, nullable, example `7.8`) Imported stamping fee amount. Label varies by state (FSLO fee in FL, Regulatory Fee in MI). - `[].sl_service_charge` (number, optional, nullable, example `0`) Imported surplus-lines service charge amount. Currently active in OR and MS. - `[].municipal_fee` (number, optional, nullable, example `0`) Imported municipal or local tax amount. Currently active only in KY. - `[].fm_tax` (number, optional, nullable, example `0`) Imported Fire Marshal tax amount. Active in states where Fire Marshal / Fire Tax applies. - `[].empa_tax` (number, optional, nullable, example `0`) Imported EMPA tax amount. Active in FL based on line of business; used for special tax amounts in other states. - `[].total` (number, optional, nullable, example `4224.8`) Total transaction amount. If omitted, calculated from premium, taxes and fees. - `[].commission_received` (boolean, optional, nullable, example `false`) Commission-received flag. Currently only applies to NH. If omitted, defaults to false. - `[].insured_name` (string, required, max length 100, example `John Doe`) 🟥 **REQUIRED** — Insured name as it appears on policy documents. - `[].insured_first_name` (string, optional, nullable, max length 100, example `John`) First name of the responsible individual for the insured entity. - `[].insured_last_name` (string, optional, nullable, max length 100, example `Doe`) Last name of the responsible individual for the insured entity. - `[].insured_mailing_street` (string, optional, nullable, max length 255, example `1151 Galleria Blvd`) Mailing address line 1 for the insured. - `[].insured_mailing_street2` (string, optional, nullable, max length 255, example `Suite 200`) Mailing address line 2, if applicable. - `[].insured_mailing_city` (string, optional, nullable, max length 100, example `Roseville`) Mailing city for the insured. - `[].insured_mailing_zip` (string, optional, nullable, max length 20, example `95678`) Mailing ZIP / postal code for the insured. - `[].insured_mailing_state` (string, optional, nullable, max length 20, example `CA`) Mailing state as a 2-letter code. - `[].insured_entity` (string, optional, nullable, max length 100, example `individual`) Insured entity type used for state-specific rules and exemptions (SC, NC, TN, FL). Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].insured_email` (string, email, optional, nullable, max length 100, example `producer@demo.none`) Mailing insured email address. - `[].insured_phone` (string, optional, nullable, max length 100, example `212-456-7890`) Mailing insured phone number. - `[].insured_county` (string, optional, nullable, max length 100, example `Washington`) Mailing county value when used by the state workflow. - `[].physical_same_as_mailing` (boolean, required, example `true`) 🟥 **REQUIRED** — True when the physical address/state matches mailing, false when it differs. If mailing is blank but physical is provided, set true. - `[].insured_physical_street` (string, optional, nullable, max length 255, example `1151 Galleria Blvd`) Physical / risk address line 1 when different from mailing. - `[].insured_physical_street2` (string, optional, nullable, max length 255, example `Suite 200`) Physical / risk address line 2, if applicable. - `[].insured_physical_city` (string, optional, nullable, max length 100, example `Roseville`) Physical / risk city. - `[].insured_physical_zip` (string, optional, nullable, max length 20, example `95678`) Physical / risk ZIP / postal code. - `[].insured_physical_state` (string, optional, nullable, max length 20, example `CA`) Physical / risk state as a 2-letter code. **Required when `physical_same_as_mailing` is `false`.** - `[].agent_id` (integer, optional, nullable, example `1`) InsCipher agent/user ID used to associate the transaction with a specific user. - `[].agent_notes` (string, optional, nullable, max length 1000, example `test notes`) Free-text notes shown on the Filing Details page. - `[].transaction_documents` (array of object, optional, nullable) Array of documents uploaded with the transaction. Supports url and base64 payload modes. - `[].transaction_documents[].code` (string, required, max length 255, example `D1DISC`) 🟥 **REQUIRED** — Document code for the transaction document. - `[].transaction_documents[].url` (string, uri, optional, nullable, max length 4096) **CONDITIONAL** — URL of the document to upload. A document needs either a `url`, or both `document_payload` and `document_filename`. - `[].transaction_documents[].id` (string, optional, nullable, max length 255, example `1000001`) Document ID associated with the transaction. - `[].transaction_documents[].type` (string, optional, max length 255, one of `url`, `base64`, default `"url"`, example `url`) Whether the document is sent as a `url` or a `base64` payload. Optional, defaults to `url`. - `[].transaction_documents[].cookie_url` (string, uri, optional, nullable, max length 255) An optional URL for cookies related to the document, if applicable. - `[].transaction_documents[].document_payload` (string, optional, nullable, max length 100000000) **CONDITIONAL** — Base64-encoded document. Required together with `document_filename` when no `url` is sent. - `[].transaction_documents[].document_filename` (string, optional, nullable, max length 255, example `policy.pdf`) **CONDITIONAL** — File name for the base64 payload. Required together with `document_payload` when no `url` is sent. - `[].sop_name` (string, optional, nullable, max length 100, example `SOP Name`) Service of Process contact name. Applicable for AL. - `[].sop_address` (string, optional, nullable, max length 255, example `Demo street 1`) Service of Process address line 1. - `[].sop_address_2` (string, optional, nullable, max length 255, example `2nd floor`) Service of Process address line 2, if applicable. - `[].sop_city` (string, optional, nullable, max length 100, example `Winthrop`) Service of Process city. - `[].sop_state` (string, optional, nullable, max length 20, example `WA`) Service of Process state code. - `[].sop_zip` (string, optional, nullable, max length 20, example `98862`) Service of Process ZIP / postal code. - `[].declining_carriers` (array of object, optional, nullable) Array of declining carrier objects. - `[].declining_carriers[].naic` (string, optional, nullable, max length 255, example `54267`) Declining Carrier NAIC code. - `[].declining_carriers[].date_declined` (string, optional, nullable, max length 255, example `2017-02-02`) Declining Carrier Date Declined. - `[].declining_carriers[].declining_reason` (string, optional, nullable, max length 255, example `other`) **CONDITIONAL** — Declining Carrier Date Declined. Enter text value that applies to each state: - CA: Company's capacity reached, Underwriting reason, Refused to state, Other. - MS & MT: Underwriting Reasons, Unable to place in an admitted market. - NV: Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain). - NJ: Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market. - NY: Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify). - OH: Reasons. - OR: Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010. - WY: Reason. - AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY: Unable to place in admitted market. - All other states: leave blank. Multiple values are separated by pipe symbol | and are required if there are multiple NAIC codes. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `[].declining_carriers[].underwriting_consideration` (string, optional, nullable, max length 255, example `Considered`) **CONDITIONAL** — Declining Carrier Underwriting Consideration, only applicable for New York. Enter text value from the list below: - Recent transactions by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage Multiple values are separated by pipe symbol | and are required if there are multiple NAIC codes. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `[].declining_carriers[].representative_name` (string, optional, nullable, max length 255, example `John Doe`) **CONDITIONAL** — Declining Carrier Representative Name. and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `[].declining_carriers[].representative_title` (string, optional, nullable, max length 255, example `Agent`) **CONDITIONAL** — Declining Carrier Representative Title, only applicable for New York. Enter text value from the list below: - Company Employee - Agent - Other (Specify) Multiple values are separated by pipe symbol | and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `[].declining_carriers[].representative_email` (string, email, optional, nullable, max length 255, example `demo@demo.com`) **CONDITIONAL** — Declining Carrier Representative Email. Multiple values are separated by a pipe symbol | and are required if there are multiple NAIC codes. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `[].declining_carriers[].representative_phone_number` (string, optional, nullable, max length 255, example `465`) **CONDITIONAL** — Declining Carrier Representative Phone Number. and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `[].declining_carriers[].representative_website` (string, optional, nullable, max length 255, example `demo.com`) **CONDITIONAL** — Declining Carrier Representative Website. and are required if there are NAIC code. Validation errors do not appear if a document has been provided with the Declining Carrier Fields Optional checkbox checked in the document settings of the admin interface. - `[].dc_who_performed_diligent_search` (integer, optional, nullable, one of `1`, `2`, example `1`) Who performed the diligent search. 1 = Surplus Lines Broker, 2 = Retail Producer. - `[].dc_custom` (array of any, optional, nullable) Values for the state's declining-carrier custom fields, in order: the first value goes to custom field 1, the second to custom field 2, and so on. CA SL2 example: `["Text", true]`. Field numbers by state: [Diligent Forms packet](https://lookerstudio.google.com/u/0/reporting/0ee44eef-a838-4b25-99ca-1b61bf11b14b). - Text field: send a string. - Boolean field: send `true` or `false`. - To skip a field, send `null` or `""` in its place, for example `[null, null, "Text", true]` for fields 3 and 4 only. If a value doesn't fit its field (for example, text sent for a boolean field), it isn't saved, but the transaction still imports. The transaction's `warnings` in [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) (v5) then names it by its place in the list, for example `dc_custom_2` for the second value. - `[].dc_custom[]` — option 1 of 2: string - `[].dc_custom[]` — option 2 of 2: boolean - `[].retail_producer_name` (string, optional, nullable, max length 255, example `Producer Name`) **CONDITIONAL** — Retail producer name. Required in WA, OR, AK when business is written through a retail producer. - `[].retail_agency_name` (string, optional, nullable, max length 255, example `Producer Agency Name`) **CONDITIONAL** — Retail agency name for retail-producer workflows. Required in WA, OR, AK when applicable. - `[].retail_address` (string, optional, nullable, max length 255, example `Demo street 1`) **CONDITIONAL** — Retail producer address line 1. Required in WA, OR, AK when applicable. - `[].retail_address2` (string, optional, nullable, max length 255, example `2nd floor`) Retail producer address line 2, if applicable. - `[].retail_city` (string, optional, nullable, max length 255, example `Demo City`) **CONDITIONAL** — Retail producer city. Required in WA, OR, AK when applicable. - `[].retail_state` (string, optional, nullable, max length 2, example `WA`) **CONDITIONAL** — Retail producer state code. Required in WA, OR, AK when applicable. - `[].retail_zip` (string, optional, nullable, max length 255, example `12345`) **CONDITIONAL** — Retail producer ZIP / postal code. Required in WA, OR, AK when applicable. - `[].retail_producer_license` (string, optional, nullable, max length 255, example `RP-123456`) **CONDITIONAL** — Retail producer license number when required by state settings. - `[].retail_agency_license` (string, optional, nullable, max length 255, example `RA-123456`) **CONDITIONAL** — Retail agency license number when required by state settings. - `[].retail_producer_npn` (string, optional, nullable, max length 255, example `12345678`) Retail producer National Producer Number. - `[].retail_producer_id` (string, optional, nullable, max length 255) Retail producer ID. - `[].retail_phone_number` (string, optional, nullable, max length 255, example `212-456-7890`) **CONDITIONAL** — Retail producer phone number when required by state settings. - `[].retail_email_address` (string, email, optional, nullable, max length 255, example `retail@demo.none`) **CONDITIONAL** — Retail producer email address when required by state settings. - `[].windstorm_exclusion` (boolean, optional, nullable, example `false`) Windstorm exclusion flag for selected property coverages (TX, FL). - `[].windstorm_eligible_for_pool` (boolean, optional, nullable, example `false`) Windstorm pool eligibility flag (FL). - `[].windstorm_deductible` (number, optional, nullable, example `0.51`) Windstorm / hurricane deductible amount (FL). - `[].windstorm_primary_amount` (number, optional, nullable, example `10`) Windstorm primary amount, Coverage A (FL). - `[].windstorm_other_coverages_deductible` (number, optional, nullable, example `25`) All-other-perils deductible amount (FL). - `[].affordable_housing_qualification` (boolean, optional, nullable, example `false`) Affordable Housing Qualification flag. Only applies to OR; defaults to false. - `[].homeowner_policy` (boolean, optional, nullable, example `false`) **CONDITIONAL** — Is this a Homeowner Policy? Required for Idaho filings on a homeowner applicable line of business. Only ID asks the question, so a value sent for any other state is ignored. - `[].lloyds_cover_holder_number` (string, optional, nullable, max length 255, example `CH-12345`) Lloyd's cover-holder number. - `[].lloyds_cover_holder_name` (string, optional, nullable, max length 255, example `Cover Holder Name`) Lloyd's cover-holder name. - `[].associated_producer` (string, optional, nullable, max length 255, example `1234567`) Associated producer license number (also called Transactor in CA). Applies when the feature is enabled for the physical state and the license type is Agency. - `[].stamping_fee_invoice_id` (string, optional, nullable, max length 255, example `INVST-20001`) Stamping-fee invoice ID used for tracking in InsCipher Connect. - `[].sl_tax_invoice_id` (string, optional, nullable, max length 255, example `INVSL-30001`) Surplus-lines-tax invoice ID used for tracking in InsCipher Connect. - `[].business_group_id` (string, optional, nullable, max length 255, example `Division 1`) Business-group tracking field used by InsCipher Connect (divisions / regions / groups). - `[].customer_code` (string, optional, nullable, max length 255, example `OPT CUST CODE12`) Customer-code tracking field used by InsCipher Connect. - `[].transaction_status` (integer, optional, nullable) Transaction workflow/status code to set on import. Ignored in UT and ID. - `[].license_number` (string, optional, nullable, max length 255, example `LIC-123456`) License number used to match the filing license. Default logic is used if not found or ambiguous. - `[].filing_admin` (string, optional, nullable, max length 255, example `Filing Admin Name`) Filing-admin name used to match the target filing administrator. Default logic is used if not found or ambiguous. - `[].date_filed` (string, date, optional, nullable, example `2024-01-01`) Filed date. If provided, the transaction imports directly into Filed status. - `[].umr_number` (string, optional, nullable, max length 255, example `UMR-12345`) **CONDITIONAL** — UMR (Lloyd's Unique Market Reference) number. Required in NJ and FL when Lloyd's is a carrier. - `[].sla_transaction_number` (string, optional, nullable, max length 255, example `IL20170000000`) **CONDITIONAL** — SLA transaction number. Required in NJ. Must follow XXXXX-XX-XXXXX format. - `[].unique_id` (string, optional, nullable, max length 255, example `ext-10001`) Additional external unique identifier. - `[].stamping_fee_date_paid` (string, date, optional, nullable, example `2024-01-01`) Date the stamping fee was paid. - `[].sl_tax_paid_date` (string, date, optional, nullable, example `2024-01-01`) Date the surplus-lines tax was paid. - `[].other_taxes_paid_date` (string, date, optional, nullable, example `2024-01-01`) Date other taxes were paid. - `[].dba` (string, optional, nullable, max length 100, example `Example DBA`) Doing-business-as name. Example request: ```json [ { "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "transaction_type": "PN", "rpg": false, "premium": 3108.5, "agency_fee": 200, "carrier_fee": 0, "insured_name": "Westfield Galleria at Roseville", "insured_mailing_street": "1151 Galleria Blvd", "insured_mailing_city": "Roseville", "insured_mailing_zip": "95678", "insured_mailing_state": "CA", "physical_same_as_mailing": true, "line_of_business_list": [ { "item": "GEN-1001", "premium": 3108.5 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ], "dc_custom": [ "Text", true ] }, { "policy_number": "TX20250301-02", "policy_effective_date": "2025-03-01", "policy_expiration_date": "2026-03-01", "transaction_effective_date": "2025-03-01", "transaction_type": "PR", "rpg": false, "premium": 4850, "agency_fee": 175, "carrier_fee": 0, "insured_name": "Austin Commercial Properties LLC", "insured_mailing_street": "3600 N Lamar Blvd", "insured_mailing_city": "Austin", "insured_mailing_zip": "78705", "insured_mailing_state": "TX", "physical_same_as_mailing": true, "line_of_business_list": [ { "item": "GEN-1010", "premium": 3200 }, { "item": "GEN-2000", "premium": 1650 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ] } ] ``` ###### Responses **200** — The batch was received. Each row is validated on its own: valid rows are queued and imported under the `batch_id`, and a row that fails validation is rejected on its own row in `transactions`, with a non-zero `status`, while the rest of the batch is still imported. HTTP 200 does **not** mean the transactions imported — processing is asynchronous. Keep the `batch_id` and poll [Import Status](https://developer.inscipher.com/api/transaction-import/import-status) (v5) to collect the per-transaction results, including the `warnings` object. | `status` | Meaning | |---|---| | `processing` | The batch is queued; poll Import Status for results | Headers: `X-Generated-At` Body: - `generated_at` (string, date-time, optional, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `batch_id` (string, optional, example `de0c696b5b3350b0ac88dfcebbfd9ca1`) Identifier for this batch. A new `batch_id` is issued for every Batch Import request — pass it to Import Status to retrieve results. - `status` (string, optional, example `processing`) Batch-level status at submission time. - `transactions` (array of object, optional) One acceptance record per submitted item, in request order. - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request item; `null` when you did not send one. - `transactions[].policy_number` (string, optional, nullable, example `CA20170228-05`) Policy number from the request item. `null` for a rejected row that did not send one. - `transactions[].status` (integer, optional, example `0`) Acceptance code at submission time. `0` = accepted for processing — it is **not** the import result. A non-zero code means the row failed validation and was rejected: it is not queued or imported. The codes are `1002` (unknown or empty transaction type), `1047` (transaction type not allowed, such as `BO`), `1012` (invalid physical state), `2001` (missing required field) and `2002` (any other field error: type, length, format, `policy_type`). - `transactions[].status_message` (string, optional, example `processing`) `processing` for an accepted row. For a rejected row, its field errors as `field: message`, joined with `; `. Example response: ```json { "generated_at": "2026-08-11T05:47:44.812Z", "batch_id": "de0c696b5b3350b0ac88dfcebbfd9ca1", "status": "processing", "transactions": [ { "id": "201909240000000001", "policy_number": "CA20170228-05", "status": 0, "status_message": "processing" }, { "id": "201909240000000002", "policy_number": "TX20250301-02", "status": 0, "status_message": "processing" }, { "id": "201909240000000003", "policy_number": "NY20250301-03", "status": 1047, "status_message": "transaction_type: Transaction type BO is not allowed." } ] } ``` **400** — Bad Request — the body could not be parsed as JSON (`malformed_request`). Headers: `X-Generated-At` Body (`UnifiedApiError`): - `generated_at` (string, date-time, required, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `code` (string, required, one of `auth_failed`, `malformed_request`, `validation_error`, `method_not_allowed`, `rate_limited`, `server_error`, example `validation_error`) Machine-readable failure kind. - `message` (string, required, example `Validation error!`) Human-readable summary of the failure. - `details` (object, required) Field-keyed messages for a validation failure. On the batch endpoint each key is prefixed with the zero-based index of the offending item, for example `[0].policy_number`. Empty for every other failure. **401** — Unauthorized — the API key is missing or invalid. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **405** — Method Not Allowed — wrong HTTP method; the `Allow` header lists the supported ones. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **422** — Unprocessable Entity — the request body is missing or is not a non-empty JSON array of transactions (`details.body`). A field error in a row does not reject the request: that row is reported in the `200` response with its own status. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **429** — Rate limit exceeded — this endpoint allows 10,000 requests per 60 seconds per API key. When present, the `Retry-After` header carries the wait in seconds. It is left out when the wait is not known. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **500** — Internal server error. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). ### Transaction Import — Batch (POST) — version v4.2 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v4.2/transaction.json` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v4.2/transaction` | POST | #### GET Request ``` GET /api/v4/transaction-import-results?batch_id={batch_id} ``` #### LOB and Carrier Format The Batch endpoint uses **pipe-delimited strings** for lines of business, carriers, and declining carriers — unlike the Single endpoint, which uses arrays of objects. Always use `transaction_line_of_business_list`. **Even a single line of business is written as a one-item list** — just send one code with no pipe separator. **Single LOB** — one code, no pipes: | Field | Format | Notes | |---|---|---| | `transaction_line_of_business_list` | `GEN-1001` | One line of business code | | `transaction_line_of_business_coverage` | `2000.00` | Coverage amount | | `transaction_line_of_business_fire_coverage` | `1000.00` | Fire coverage amount. **New Jersey only.** | **Multiple LOBs** — same fields, pipe-delimited in the same order: | Field | Format | Notes | |---|---|---| | `transaction_line_of_business_list` | `GEN-1001\|GEN-1002` | Lines of business | | `transaction_line_of_business_coverage` | `3725.00\|2000.00` | Coverage amounts, same order as LOB list | | `transaction_line_of_business_fire_coverage` | `1000.00\|500.00` | Fire coverage amounts, same order as LOB list. **New Jersey only.** | :::note A legacy form using the single-value `transaction_line_of_business` field together with a top-level `fire_premium` field also works, but `transaction_line_of_business` is **deprecated** — prefer the list form above for all new integrations. ::: **Idaho — Homeowner Policy:** for Idaho filings on a homeowner-applicable line of business, include `homeowner_policy` (`1` = Yes, `0` = No) on each transaction. Optional and ignored for non-Idaho states. **Carriers and declining carriers** (pipe-delimited): | Field | Format | Notes | |---|---|---| | `non_admitted_insurer_code_list` | `39381\|AA-1120841\|12833` | Use for single and multiple carriers | | `non_admitted_insurer_code_coverage` | `50\|30\|20` | Percentages, must sum to 100 | | `syndicate_list` | `AA-1120131\|AA-1120124` | Lloyd's syndicates | | `syndicate_list_coverage` | `60\|40` | Percentages, must sum to 100 | | `dc_naic` | `54267\|37816\|49865` | Declining carrier NAIC codes | | `dc_date_declined` | `2017-02-02\|2017-02-03\|2017-02-04` | Decline dates, same order as `dc_naic` | | `dc_declining_reason` | `Underwriting reason\|Other\|Other` | Decline reasons, state-specific allowed values | | `dc_representative_name` | `John Doe\|Jane Smith\|...` | Carrier rep names | | `dc_representative_email` | `a@demo.com\|b@demo.com\|...` | Carrier rep emails | | `dc_representative_phone_number` | `555-0100\|555-0101\|...` | Carrier rep phone numbers | #### Field reference — Transaction Import — Batch OpenAPI 3.0.0: https://developer.inscipher.com/openapi/transaction-import-v4-2.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v4.2/transaction.json Transaction Import — Batch [POST] ###### Request body Array of transaction objects. Each element represents one policy transaction. Send the actual values for `premium`, `agency_fee`, and `inspection_fee` — use `0.00` if no amount applies. Content type: `application/json` - `[].id` (string, optional, max length 255, example `201702028950`) Client-supplied unique import ID used for duplicate detection and source-system tracking. Optional but recommended for reconciliation. - `[].policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number being imported into InsCipher. - `[].transaction_type` (string, required, max length 50, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `BD`, `RW`, `EE`, `OS`, `PC`) 🟥 **REQUIRED** — InsCipher transaction type code for the imported policy event. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | BD | Binder | Temporary proof of coverage. | | RW | Rewrite | Replacement of an existing policy. | | EE | Earned Endorsement | Endorsement based on earned premium. | | OS | Out of Sequence | Out-of-sequence transaction correction. | | PC | Pro Rata Cancellation | Termination with partial refund. | Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].policy_type` (string, optional, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Allowed values: `standard`, `master`, `cert`, `reporting_form` - `[].homeowner_policy` (integer, optional, one of `0`, `1`, example `1`) **CONDITIONAL** — Is this a Homeowner Policy? Required for Idaho filings on a homeowner-applicable line of business; optional and ignored for non-Idaho states. `TRUE = 1, FALSE = 0`. - `[].account_written_as` (string, optional, max length 50, one of `B`, `DC`, example `B`) Whether business is written as brokerage (`B`) or direct-to-client (`DC`). If omitted, the default Agency Admin setting is used. - `[].policy_effective_date` (string, date, required, max length 10, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date (`YYYY-MM-DD`). If omitted, InsCipher can fall back to `transaction_effective_date`. - `[].policy_expiration_date` (string, date, optional, max length 10, example `2018-02-01`) Policy end date (`YYYY-MM-DD`). When omitted, the system defaults to 12 months from `policy_effective_date`. Send when known to avoid relying on the auto-fallback. - `[].transaction_effective_date` (string, date, required, max length 10, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction (`YYYY-MM-DD`). For endorsements, use the endorsement effective date. - `[].expiring_policy_number` (string, optional, max length 50, example `CA20170228-04`) Prior policy number used for renewal transactions. **Required for renewal-type transactions** (e.g., PR). - `[].invoice_date` (string, date, optional, max length 10, example `2026-02-01`) Invoice / issued / revenue-recognition date (`YYYY-MM-DD`). Required for Filing Services® partners; optional for Connect® partners. - `[].invoice_number` (string, optional, max length 255, example `INVN-10001`) Internal invoice identifier tracked on the InsCipher transaction. - `[].rpg` (integer, required, one of `0`, `1`, example `0`) 🟥 **REQUIRED** — Risk Purchasing Group flag: `0` = No, `1` = Yes. - `[].layered_risk` (integer, optional, one of `0`, `1`, default `0`, example `0`) Layered-risk flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].broker_of_record` (integer, optional, one of `0`, `1`, default `0`, example `0`) Broker-of-record change flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].risk_retention_group` (integer, optional, one of `0`, `1`, default `0`, example `0`) Risk Retention Group flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].purchasing_group_name` (string, optional, max length 255, example `Cal Association`) Purchasing group name. **Required when `rpg = 1`**. - `[].risk_description` (string, optional, max length 255, example `General Accidental Coverage`) Risk description or import code. Some states require state-specific coded values. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) Exempt Commercial Purchaser flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) Tax-exempt flag: `0` = No, `1` = Yes. **Currently required only in Utah.** - `[].multi_state` (integer, optional, one of `0`, `1`, default `0`, example `0`) Flag indicating the insured risk or liability spans multiple states: `0` = No, `1` = Yes. **Currently required only in Utah.** - `[].policy_limit` (number, float, optional, example `0`) Aggregate policy limit / liability amount. Required for Filing Services® partners. For Connect® partners, about a dozen states require this — InsCipher recommends including it on every submission. - `[].property_limit` (number, float, optional, example `0`) Property policy limit. InsCipher recommends including it whenever available. - `[].transaction_line_of_business_list` (string, optional, max length 255, example `GEN-1001|GEN-1002|GEN-1003`) Pipe-delimited line-of-business import codes. Use this field — it handles both single and multiple LOBs. **Use Cases:** **Single LOB:** `GEN-1001` **Multiple LOBs:** `GEN-1001|GEN-1002|GEN-1003` Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].transaction_line_of_business_coverage` (string, optional, max length 255, example `950.75|2000.25|157.50`) Coverage / premium values aligned to `transaction_line_of_business_list`, pipe-delimited in the same order. Required only when multiple LOBs are supplied. **Format:** `950.75|2000.25|157.50` - `[].transaction_line_of_business_fire_coverage` (string, optional, max length 255, example `50.00|0|200.75`) **v4.1+ — New Jersey only.** Fire coverage amounts aligned to `transaction_line_of_business_list`, pipe-delimited in the same order. Same format as `transaction_line_of_business_coverage`. Used to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. **Format:** `50.00|0|200.75` - `[].non_admitted_insurer_code_list` (string, optional, example `39381|AA-1120841|12833`) Pipe-delimited carrier (NAIC) codes. Use this field — it handles both single and multiple carriers. For Lloyd's policies use `AA-1122000`. **Format:** `39381|AA-1120841|12833` Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].non_admitted_insurer_code_coverage` (string, optional, example `50|30|20`) Pipe-delimited percentage split aligned to `non_admitted_insurer_code_list`. Required only when multiple insurers are supplied. Percentages must sum to 100. **Format:** `50|30|20` - `[].syndicate_list` (string, optional, example `AA-1120131|AA-1120124`) Pipe-delimited Lloyd's syndicate codes. Required by agency settings or when the state requires a Lloyd's syndicate breakdown. **Format:** `AA-1120131|AA-1120124` - `[].syndicate_list_coverage` (string, optional, example `60|40`) Pipe-delimited percentage split aligned to `syndicate_list`. Percentages must sum to 100. **Format:** `60|40` - `[].transaction_line_of_business` (string, optional, deprecated, example `GEN-1001`) **[DEPRECATED]** Primary single line-of-business import code. Use `transaction_line_of_business_list` instead. - `[].non_admitted_insurer_code` (string, optional, deprecated, example `AA-1122000`) **[DEPRECATED]** Single non-admitted insurer / carrier import code. Use `non_admitted_insurer_code_list` instead. - `[].premium` (number, float, optional, example `3108.5`) **CONDITIONAL** — Policy premium amount. Required unless `transaction_line_of_business_list` and `transaction_line_of_business_coverage` are both sent. Send `0.00` if no premium applies. - `[].fire_premium` (number, float, optional, example `3500`) **OPTIONAL** — New Jersey (v4.1+). The portion of total premium allocated to fire coverage. When provided, InsCipher uses this amount to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. This top-level field is the legacy companion to the deprecated `transaction_line_of_business` field. **Recommended:** submit fire coverage via `transaction_line_of_business_fire_coverage` alongside `transaction_line_of_business_list` instead. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. - `[].agency_fee` (number, float, required, example `200`) 🟥 **REQUIRED** — Broker / agency fee bucket for all non-carrier fees. Send `0.00` if no broker fee applies. - `[].inspection_fee` (number, float, required, example `0`) 🟥 **REQUIRED** — Carrier fee bucket for inspection, audit, underwriting, or similar carrier-retained fees. Send `0.00` if no carrier fee applies. - `[].collection_fee` (number, float, optional, example `1.11`) Collection fee amount. The label for this fee may vary by state (for example, it appears as "Non Taxable Fees" in Florida). - `[].sl_tax` (number, float, optional, example `117`) Imported surplus-lines tax amount. **Required if the agency tax-import setting is Mandatory**; ignored if not applicable. - `[].stamping_fee` (number, float, optional, example `7.8`) Imported stamping fee amount. Label varies by state (e.g., FSLO fee in FL, Fire Marshal Tax in OR). **Required if the agency tax-import setting is Mandatory**. - `[].sl_service_charge` (number, float, optional, example `0`) Imported surplus-lines service charge. Active only in Oregon and Mississippi. **Required if the agency tax-import setting is Mandatory**. **Louisiana (interim):** submit the Fire Marshal Fund Tax amount here, not under `fm_tax`. Temporary mapping; it will move to `fm_tax` in a future version, announced in advance. - `[].municipal_fee` (number, float, optional, example `0`) Imported municipal or local tax amount. Active only in Kentucky. **Required if the agency tax-import setting is Mandatory**. - `[].fm_tax` (number, float, optional, example `0`) Imported Fire Marshal tax amount. Active only in Illinois. **Required if the agency tax-import setting is Mandatory**. For the **Louisiana** Fire Marshal Fund Tax, use `sl_service_charge` instead (interim). - `[].empa_tax` (number, float, optional, example `0`) Imported EMPA tax amount. Active only in Florida. **Required if the agency tax-import setting is Mandatory**. - `[].total` (number, float, optional, example `4224.8`) Total transaction amount. If omitted, InsCipher calculates it from premium, taxes, and fees. - `[].commission_received` (integer, optional, one of `0`, `1`, example `0`) Commission-received flag, used by some state fee rules such as New Hampshire: `0` = No, `1` = Yes. - `[].mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Insured name as it appears on policy documents. - `[].mailing_address` (string, required, max length 255, example `1151 Galleria Blvd`) 🟥 **REQUIRED** — Mailing address line 1 for the insured. - `[].mailing_address2` (string, optional, max length 255, example `Suite 200`) Mailing address line 2, if applicable. - `[].mailing_city` (string, required, max length 100, example `Roseville`) 🟥 **REQUIRED** — Mailing city for the insured. - `[].mailing_zip_code` (string, required, max length 20, example `95678`) 🟥 **REQUIRED** — Mailing ZIP / postal code for the insured. - `[].mailing_state_code` (string, required, max length 20, example `CA`) 🟥 **REQUIRED** — Mailing state as a 2-letter code. - `[].insured_entity` (string, optional, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `individual`) Insured entity type used for state-specific rules and exemptions. - `[].insured_email` (string, optional, max length 100, example `producer@demo.none`) Insured email address. - `[].insured_phone` (string, optional, max length 100, example `212-456-7890`) Insured phone number. - `[].insured_county` (string, optional, max length 100, example `Washington`) Mailing county value when used by the state workflow. - `[].physical_same_as_mailing` (integer, required, one of `0`, `1`, example `1`) 🟥 **REQUIRED** — Set to `1` when the physical address/state matches mailing, or `0` when it differs. - `[].physical_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Physical / risk address line 1. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_address2` (string, optional, max length 255, example `Suite 200`) Physical / risk address line 2, if applicable. - `[].physical_city` (string, optional, max length 100, example `Roseville`) Physical / risk city. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_zip_code` (string, optional, max length 20, example `95678`) Physical / risk ZIP / postal code. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_state_code` (string, optional, max length 20, example `CA`) Physical / risk state as a 2-letter code. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].agent_id` (integer, optional, example `5`) **Connect® only.** InsCipher agent/user ID. Identifies which Connect® user the filing is credited to — and, for a filing-admin key, which agency it is filed for. **Agency Admin API key — optional.** Supply the ID of an active agent in your agency to credit the filing to them; omit it and the filing is credited to the agency itself. A value that is not an active agent of your agency is **silently ignored**, the filing is credited to the agency, and no error is returned. **Filing Agency Admin API key — required.** Here `agent_id` additionally selects which of the agencies you manage the transaction is filed for: pass that agency's Agency Admin ID, or the ID of an agent within it. The agency must be one you manage, and must be active. Agent-level API keys cannot authenticate against these endpoints. - `[].agent_notes` (string, optional, max length 1000, example `test notes`) Free-text notes shown on the filing details page. - `[].stamping_fee_invoice_id` (string, optional, max length 255, example `INVST-20001`) Stamping-fee invoice ID used for tracking in InsCipher Connect. - `[].sl_tax_invoice_id` (string, optional, max length 255, example `INVSL-30001`) Surplus-lines-tax invoice ID used for tracking in InsCipher Connect. - `[].business_group_id` (string, optional, max length 255, example `Division 1`) Business-group tracking field used by InsCipher Connect. - `[].customer_code` (string, optional, max length 255, example `OPT CUST CODE12`) Customer-code tracking field used by InsCipher Connect. - `[].transaction_status` (integer, optional) Transaction workflow/status code to set on import. - `[].license_number` (string, optional, max length 255, example `LIC-123456`) License number used to match the filing license when applicable. - `[].filing_admin` (string, optional, max length 255, example `Filing Admin Name`) Filing-admin name used to match the target filing administrator. - `[].date_filed` (string, date, optional, max length 10, example `2024-01-01`) Filed date (`YYYY-MM-DD`). If provided, the transaction imports directly into Filed status. - `[].umr_number` (string, optional, max length 255, example `UMR-12345`) UMR number. - `[].sla_transaction_number` (string, optional, max length 255, example `IL20170000000`) SLA transaction number. - `[].unique_id` (string, optional, max length 255, example `ext-10001`) Additional external unique identifier. - `[].stamping_fee_date_paid` (string, date, optional, max length 10, example `2024-01-01`) Date the stamping fee was paid (`YYYY-MM-DD`). - `[].sl_tax_paid_date` (string, date, optional, max length 10, example `2024-01-01`) Date the surplus-lines tax was paid (`YYYY-MM-DD`). - `[].other_taxes_paid_date` (string, date, optional, max length 10, example `2024-01-01`) Date other taxes were paid (`YYYY-MM-DD`). - `[].dba` (string, optional, max length 100, example `Example DBA`) Doing Business As (DBA) — the trade name or assumed name under which the insured operates, if different from their legal entity name. For example, "ABC Holdings LLC" doing business as "Fresh Market". Include when the insured's operating name differs from the legal name on the policy, as some states require the DBA name for accurate filing and surplus lines reporting. - `[].transaction_documents` (array of object, optional) Array of document objects uploaded together with the transaction. Each object contains a `code` (document import code), `url` (source URL to pull the document from), and `id` (document identifier from the source system). Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].transaction_documents[].code` (string, optional, max length 255, example `POLIC`) Document import code. - `[].transaction_documents[].url` (string, optional, max length 4096) Source URL for the document to be pulled into InsCipher. - `[].transaction_documents[].id` (string, optional, max length 255, example `12233`) Document identifier from the source system. - `[].sop_name` (string, optional, max length 100, example `SOP Name`) Service of Process contact name. Currently applicable for Alabama and Oklahoma; additional states will be added over time. - `[].sop_address` (string, optional, max length 255, example `Demo street 1`) Service of Process address line 1. - `[].sop_address_2` (string, optional, max length 255, example `2nd floor`) Service of Process address line 2, if applicable. - `[].sop_city` (string, optional, max length 100, example `Winthrop`) Service of Process city. - `[].sop_state` (string, optional, max length 20, example `WA`) Service of Process state code. - `[].sop_zip` (string, optional, max length 20, example `98862`) Service of Process ZIP / postal code. - `[].dc_naic` (string, optional, max length 255, example `54267|37816|49865`) Pipe-delimited declining-carrier NAIC codes. **Required when the state requires declining-carrier disclosure** (most surplus-lines states). If your agency has declining-carrier defaults configured, DC fields are auto-filled when omitted — import proceeds without a validation error. Validation errors for all `dc_*` fields do not appear if a document is provided and the matching admin "Optional when uploaded" override is enabled. **Format:** `54267|37816|49865` - `[].dc_date_declined` (string, optional, max length 255, example `2017-02-02|2017-02-03|2017-02-04`) Pipe-delimited decline dates aligned to `dc_naic`. Required alongside `dc_naic`. **Format:** `YYYY-MM-DD|YYYY-MM-DD|YYYY-MM-DD` - `[].dc_declining_reason` (string, optional, max length 255, example `other|other`) Pipe-delimited decline reasons aligned to `dc_naic`. Required alongside `dc_naic`. Use the allowed value for the insured's physical state. **Format:** `reason|reason|reason` | State(s) | Allowed Values | |---|---| | MS & MT | Underwriting Reasons, Unable to place in an admitted market | | NV | Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain) | | NJ | Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market | | NY | Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify) | | OH | Reasons | | OR | Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010 | | WY | Reason | | AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY | Unable to place in admitted market | | All other states | Leave blank | Values shown above are defaults. Actual options are configured per state in the admin interface and may vary. - `[].dc_underwriting_consideration` (string, optional, max length 255, example `Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance`) Pipe-delimited underwriting considerations for declining carriers. **Only applicable in New York.** **Format:** `value|value|value` Allowed values: - Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage - Communications with other professionals, such as brokers, agents, risk managers, insurance department or ELANY personnel indicating the insurer will underwrite that class - Any other valid basis you can document - `[].dc_representative_name` (string, optional, max length 255, example `John|Doe|Johnson`) Pipe-delimited declining-carrier representative names. Required alongside `dc_naic`. **Format:** `name|name|name` - `[].dc_representative_title` (string, optional, max length 255, example `Mr|Dr|Ms`) Pipe-delimited declining-carrier representative titles. **Only applicable in New York.** **Format:** `title|title|title` - `[].dc_representative_email` (string, optional, max length 255, example `demo@demo.none|test@demo.none|demo@demo.none`) Pipe-delimited declining-carrier representative email addresses. Required alongside `dc_naic`. **Format:** `email|email|email` - `[].dc_representative_phone_number` (string, optional, max length 255, example `54|36|465`) Pipe-delimited declining-carrier representative phone numbers. Required alongside `dc_naic`. **Format:** `phone|phone|phone` - `[].dc_representative_website` (string, optional, max length 255, example `demo.none|demo.none|demo.none`) Pipe-delimited declining-carrier representative websites. Required alongside `dc_naic`. **Format:** `website|website|website` - `[].dc_who_received_the_declinations` (string, optional, max length 255, example `Other Person Office`) Who received the declinations. Allowed options are client-configured in the admin interface. - `[].dc_other_person_in_office` (string, optional, max length 255, example `Some Other Person`) Explanation text required only when the selected `dc_who_received_the_declinations` option has the "enable text box for explanation" checkbox enabled in the admin interface. - `[].dc_who_performed_diligent_search` (integer, optional, one of `1`, `2`, example `1`) Who performed the diligent search. **Required when the declining-carrier workflow applies for the state.** `1` = Surplus Lines Broker, `2` = Retail Producer - `[].retail_producer_name` (string, optional, max length 255, example `Producer Name`) Retail producer name. - `[].retail_agency_name` (string, optional, max length 255, example `Producer Agency Name`) Retail agency name. - `[].retail_address` (string, optional, max length 255, example `Demo street 1`) Retail producer address line 1. - `[].retail_address2` (string, optional, max length 255, example `2nd floor`) Retail producer address line 2, if applicable. - `[].retail_city` (string, optional, max length 255, example `Demo City`) Retail producer city. - `[].retail_state` (string, optional, max length 2, example `WA`) Retail producer state code. - `[].retail_zip` (string, optional, max length 255, example `12345`) Retail producer ZIP / postal code. - `[].retail_producer_license` (string, optional, max length 255, example `RP-123456`) Retail producer license number when required by state settings. - `[].retail_agency_license` (string, optional, max length 255, example `RA-123456`) Retail agency license number when required by state settings. - `[].retail_phone_number` (string, optional, max length 255, example `212-456-7890`) Retail producer phone number when required by state settings. - `[].retail_email_address` (string, optional, max length 255, example `retail@demo.none`) Retail producer email address when required by state settings. - `[].affordable_housing_qualification` (integer, optional, one of `0`, `1`, example `0`) **OPTIONAL** — When enabled by the insured state and LOB configuration, determines whether the Affordable Housing Qualification applies. `1` = Yes, `0` = No. Defaults to `0` if omitted. - `[].wind_storm_exclusion` (integer, optional, one of `0`, `1`, example `0`) Windstorm exclusion flag. Applies only in TX and FL on certain property coverages: `0` = No, `1` = Yes. - `[].wind_storm_eligible_for_pool` (integer, optional, one of `0`, `1`, example `0`) Windstorm pool eligibility flag. Applies only in TX and FL on certain property coverages: `0` = No, `1` = Yes. - `[].wind_storm_deduction` (number, float, optional, example `0.51`) Windstorm / hurricane deductible amount. Applies only in FL on certain property coverages. - `[].wind_storm_primary_amount` (number, float, optional, example `10`) Windstorm primary amount (Coverage A). Applies only in FL. - `[].wind_storm_other_coverages_deductible` (number, float, optional, example `25`) All-other-perils deductible amount. Applies only in FL. - `[].lloyds_cover_holder_number` (string, optional, max length 255, example `CH-12345`) Lloyd's cover-holder number. - `[].lloyds_cover_holder_name` (string, optional, max length 255, example `Cover Holder Name`) Lloyd's cover-holder name. - `[].associated_producer` (string, optional, max length 255, example `1234567`) Associated producer license number. Required only when the Associated Producer feature is enabled for the physical state and the license type is Agency. Example request: ```json [ { "id": "201702028950", "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "expiring_policy_number": "CA20170228-04", "invoice_date": "2017-02-01", "invoice_number": "INVN-10001", "transaction_type": "PN", "policy_type": "master", "account_written_as": "B", "rpg": 1, "layered_risk": 0, "broker_of_record": 0, "risk_retention_group": 0, "purchasing_group_name": "Cal Association", "risk_description": "General Accidental Coverage", "ecp": 0, "exempt": 0, "multi_state": 0, "policy_limit": 0, "property_limit": 0, "transaction_line_of_business_list": "GEN-1001|GEN-1002|GEN-1003", "transaction_line_of_business_coverage": "950.75|2000.25|157.50", "non_admitted_insurer_code_list": "39381|AA-1120841|12833", "non_admitted_insurer_code_coverage": "50|30|20", "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "collection_fee": 1.11, "sl_tax": 117, "stamping_fee": 7.8, "sl_service_charge": 0, "municipal_fee": 0, "fm_tax": 0, "empa_tax": 0, "total": 4224.8, "commission_received": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "mailing_address": "1151 Galleria Blvd", "mailing_city": "Roseville", "mailing_zip_code": "95678", "mailing_state_code": "CA", "insured_entity": "individual", "insured_email": "producer@demo.none", "insured_phone": "212-456-7890", "insured_county": "Washington", "physical_same_as_mailing": 1, "stamping_fee_invoice_id": "INVST-20001", "sl_tax_invoice_id": "INVSL-30001", "agent_notes": "test notes", "business_group_id": "Division 1", "customer_code": "OPT CUST CODE12" } ] ``` ###### Responses **200** — Batch accepted. Returns a `batch_id` and per-transaction import status. A `200` response means the batch was received — not that all transactions imported successfully. Check the `status` field on each transaction object for individual results. | Transaction Status Code | Meaning | |---|---| | `0` | Batch accepted and processing | | `2001` | Batch accepted, but this transaction failed validation — check `status_message` for details | Body: - `batch_id` (string, optional, example `912a654e961bb083981145c344ca40c6`) Unique identifier for this batch. Use this with the GET Import Status endpoint to retrieve results. - `status` (string, optional, example `processing`) Always `processing` in the initial batch response. Poll the GET Import Status endpoint to retrieve the actual processing outcome. - `transactions` (array of object, optional) Per-transaction import results. - `transactions[].id` (string, optional, nullable, example `201909240000000001`) The `id` value from your request, or an InsCipher-generated ID if omitted. - `transactions[].policy_number` (string, optional, example `CA20260228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Transaction status code. `0` = accepted and processing. `2001` = batch accepted (HTTP 200) but this transaction failed validation — check `status_message` for details. - `transactions[].status_message` (string, optional, example `processing`) Human-readable status or error message. Example response: ```json { "batch_id": "912a654e961bb083981145c344ca40c6", "status": "processing", "transactions": [ { "id": "201909240000000001", "policy_number": "CA20170228-05", "status": 0, "status_message": "processing" } ] } ``` **400** — Bad Request — request body is missing or does not meet the required format. The body is plain text, sent with `Content-Type: application/json`. **403** — Forbidden — API key is missing or invalid. The body is plain text, sent with `Content-Type: application/json`. ### Transaction Import — Batch (POST) — version v4.1 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | Sandbox | `https://sandbox.inscipher.com/api/v4.1/transaction.json` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v4.1/transaction` | POST | #### GET Request ``` GET /api/v4/transaction-import-results?batch_id={batch_id} ``` #### LOB and Carrier Format The Batch endpoint uses **pipe-delimited strings** for lines of business, carriers, and declining carriers — unlike the Single endpoint, which uses arrays of objects. Always use `transaction_line_of_business_list`. **Even a single line of business is written as a one-item list** — just send one code with no pipe separator. **Single LOB** — one code, no pipes: | Field | Format | Notes | |---|---|---| | `transaction_line_of_business_list` | `GEN-1001` | One line of business code | | `transaction_line_of_business_coverage` | `2000.00` | Coverage amount | | `transaction_line_of_business_fire_coverage` | `1000.00` | Fire coverage amount. **New Jersey only.** | **Multiple LOBs** — same fields, pipe-delimited in the same order: | Field | Format | Notes | |---|---|---| | `transaction_line_of_business_list` | `GEN-1001\|GEN-1002` | Lines of business | | `transaction_line_of_business_coverage` | `3725.00\|2000.00` | Coverage amounts, same order as LOB list | | `transaction_line_of_business_fire_coverage` | `1000.00\|500.00` | Fire coverage amounts, same order as LOB list. **New Jersey only.** | :::note A legacy form using the single-value `transaction_line_of_business` field together with a top-level `fire_premium` field also works, but `transaction_line_of_business` is **deprecated** — prefer the list form above for all new integrations. ::: **Carriers and declining carriers** (pipe-delimited): | Field | Format | Notes | |---|---|---| | `non_admitted_insurer_code_list` | `39381\|AA-1120841\|12833` | Use for single and multiple carriers | | `non_admitted_insurer_code_coverage` | `50\|30\|20` | Percentages, must sum to 100 | | `syndicate_list` | `AA-1120131\|AA-1120124` | Lloyd's syndicates | | `syndicate_list_coverage` | `60\|40` | Percentages, must sum to 100 | | `dc_naic` | `54267\|37816\|49865` | Declining carrier NAIC codes | | `dc_date_declined` | `2017-02-02\|2017-02-03\|2017-02-04` | Decline dates, same order as `dc_naic` | | `dc_declining_reason` | `Underwriting reason\|Other\|Other` | Decline reasons, state-specific allowed values | | `dc_representative_name` | `John Doe\|Jane Smith\|...` | Carrier rep names | | `dc_representative_email` | `a@demo.com\|b@demo.com\|...` | Carrier rep emails | | `dc_representative_phone_number` | `555-0100\|555-0101\|...` | Carrier rep phone numbers | #### Field reference — Transaction Import — Batch OpenAPI 3.0.0: https://developer.inscipher.com/openapi/transaction-import-v4-1.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v4.1/transaction.json Transaction Import — Batch [POST] ###### Request body Array of transaction objects. Each element represents one policy transaction. Send the actual values for `premium`, `agency_fee`, and `inspection_fee` — use `0.00` if no amount applies. Content type: `application/json` - `[].id` (string, optional, max length 255, example `201702028950`) Client-supplied unique import ID used for duplicate detection and source-system tracking. Optional but recommended for reconciliation. - `[].policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number being imported into InsCipher. - `[].transaction_type` (string, required, max length 50, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `BD`, `RW`, `EE`, `OS`, `PC`) 🟥 **REQUIRED** — InsCipher transaction type code for the imported policy event. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | BD | Binder | Temporary proof of coverage. | | RW | Rewrite | Replacement of an existing policy. | | EE | Earned Endorsement | Endorsement based on earned premium. | | OS | Out of Sequence | Out-of-sequence transaction correction. | | PC | Pro Rata Cancellation | Termination with partial refund. | Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].policy_type` (string, optional, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Allowed values: `standard`, `master`, `cert`, `reporting_form` - `[].account_written_as` (string, optional, max length 50, one of `B`, `DC`, example `B`) Whether business is written as brokerage (`B`) or direct-to-client (`DC`). If omitted, the default Agency Admin setting is used. - `[].policy_effective_date` (string, date, required, max length 10, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date (`YYYY-MM-DD`). If omitted, InsCipher can fall back to `transaction_effective_date`. - `[].policy_expiration_date` (string, date, optional, max length 10, example `2018-02-01`) Policy end date (`YYYY-MM-DD`). When omitted, the system defaults to 12 months from `policy_effective_date`. Send when known to avoid relying on the auto-fallback. - `[].transaction_effective_date` (string, date, required, max length 10, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction (`YYYY-MM-DD`). For endorsements, use the endorsement effective date. - `[].expiring_policy_number` (string, optional, max length 50, example `CA20170228-04`) Prior policy number used for renewal transactions. **Required for renewal-type transactions** (e.g., PR). - `[].invoice_date` (string, date, optional, max length 10, example `2026-02-01`) Invoice / issued / revenue-recognition date (`YYYY-MM-DD`). Required for Filing Services® partners; optional for Connect® partners. - `[].invoice_number` (string, optional, max length 255, example `INVN-10001`) Internal invoice identifier tracked on the InsCipher transaction. - `[].rpg` (integer, required, one of `0`, `1`, example `0`) 🟥 **REQUIRED** — Risk Purchasing Group flag: `0` = No, `1` = Yes. - `[].layered_risk` (integer, optional, one of `0`, `1`, default `0`, example `0`) Layered-risk flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].broker_of_record` (integer, optional, one of `0`, `1`, default `0`, example `0`) Broker-of-record change flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].risk_retention_group` (integer, optional, one of `0`, `1`, default `0`, example `0`) Risk Retention Group flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].purchasing_group_name` (string, optional, max length 255, example `Cal Association`) Purchasing group name. **Required when `rpg = 1`**. - `[].risk_description` (string, optional, max length 255, example `General Accidental Coverage`) Risk description or import code. Some states require state-specific coded values. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) Exempt Commercial Purchaser flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) Tax-exempt flag: `0` = No, `1` = Yes. **Currently required only in Utah.** - `[].multi_state` (integer, optional, one of `0`, `1`, default `0`, example `0`) Flag indicating the insured risk or liability spans multiple states: `0` = No, `1` = Yes. **Currently required only in Utah.** - `[].policy_limit` (number, float, optional, example `0`) Aggregate policy limit / liability amount. Required for Filing Services® partners. For Connect® partners, about a dozen states require this — InsCipher recommends including it on every submission. - `[].property_limit` (number, float, optional, example `0`) Property policy limit. InsCipher recommends including it whenever available. - `[].transaction_line_of_business_list` (string, optional, max length 255, example `GEN-1001|GEN-1002|GEN-1003`) Pipe-delimited line-of-business import codes. Use this field — it handles both single and multiple LOBs. **Use Cases:** **Single LOB:** `GEN-1001` **Multiple LOBs:** `GEN-1001|GEN-1002|GEN-1003` Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].transaction_line_of_business_coverage` (string, optional, max length 255, example `950.75|2000.25|157.50`) Coverage / premium values aligned to `transaction_line_of_business_list`, pipe-delimited in the same order. Required only when multiple LOBs are supplied. **Format:** `950.75|2000.25|157.50` - `[].transaction_line_of_business_fire_coverage` (string, optional, max length 255, example `50.00|0|200.75`) **v4.1+ — New Jersey only.** Fire coverage amounts aligned to `transaction_line_of_business_list`, pipe-delimited in the same order. Same format as `transaction_line_of_business_coverage`. Used to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. **Format:** `50.00|0|200.75` - `[].non_admitted_insurer_code_list` (string, optional, example `39381|AA-1120841|12833`) Pipe-delimited carrier (NAIC) codes. Use this field — it handles both single and multiple carriers. For Lloyd's policies use `AA-1122000`. **Format:** `39381|AA-1120841|12833` Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].non_admitted_insurer_code_coverage` (string, optional, example `50|30|20`) Pipe-delimited percentage split aligned to `non_admitted_insurer_code_list`. Required only when multiple insurers are supplied. Percentages must sum to 100. **Format:** `50|30|20` - `[].syndicate_list` (string, optional, example `AA-1120131|AA-1120124`) Pipe-delimited Lloyd's syndicate codes. Required by agency settings or when the state requires a Lloyd's syndicate breakdown. **Format:** `AA-1120131|AA-1120124` - `[].syndicate_list_coverage` (string, optional, example `60|40`) Pipe-delimited percentage split aligned to `syndicate_list`. Percentages must sum to 100. **Format:** `60|40` - `[].transaction_line_of_business` (string, optional, deprecated, example `GEN-1001`) **[DEPRECATED]** Primary single line-of-business import code. Use `transaction_line_of_business_list` instead. - `[].non_admitted_insurer_code` (string, optional, deprecated, example `AA-1122000`) **[DEPRECATED]** Single non-admitted insurer / carrier import code. Use `non_admitted_insurer_code_list` instead. - `[].premium` (number, float, optional, example `3108.5`) **CONDITIONAL** — Policy premium amount. Required unless `transaction_line_of_business_list` and `transaction_line_of_business_coverage` are both sent. Send `0.00` if no premium applies. - `[].fire_premium` (number, float, optional, example `3500`) **OPTIONAL** — New Jersey (v4.1+). The portion of total premium allocated to fire coverage. When provided, InsCipher uses this amount to calculate New Jersey's Fire Marshal Tax and Surplus Lines Tax separately. This top-level field is the legacy companion to the deprecated `transaction_line_of_business` field. **Recommended:** submit fire coverage via `transaction_line_of_business_fire_coverage` alongside `transaction_line_of_business_list` instead. If omitted, fire premium defaults to `0` — unless the account has the "Use 60/40 Split for determining Fire Premium Values in NJ" setting enabled, in which case InsCipher fills in 60% of the premium as fire when the filing or import is saved. - `[].agency_fee` (number, float, required, example `200`) 🟥 **REQUIRED** — Broker / agency fee bucket for all non-carrier fees. Send `0.00` if no broker fee applies. - `[].inspection_fee` (number, float, required, example `0`) 🟥 **REQUIRED** — Carrier fee bucket for inspection, audit, underwriting, or similar carrier-retained fees. Send `0.00` if no carrier fee applies. - `[].collection_fee` (number, float, optional, example `1.11`) Collection fee amount. The label for this fee may vary by state (for example, it appears as "Non Taxable Fees" in Florida). - `[].sl_tax` (number, float, optional, example `117`) Imported surplus-lines tax amount. **Required if the agency tax-import setting is Mandatory**; ignored if not applicable. - `[].stamping_fee` (number, float, optional, example `7.8`) Imported stamping fee amount. Label varies by state (e.g., FSLO fee in FL, Fire Marshal Tax in OR). **Required if the agency tax-import setting is Mandatory**. - `[].sl_service_charge` (number, float, optional, example `0`) Imported surplus-lines service charge. Active only in Oregon and Mississippi. **Required if the agency tax-import setting is Mandatory**. **Louisiana (interim):** submit the Fire Marshal Fund Tax amount here, not under `fm_tax`. Temporary mapping; it will move to `fm_tax` in a future version, announced in advance. - `[].municipal_fee` (number, float, optional, example `0`) Imported municipal or local tax amount. Active only in Kentucky. **Required if the agency tax-import setting is Mandatory**. - `[].fm_tax` (number, float, optional, example `0`) Imported Fire Marshal tax amount. Active only in Illinois. **Required if the agency tax-import setting is Mandatory**. For the **Louisiana** Fire Marshal Fund Tax, use `sl_service_charge` instead (interim). - `[].empa_tax` (number, float, optional, example `0`) Imported EMPA tax amount. Active only in Florida. **Required if the agency tax-import setting is Mandatory**. - `[].total` (number, float, optional, example `4224.8`) Total transaction amount. If omitted, InsCipher calculates it from premium, taxes, and fees. - `[].commission_received` (integer, optional, one of `0`, `1`, example `0`) Commission-received flag, used by some state fee rules such as New Hampshire: `0` = No, `1` = Yes. - `[].mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Insured name as it appears on policy documents. - `[].mailing_address` (string, required, max length 255, example `1151 Galleria Blvd`) 🟥 **REQUIRED** — Mailing address line 1 for the insured. - `[].mailing_address2` (string, optional, max length 255, example `Suite 200`) Mailing address line 2, if applicable. - `[].mailing_city` (string, required, max length 100, example `Roseville`) 🟥 **REQUIRED** — Mailing city for the insured. - `[].mailing_zip_code` (string, required, max length 20, example `95678`) 🟥 **REQUIRED** — Mailing ZIP / postal code for the insured. - `[].mailing_state_code` (string, required, max length 20, example `CA`) 🟥 **REQUIRED** — Mailing state as a 2-letter code. - `[].insured_entity` (string, optional, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `individual`) Insured entity type used for state-specific rules and exemptions. - `[].insured_email` (string, optional, max length 100, example `producer@demo.none`) Insured email address. - `[].insured_phone` (string, optional, max length 100, example `212-456-7890`) Insured phone number. - `[].insured_county` (string, optional, max length 100, example `Washington`) Mailing county value when used by the state workflow. - `[].physical_same_as_mailing` (integer, required, one of `0`, `1`, example `1`) 🟥 **REQUIRED** — Set to `1` when the physical address/state matches mailing, or `0` when it differs. - `[].physical_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Physical / risk address line 1. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_address2` (string, optional, max length 255, example `Suite 200`) Physical / risk address line 2, if applicable. - `[].physical_city` (string, optional, max length 100, example `Roseville`) Physical / risk city. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_zip_code` (string, optional, max length 20, example `95678`) Physical / risk ZIP / postal code. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_state_code` (string, optional, max length 20, example `CA`) Physical / risk state as a 2-letter code. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].agent_id` (integer, optional, example `5`) **Connect® only.** InsCipher agent/user ID. Identifies which Connect® user the filing is credited to — and, for a filing-admin key, which agency it is filed for. **Agency Admin API key — optional.** Supply the ID of an active agent in your agency to credit the filing to them; omit it and the filing is credited to the agency itself. A value that is not an active agent of your agency is **silently ignored**, the filing is credited to the agency, and no error is returned. **Filing Agency Admin API key — required.** Here `agent_id` additionally selects which of the agencies you manage the transaction is filed for: pass that agency's Agency Admin ID, or the ID of an agent within it. The agency must be one you manage, and must be active. Agent-level API keys cannot authenticate against these endpoints. - `[].agent_notes` (string, optional, max length 1000, example `test notes`) Free-text notes shown on the filing details page. - `[].stamping_fee_invoice_id` (string, optional, max length 255, example `INVST-20001`) Stamping-fee invoice ID used for tracking in InsCipher Connect. - `[].sl_tax_invoice_id` (string, optional, max length 255, example `INVSL-30001`) Surplus-lines-tax invoice ID used for tracking in InsCipher Connect. - `[].business_group_id` (string, optional, max length 255, example `Division 1`) Business-group tracking field used by InsCipher Connect. - `[].customer_code` (string, optional, max length 255, example `OPT CUST CODE12`) Customer-code tracking field used by InsCipher Connect. - `[].transaction_status` (integer, optional) Transaction workflow/status code to set on import. - `[].license_number` (string, optional, max length 255, example `LIC-123456`) License number used to match the filing license when applicable. - `[].filing_admin` (string, optional, max length 255, example `Filing Admin Name`) Filing-admin name used to match the target filing administrator. - `[].date_filed` (string, date, optional, max length 10, example `2024-01-01`) Filed date (`YYYY-MM-DD`). If provided, the transaction imports directly into Filed status. - `[].umr_number` (string, optional, max length 255, example `UMR-12345`) UMR number. - `[].sla_transaction_number` (string, optional, max length 255, example `IL20170000000`) SLA transaction number. - `[].unique_id` (string, optional, max length 255, example `ext-10001`) Additional external unique identifier. - `[].stamping_fee_date_paid` (string, date, optional, max length 10, example `2024-01-01`) Date the stamping fee was paid (`YYYY-MM-DD`). - `[].sl_tax_paid_date` (string, date, optional, max length 10, example `2024-01-01`) Date the surplus-lines tax was paid (`YYYY-MM-DD`). - `[].other_taxes_paid_date` (string, date, optional, max length 10, example `2024-01-01`) Date other taxes were paid (`YYYY-MM-DD`). - `[].dba` (string, optional, max length 100, example `Example DBA`) Doing Business As (DBA) — the trade name or assumed name under which the insured operates, if different from their legal entity name. For example, "ABC Holdings LLC" doing business as "Fresh Market". Include when the insured's operating name differs from the legal name on the policy, as some states require the DBA name for accurate filing and surplus lines reporting. - `[].transaction_documents` (array of object, optional) Array of document objects uploaded together with the transaction. Each object contains a `code` (document import code), `url` (source URL to pull the document from), and `id` (document identifier from the source system). Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].transaction_documents[].code` (string, optional, max length 255, example `POLIC`) Document import code. - `[].transaction_documents[].url` (string, optional, max length 4096) Source URL for the document to be pulled into InsCipher. - `[].transaction_documents[].id` (string, optional, max length 255, example `12233`) Document identifier from the source system. - `[].sop_name` (string, optional, max length 100, example `SOP Name`) Service of Process contact name. Currently applicable for Alabama and Oklahoma; additional states will be added over time. - `[].sop_address` (string, optional, max length 255, example `Demo street 1`) Service of Process address line 1. - `[].sop_address_2` (string, optional, max length 255, example `2nd floor`) Service of Process address line 2, if applicable. - `[].sop_city` (string, optional, max length 100, example `Winthrop`) Service of Process city. - `[].sop_state` (string, optional, max length 20, example `WA`) Service of Process state code. - `[].sop_zip` (string, optional, max length 20, example `98862`) Service of Process ZIP / postal code. - `[].dc_naic` (string, optional, max length 255, example `54267|37816|49865`) Pipe-delimited declining-carrier NAIC codes. **Required when the state requires declining-carrier disclosure** (most surplus-lines states). If your agency has declining-carrier defaults configured, DC fields are auto-filled when omitted — import proceeds without a validation error. Validation errors for all `dc_*` fields do not appear if a document is provided and the matching admin "Optional when uploaded" override is enabled. **Format:** `54267|37816|49865` - `[].dc_date_declined` (string, optional, max length 255, example `2017-02-02|2017-02-03|2017-02-04`) Pipe-delimited decline dates aligned to `dc_naic`. Required alongside `dc_naic`. **Format:** `YYYY-MM-DD|YYYY-MM-DD|YYYY-MM-DD` - `[].dc_declining_reason` (string, optional, max length 255, example `other|other`) Pipe-delimited decline reasons aligned to `dc_naic`. Required alongside `dc_naic`. Use the allowed value for the insured's physical state. **Format:** `reason|reason|reason` | State(s) | Allowed Values | |---|---| | MS & MT | Underwriting Reasons, Unable to place in an admitted market | | NV | Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain) | | NJ | Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market | | NY | Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify) | | OH | Reasons | | OR | Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010 | | WY | Reason | | AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY | Unable to place in admitted market | | All other states | Leave blank | Values shown above are defaults. Actual options are configured per state in the admin interface and may vary. - `[].dc_underwriting_consideration` (string, optional, max length 255, example `Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance`) Pipe-delimited underwriting considerations for declining carriers. **Only applicable in New York.** **Format:** `value|value|value` Allowed values: - Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage - Communications with other professionals, such as brokers, agents, risk managers, insurance department or ELANY personnel indicating the insurer will underwrite that class - Any other valid basis you can document - `[].dc_representative_name` (string, optional, max length 255, example `John|Doe|Johnson`) Pipe-delimited declining-carrier representative names. Required alongside `dc_naic`. **Format:** `name|name|name` - `[].dc_representative_title` (string, optional, max length 255, example `Mr|Dr|Ms`) Pipe-delimited declining-carrier representative titles. **Only applicable in New York.** **Format:** `title|title|title` - `[].dc_representative_email` (string, optional, max length 255, example `demo@demo.none|test@demo.none|demo@demo.none`) Pipe-delimited declining-carrier representative email addresses. Required alongside `dc_naic`. **Format:** `email|email|email` - `[].dc_representative_phone_number` (string, optional, max length 255, example `54|36|465`) Pipe-delimited declining-carrier representative phone numbers. Required alongside `dc_naic`. **Format:** `phone|phone|phone` - `[].dc_representative_website` (string, optional, max length 255, example `demo.none|demo.none|demo.none`) Pipe-delimited declining-carrier representative websites. Required alongside `dc_naic`. **Format:** `website|website|website` - `[].dc_who_received_the_declinations` (string, optional, max length 255, example `Other Person Office`) Who received the declinations. Allowed options are client-configured in the admin interface. - `[].dc_other_person_in_office` (string, optional, max length 255, example `Some Other Person`) Explanation text required only when the selected `dc_who_received_the_declinations` option has the "enable text box for explanation" checkbox enabled in the admin interface. - `[].dc_who_performed_diligent_search` (integer, optional, one of `1`, `2`, example `1`) Who performed the diligent search. **Required when the declining-carrier workflow applies for the state.** `1` = Surplus Lines Broker, `2` = Retail Producer - `[].retail_producer_name` (string, optional, max length 255, example `Producer Name`) Retail producer name. - `[].retail_agency_name` (string, optional, max length 255, example `Producer Agency Name`) Retail agency name. - `[].retail_address` (string, optional, max length 255, example `Demo street 1`) Retail producer address line 1. - `[].retail_address2` (string, optional, max length 255, example `2nd floor`) Retail producer address line 2, if applicable. - `[].retail_city` (string, optional, max length 255, example `Demo City`) Retail producer city. - `[].retail_state` (string, optional, max length 2, example `WA`) Retail producer state code. - `[].retail_zip` (string, optional, max length 255, example `12345`) Retail producer ZIP / postal code. - `[].retail_producer_license` (string, optional, max length 255, example `RP-123456`) Retail producer license number when required by state settings. - `[].retail_agency_license` (string, optional, max length 255, example `RA-123456`) Retail agency license number when required by state settings. - `[].retail_phone_number` (string, optional, max length 255, example `212-456-7890`) Retail producer phone number when required by state settings. - `[].retail_email_address` (string, optional, max length 255, example `retail@demo.none`) Retail producer email address when required by state settings. - `[].affordable_housing_qualification` (integer, optional, one of `0`, `1`, example `0`) **OPTIONAL** — When enabled by the insured state and LOB configuration, determines whether the Affordable Housing Qualification applies. `1` = Yes, `0` = No. Defaults to `0` if omitted. - `[].wind_storm_exclusion` (integer, optional, one of `0`, `1`, example `0`) Windstorm exclusion flag. Applies only in TX and FL on certain property coverages: `0` = No, `1` = Yes. - `[].wind_storm_eligible_for_pool` (integer, optional, one of `0`, `1`, example `0`) Windstorm pool eligibility flag. Applies only in TX and FL on certain property coverages: `0` = No, `1` = Yes. - `[].wind_storm_deduction` (number, float, optional, example `0.51`) Windstorm / hurricane deductible amount. Applies only in FL on certain property coverages. - `[].wind_storm_primary_amount` (number, float, optional, example `10`) Windstorm primary amount (Coverage A). Applies only in FL. - `[].wind_storm_other_coverages_deductible` (number, float, optional, example `25`) All-other-perils deductible amount. Applies only in FL. - `[].lloyds_cover_holder_number` (string, optional, max length 255, example `CH-12345`) Lloyd's cover-holder number. - `[].lloyds_cover_holder_name` (string, optional, max length 255, example `Cover Holder Name`) Lloyd's cover-holder name. - `[].associated_producer` (string, optional, max length 255, example `1234567`) Associated producer license number. Required only when the Associated Producer feature is enabled for the physical state and the license type is Agency. Example request: ```json [ { "id": "201702028950", "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "expiring_policy_number": "CA20170228-04", "invoice_date": "2017-02-01", "invoice_number": "INVN-10001", "transaction_type": "PN", "policy_type": "master", "account_written_as": "B", "rpg": 1, "layered_risk": 0, "broker_of_record": 0, "risk_retention_group": 0, "purchasing_group_name": "Cal Association", "risk_description": "General Accidental Coverage", "ecp": 0, "exempt": 0, "multi_state": 0, "policy_limit": 0, "property_limit": 0, "transaction_line_of_business_list": "GEN-1001|GEN-1002|GEN-1003", "transaction_line_of_business_coverage": "950.75|2000.25|157.50", "non_admitted_insurer_code_list": "39381|AA-1120841|12833", "non_admitted_insurer_code_coverage": "50|30|20", "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "collection_fee": 1.11, "sl_tax": 117, "stamping_fee": 7.8, "sl_service_charge": 0, "municipal_fee": 0, "fm_tax": 0, "empa_tax": 0, "total": 4224.8, "commission_received": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "mailing_address": "1151 Galleria Blvd", "mailing_city": "Roseville", "mailing_zip_code": "95678", "mailing_state_code": "CA", "insured_entity": "individual", "insured_email": "producer@demo.none", "insured_phone": "212-456-7890", "insured_county": "Washington", "physical_same_as_mailing": 1, "stamping_fee_invoice_id": "INVST-20001", "sl_tax_invoice_id": "INVSL-30001", "agent_notes": "test notes", "business_group_id": "Division 1", "customer_code": "OPT CUST CODE12" } ] ``` ###### Responses **200** — Batch accepted. Returns a `batch_id` and per-transaction import status. A `200` response means the batch was received — not that all transactions imported successfully. Check the `status` field on each transaction object for individual results. | Transaction Status Code | Meaning | |---|---| | `0` | Batch accepted and processing | | `2001` | Batch accepted, but this transaction failed validation — check `status_message` for details | Body: - `batch_id` (string, optional, example `912a654e961bb083981145c344ca40c6`) Unique identifier for this batch. Use this with the GET Import Status endpoint to retrieve results. - `status` (string, optional, example `processing`) Always `processing` in the initial batch response. Poll the GET Import Status endpoint to retrieve the actual processing outcome. - `transactions` (array of object, optional) Per-transaction import results. - `transactions[].id` (string, optional, nullable, example `201909240000000001`) The `id` value from your request, or an InsCipher-generated ID if omitted. - `transactions[].policy_number` (string, optional, example `CA20260228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Transaction status code. `0` = accepted and processing. `2001` = batch accepted (HTTP 200) but this transaction failed validation — check `status_message` for details. - `transactions[].status_message` (string, optional, example `processing`) Human-readable status or error message. Example response: ```json { "batch_id": "912a654e961bb083981145c344ca40c6", "status": "processing", "transactions": [ { "id": "201909240000000001", "policy_number": "CA20170228-05", "status": 0, "status_message": "processing" } ] } ``` **400** — Bad Request — request body is missing or does not meet the required format. The body is plain text, sent with `Content-Type: application/json`. **403** — Forbidden — API key is missing or invalid. The body is plain text, sent with `Content-Type: application/json`. ### Transaction Import — Batch (POST) — version v4 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v4/transaction` | POST | | **Production** | `https://surpluslines.inscipher.com/api/v4/transaction` | POST | #### GET Request ``` GET /api/v4/transaction-import-results?batch_id={batch_id} ``` #### LOB and Carrier Format The Batch endpoint uses **pipe-delimited strings** for lines of business, carriers, and declining carriers — unlike the Single endpoint, which uses arrays of objects. | Field | Format | Notes | |---|---|---| | `transaction_line_of_business_list` | `GEN-1001\|GEN-1002\|GEN-1003` | Use for single and multiple LOBs | | `transaction_line_of_business_coverage` | `950.75\|2000.25\|157.50` | Dollar amounts, same order as LOB list | **Carriers and declining carriers** (pipe-delimited): | Field | Format | Notes | |---|---|---| | `non_admitted_insurer_code_list` | `39381\|AA-1120841\|12833` | Use for single and multiple carriers | | `non_admitted_insurer_code_coverage` | `50\|30\|20` | Percentages, must sum to 100 | | `syndicate_list` | `AA-1120131\|AA-1120124` | Lloyd's syndicates | | `syndicate_list_coverage` | `60\|40` | Percentages, must sum to 100 | | `dc_naic` | `54267\|37816\|49865` | Declining carrier NAIC codes | | `dc_date_declined` | `2017-02-02\|2017-02-03\|2017-02-04` | Decline dates, same order as `dc_naic` | | `dc_declining_reason` | `Underwriting reason\|Other\|Other` | Decline reasons, state-specific allowed values | | `dc_representative_name` | `John Doe\|Jane Smith\|...` | Carrier rep names | | `dc_representative_email` | `a@demo.com\|b@demo.com\|...` | Carrier rep emails | | `dc_representative_phone_number` | `555-0100\|555-0101\|...` | Carrier rep phone numbers | #### Field reference — Transaction Import — Batch OpenAPI 3.0.0: https://developer.inscipher.com/openapi/transaction-import-batch.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### POST /api/v4/transaction Transaction Import — Batch [POST] ###### Request body Array of transaction objects. Each element represents one policy transaction. Send the actual values for `premium`, `agency_fee`, and `inspection_fee` — use `0.00` if no amount applies. Content type: `application/json` - `[].id` (string, optional, max length 255, example `201702028950`) Client-supplied unique import ID used for duplicate detection and source-system tracking. Optional but recommended for reconciliation. - `[].policy_number` (string, required, max length 50, example `CA20170228-05`) 🟥 **REQUIRED** — Policy number being imported into InsCipher. - `[].transaction_type` (string, required, max length 50, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `BD`, `RW`, `EE`, `OS`, `PC`) 🟥 **REQUIRED** — InsCipher transaction type code for the imported policy event. | Code | Name | Description | |---|---|---| | PN | New Policy | First-time policy issuance. | | PR | Policy Renewal | Subsequent policy issuance. | | APE | Additional Premium Endorsement | Increase in premium amount. | | RPE | Return Premium Endorsement | Refund/decrease in premium amount. | | AE | Audit | Post-expiry premium increase. | | FC | Flat Cancellation | Full termination; full refund. | | ZPE | Zero Premium Endorsement | Non-financial policy change. | | BD | Binder | Temporary proof of coverage. | | RW | Rewrite | Replacement of an existing policy. | | EE | Earned Endorsement | Endorsement based on earned premium. | | OS | Out of Sequence | Out-of-sequence transaction correction. | | PC | Pro Rata Cancellation | Termination with partial refund. | Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].policy_type` (string, optional, one of `standard`, `master`, `cert`, `reporting_form`, example `standard`) Policy type. Allowed values: `standard`, `master`, `cert`, `reporting_form` - `[].account_written_as` (string, optional, max length 50, one of `B`, `DC`, example `B`) Whether business is written as brokerage (`B`) or direct-to-client (`DC`). If omitted, the default Agency Admin setting is used. - `[].policy_effective_date` (string, date, required, max length 10, example `2017-02-01`) 🟥 **REQUIRED** — Policy start date (`YYYY-MM-DD`). If omitted, InsCipher can fall back to `transaction_effective_date`. - `[].policy_expiration_date` (string, date, optional, max length 10, example `2018-02-01`) Policy end date (`YYYY-MM-DD`). When omitted, the system defaults to 12 months from `policy_effective_date`. Send when known to avoid relying on the auto-fallback. - `[].transaction_effective_date` (string, date, required, max length 10, example `2017-02-01`) 🟥 **REQUIRED** — Effective date of this transaction (`YYYY-MM-DD`). For endorsements, use the endorsement effective date. - `[].expiring_policy_number` (string, optional, max length 50, example `CA20170228-04`) Prior policy number used for renewal transactions. **Required for renewal-type transactions** (e.g., PR). - `[].invoice_date` (string, date, optional, max length 10, example `2026-02-01`) Invoice / issued / revenue-recognition date (`YYYY-MM-DD`). Required for Filing Services® partners; optional for Connect® partners. - `[].invoice_number` (string, optional, max length 255, example `INVN-10001`) Internal invoice identifier tracked on the InsCipher transaction. - `[].rpg` (integer, required, one of `0`, `1`, example `0`) 🟥 **REQUIRED** — Risk Purchasing Group flag: `0` = No, `1` = Yes. - `[].layered_risk` (integer, optional, one of `0`, `1`, default `0`, example `0`) Layered-risk flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].broker_of_record` (integer, optional, one of `0`, `1`, default `0`, example `0`) Broker-of-record change flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].risk_retention_group` (integer, optional, one of `0`, `1`, default `0`, example `0`) Risk Retention Group flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].purchasing_group_name` (string, optional, max length 255, example `Cal Association`) Purchasing group name. **Required when `rpg = 1`**. - `[].risk_description` (string, optional, max length 255, example `General Accidental Coverage`) Risk description or import code. Some states require state-specific coded values. Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].ecp` (integer, optional, one of `0`, `1`, default `0`, example `0`) Exempt Commercial Purchaser flag: `0` = No, `1` = Yes. Defaults to `0`. - `[].exempt` (integer, optional, one of `0`, `1`, default `0`, example `0`) Tax-exempt flag: `0` = No, `1` = Yes. **Currently required only in Utah.** - `[].multi_state` (integer, optional, one of `0`, `1`, default `0`, example `0`) Flag indicating the insured risk or liability spans multiple states: `0` = No, `1` = Yes. **Currently required only in Utah.** - `[].policy_limit` (number, float, optional, example `0`) Aggregate policy limit / liability amount. Required for Filing Services® partners. For Connect® partners, about a dozen states require this — InsCipher recommends including it on every submission. - `[].property_limit` (number, float, optional, example `0`) Property policy limit. InsCipher recommends including it whenever available. - `[].transaction_line_of_business_list` (string, optional, max length 255, example `GEN-1001|GEN-1002|GEN-1003`) Pipe-delimited line-of-business import codes. Use this field — it handles both single and multiple LOBs. **Use Cases:** **Single LOB:** `GEN-1001` **Multiple LOBs:** `GEN-1001|GEN-1002|GEN-1003` Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].transaction_line_of_business_coverage` (string, optional, max length 255, example `950.75|2000.25|157.50`) Coverage / premium values aligned to `transaction_line_of_business_list`, pipe-delimited in the same order. Required only when multiple LOBs are supplied. **Format:** `950.75|2000.25|157.50` - `[].non_admitted_insurer_code_list` (string, optional, example `39381|AA-1120841|12833`) Pipe-delimited carrier (NAIC) codes. Use this field — it handles both single and multiple carriers. For Lloyd's policies use `AA-1122000`. **Format:** `39381|AA-1120841|12833` Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].non_admitted_insurer_code_coverage` (string, optional, example `50|30|20`) Pipe-delimited percentage split aligned to `non_admitted_insurer_code_list`. Required only when multiple insurers are supplied. Percentages must sum to 100. **Format:** `50|30|20` - `[].syndicate_list` (string, optional, example `AA-1120131|AA-1120124`) Pipe-delimited Lloyd's syndicate codes. Required by agency settings or when the state requires a Lloyd's syndicate breakdown. **Format:** `AA-1120131|AA-1120124` - `[].syndicate_list_coverage` (string, optional, example `60|40`) Pipe-delimited percentage split aligned to `syndicate_list`. Percentages must sum to 100. **Format:** `60|40` - `[].transaction_line_of_business` (string, optional, deprecated, example `GEN-1001`) **[DEPRECATED]** Primary single line-of-business import code. Use `transaction_line_of_business_list` instead. - `[].non_admitted_insurer_code` (string, optional, deprecated, example `AA-1122000`) **[DEPRECATED]** Single non-admitted insurer / carrier import code. Use `non_admitted_insurer_code_list` instead. - `[].premium` (number, float, optional, example `3108.5`) **CONDITIONAL** — Policy premium amount. Required unless `transaction_line_of_business_list` and `transaction_line_of_business_coverage` are both sent. Send `0.00` if no premium applies. - `[].agency_fee` (number, float, required, example `200`) 🟥 **REQUIRED** — Broker / agency fee bucket for all non-carrier fees. Send `0.00` if no broker fee applies. - `[].inspection_fee` (number, float, required, example `0`) 🟥 **REQUIRED** — Carrier fee bucket for inspection, audit, underwriting, or similar carrier-retained fees. Send `0.00` if no carrier fee applies. - `[].collection_fee` (number, float, optional, example `1.11`) Collection fee amount. The label for this fee may vary by state (for example, it appears as "Non Taxable Fees" in Florida). - `[].sl_tax` (number, float, optional, example `117`) Imported surplus-lines tax amount. **Required if the agency tax-import setting is Mandatory**; ignored if not applicable. - `[].stamping_fee` (number, float, optional, example `7.8`) Imported stamping fee amount. Label varies by state (e.g., FSLO fee in FL, Fire Marshal Tax in OR). **Required if the agency tax-import setting is Mandatory**. - `[].sl_service_charge` (number, float, optional, example `0`) Imported surplus-lines service charge. Active only in Oregon and Mississippi. **Required if the agency tax-import setting is Mandatory**. - `[].municipal_fee` (number, float, optional, example `0`) Imported municipal or local tax amount. Active only in Kentucky. **Required if the agency tax-import setting is Mandatory**. - `[].fm_tax` (number, float, optional, example `0`) Imported Fire Marshal tax amount. Active only in Illinois. **Required if the agency tax-import setting is Mandatory**. - `[].empa_tax` (number, float, optional, example `0`) Imported EMPA tax amount. Active only in Florida. **Required if the agency tax-import setting is Mandatory**. - `[].total` (number, float, optional, example `4224.8`) Total transaction amount. If omitted, InsCipher calculates it from premium, taxes, and fees. - `[].commission_received` (integer, optional, one of `0`, `1`, example `0`) Commission-received flag, used by some state fee rules such as New Hampshire: `0` = No, `1` = Yes. - `[].mailing_insured_name` (string, required, max length 100, example `Westfield Galleria at Roseville`) 🟥 **REQUIRED** — Insured name as it appears on policy documents. - `[].mailing_address` (string, required, max length 255, example `1151 Galleria Blvd`) 🟥 **REQUIRED** — Mailing address line 1 for the insured. - `[].mailing_address2` (string, optional, max length 255, example `Suite 200`) Mailing address line 2, if applicable. - `[].mailing_city` (string, required, max length 100, example `Roseville`) 🟥 **REQUIRED** — Mailing city for the insured. - `[].mailing_zip_code` (string, required, max length 20, example `95678`) 🟥 **REQUIRED** — Mailing ZIP / postal code for the insured. - `[].mailing_state_code` (string, required, max length 20, example `CA`) 🟥 **REQUIRED** — Mailing state as a 2-letter code. - `[].insured_entity` (string, optional, max length 100, one of `individual`, `commercial`, `governmental`, `federal`, `tribal`, `hospital_alliance`, `state_approved_tax_exempt`, example `individual`) Insured entity type used for state-specific rules and exemptions. - `[].insured_email` (string, optional, max length 100, example `producer@demo.none`) Insured email address. - `[].insured_phone` (string, optional, max length 100, example `212-456-7890`) Insured phone number. - `[].insured_county` (string, optional, max length 100, example `Washington`) Mailing county value when used by the state workflow. - `[].physical_same_as_mailing` (integer, required, one of `0`, `1`, example `1`) 🟥 **REQUIRED** — Set to `1` when the physical address/state matches mailing, or `0` when it differs. - `[].physical_address` (string, optional, max length 255, example `1151 Galleria Blvd`) Physical / risk address line 1. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_address2` (string, optional, max length 255, example `Suite 200`) Physical / risk address line 2, if applicable. - `[].physical_city` (string, optional, max length 100, example `Roseville`) Physical / risk city. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_zip_code` (string, optional, max length 20, example `95678`) Physical / risk ZIP / postal code. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].physical_state_code` (string, optional, max length 20, example `CA`) Physical / risk state as a 2-letter code. **Required whenever `physical_same_as_mailing` is not `1`.** - `[].agent_id` (integer, optional, example `5`) **Connect® only.** InsCipher agent/user ID. Identifies which Connect® user the filing is credited to — and, for a filing-admin key, which agency it is filed for. **Agency Admin API key — optional.** Supply the ID of an active agent in your agency to credit the filing to them; omit it and the filing is credited to the agency itself. A value that is not an active agent of your agency is **silently ignored**, the filing is credited to the agency, and no error is returned. **Filing Agency Admin API key — required.** Here `agent_id` additionally selects which of the agencies you manage the transaction is filed for: pass that agency's Agency Admin ID, or the ID of an agent within it. The agency must be one you manage, and must be active. Agent-level API keys cannot authenticate against these endpoints. - `[].agent_notes` (string, optional, max length 1000, example `test notes`) Free-text notes shown on the filing details page. - `[].stamping_fee_invoice_id` (string, optional, max length 255, example `INVST-20001`) Stamping-fee invoice ID used for tracking in InsCipher Connect. - `[].sl_tax_invoice_id` (string, optional, max length 255, example `INVSL-30001`) Surplus-lines-tax invoice ID used for tracking in InsCipher Connect. - `[].business_group_id` (string, optional, max length 255, example `Division 1`) Business-group tracking field used by InsCipher Connect. - `[].customer_code` (string, optional, max length 255, example `OPT CUST CODE12`) Customer-code tracking field used by InsCipher Connect. - `[].transaction_status` (integer, optional) Transaction workflow/status code to set on import. - `[].license_number` (string, optional, max length 255, example `LIC-123456`) License number used to match the filing license when applicable. - `[].filing_admin` (string, optional, max length 255, example `Filing Admin Name`) Filing-admin name used to match the target filing administrator. - `[].date_filed` (string, date, optional, max length 10, example `2024-01-01`) Filed date (`YYYY-MM-DD`). If provided, the transaction imports directly into Filed status. - `[].umr_number` (string, optional, max length 255, example `UMR-12345`) UMR number. - `[].sla_transaction_number` (string, optional, max length 255, example `IL20170000000`) SLA transaction number. - `[].unique_id` (string, optional, max length 255, example `ext-10001`) Additional external unique identifier. - `[].stamping_fee_date_paid` (string, date, optional, max length 10, example `2024-01-01`) Date the stamping fee was paid (`YYYY-MM-DD`). - `[].sl_tax_paid_date` (string, date, optional, max length 10, example `2024-01-01`) Date the surplus-lines tax was paid (`YYYY-MM-DD`). - `[].other_taxes_paid_date` (string, date, optional, max length 10, example `2024-01-01`) Date other taxes were paid (`YYYY-MM-DD`). - `[].dba` (string, optional, max length 100, example `Example DBA`) Doing Business As (DBA) — the trade name or assumed name under which the insured operates, if different from their legal entity name. For example, "ABC Holdings LLC" doing business as "Fresh Market". Include when the insured's operating name differs from the legal name on the policy, as some states require the DBA name for accurate filing and surplus lines reporting. - `[].transaction_documents` (array of object, optional) Array of document objects uploaded together with the transaction. Each object contains a `code` (document import code), `url` (source URL to pull the document from), and `id` (document identifier from the source system). Use our [mapping packet](https://developer.inscipher.com/api/transaction-import/overview#find-your-mapping-packet) to map your codes. - `[].transaction_documents[].code` (string, optional, max length 255, example `POLIC`) Document import code. - `[].transaction_documents[].url` (string, optional, max length 4096) Source URL for the document to be pulled into InsCipher. - `[].transaction_documents[].id` (string, optional, max length 255, example `12233`) Document identifier from the source system. - `[].sop_name` (string, optional, max length 100, example `SOP Name`) Service of Process contact name. Currently applicable for Alabama and Oklahoma; additional states will be added over time. - `[].sop_address` (string, optional, max length 255, example `Demo street 1`) Service of Process address line 1. - `[].sop_address_2` (string, optional, max length 255, example `2nd floor`) Service of Process address line 2, if applicable. - `[].sop_city` (string, optional, max length 100, example `Winthrop`) Service of Process city. - `[].sop_state` (string, optional, max length 20, example `WA`) Service of Process state code. - `[].sop_zip` (string, optional, max length 20, example `98862`) Service of Process ZIP / postal code. - `[].dc_naic` (string, optional, max length 255, example `54267|37816|49865`) Pipe-delimited declining-carrier NAIC codes. **Required when the state requires declining-carrier disclosure** (most surplus-lines states). If your agency has declining-carrier defaults configured, DC fields are auto-filled when omitted — import proceeds without a validation error. Validation errors for all `dc_*` fields do not appear if a document is provided and the matching admin "Optional when uploaded" override is enabled. **Format:** `54267|37816|49865` - `[].dc_date_declined` (string, optional, max length 255, example `2017-02-02|2017-02-03|2017-02-04`) Pipe-delimited decline dates aligned to `dc_naic`. Required alongside `dc_naic`. **Format:** `YYYY-MM-DD|YYYY-MM-DD|YYYY-MM-DD` - `[].dc_declining_reason` (string, optional, max length 255, example `other|other`) Pipe-delimited decline reasons aligned to `dc_naic`. Required alongside `dc_naic`. Use the allowed value for the insured's physical state. **Format:** `reason|reason|reason` | State(s) | Allowed Values | |---|---| | MS & MT | Underwriting Reasons, Unable to place in an admitted market | | NV | Unacceptable class of business, Age of building, Declined to quote, Doesn't fit underwriting requirement, No market, No prior insurance, Excessive claims, Other (please explain) | | NJ | Declined to accept all or part of risk, Comparable premium is unavailable in admitted market, Comparable coverage is unavailable in admitted market | | NY | Insurer presently lacks adequate capacity to write this risk, Specific underwriting reasons, Other (Specify) | | OH | Reasons | | OR | Unable to place full amount or kind of insurance w/admitted companies who write that particular kind & class of ins., Insured is OR registered RPG which is exempt from diligent search, Exempt Commercial Purchaser according to the NRRA of 2010 | | WY | Reason | | AL, AK, CO, DE, DC, FL, GA, HI, ID, IL, IA, KS, KY | Unable to place in admitted market | | All other states | Leave blank | Values shown above are defaults. Actual options are configured per state in the admin interface and may vary. - `[].dc_underwriting_consideration` (string, optional, max length 255, example `Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance`) Pipe-delimited underwriting considerations for declining carriers. **Only applicable in New York.** **Format:** `value|value|value` Allowed values: - Recent acceptance by the insurer of a risk, requiring that type of coverage or class of insurance - Advertising by the insurer or its agent indicating it entertains that type of risk/coverage - Media communications (Newspapers, Trade Magazines, Radio) which indicate the insurer will underwrite that type of coverage - Communications with other professionals, such as brokers, agents, risk managers, insurance department or ELANY personnel indicating the insurer will underwrite that class - Any other valid basis you can document - `[].dc_representative_name` (string, optional, max length 255, example `John|Doe|Johnson`) Pipe-delimited declining-carrier representative names. Required alongside `dc_naic`. **Format:** `name|name|name` - `[].dc_representative_title` (string, optional, max length 255, example `Mr|Dr|Ms`) Pipe-delimited declining-carrier representative titles. **Only applicable in New York.** **Format:** `title|title|title` - `[].dc_representative_email` (string, optional, max length 255, example `demo@demo.none|test@demo.none|demo@demo.none`) Pipe-delimited declining-carrier representative email addresses. Required alongside `dc_naic`. **Format:** `email|email|email` - `[].dc_representative_phone_number` (string, optional, max length 255, example `54|36|465`) Pipe-delimited declining-carrier representative phone numbers. Required alongside `dc_naic`. **Format:** `phone|phone|phone` - `[].dc_representative_website` (string, optional, max length 255, example `demo.none|demo.none|demo.none`) Pipe-delimited declining-carrier representative websites. Required alongside `dc_naic`. **Format:** `website|website|website` - `[].dc_who_received_the_declinations` (string, optional, max length 255, example `Other Person Office`) Who received the declinations. Allowed options are client-configured in the admin interface. - `[].dc_other_person_in_office` (string, optional, max length 255, example `Some Other Person`) Explanation text required only when the selected `dc_who_received_the_declinations` option has the "enable text box for explanation" checkbox enabled in the admin interface. - `[].dc_who_performed_diligent_search` (integer, optional, one of `1`, `2`, example `1`) Who performed the diligent search. **Required when the declining-carrier workflow applies for the state.** `1` = Surplus Lines Broker, `2` = Retail Producer - `[].retail_producer_name` (string, optional, max length 255, example `Producer Name`) Retail producer name. - `[].retail_agency_name` (string, optional, max length 255, example `Producer Agency Name`) Retail agency name. - `[].retail_address` (string, optional, max length 255, example `Demo street 1`) Retail producer address line 1. - `[].retail_address2` (string, optional, max length 255, example `2nd floor`) Retail producer address line 2, if applicable. - `[].retail_city` (string, optional, max length 255, example `Demo City`) Retail producer city. - `[].retail_state` (string, optional, max length 2, example `WA`) Retail producer state code. - `[].retail_zip` (string, optional, max length 255, example `12345`) Retail producer ZIP / postal code. - `[].retail_producer_license` (string, optional, max length 255, example `RP-123456`) Retail producer license number when required by state settings. - `[].retail_agency_license` (string, optional, max length 255, example `RA-123456`) Retail agency license number when required by state settings. - `[].retail_phone_number` (string, optional, max length 255, example `212-456-7890`) Retail producer phone number when required by state settings. - `[].retail_email_address` (string, optional, max length 255, example `retail@demo.none`) Retail producer email address when required by state settings. - `[].affordable_housing_qualification` (integer, optional, one of `0`, `1`, example `0`) **OPTIONAL** — When enabled by the insured state and LOB configuration, determines whether the Affordable Housing Qualification applies. `1` = Yes, `0` = No. Defaults to `0` if omitted. - `[].wind_storm_exclusion` (integer, optional, one of `0`, `1`, example `0`) Windstorm exclusion flag. Applies only in TX and FL on certain property coverages: `0` = No, `1` = Yes. - `[].wind_storm_eligible_for_pool` (integer, optional, one of `0`, `1`, example `0`) Windstorm pool eligibility flag. Applies only in TX and FL on certain property coverages: `0` = No, `1` = Yes. - `[].wind_storm_deduction` (number, float, optional, example `0.51`) Windstorm / hurricane deductible amount. Applies only in FL on certain property coverages. - `[].wind_storm_primary_amount` (number, float, optional, example `10`) Windstorm primary amount (Coverage A). Applies only in FL. - `[].wind_storm_other_coverages_deductible` (number, float, optional, example `25`) All-other-perils deductible amount. Applies only in FL. - `[].lloyds_cover_holder_number` (string, optional, max length 255, example `CH-12345`) Lloyd's cover-holder number. - `[].lloyds_cover_holder_name` (string, optional, max length 255, example `Cover Holder Name`) Lloyd's cover-holder name. - `[].associated_producer` (string, optional, max length 255, example `1234567`) Associated producer license number. Required only when the Associated Producer feature is enabled for the physical state and the license type is Agency. Example request: ```json [ { "id": "201702028950", "policy_number": "CA20170228-05", "policy_effective_date": "2017-02-01", "policy_expiration_date": "2018-02-01", "transaction_effective_date": "2017-02-01", "expiring_policy_number": "CA20170228-04", "invoice_date": "2017-02-01", "invoice_number": "INVN-10001", "transaction_type": "PN", "policy_type": "master", "account_written_as": "B", "rpg": 1, "layered_risk": 0, "broker_of_record": 0, "risk_retention_group": 0, "purchasing_group_name": "Cal Association", "risk_description": "General Accidental Coverage", "ecp": 0, "exempt": 0, "multi_state": 0, "policy_limit": 0, "property_limit": 0, "transaction_line_of_business_list": "GEN-1001|GEN-1002|GEN-1003", "transaction_line_of_business_coverage": "950.75|2000.25|157.50", "non_admitted_insurer_code_list": "39381|AA-1120841|12833", "non_admitted_insurer_code_coverage": "50|30|20", "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "collection_fee": 1.11, "sl_tax": 117, "stamping_fee": 7.8, "sl_service_charge": 0, "municipal_fee": 0, "fm_tax": 0, "empa_tax": 0, "total": 4224.8, "commission_received": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "mailing_address": "1151 Galleria Blvd", "mailing_city": "Roseville", "mailing_zip_code": "95678", "mailing_state_code": "CA", "insured_entity": "individual", "insured_email": "producer@demo.none", "insured_phone": "212-456-7890", "insured_county": "Washington", "physical_same_as_mailing": 1, "stamping_fee_invoice_id": "INVST-20001", "sl_tax_invoice_id": "INVSL-30001", "agent_notes": "test notes", "business_group_id": "Division 1", "customer_code": "OPT CUST CODE12" } ] ``` ###### Responses **200** — Batch accepted. Returns a `batch_id` and per-transaction import status. A `200` response means the batch was received — not that all transactions imported successfully. Check the `status` field on each transaction object for individual results. | Transaction Status Code | Meaning | |---|---| | `0` | Batch accepted and processing | | `2001` | Batch accepted, but this transaction failed validation — check `status_message` for details | Body: - `batch_id` (string, optional, example `912a654e961bb083981145c344ca40c6`) Unique identifier for this batch. Use this with the GET Import Status endpoint to retrieve results. - `status` (string, optional, example `processing`) Always `processing` in the initial batch response. Poll the GET Import Status endpoint to retrieve the actual processing outcome. - `transactions` (array of object, optional) Per-transaction import results. - `transactions[].id` (string, optional, nullable, example `201909240000000001`) The `id` value from your request, or an InsCipher-generated ID if omitted. - `transactions[].policy_number` (string, optional, example `CA20260228-05`) Policy number from the request. - `transactions[].status` (integer, optional, example `0`) Transaction status code. `0` = accepted and processing. `2001` = batch accepted (HTTP 200) but this transaction failed validation — check `status_message` for details. - `transactions[].status_message` (string, optional, example `processing`) Human-readable status or error message. Example response: ```json { "batch_id": "912a654e961bb083981145c344ca40c6", "status": "processing", "transactions": [ { "id": "201909240000000001", "policy_number": "CA20170228-05", "status": 0, "status_message": "processing" } ] } ``` **400** — Bad Request — request body is missing or does not meet the required format. The body is plain text, sent with `Content-Type: application/json`. **403** — Forbidden — API key is missing or invalid. The body is plain text, sent with `Content-Type: application/json`. ## Transaction Import — Import Status (GET) URL: https://developer.inscipher.com/api/transaction-import/import-status After a batch has been submitted via the [Batch Import](https://developer.inscipher.com/api/transaction-import/batch) endpoint, use this endpoint to retrieve the processing result for each transaction — including success, validation errors, and warnings. - [Endpoint](#endpoint) - [How to Use This Request](#how-to-use-this-request) ### Endpoint :::warning All API requests must be made over HTTPS and must include a valid API key in the `apikey` request header. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: --- ### Transaction Import — Import Status (GET) — version v5 (released; default on the page) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v5/transaction-import-results` | GET | | **Production** | `https://surpluslines.inscipher.com/api/v5/transaction-import-results` | GET | Use this version to read the results of a [Batch Import v5](https://developer.inscipher.com/api/transaction-import/batch) submission. ###### Missing required documents When a transaction imports but is still missing one or more required documents, `warnings.documentsUpload` is an **array of the missing document codes**: ```json { "id": "201909240000000001", "policy_number": "CA20170228-05", "transaction_id": 34859, "status": 0, "status_message": "Success", "warnings": { "documentsUpload": ["POLIC", "SL2"] } } ``` The codes are the same ones you send in `transaction_documents[].code`, so they can be round-tripped without a lookup table. A single missing document is returned as a one-element array, and the `documentsUpload` key is absent when nothing is missing. It can still be a plain string, for example when a document sent by URL fails to download after the import, or for a batch imported before this release, so parse it as a string or an array. Every other key in `warnings` is a string, so parse each value as either a string or an array of strings. **Upgrading from v4?** See the [Transaction Import v3 & v5 changelog](https://developer.inscipher.com/changelog/transaction-import-v3-v5) for the full list of request, response, and error-handling changes. #### Field reference — GET Import Status OpenAPI 3.0.3: https://developer.inscipher.com/openapi/batch-import-status-v5.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### GET /api/v5/transaction-import-results Batch Import Status V5 ###### Parameters - `batch_id` (query, string, required) The `batch_id` returned from the Batch Import v5 POST response. ###### Responses **200** — Returns the processing status of the batch and the import result for each transaction. `warnings` carries non-fatal problems on an otherwise successful import. In v5 `warnings.documentsUpload` is an **array of the missing required document codes** (the same codes used in `transaction_documents[].code`), so you no longer have to query the Tax Calculator's `state_documents` or the portal to find out what to upload. The key is absent when nothing is missing. It can still be a plain string, for example when a document sent by URL fails to download after the import, or for a batch imported before this release, so parse it as a string or an array. **Batch-level `status` values:** | Value | Description | |---|---| | `waiting_for_processing` | Batch is queued and waiting | | `in_progress` | Batch processing is currently running | | `partial_processed` | Part of the batch failed (rare) | | `processed` | Batch fully processed — check per-transaction `status` for results | | `failed` | The entire batch processing attempt failed | **Per-transaction `status` codes:** Some codes are shared by multiple error conditions — distinguish them by `status_message`. | Code | Description | |---|---| | `0` | Success | | `1001` | Document error — see `status_message`: required document missing, document type not supported, or document URL not accessible | | `1002` | Transaction type not found | | `1003` | Line of business missing or invalid | | `1004` | Department not found | | `1005` | Unable to assign tax rule | | `1006` | ECP (Exempt Commercial Purchaser) not provided | | `1007` | Insurance company not found (invalid name or NAIC code) | | `1008` | Transaction type map not found | | `1009` | Export list not provided | | `1010` | Insurance company not provided | | `1011` | Multi-state value not provided | | `1012` | Physical state code is invalid | | `1013` | Description of risk not found for this state and import code | | `1014` | Invoice number already exists in the system | | `1015` | State is missing when physical address is same as mailing | | `1016` | Exempt value is not allowed (must be `true` or `false`) | | `1017` | Municipality name not found | | `1018` | Status cannot be Filed — `date_filed` is missing | | `1019` | SLA Transaction Number format is not valid | | `1020` | Date field value is not valid | | `1021` | RPG value is not allowed (must be `true` or `false`) | | `1022` | Layered risk value is not allowed (must be `true` or `false`) | | `1023` | Risk retention group value is not allowed (must be `true` or `false`) | | `1024` | Broker of record change value is not allowed (must be `true` or `false`) | | `1026` | Insured entity type not found | | `1027` | Mailing insured email is not a valid email address | | `1028` | Mailing insured phone is not a valid phone number | | `1029` | Declining carriers information is missing | | `1030` | One or more declining carrier fields are missing | | `1031` | License is not active | | `1040` | Premium error — see `status_message`: premium cannot be `$0`, or this transaction type cannot have a negative premium | | `1041` | Overall premium for policy cannot be negative | | `1042` | Multi-state submitted but state settings do not allow it | | `1043` | Exempt submitted but state settings do not allow it | | `1044` | Policy number not provided | | `1045` | Policy effective date or transaction effective date must be provided | | `1046` | Both policy effective date and transaction effective date are required for endorsements | | `1047` | Transaction status or type not allowed — see `status_message` | | `1048` | UMR number not valid, or an APE has a $0 line and a negative line but no positive line (an APE or RPE with positive and negative lines is split, not rejected) — see `status_message` | | `1050` | Transaction not associated with an existing policy number | | `1053` | Premium, carrier fee and agency fee cannot all equal `$0` | | `2001` | Missing required fields — see `status_message` for the field list | | `2002` | Field validation error (type, length, format, `policy_type`) — the row was rejected when the batch was submitted; see `status_message` | | `3001` | Duplicate transaction — see `status_message`: it names the transaction ID and batch ID it was already imported under (`N/A` if that transaction has no batch) | | `4002` | State is missing or invalid | | `5001` | Field cannot be empty — see `status_message` for the field name | | `5002` | Customer physical state code is invalid | | `5003` | Agent cannot file in this state | | `5004` | Agency is not registered with this state | | `5005` | Declining carrier count does not match the state requirement | | `6001` | Document size exceeds the allowed limit | | `6002` | Document URL is not reachable | **Zero-premium rules (`1040`, `1053`) are configured per state.** Both are settings on the state's tax rule, so a transaction accepted in one state may be rejected in another — not seeing these errors for one state tells you nothing about the rest. `1053` is returned only when `premium`, `carrier_fee` and `agency_fee` are **all** `0`. A zero premium with a non-zero carrier or agency fee passes. Where a state enables both settings, a zero-premium transaction always returns `1040`, so `1053` is only reachable where the zero-premium rule is off. Headers: `X-Generated-At` Body: - `generated_at` (string, date-time, optional, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `batch_id` (string, optional, example `de0c696b5b3350b0ac88dfcebbfd9ca1`) Batch identifier. - `status` (string, optional, one of `waiting_for_processing`, `in_progress`, `partial_processed`, `processed`, `failed`, example `processed`) Batch-level processing status. - `transactions` (array of object, optional) Per-transaction import results. Present only when `status` is `processed`, `failed`, or `partial_processed`. Not included in the response while `waiting_for_processing` or `in_progress`. - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request. - `transactions[].policy_number` (string, optional, example `CA20170228-05`) Policy number from the request. - `transactions[].transaction_id` (integer, optional, example `34859`) InsCipher internal transaction ID. Present only when `status` = `0`. - `transactions[].related_transaction_id` (integer, optional, example `34860`) Present only when an APE or RPE submission whose line-of-business premiums mix positive and negative amounts is split. The split creates a related transaction, and this is its `transaction_id`. Omitted when the submission is not split. - `transactions[].status` (integer, optional, example `0`) Import result code. `0` = success; see the response description for the full code list. - `transactions[].status_message` (string, optional, example `Success`) Human-readable result. Contains error detail when `status` is non-zero. - `transactions[].warnings` (object, optional, nullable) Present on every successful item: `null`, or an empty array `[]`, when there are no warnings. It shows the transaction's warnings when you query, not only those raised at import. Omitted when `status` is non-zero. Example response: ```json { "generated_at": "2026-08-11T05:47:44.812Z", "batch_id": "de0c696b5b3350b0ac88dfcebbfd9ca1", "status": "processed", "transactions": [ { "id": "201909240000000001", "policy_number": "CA20170228-05", "transaction_id": 34859, "status": 0, "status_message": "Success", "warnings": null } ] } ``` **401** — Unauthorized — the API key is missing or invalid. Headers: `X-Generated-At` Body (`UnifiedApiError`): - `generated_at` (string, date-time, required, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `code` (string, required, one of `auth_failed`, `not_found`, `validation_error`, `method_not_allowed`, `rate_limited`, `server_error`, example `not_found`) Machine-readable failure kind. - `message` (string, required, example `Import with batch ID: de0c696b5b3350b0ac88dfcebbfd9ca1 not found or is not valid`) Human-readable summary of the failure. - `details` (object, required) Field-keyed messages for a validation failure: `{ "": "" }`. Empty for every other failure. **404** — Not Found — no batch import matches the supplied `batch_id`. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **405** — Method Not Allowed — wrong HTTP method; the `Allow` header lists the supported ones. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **422** — Unprocessable Entity — `batch_id` was not supplied, or was sent as an array (for example `batch_id[]=…`). Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **429** — Rate limit exceeded — this endpoint allows 10,000 requests per 60 seconds per API key. When present, the `Retry-After` header carries the wait in seconds. It is left out when the wait is not known. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **500** — Internal server error. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). ### Transaction Import — Import Status (GET) — version v4 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v4/transaction-import-results` | GET | | **Production** | `https://surpluslines.inscipher.com/api/v4/transaction-import-results` | GET | #### Field reference — GET Import Status OpenAPI 3.0.0: https://developer.inscipher.com/openapi/batch-import-status.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. ##### GET /api/v4/transaction-import-results GET Import Status ###### Parameters - `batch_id` (query, string, required) The `batch_id` returned from the Batch Import POST response. ###### Responses **200** — Returns the processing status of the batch and the import result for each transaction. **Batch-level `status` values:** | Value | Description | |---|---| | `waiting_for_processing` | Batch is queued and waiting | | `in_progress` | Batch processing is currently running | | `partial_processed` | Part of the batch failed (rare) | | `processed` | Batch fully processed — check per-transaction `status` for results | | `failed` | The entire batch processing attempt failed | **Per-transaction `status` codes:** Some codes are shared by multiple error conditions — distinguish them by `status_message`. | Code | Description | |---|---| | `0` | Success | | `1001` | Document error — see `status_message`: required document missing, document type not supported, or document URL not accessible | | `1002` | Transaction type not found | | `1003` | Line of business missing or invalid | | `1004` | Department not found | | `1005` | Unable to assign tax rule | | `1006` | ECP (Exempt Commercial Purchaser) not provided | | `1007` | Insurance company not found (invalid name or NAIC code) | | `1008` | Transaction type map not found | | `1009` | Export list not provided | | `1010` | Insurance company not provided | | `1011` | Multi-state value not provided | | `1012` | Physical state code is invalid | | `1013` | Description of risk not found for this state and import code | | `1014` | Invoice number already exists in the system | | `1015` | State is missing when physical address is same as mailing | | `1016` | Exempt value is not allowed (must be `0` or `1`) | | `1017` | Municipality name not found | | `1018` | Status cannot be Filed — `date_filed` is missing | | `1019` | SLA Transaction Number format is not valid | | `1020` | Date field value is not valid | | `1021` | RPG value is not allowed (must be `0` or `1`) | | `1022` | Layered risk value is not allowed (must be `0` or `1`) | | `1023` | Risk retention group value is not allowed (must be `0` or `1`) | | `1024` | Broker of record change value is not allowed (must be `0` or `1`) | | `1026` | Insured entity type not found | | `1027` | Mailing insured email is not a valid email address | | `1028` | Mailing insured phone is not a valid phone number | | `1029` | Declining carriers information is missing | | `1030` | One or more declining carrier fields are missing | | `1031` | License is not active | | `1040` | Premium error — see `status_message`: premium cannot be `$0`, or this transaction type cannot have a negative premium | | `1041` | Overall premium for policy cannot be negative | | `1042` | Multi-state submitted but state settings do not allow it | | `1043` | Exempt submitted but state settings do not allow it | | `1044` | Policy number not provided | | `1045` | Policy effective date or transaction effective date must be provided | | `1046` | Both policy effective date and transaction effective date are required for endorsements | | `1047` | Transaction status or type not allowed — see `status_message` | | `1048` | UMR number not valid | | `1049` | Transaction cannot have both positive and negative LOB amounts | | `1050` | Transaction not associated with an existing policy number, or Fire Premium exceeds Total Premium — see `status_message` | | `1051` | Homeowner policy not provided | | `1052` | Homeowner policy value is not allowed (must be `0` or `1`) | | `1053` | Premium, inspection fee and agency fee cannot all equal `$0` | | `2001` | Missing required fields — see `status_message` for the field list | | `3001` | Duplicate transaction, missing `agent_id`, or wrong/inactive `agent_id` — see `status_message`. For a duplicate it names the transaction ID and batch ID it was already imported under (`N/A` if that transaction has no batch) | | `4002` | State is missing or invalid | | `5001` | Field cannot be empty — see `status_message` for the field name | | `5002` | Customer physical state code is invalid | | `5003` | Agent cannot file in this state | | `5004` | Agency is not registered with this state | | `5005` | Declining carrier count does not match the state requirement | | `6001` | Document size exceeds the allowed limit, or transaction skipped as it might be imported already — see `status_message` | | `6002` | Document URL is not reachable | **Zero-premium rules (`1040`, `1053`) are configured per state.** Both are settings on the state's tax rule, so a transaction accepted in one state may be rejected in another — not seeing these errors for one state tells you nothing about the rest. `1053` is returned only when `premium`, `inspection_fee` and `agency_fee` are **all** `0`. A zero premium with a non-zero inspection or agency fee passes. Where a state enables both settings, a zero-premium transaction always returns `1040`, so `1053` is only reachable where the zero-premium rule is off. Body: - `batch_id` (string, optional, example `912a654e961bb083981145c344ca40c6`) Batch identifier. - `status` (string, optional, one of `waiting_for_processing`, `in_progress`, `partial_processed`, `processed`, `failed`, example `processed`) Batch-level processing status. - `transactions` (array of object, optional) Per-transaction import results. Present only when `status` is `processed`, `failed`, or `partial_processed`. Not included in the response while `waiting_for_processing` or `in_progress`. - `transactions[].id` (string, optional, nullable, example `201909240000000001`) Your `id` from the request. - `transactions[].policy_number` (string, optional, example `CA20170228-05`) Policy number from the request. - `transactions[].transaction_id` (integer, optional, example `34859`) InsCipher internal transaction ID. Present only when `status` = `0`. - `transactions[].status` (integer, optional, example `0`) Import result code. `0` = success; see description for full code list. - `transactions[].status_message` (string, optional, example `Success`) Human-readable result. Contains error detail when `status` is non-zero. - `transactions[].warnings` (object, optional, nullable) Non-fatal validation warnings. Import succeeded but review these values. `null` when there are no warnings. `total` is returned only when the risk state is managed or your account has Taxes Import Optional turned off. Otherwise a mismatched total is replaced with the calculated one without a warning. If total is omitted, it is calculated. Example response: ```json { "batch_id": "912a654e961bb083981145c344ca40c6", "status": "processed", "transactions": [ { "id": "201909240000000001", "policy_number": "CA20170228-05", "transaction_id": 34859, "status": 0, "status_message": "Success", "warnings": null } ] } ``` **400** — Bad Request — the body is plain text, sent with `Content-Type: application/json`. Messages: - `Request failed with unknown error` — `batch_id` not provided, or an unexpected error. - `Import with batch ID: {batch_id} not found or is not valid` - `Multiple imports found for batch ID: {batch_id}` **403** — Forbidden — API key is missing or invalid. The body is plain text, sent with `Content-Type: application/json`. ## Transaction Status (GET) URL: https://developer.inscipher.com/api/transaction-status Retrieve the current status and full details of a single transaction previously submitted into the InsCipher platform. Useful for accounting, reconciliation, and tracking where a policy sits in the filing lifecycle. Provide a `transaction_id` or an `invoice_number` and the endpoint returns the transaction's status code, tax and fee breakdown, paid dates, and any attached documents. - [Endpoint](#endpoint) - [How It Works](#how-it-works) - [How to Use This Request](#how-to-use-this-request) ### Endpoint :::warning All API requests must be made over HTTPS and must include a valid API key. This endpoint accepts the key as either the `apikey` request **header** (recommended) or the `apikey` **query parameter** — the header takes priority when both are present. Some accounts are configured to accept the key from the header only. See [Authentication](https://developer.inscipher.com/getting-started/authentication) for details. ::: ### How It Works #### Choosing an Identifier Supply **either** `transaction_id` **or** `invoice_number` — at least one is required. If both are provided, `transaction_id` takes precedence. Each request resolves to exactly one transaction. | Parameter | Description | |---|---| | `transaction_id` | Unique InsCipher transaction identifier. | | `invoice_number` | Invoice number associated with the transaction. | --- ### Transaction Status (GET) — version v2 (released; default on the page) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v2/get-transaction-status.json` | GET | | **Production** | `https://surpluslines.inscipher.com/api/v2/get-transaction-status.json` | GET | #### Field reference — Transaction Status API OpenAPI 3.0.3: https://developer.inscipher.com/openapi/transaction-status-v2.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. Accepted in the `apikey` header (recommended, takes priority) or the `apikey` query parameter. Some accounts are configured to require the header only. ##### GET /api/v2/get-transaction-status.json Transaction Status — Single ###### Parameters - `transaction_id` (query, string, optional) Unique InsCipher transaction identifier. Provide **either** `transaction_id` **or** `invoice_number` — at least one is required. If both are supplied, `transaction_id` takes precedence. Found on the transaction detail page in the Connect® or Filing Services® portals, or returned in the response body when the transaction was imported. - `invoice_number` (query, string, optional) Invoice number associated with the transaction. Provide **either** `transaction_id` **or** `invoice_number` — at least one is required. Found on the transaction detail page in the Connect® or Filing Services® portals, or returned in the response body when the transaction was imported. ###### Responses **200** — Success — returns the transaction's current status and details. **`transaction_status`** values: | Code | Status | Description | |---|---|---| | `1` | Saved | Filing entered but not yet ready to send to the state. | | `2` | Submitted | Sent to the InsCipher portal for Filing Agent review before going to the state. | | `3` | Flagged | Has issues preventing state submission; used by the Filing Agent pre-filing. | | `4` | Filed | Submitted to the state and considered filed. | | `5` | Archived | Kept for reference but not filed (e.g., a master policy not filed with the state). | | `6` | Submitted Courtesy | Courtesy filing. | | `7` | Void | Entered in error; voided because it cannot be deleted once sent to the state. | | `8` | Ready to File | Reviewed and ready to submit to the state. | | `9` | Unregistered | Submitted to the state but not finalized pending state approval. | | `10` | In E-File Queue | Queued for automated batch submission. | | `15` | State Questioned | Submitted, then returned by the state with questions. | **`transaction_sub_status`** values (returned only under `Flagged` or `State Questioned`; otherwise `null`): | Code | Parent status | Sub-status | |---|---|---| | `11` | State Questioned (`15`) | Pending Broker — state questions awaiting broker response. | | `12` | State Questioned (`15`) | Pending Filing Agent — Filing Agent must respond to the state. | | `13` | Flagged (`3`) | Pending Broker — issue flagged, broker correction needed. | | `14` | Flagged (`3`) | Pending Filing Agent — broker corrected, returned to Filing Agent. | Headers: `X-Generated-At` Body: - `generated_at` (string, date-time, optional, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `id` (integer, optional) Unique InsCipher transaction identifier. - `transaction_type` (string, optional, one of `PN`, `PR`, `APE`, `RPE`, `AE`, `FC`, `ZPE`, `PC`, `XE`, `ARE`, `RI`, `BO`, `BD`) InsCipher transaction type code for the policy event. | Code | Name | |---|---| | `PN` | New Policy | | `PR` | Policy Renewal | | `APE` | Additional Premium Endorsement | | `RPE` | Return Premium Endorsement | | `AE` | Audit | | `FC` | Flat Cancellation | | `ZPE` | Zero Premium Endorsement | | `PC` | Pro Rata Cancellation | | `XE` | Extension Endorsement | | `ARE` | Audit Return Endorsement | | `RI` | Reinstatement | | `BO` | Back-out / Reversal | | `BD` | Binder | - `transaction_status` (integer, optional, one of `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `15`) Numeric status code for the transaction. One of: 1 (Saved), 2 (Submitted), 3 (Flagged), 4 (Filed), 5 (Archived), 6 (Submitted Courtesy), 7 (Void), 8 (Ready to File), 9 (Unregistered), 10 (In E-File Queue), 15 (State Questioned). - `transaction_sub_status` (integer, optional, nullable, one of `11`, `12`, `13`, `14`) Sub-status code, present only when the transaction is Flagged or State Questioned; otherwise null. One of: 11 (State Questioned — Pending Broker), 12 (State Questioned — Pending Filing Agent), 13 (Flagged — Pending Broker), 14 (Flagged — Pending Filing Agent). - `policy_number` (string, optional, nullable) Policy number for the transaction. - `policy_effective_date` (string, date, optional) Policy effective date (`YYYY-MM-DD`). - `transaction_effective_date` (string, date, optional) Transaction effective date (`YYYY-MM-DD`). - `policy_expiration_date` (string, date, optional) Policy expiration date (`YYYY-MM-DD`). - `premium` (number, optional) Policy premium amount. - `agency_fee` (number, optional) Agency Fee: all non-carrier underwriting fees (Broker, Agency, etc.). - `carrier_fee` (number, optional) Carrier/underwriting related fees (e.g., inspection). - `sl_tax` (number, optional) Surplus Lines tax amount. - `stamping_fee` (number, optional) Stamping fee amount. - `sl_service_charge` (number, optional) Surplus Lines service charge amount. - `municipal_fee` (number, optional, nullable) Local government premium tax (LGPT). Applicable to KY only. - `county_fee` (number, optional, nullable) County tax fee (if applicable). KY only. - `fm_tax` (number, optional) Fire Marshal tax. - `empa_tax` (number, optional) EMPA tax (Emergency Management Preparedness Act tax, state-specific). - `collection_fee` (number, optional) Collection fee amount. - `insured_physical_state` (string, optional) Physical (risk-location) state code. - `insured_name` (string, optional, nullable) Insured name as it appears on the policy. - `municipal_name` (string, optional, nullable) Municipality name (KY only). - `municipal_category` (string, optional, nullable) Municipal-level line category (KY only). - `date_filed` (string, date-time, optional, nullable) Date and time the transaction was filed. - `date_ready_to_file` (string, date-time, optional, nullable) Date and time the transaction became ready to file. - `gl_moved_date` (string, date-time, optional, nullable) Date and time the transaction was moved to the general ledger. - `transaction_id_number` (string, optional, nullable) State-assigned transaction ID number (if applicable). - `sl_tax_paid_date` (string, date, optional, nullable) Date the Surplus Lines tax was paid. - `stamping_fee_paid_date` (string, date, optional, nullable) Date the stamping fee was paid. - `other_taxes_paid_date` (string, date, optional, nullable) Date other taxes were paid. - `sl_tax_invoice_id` (string, optional, nullable) SL Tax Invoice ID. Only applies to InsCipher Connect® partners. - `stamping_fee_invoice_id` (string, optional, nullable) Stamping Fee Invoice ID. Only applies to InsCipher Connect® partners. - `extra_invoice_number` (string, optional, nullable) Additional invoice number associated with the transaction. - `unique_id` (string, optional, nullable) Client-supplied unique identifier for the transaction. - `filed_under_license_name` (string, optional, nullable) Name of the license the transaction was filed under. - `filed_under_license_number` (string, optional, nullable) Number of the license the transaction was filed under. - `created_by` (string, optional) User who created the transaction. - `created_date` (string, date-time, optional) Creation timestamp, ISO 8601 (e.g., `2026-02-01T17:35:31-07:00`). - `related_transaction_id` (integer, optional, example `208369`) Present only when the transaction is part of a mixed-premium split. The `id` of the related transaction. Omitted otherwise. - `related_transaction_status` (integer, optional, one of `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `15`, example `3`) Present only when the transaction is part of a mixed-premium split. The `transaction_status` of the related transaction, using the same codes as `transaction_status`. Omitted otherwise. - `transaction_documents` (array of object, optional) Documents attached to the transaction. - `transaction_documents[].name` (string, optional) Document name. - `transaction_documents[].code` (string, optional, nullable) Document code (null for custom/unmapped documents). - `transaction_documents[].download_url` (string, optional) URL to download the document. Example response: ```json { "generated_at": "2026-08-11T05:47:44.812Z", "id": 7009501, "transaction_type": "PN", "transaction_status": 1, "transaction_sub_status": null, "policy_number": "ABCfe", "policy_effective_date": "2026-02-01", "transaction_effective_date": "2026-02-01", "policy_expiration_date": "2027-02-01", "premium": 3108.5, "agency_fee": 200, "carrier_fee": 0, "sl_tax": 93.26, "stamping_fee": 6.22, "sl_service_charge": 0, "municipal_fee": null, "county_fee": null, "fm_tax": 0, "empa_tax": 0, "collection_fee": 0, "insured_physical_state": "CA", "insured_name": "Westfield Galleria at Roseville", "municipal_name": null, "municipal_category": null, "date_filed": null, "date_ready_to_file": null, "gl_moved_date": null, "transaction_id_number": null, "sl_tax_paid_date": null, "stamping_fee_paid_date": null, "other_taxes_paid_date": null, "sl_tax_invoice_id": "INVSL-30001", "stamping_fee_invoice_id": "INVST-20001", "extra_invoice_number": "TESTINGIDe", "unique_id": null, "filed_under_license_name": null, "filed_under_license_number": null, "created_by": "John doe", "created_date": "2026-02-01T17:35:31-07:00", "transaction_documents": [ { "name": "Custom 0 (POLICYdoc1)", "code": null, "download_url": "https://surpluslines.inscipher.com/transaction/document/7009501/4329514/download" }, { "name": "Custom 1 (UNMAPD)", "code": null, "download_url": "https://surpluslines.inscipher.com/transaction/document/7009501/4329515/download" }, { "name": "Custom 2 (UNMAPD)", "code": null, "download_url": "https://surpluslines.inscipher.com/transaction/document/7009501/4329516/download" } ] } ``` **401** — Unauthorized — the API key is missing or invalid, or it was sent in the query string while your account requires it in the header. Headers: `X-Generated-At` Body (`UnifiedApiError`): - `generated_at` (string, date-time, required, example `2026-08-11T05:47:44.812Z`) The UTC instant the server built this response, ISO 8601 with milliseconds. Equal to the `X-Generated-At` response header. - `code` (string, required, one of `auth_failed`, `forbidden`, `not_found`, `validation_error`, `method_not_allowed`, `rate_limited`, `server_error`, example `not_found`) Machine-readable failure kind. - `message` (string, required, example `Transaction not found.`) Human-readable summary of the failure. - `details` (object, required) Field-keyed messages for a validation failure: `{ "": "" }`. Empty for every other failure. **403** — Forbidden — authenticated, but the transaction belongs to another agency. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **404** — Not Found — no transaction matches the supplied identifier. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **405** — Method Not Allowed — wrong HTTP method; the `Allow` header lists the supported ones. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **422** — Unprocessable Entity — neither `transaction_id` nor `invoice_number` was supplied, in which case `details` names both fields; or one of them was sent as an array (for example `transaction_id[]=…`), in which case `details` names that parameter. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **429** — Rate limit exceeded — this endpoint allows 10,000 requests per 60 seconds. When present, the `Retry-After` header carries the wait in seconds. It is left out when the wait is not known. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). **500** — Internal server error. Headers: `X-Generated-At` Body: `UnifiedApiError` (fields listed above). ### Transaction Status (GET) — version v1 (released) #### Endpoint | Environment | URL | Method | |---|---|---| | **Sandbox** | `https://sandbox.inscipher.com/api/v1/get-transaction-status.json` | GET | | **Production** | `https://surpluslines.inscipher.com/api/v1/get-transaction-status.json` | GET | #### Field reference — Transaction Status API OpenAPI 3.0.0: https://developer.inscipher.com/openapi/transaction-status.yaml - Server: `https://sandbox.inscipher.com` — Sandbox - Server: `https://surpluslines.inscipher.com` — Production - Auth (ApiKeyAuth): `apikey` header — Your InsCipher API key. Accepted in the `apikey` header (recommended, takes priority) or the `apikey` query parameter. Some accounts are configured to require the header only. ##### GET /api/v1/get-transaction-status.json Transaction Status — Single ###### Parameters - `transaction_id` (query, string, optional) Unique InsCipher transaction identifier. Provide **either** `transaction_id` **or** `invoice_number` — at least one is required. If both are supplied, `transaction_id` takes precedence. Found on the transaction detail page in the Connect® or Filing Services® portals, or returned in the response body when the transaction was imported. - `invoice_number` (query, string, optional) Invoice number associated with the transaction. Provide **either** `transaction_id` **or** `invoice_number` — at least one is required. Found on the transaction detail page in the Connect® or Filing Services® portals, or returned in the response body when the transaction was imported. ###### Responses **200** — Success — returns the transaction's current status and details. **`transaction_status`** values: | Code | Status | Description | |---|---|---| | `1` | Saved | Filing entered but not yet ready to send to the state. | | `2` | Submitted | Sent to the InsCipher portal for Filing Agent review before going to the state. | | `3` | Flagged | Has issues preventing state submission; used by the Filing Agent pre-filing. | | `4` | Filed | Submitted to the state and considered filed. | | `5` | Archived | Kept for reference but not filed (e.g., a master policy not filed with the state). | | `6` | Submitted Courtesy | Courtesy filing. | | `7` | Void | Entered in error; voided because it cannot be deleted once sent to the state. | | `8` | Ready to File | Reviewed and ready to submit to the state. | | `9` | Unregistered | Submitted to the state but not finalized pending state approval. | | `10` | In E-File Queue | Queued for automated batch submission. | | `15` | State Questioned | Submitted, then returned by the state with questions. | **`transaction_sub_status`** values (returned only under `Flagged` or `State Questioned`; otherwise `null`): | Code | Parent status | Sub-status | |---|---|---| | `11` | State Questioned (`15`) | Pending Broker — state questions awaiting broker response. | | `12` | State Questioned (`15`) | Pending Filing Agent — Filing Agent must respond to the state. | | `13` | Flagged (`3`) | Pending Broker — issue flagged, broker correction needed. | | `14` | Flagged (`3`) | Pending Filing Agent — broker corrected, returned to Filing Agent. | Body: - `id` (integer, optional) Unique InsCipher transaction identifier. - `transaction_type` (string, optional) 2-letter transaction type code (e.g., PN = New Policy, PR = Renewal). - `transaction_status` (integer, optional) Numeric status code for the transaction. One of: 1 (Saved), 2 (Submitted), 3 (Flagged), 4 (Filed), 5 (Archived), 6 (Submitted Courtesy), 7 (Void), 8 (Ready to File), 9 (Unregistered), 10 (In E-File Queue), 15 (State Questioned). - `transaction_sub_status` (integer, optional, nullable) Sub-status code, present only when the transaction is Flagged or State Questioned; otherwise null. One of: 11 (State Questioned — Pending Broker), 12 (State Questioned — Pending Filing Agent), 13 (Flagged — Pending Broker), 14 (Flagged — Pending Filing Agent). - `policy_number` (string, optional, nullable) Policy number for the transaction. - `policy_effective_date` (string, date, optional) Policy effective date (`YYYY-MM-DD`). - `transaction_effective_date` (string, date, optional) Transaction effective date (`YYYY-MM-DD`). - `policy_expiration_date` (string, date, optional) Policy expiration date (`YYYY-MM-DD`). - `premium` (number, optional) Policy premium amount. - `agency_fee` (number, optional) Agency Fee: all non-carrier underwriting fees (Broker, Agency, etc.). - `inspection_fee` (number, optional) Carrier/underwriting related fees (e.g., inspection). - `sl_tax` (number, optional) Surplus Lines tax amount. - `stamping_fee` (number, optional) Stamping fee amount. - `sl_service_charge` (number, optional) Surplus Lines service charge amount. - `municipal_fee` (number, optional, nullable) Local government premium tax (LGPT). Applicable to KY only. - `county_fee` (number, optional, nullable) County tax fee (if applicable). KY only. - `fm_tax` (number, optional) Fire Marshal tax. - `empa_tax` (number, optional) EMPA tax (Emergency Management Preparedness Act tax, state-specific). - `collection_fee` (number, optional) Collection fee amount. - `physical_state` (string, optional) Physical (risk-location) state code. - `mailing_insured_name` (string, optional, nullable) Insured name as it appears on the policy. - `municipal_name` (string, optional, nullable) Municipality name (KY only). - `municipal_category` (string, optional, nullable) Municipal-level line category (KY only). - `date_filed` (string, date, optional, nullable) Date the transaction was filed (`YYYY-MM-DD`). - `date_ready_to_file` (string, date, optional, nullable) Date the transaction became ready to file (`YYYY-MM-DD`). - `gl_moved_date` (string, date, optional, nullable) Date the transaction was moved to the general ledger (`YYYY-MM-DD`). - `transaction_id_number` (string, optional, nullable) State-assigned transaction ID number (if applicable). - `sl_tax_paid_date` (string, date-time, optional, nullable) Timestamp when the Surplus Lines tax was paid, ISO 8601 with timezone offset (e.g., `2026-02-01T00:00:00-07:00`). - `stamping_fee_paid_date` (string, date-time, optional, nullable) Timestamp when the stamping fee was paid, ISO 8601 with timezone offset (e.g., `2026-02-01T00:00:00-07:00`). - `other_taxes_paid_date` (string, date-time, optional, nullable) Timestamp when other taxes were paid, ISO 8601 with timezone offset (e.g., `2026-02-01T00:00:00-07:00`). - `sl_tax_invoice_id` (string, optional, nullable) SL Tax Invoice ID. Only applies to InsCipher Connect® partners. - `stamping_fee_invoice_id` (string, optional, nullable) Stamping Fee Invoice ID. Only applies to InsCipher Connect® partners. - `extra_invoice_number` (string, optional, nullable) Additional invoice number associated with the transaction. - `unique_id` (string, optional, nullable) Client-supplied unique identifier for the transaction. - `filed_under_license_name` (string, optional, nullable) Name of the license the transaction was filed under. - `filed_under_license_number` (string, optional, nullable) Number of the license the transaction was filed under. - `created_by` (string, optional, nullable) User who created the transaction. - `created_date` (string, optional) Creation timestamp with timezone (e.g., `2026-02-01 17:35:31 America/Denver`). - `transaction_documents` (array of object, optional) Documents attached to the transaction. - `transaction_documents[].name` (string, optional) Document name. - `transaction_documents[].code` (string, optional, nullable) Document code (null for custom/unmapped documents). - `transaction_documents[].download_url` (string, optional) URL to download the document. Example response: ```json { "municipal_name": null, "municipal_category": null, "sl_tax_paid_date": null, "stamping_fee_paid_date": null, "other_taxes_paid_date": null, "sl_tax_invoice_id": "INVSL-30001", "stamping_fee_invoice_id": "INVST-20001", "unique_id": null, "extra_invoice_number": "TESTINGIDe", "filed_under_license_name": null, "filed_under_license_number": null, "id": 7009501, "transaction_type": "PN", "transaction_status": 1, "transaction_sub_status": null, "policy_number": "ABCfe", "policy_effective_date": "2026-02-01", "transaction_effective_date": "2026-02-01", "premium": 3108.5, "agency_fee": 200, "inspection_fee": 0, "sl_tax": 93.26, "stamping_fee": 6.22, "sl_service_charge": 0, "municipal_fee": null, "county_fee": null, "fm_tax": 0, "empa_tax": 0, "mailing_insured_name": "Westfield Galleria at Roseville", "date_filed": null, "gl_moved_date": null, "policy_expiration_date": "2027-02-01", "transaction_id_number": null, "date_ready_to_file": null, "collection_fee": 0, "physical_state": "CA", "transaction_documents": [ { "name": "Custom 0 (POLICYdoc1)", "code": null, "download_url": "https://surpluslines.inscipher.com/transaction/document/7009501/4329514/download" }, { "name": "Custom 1 (UNMAPD)", "code": null, "download_url": "https://surpluslines.inscipher.com/transaction/document/7009501/4329515/download" }, { "name": "Custom 2 (UNMAPD)", "code": null, "download_url": "https://surpluslines.inscipher.com/transaction/document/7009501/4329516/download" } ], "created_by": "John doe", "created_date": "2026-02-01 17:35:31 America/Denver" } ``` **400** — Bad Request — the body is plain text, sent with `Content-Type: application/json`. Causes include a missing required parameter (neither `transaction_id` nor `invoice_number` supplied) or access denied for the requested transaction. **401** — Unauthorized — the API key was supplied in the query string but the account is configured to require it in the header. The body is plain text, sent with `Content-Type: application/json`. **403** — Forbidden — authentication failed (missing or invalid API key). The body is plain text, sent with `Content-Type: application/json`. **404** — Not Found — no transaction matches the supplied identifier. The body is plain text, sent with `Content-Type: application/json`. **429** — Too Many Requests — rate limit exceeded (10,000 requests per 60 seconds). **500** — Internal Server Error — an unexpected error occurred while processing the request. The body is plain text, sent with `Content-Type: application/json`. # Webhooks ## Overview URL: https://developer.inscipher.com/webhooks/overview InsCipher notifies a custom endpoint of yours with a JSON request body whenever a specific platform event occurs. Webhooks are HTTP callbacks that fire when an event happens inside the InsCipher platform — a status change, a payment date update, and so on. When the event occurs, InsCipher sends a `POST` request containing event data to a URL you configure. This removes the need to poll the API for changes, which is especially useful for automating surplus lines tax filing and compliance workflows. This section covers how to configure webhooks, how to secure and validate the requests you receive, and the exact payload of every event. ### How delivery works 1. An event occurs in InsCipher (for example, a transaction's status changes to *Filed*). 2. InsCipher builds a JSON payload describing the event. 3. InsCipher sends a `POST` request to the endpoint URL on your matching webhook configuration. 4. Your server processes the request and responds with a `2xx` status code to acknowledge receipt. 5. InsCipher records the response for that webhook so it can be reviewed later. The direction matters: with webhooks, **InsCipher calls your endpoint** — the opposite of a normal API call where you call InsCipher. ### Event categories Events are grouped by the InsCipher entity they relate to: - **Batch** — events about a transaction import (a batch of transactions). - **Transaction** — events about an individual transaction, including filing status, SLA number, and state stamp wording. - **Taxes & Fees** — events about surplus lines tax and stamping fee paid dates. ### Available events You can subscribe a webhook configuration to one event. To receive more than one event type, create more than one configuration. | Event description | Event code | |---|---| | Batch Status updated to "Processed" | `webhook.batch.status.processed` | | Batch Status updated to "Failed" | `webhook.batch.status.failed` | | Transaction Status updated to "Filed" | `webhook.transaction.status.filed` | | Transaction SLA Number updated | `webhook.sla.number.updated` | | Transaction Stamping Fee Paid Date updated | `webhook.transaction.stamping-fee-paid-date.updated` | | Transaction SL Tax Paid Date updated | `webhook.transaction.sl-tax-paid-date.updated` | | State Stamp Wording updated | `webhooks.state_stamp_wording.updated` | :::note The State Stamp Wording event code begins with `webhooks.` (plural) and uses underscores, unlike the other six which begin with `webhook.` (singular). Match the exact string when routing events on your side. ::: ### Request format Every request is a `POST` with a JSON body. The following headers are sent: | Header | Always sent | Description | |---|---|---| | `Content-Type` | Yes | Always `application/json`. | | `X-HMAC-Signature` | Only if an HMAC secret is set | SHA-256 HMAC of the request body, used to verify authenticity. See [Request Security & Validation](https://developer.inscipher.com/webhooks/security). | | Custom header | Only if configured | An optional single key/value pair you define in the configuration. | Each event also includes its own JSON payload. See the individual event pages for the full body of every event. ### Responses and failures Your endpoint must respond with a `2xx` status code within **3 seconds**. Any non-`2xx` response, a connection error, or a timeout is treated as a failed delivery. InsCipher records the most recent response from your endpoint (status and body) on the webhook configuration, so you can review the last delivery result. > **Note:** InsCipher attempts to deliver each event **once**. If the delivery fails, no automatic retry occurs — a failure notification is sent instead. ### Failure notifications When a delivery fails, InsCipher can notify you in two independent ways, each toggled separately on the configuration: - **System notification** — a message in the InsCipher notifications tray. Controlled by the *report by notification* setting. - **Email notification** — an email to the subscriber addresses on the configuration. Controlled by the *report by email* setting, and only sent if at least one subscriber email is set. Both notifications include the event ID, the response status, and the response body. The email also attaches the undelivered request body as `failed_webhook_request_body.json` for debugging. A failed delivery during a **test send** (initiated by InsCipher, not by you) is labeled as a test in the notification, and its event ID is `0`. ### Limitations Webhook requests are processed through a system queue. There are no published rate limits; if you notice delivery delays, report them through a support ticket. ## Request Security & Validation URL: https://developer.inscipher.com/webhooks/security Verify the authenticity of every webhook request with an HMAC signature. InsCipher strongly recommends verifying incoming webhook requests using an HMAC (Hash-based Message Authentication Code). When an HMAC secret is configured, InsCipher signs each request, letting your endpoint confirm that the request genuinely came from InsCipher and was not altered in transit. This protects your server against forged or tampered webhook notifications. ### Before you start - This feature is available to Filing Agency Admins and Agency Admins. - The HMAC secret is generated from the InsCipher portal and shown **only once**. Store it securely. If it is lost, generate a new one. - Treat the secret like a password. Only technical administrators responsible for generating and storing it should have access. - You can work with the InsCipher team to send test requests to your endpoint, so you can validate your HMAC implementation in a staging environment before going live. ### How the signature works When an HMAC secret is set for the receiving account, InsCipher adds an `X-HMAC-Signature` header to every webhook request. The signature is computed as: ``` X-HMAC-Signature = HMAC-SHA256( request_body, your_secret ) ``` Where: - `request_body` is the raw JSON body of the request, exactly as sent. - `your_secret` is the HMAC secret generated in the portal. The algorithm is **SHA-256**. If no HMAC secret is set, the `X-HMAC-Signature` header is omitted. > **Note:** The signature is computed over the serialized JSON body. Validate against the raw bytes you receive, before any reformatting or re-serialization, so your computed value matches. ### Steps to generate and validate #### 1. Generate your secret Generate the secret from the InsCipher portal: - **Filing Agency Admin:** In the portal settings, go to **Connectivity Settings** → **Get New HMAC Secret**. - **Agency Admin:** In the portal, go to **Settings → Connectivity Settings → Get New HMAC Secret**. The secret is copied to your clipboard and shown only once. Paste it into secure storage immediately. #### 2. Implement your validation function On your endpoint, compute an HMAC-SHA256 of the raw request body using your stored secret, then compare it to the value in the `X-HMAC-Signature` header. If they match, the request is authentic and unmodified. Use a constant-time comparison to avoid timing attacks. ```python import hmac import hashlib def is_valid(raw_body: bytes, signature_header: str, secret: str) -> bool: computed = hmac.new( secret.encode("utf-8"), raw_body, hashlib.sha256, ).hexdigest() return hmac.compare_digest(computed, signature_header) ``` ```javascript const crypto = require("crypto"); function isValid(rawBody, signatureHeader, secret) { const computed = crypto .createHmac("sha256", secret) .update(rawBody) .digest("hex"); return crypto.timingSafeEqual( Buffer.from(computed), Buffer.from(signatureHeader) ); } ``` #### 3. Configure your endpoint Make sure your endpoint accepts `POST` requests and can read the `X-HMAC-Signature` header. Once validation works, continue to [Configuration](https://developer.inscipher.com/webhooks/configuration) to set up your endpoint URL, select an event, and choose the states the webhook applies to. :::tip Reject any request whose signature does not match, and any request missing the `X-HMAC-Signature` header when you expect one. Do not process the payload until the signature is verified. ::: ## Configuration URL: https://developer.inscipher.com/webhooks/configuration A webhook configuration tells InsCipher what event to listen for, where to send it, and which states it applies to. Configurations are set up with the InsCipher team — [contact InsCipher Sales](https://www.inscipher.com/contact) if you are a new partner, or [InsCipher Support](mailto:support@inscipher.com) if you are an existing partner. ### Configuration fields | Field | Description | Required | |---|---|---| | Title | A name for the webhook. | Yes | | Description | Notes about the webhook, for your own reference. | No | | Event | The single event this webhook subscribes to. See [Event Reference](https://developer.inscipher.com/webhooks/event-reference/batch-events) for the available events. | Yes | | URL | The full endpoint URL that receives the `POST` request. | Yes | | States | The US states this configuration applies to. At least one state is required. | Yes | | Header Key | An optional custom header name sent with each request. See [Custom headers](#custom-headers). | No | | Header Value | The value paired with the header key. | No | | Subscriber emails | One or more email addresses that receive failure notifications. | No | | Report by email | Whether failed deliveries trigger an email notification. Enabled by default. | No | | Report by notification | Whether failed deliveries trigger a system notification. Enabled by default. | No | > **Note:** A new webhook is **disabled** when first created. It must be enabled before InsCipher will send any events to it. ### One event per configuration Each configuration subscribes to exactly one event. To receive multiple event types, create a separate configuration for each. ### State-specific configuration Most events are routed by state: an event is delivered only if the transaction's state is among the states selected on the configuration. This lets you apply one event to a few states and another event to all states, independently. :::note Batch events (`webhook.batch.status.processed` and `webhook.batch.status.failed`) are **not** routed by state — a batch can span multiple states, so the state selection does not filter these events. The states field is still required when creating any configuration. ::: ### Custom headers You can add one custom header (a single key/value pair) to every request from a configuration — useful for an additional authentication token or a routing tag on your side. The header key must be a single word with no spaces. The allowed characters are letters, digits, and the following symbols: ``` ' ` # $ % & * + . ^ _ | ~ ! - ``` Characters outside this set (including spaces, `@`, `/`, `:`, `;`) are rejected. :::note Only one custom key/value pair is supported per configuration. The HMAC signature is sent separately in the `X-HMAC-Signature` header — see [Request Security & Validation](https://developer.inscipher.com/webhooks/security). ::: ## Batch Events URL: https://developer.inscipher.com/webhooks/event-reference/batch-events Events about a transaction import — a batch of transactions imported together. Batch webhooks can only be configured at the Agency Admin level. Batch events are **not routed by state**: a batch can span multiple states, so the states selected on the configuration do not filter these events. ### Batch Status updated to "Processed" Fires when a batch finishes processing and moves to the `processed` status. **Event code:** `webhook.batch.status.processed` #### When it fires - A user uploads a CSV through the Batch Importer in the portal. - A batch is imported via an integration or the Transaction Import API. #### Payload The top-level object describes the batch. The `transactions` array contains the full data for each transaction in the batch. | Field | Type | Description | |---|---|---| | `event_id` | integer | ID of the delivery log entry. `0` for test sends. | | `event` | string | `webhook.batch.status.processed`. | | `timestamp` | string | When the event was created (`YYYY-MM-DD HH:MM:SS`). | | `sent_at` | string | When the request was sent (`YYYY-MM-DD HH:MM:SS`). | | `batch_id` | string | The batch identifier. | | `status` | string | The batch processing status. | | `transactions` | array | The transactions in the batch. See [Transaction object](#transaction-object). | #### Example ```json { "event_id": 12, "event": "webhook.batch.status.processed", "timestamp": "2024-09-10 07:51:27", "sent_at": "2024-09-10 07:51:27", "batch_id": "e455acef2249e49bb04476226750f9fc", "status": "processed", "transactions": [ { "policy_number": "AAM05001801", "unique_id": "abc-123", "transaction_id": 167254, "transaction_type": "PN", "transaction_status": 2, "mailing_insured_name": "Acme LLC", "physical_state": "CA", "invoice_number": "15245", "status_message": "Submitted", "date_filed": null, "warnings": [ "Required document is missing", "Line of business is invalid" ] } ] } ``` ### Batch Status updated to "Failed" Fires when a batch fails to process due to an internal system error. These failures are rare. **Event code:** `webhook.batch.status.failed` #### When it fires A batch of transactions or documents imported into InsCipher fails to process and needs attention. Subscribing lets you react immediately rather than discovering the failure later. #### Payload The structure mirrors the processed event but adds an `errors` field, and the `transactions` array contains the raw imported rows that were not processed (a reduced set of fields). | Field | Type | Description | |---|---|---| | `event_id` | integer | ID of the delivery log entry. `0` for test sends. | | `event` | string | `webhook.batch.status.failed`. | | `timestamp` | string | When the event was created (`YYYY-MM-DD HH:MM:SS`). | | `sent_at` | string | When the request was sent (`YYYY-MM-DD HH:MM:SS`). | | `batch_id` | string | The batch identifier. | | `status` | string | The batch processing status. | | `errors` | string | A description of the failure. Currently always `Internal system error`. | | `transactions` | array | The unprocessed import rows. See fields below. | Each item in `transactions` for a failed batch contains the raw imported values, any of which may be `null`: | Field | Type | Description | |---|---|---| | `id` | string \| null | The row's ID, if present in the import. | | `unique_id` | string \| null | The row's unique ID, if present. | | `policy_number` | string \| null | Policy number, if present. | | `policy_effective_date` | string \| null | Policy effective date, if present. | | `invoice_number` | string \| null | Invoice number, if present. | | `agent_id` | string \| null | Agent ID, if present. | #### Example ```json { "event_id": 170, "event": "webhook.batch.status.failed", "timestamp": "2025-04-03 09:53:35", "sent_at": "2025-04-03 09:53:35", "batch_id": "b0b11d49e06e265b66eb3a02a7d3f2e4", "status": "failed", "errors": "Internal system error", "transactions": [ { "id": "12345", "unique_id": "as.d.as.d.aasd", "policy_number": "XLC1919", "policy_effective_date": "2024-12-10", "invoice_number": "52882", "agent_id": "5" } ] } ``` ### Transaction object For a **processed** batch, each item in `transactions` describes a full transaction: | Field | Type | Description | |---|---|---| | `policy_number` | string | The policy number. | | `unique_id` | string | The transaction's unique ID. | | `transaction_id` | integer | The InsCipher transaction ID. | | `transaction_type` | string | The transaction type short code. | | `transaction_status` | integer | The transaction's lifecycle status. Common values: `1` Saved, `2` Submitted, `4` Filed, `5` Archived. | | `mailing_insured_name` | string | The mailing insured name. | | `physical_state` | string | The physical state abbreviation. | | `invoice_number` | string | The invoice number. | | `status_message` | string | A human-readable status label. | | `date_filed` | string \| null | The filing date (`YYYY-MM-DD`), or `null` if not filed. | | `warnings` | array | Present only if the transaction has warnings. A list of warning messages. | | `transaction_documents` | array | Present only if the transaction has documents. See [Transaction Events](https://developer.inscipher.com/webhooks/event-reference/transaction-events#transaction-documents). | ## Transaction Events URL: https://developer.inscipher.com/webhooks/event-reference/transaction-events Events about an individual transaction: filing status, SLA number, and state stamp wording. ### Transaction Status updated to "Filed" Fires when a transaction's status changes to *Filed*. **Event code:** `webhook.transaction.status.filed` #### When it fires - **Manual change (Connect partners):** a user changes a transaction's status to *Filed* on the policy details page, or in bulk via a CSV update. - **State Export (all partners):** transactions are successfully exported to the state of filing. When this happens, a request is sent for both the state export and for the individual transaction, because both conditions are met. :::note For **New York**, a transaction is considered filed after being sent to the state, but still requires the insured's signature on the Stamped Declination Page. The document is returned stamped and named `Stamped Dec Page` in the payload. ::: #### Two payload shapes This event has two payload shapes depending on what triggered it: - **Individual transaction** — no `batch_id` or top-level `status`; `transactions` holds the single transaction. - **State export** — includes `batch_id` and a top-level `status`; `transactions` holds every transaction in the export. Distinguish them by the presence of `batch_id` / top-level `status`. #### Common fields | Field | Type | Description | |---|---|---| | `event_id` | integer | ID of the delivery log entry. `0` for test sends. | | `event` | string | `webhook.transaction.status.filed`. | | `timestamp` | string | When the event was created (`YYYY-MM-DD HH:MM:SS`). | | `sent_at` | string | When the request was sent (`YYYY-MM-DD HH:MM:SS`). | | `batch_id` | string | **State export only.** The export batch identifier. | | `status` | string | **State export only.** The export processing status. | | `transactions` | array | The transaction(s). See [Transaction object](#transaction-object). | #### Example — individual transaction ```json { "event_id": 21, "event": "webhook.transaction.status.filed", "timestamp": "2024-07-29 12:13:59", "sent_at": "2024-07-29 12:13:59", "transactions": [ { "policy_number": "ID PREMIUM 01", "unique_id": "abc-123", "transaction_id": 165235, "transaction_type": "PN", "transaction_status": 4, "mailing_insured_name": "Acme LLC", "physical_state": "ID", "invoice_number": "15245", "status_message": "Filed", "date_filed": "2024-07-29", "warnings": [ "Retail producer not provided", "Line of business is missing" ], "transaction_documents": [ { "document_id": 65540, "document_name": "Policy", "document_url": "https://surpluslines.inscipher.com/transaction/document/165235/65540/download", "stamped": false } ] } ] } ``` #### Example — state export ```json { "event_id": 31, "event": "webhook.transaction.status.filed", "timestamp": "2024-07-29 18:33:57", "sent_at": "2024-07-29 18:33:57", "batch_id": "6f6a0b3a3fb435b504039bcee59dfba9", "status": "submission_accepted", "transactions": [ { "policy_number": "ent-indv", "unique_id": "def-456", "transaction_id": 155561, "transaction_type": "PN", "transaction_status": 4, "mailing_insured_name": "Beta Corp", "physical_state": "TX", "invoice_number": "15250", "status_message": "Filed", "date_filed": "2024-07-29", "transaction_documents": [ { "document_id": 63896, "document_name": "Policy", "document_url": "https://surpluslines.inscipher.com/transaction/document/155561/63896/download", "stamped": false } ] } ] } ``` #### Transaction object Each item in `transactions` describes a transaction: | Field | Type | Description | |---|---|---| | `policy_number` | string | The policy number. | | `unique_id` | string | The transaction's unique ID. | | `transaction_id` | integer | The InsCipher transaction ID. | | `transaction_type` | string | The transaction type short code. | | `transaction_status` | integer | The transaction's lifecycle status. Common values: `1` Saved, `2` Submitted, `4` Filed, `5` Archived. | | `mailing_insured_name` | string | The mailing insured name. | | `physical_state` | string | The physical state abbreviation. | | `invoice_number` | string | The invoice number. | | `status_message` | string | A human-readable status label. | | `date_filed` | string \| null | The filing date (`YYYY-MM-DD`), or `null` if not filed. | | `warnings` | array | Present only if the transaction has warnings. A list of warning messages. | | `transaction_documents` | array | Present only if the transaction has documents. See below. | #### Transaction documents Each item in `transaction_documents`: | Field | Type | Description | |---|---|---| | `document_id` | integer | The document ID. | | `document_name` | string | The document name. | | `document_url` | string | An absolute URL to download the document. | | `stamped` | boolean | `true` only when the document name is exactly `Stamped Dec Page`; otherwise `false`. | ### SLA Number updated Fires when a transaction's SLA Transaction Number is updated. **Event code:** `webhook.sla.number.updated` #### When it fires The primary use case is **Illinois**, where a Countersignature Number is assigned to each transaction to confirm the filing was received by SLAI (Surplus Line Association of Illinois). Subscribers use this event to retrieve the Countersignature page from SLAI, which must be provided to the insured with the policy documents. #### Payload | Field | Type | Description | |---|---|---| | `event_id` | integer | ID of the delivery log entry. `0` for test sends. | | `event` | string | `webhook.sla.number.updated`. | | `timestamp` | string | When the event was created (`YYYY-MM-DD HH:MM:SS`). | | `policy_number` | string | The policy number. | | `transaction_id` | integer | The InsCipher transaction ID. | | `invoice_number` | string | The invoice number. | | `sla_transaction_number` | string | The SLA transaction (countersignature) number. | | `mailing_insured_name` | string | The mailing insured name. | | `physical_state` | string | The physical state abbreviation. | | `date_filed` | string \| null | The filing date (`YYYY-MM-DD HH:MM:SS`), or `null` if not filed. | This event does not include a `sent_at` field. #### Example ```json { "event_id": 164, "event": "webhook.sla.number.updated", "timestamp": "2025-03-25 10:16:54", "policy_number": "123.123.2345", "transaction_id": 168947, "invoice_number": "123-456-7980", "sla_transaction_number": "Test number", "mailing_insured_name": "Samuel G Stamas", "physical_state": "CA", "date_filed": null } ``` ### State Stamp Wording updated Fires when state stamp wording or Guaranty Fund Notice notes change for a state. **Event code:** `webhooks.state_stamp_wording.updated` :::note This event code begins with `webhooks.` (plural) and uses underscores, unlike the other events. ::: #### When it fires - **State stamp wording updated**: the stamp wording text, formatting (font size, italic, bold, color), or instructions for a state are changed. - **Guaranty Fund Notice notes updated**: the Guaranty Fund Notice notes for a state are changed. #### Payload The payload has a fixed base, followed by six stamp wording properties that are **always present**. A `previous_` counterpart is included only for properties that actually changed in this event. Fixed base fields: | Field | Type | Description | |---|---|---| | `event_id` | integer | ID of the delivery log entry. `0` for test sends. | | `event` | string | `webhooks.state_stamp_wording.updated`. | | `timestamp` | string | When the event was created, in ISO 8601 with timezone (e.g. `2025-06-06T09:44:40+00:00`). | | `state_code` | string | The state abbreviation. | | `state` | string | The state name. | | `effective_date` | string | When the stamp wording configuration took effect, in ISO 8601 with timezone. | The six stamp wording properties are always sent regardless of whether they changed. For each property that did change, a `previous_` field is also included with the prior value. The six properties are: `state_stamp_wording_text`, `state_stamp_wording_instructions`, `fontSize`, `italic`, `bold`, and `color`. :::note Unlike the other events, the State Stamp Wording `timestamp` and `effective_date` use ISO 8601 format with timezone. The other events use `YYYY-MM-DD HH:MM:SS` without timezone. ::: #### Example ```json { "event_id": 598, "event": "webhooks.state_stamp_wording.updated", "timestamp": "2025-06-06T09:44:40+00:00", "state_code": "AL", "state": "Alabama", "effective_date": "2025-06-06T00:00:00+00:00", "state_stamp_wording_text": "

This is my new stamp wording description...

", "previous_state_stamp_wording_text": "

This was my previous stamp wording description...

", "state_stamp_wording_instructions": "This is my new instruction block...", "previous_state_stamp_wording_instructions": "This was my previous instruction block...", "fontSize": 23, "italic": true, "previous_italic": false, "bold": false, "previous_bold": true, "color": "red" } ``` ## Taxes & Fees Events URL: https://developer.inscipher.com/webhooks/event-reference/taxes-fees-events Events about surplus lines tax and stamping fee paid dates on a transaction. ### Stamping Fee Paid Date updated Fires when a transaction's Stamping Fee Paid Date is updated. **Event code:** `webhook.transaction.stamping-fee-paid-date.updated` #### Payload | Field | Type | Description | |---|---|---| | `event_id` | integer | ID of the delivery log entry. `0` for test sends. | | `event` | string | `webhook.transaction.stamping-fee-paid-date.updated`. | | `timestamp` | string | When the event was created (`YYYY-MM-DD HH:MM:SS`). | | `sent_at` | string | When the request was sent (`YYYY-MM-DD HH:MM:SS`). | | `policy_number` | string | The policy number. | | `transaction_id` | integer | The InsCipher transaction ID. | | `invoice_number` | string \| null | The invoice number, if any. | | `stamping_fee_title` | string \| null | The stamping fee title for the state, if any. | | `stamping_fee_invoice_id` | string \| null | The stamping fee invoice ID, if any. | | `stamping_fee_paid_date` | string \| null | The paid date (`YYYY-MM-DD HH:MM:SS`), or `null` if not set. | | `stamping_fee_amount` | number | The stamping fee amount. | | `is_stamping_fee_active` | boolean | Whether the stamping fee is active. | | `stamping_fee_amount_type` | string | How the amount is applied: `fixed`, `percentage`, or `unknown`. | #### Example ```json { "event_id": 62, "event": "webhook.transaction.stamping-fee-paid-date.updated", "timestamp": "2024-11-20 14:19:24", "sent_at": "2024-11-20 14:19:24", "policy_number": "522-29-12", "transaction_id": 18949, "invoice_number": "Ce39829289-L398", "stamping_fee_title": "Surcharge", "stamping_fee_invoice_id": null, "stamping_fee_paid_date": "2024-11-20 00:00:00", "stamping_fee_amount": 1.2, "is_stamping_fee_active": true, "stamping_fee_amount_type": "percentage" } ``` ### SL Tax Paid Date updated Fires when a transaction's Surplus Lines Tax Paid Date is updated. **Event code:** `webhook.transaction.sl-tax-paid-date.updated` #### Payload | Field | Type | Description | |---|---|---| | `event_id` | integer | ID of the delivery log entry. `0` for test sends. | | `event` | string | `webhook.transaction.sl-tax-paid-date.updated`. | | `timestamp` | string | When the event was created (`YYYY-MM-DD HH:MM:SS`). | | `sent_at` | string | When the request was sent (`YYYY-MM-DD HH:MM:SS`). | | `policy_number` | string | The policy number. | | `transaction_id` | integer | The InsCipher transaction ID. | | `invoice_number` | string \| null | The invoice number, if any. | | `sl_tax_title` | string \| null | The SL tax title for the state. | | `sl_service_charge_title` | string \| null | The SL service charge title for the state. | | `sl_tax_invoice_id` | string \| null | The SL tax invoice ID, if any. | | `sl_tax_paid_date` | string \| null | The paid date (`YYYY-MM-DD HH:MM:SS`), or `null` if not set. | | `sl_tax_amount` | number | The SL tax amount. | | `is_sl_tax_active` | boolean | Whether the SL tax is active. | | `sl_tax_amount_type` | string | How the amount is applied: `fixed`, `percentage`, or `unknown`. | #### Example ```json { "event_id": 63, "event": "webhook.transaction.sl-tax-paid-date.updated", "timestamp": "2024-11-08 12:11:02", "sent_at": "2024-11-08 12:11:02", "policy_number": "-822-", "transaction_id": 4982215, "invoice_number": null, "sl_tax_title": null, "sl_service_charge_title": null, "sl_tax_invoice_id": null, "sl_tax_paid_date": "2024-11-02 00:00:00", "sl_tax_amount": 1.5, "is_sl_tax_active": true, "sl_tax_amount_type": "percentage" } ``` # System Integrations ## Integrations URL: https://developer.inscipher.com/integrations/overview Integration products from InsCipher that automate data-intensive tasks to and from your agency management system (AMS). InsCipher integrations automate key data processes between InsCipher and your AMS. Some integrations are built and maintained by InsCipher; others are built by a partner using InsCipher's APIs. The functionality is similar either way — what differs is who you work with to set it up and who maintains the integration. ### Functionality InsCipher classifies integration functionality into four primary categories: Transaction Import Surplus lines transactions are automatically retrieved from the AMS and pushed into InsCipher. This processing usually occurs nightly at around 2 AM MST. Document Import Documents associated with surplus lines transactions are retrieved from the AMS and pushed into InsCipher. Tax Calculation Functionality for retrieving surplus lines tax rates inside of the AMS. Payment Batch Reconciliation Automates the population of payment reconciliation batches to the AMS to quickly and easily update payables. ### Supported systems InsCipher integrates with several major agency systems, either as an InsCipher product or through a partner that uses InsCipher's functionality. If the system is **InsCipher-owned**, you work with the InsCipher team to set up an integration tailored to your workflow. If it is a **partner-owned** integration, you get similar functionality but go through that partner for setup. #### InsCipher-owned integrations | System | Transaction Import | Document Import | Tax Calculation | Payment Reconciliation | | --- | :---: | :---: | :---: | :---: | | [Applied Epic](https://developer.inscipher.com/integrations/applied-systems/applied-epic/overview) | ✓ | — | — | — | | [Concept One](https://developer.inscipher.com/integrations/insurity/concept-one/overview) | ✓ | — | — | — | | [AIM](https://developer.inscipher.com/integrations/vertafore/aim/overview) | ✓ | — | — | ✓ | | [AMS360](https://developer.inscipher.com/integrations/vertafore/ams360/overview) | ✓ | — | — | — | #### Partner-owned integrations | System | Partner | Transaction Import | Document Import | Tax Calculation | | --- | --- | :---: | :---: | :---: | | [Herald API](https://developer.inscipher.com/integrations/herald-api) | Herald | — | — | ✓ | | [Instanda](https://developer.inscipher.com/integrations/instanda) | INSTANDA | ✓ | ✓ | ✓ | | [Insurity Submission Gateway (ISG)](https://developer.inscipher.com/integrations/insurity/isg) | Insurity | ✓ | ✓ | ✓ | | [Salesforce](https://developer.inscipher.com/integrations/salesforce/overview) | Sikich | — | — | ✓ | | [Surefyre](https://developer.inscipher.com/integrations/vertafore/surefyre) | Vertafore | ✓ | — | ✓ | | [Vertafore MGA Systems](https://developer.inscipher.com/integrations/vertafore/mga-systems) | Vertafore | ✓ | ✓ | ✓ | ### Setup timeline The time to complete integration setup depends on a few factors: - The type of integration and the functionality you want. - Your team's internal knowledge of the agency system. - The resources allocated to field mapping, which is the most time-intensive part of setup. Time to go-live generally ranges from a few days to about a month, depending on the factors above. ### FAQ #### Can I upgrade my AMS version if I have an integration with InsCipher? Yes. InsCipher's integration products are designed so you can update your AMS without disruption. However, **report any changes to your database schema to the InsCipher team** so we can confirm the data mapping isn't affected and minimize any impact to your team's workflow. --- ## Applied Epic™ URL: https://developer.inscipher.com/integrations/applied-systems/applied-epic/overview Streamlines tax filing, reporting, and reconciliation by automatically importing policy data into InsCipher. Applied Epic customers who use the Google BigQuery Data Lake connection method can import policy data into the InsCipher platform automatically. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency completes setup inside InsCipher Connect® using the Integration Wizard, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration tool, wizard, and daily import logic | ✓ | | | BigQuery Data Lake access (via your Applied subscription) | | ✓ | | BigQuery credentials (Database Name, Project ID, JSON Key) | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** Uses Applied Epic's Google BigQuery Data Lake connection to automatically pull policy data into InsCipher. > **Note:** - It cannot pull documents associated with policy data. > - There is no Tax Calculation or Payment Reconciliation functionality yet. Both are being researched for future phases. ### Before you start This service is not available to all partners. At a minimum, you must be subscribed to Applied Epic's Google BigQuery Data Lake connection method. If you are an Applied Epic customer but don't use this connection, contact your Applied account representative or account manager to find out whether it can be enabled for your agency. Connection via SDK or BDE is **not supported** at this time. Before setup, check with your IT/security team to confirm that no firewalls or restrictions will block the integration or the data transfer. For setup questions not covered in this guide, contact [support@inscipher.com](mailto:support@inscipher.com). ### Technical requirements To set up the Applied Epic policy import, you need: - Access to the Google BigQuery Data Lake associated with your Applied account. - Admin rights in BigQuery, so you can pull the credentials required by the InsCipher Integration Wizard. Once you have these, continue to [Import Policy Data](https://developer.inscipher.com/integrations/applied-systems/applied-epic/import-policy-data) to run the setup wizard. ## Applied Epic™ URL: https://developer.inscipher.com/integrations/applied-systems/applied-epic/overview Streamlines tax filing, reporting, and reconciliation by automatically importing policy data into InsCipher. Applied Epic customers who use the Google BigQuery Data Lake connection method can import policy data into the InsCipher platform automatically. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency completes setup inside InsCipher Connect® using the Integration Wizard, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration tool, wizard, and daily import logic | ✓ | | | BigQuery Data Lake access (via your Applied subscription) | | ✓ | | BigQuery credentials (Database Name, Project ID, JSON Key) | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** Uses Applied Epic's Google BigQuery Data Lake connection to automatically pull policy data into InsCipher. > **Note:** - It cannot pull documents associated with policy data. > - There is no Tax Calculation or Payment Reconciliation functionality yet. Both are being researched for future phases. ### Before you start This service is not available to all partners. At a minimum, you must be subscribed to Applied Epic's Google BigQuery Data Lake connection method. If you are an Applied Epic customer but don't use this connection, contact your Applied account representative or account manager to find out whether it can be enabled for your agency. Connection via SDK or BDE is **not supported** at this time. Before setup, check with your IT/security team to confirm that no firewalls or restrictions will block the integration or the data transfer. For setup questions not covered in this guide, contact [support@inscipher.com](mailto:support@inscipher.com). ### Technical requirements To set up the Applied Epic policy import, you need: - Access to the Google BigQuery Data Lake associated with your Applied account. - Admin rights in BigQuery, so you can pull the credentials required by the InsCipher Integration Wizard. Once you have these, continue to [Import Policy Data](https://developer.inscipher.com/integrations/applied-systems/applied-epic/import-policy-data) to run the setup wizard. ## Import Policy Data URL: https://developer.inscipher.com/integrations/applied-systems/applied-epic/import-policy-data Once the integration setup tool has been added to your agency, run the setup wizard to connect your Applied Epic instance to InsCipher and start importing policy data. Setup is a four-part process in the InsCipher Integration Wizard. To open the wizard, log into your Connect® account, then go to the **Settings** cog (top-right) → **Integrations** → **ADD NEW**. Select **Applied Epic Data Lake** from the dropdown to add the integration. ### 1. Agency Management System Enter the credentials below to connect InsCipher to your BigQuery Data Lake: - **Database Name** - **Project ID** - **JSON Key** **Where to find these credentials** - **Database Name** — the same as your BigQuery database name. In the Google Cloud console, open BigQuery, open the Explorer panel, and select your project. - **JSON Key** — a `.json` file exported from the Google Cloud console. Go to your project → **IAM & Admin** → **Service accounts** → **Add Key**, choose **JSON** as the key type, and click **Create**. Upload this file to the **JSON Key** field in Step 1 of the wizard. For details, see Google's guide on [creating service account keys](https://cloud.google.com/iam/docs/keys-create-delete). - **Project ID** — extracted automatically into the **Project ID** field once the JSON file is added. ![Integration Wizard Step 1 — Database Name, Project ID, and JSON Key fields](https://developer.inscipher.com/images/integrations/applied-epic/step-1-agency-management-system.png) ### 2. Integration Setup & Connection InsCipher establishes the connection to your Applied instance and pulls the fields needed for the mapping in Step 3. Unless the wizard reports an API connection error or a problem retrieving mapping data, no manual input is needed here — continue to Step 3. ![Integration Wizard Step 2 — connection established](https://developer.inscipher.com/images/integrations/applied-epic/step-2-connection.png) ### 3. Field Mapping After the connection completes and the Integration Tool syncs with Connect®, map the data pulled from Applied to standard InsCipher values so the two systems stay in parity. You must complete all of these tables before continuing to Step 4: - Agencies - Taxes and Fees - Lines of Business - Filing Types - Insurance Companies #### Map Agencies The integration pulls both the Agency Code and Name for each Applied Epic agency. For each one, choose the matching InsCipher Agency to map it to, or choose **Do Not Import** to exclude that agency's transactions from import. ![Agency mapping table](https://developer.inscipher.com/images/integrations/applied-epic/map-agencies.png) #### Map Taxes and Fees For each Applied Code and Description line item, choose a value in the dropdown under InsCipher Taxable Fees and State Taxes. The options are: - Do Not Import - Broker Fee - Carrier Fee - Stamping Fee - Sl Tax - EMPA Tax - FM Tax - Municipal Fee - Sl Service Charge ![Taxes and Fees mapping table](https://developer.inscipher.com/images/integrations/applied-epic/map-taxes-and-fees.png) #### Map Lines of Business Map the derived AMS codes for each Line of Business (LOB) to an InsCipher Generic Line of Business code. Use the [State Specific to Generic LOB mapping worksheet](https://lookerstudio.google.com/reporting/41dce747-d045-4e1f-884d-07d23581a90a) or the simpler [Generic Lines of Business worksheet](https://lookerstudio.google.com/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_4q66kh8crc). If needed, map specific LOB codes per AMS code under the **InsCipher State Specific Codes** column, where you can select a state and LOB description. ![Line of Business mapping table](https://developer.inscipher.com/images/integrations/applied-epic/map-lines-of-business.png) #### Map Filing Types Filing/transaction type naming differs between Applied Epic and InsCipher. The **Filing Types Mapping table** lets you map each type, with the option to use a different type for positive and negative amounts to match your workflow. Applied Policy Transaction Codes appear under the **Transaction Type** column with their **Comments** (description). Map each to an InsCipher transaction type using the InsCipher Positive Premium Filing Code and/or Negative Premium Filing Code dropdowns. The InsCipher transaction types are: - PN (New Policy) - PR (Renewal Policy) - APE (Additional Premium Endorsement) - RPE (Return Premium Endorsement) - AE (Audit Endorsement) - FC (Flat Cancellation) - ZPE (Zero Premium Endorsement) - PC (Pro Rata Cancellation) - XE (Extension Endorsement) - RI (Reinstatement) - BO (Back-out / Reversal) - BD (Binder) ![Filing Types mapping table](https://developer.inscipher.com/images/integrations/applied-epic/map-filing-types.png) #### Map Insurance Companies Map each insurance company pulled from Applied to the corresponding Insurance Company on record in InsCipher. ### 4. Summary Step 4 reviews the completed steps and any outstanding issues. When the Summary items are all checked complete, the integration has no outstanding issues. ![Integration Wizard Step 4 — Summary](https://developer.inscipher.com/images/integrations/applied-epic/step-4-summary.png) > **Note:** A connection made during the day may not populate policy data until the next day, because of the integration's cadence. If data hasn't appeared in the Filings Import Log by the next day, contact InsCipher support. You can also pull up to two weeks of historical data using **Trigger a Manual Import**, which lets you import from a specific date. ![Trigger a Manual Import](https://developer.inscipher.com/images/integrations/applied-epic/trigger-manual-import.png) After submitting a manual import, it can take up to 30 minutes for the data to appear in the Filings Import Log. Any errors or status issues with the integration also appear on this page. ### How the import works The integration imports **posted invoices** whose delivery date falls in the selected range. For each invoice it loads the invoice lines, the policy, and the policy lines, then creates one InsCipher transaction per policy on the invoice. Only **surplus-lines transactions** are imported. A transaction is treated as surplus lines when one of its invoice lines is recognized as a surplus-lines tax (its description matches surplus-lines tax, SLT, or government payable) or when a line's code is mapped to SL Tax. Other transactions are skipped. A few behaviors to be aware of: - Taxes and fees are summed from the invoice line amounts according to your **Taxes and Fees** mapping. - Agencies mapped to **Do Not Import** are skipped. - A transaction fails to import if its policy lines carry more than one distinct transaction type. ### InsCipher field mapping The table below reflects what the import actually populates. A blank **Applied source** means the field is not supplied by the integration. The **Requirement** is the field's status in the shared InsCipher transaction schema; the same tiers apply across all InsCipher integrations. Fields not listed here are not supplied by the Applied Epic integration — they are entered in Connect® or required only at state filing time. **Legend:** R = Required · Rec = Recommended · O = Optional | InsCipher Field | Applied source | Notes | Requirement | | --- | --- | --- | --- | | id | Invoice.InvoiceID | | O | | policy_number | Policy.PolicyNumber | | R | | policy_effective_date | Policy.EffectiveDate | | R | | policy_expiration_date | Policy.ExpirationDate | | Rec | | transaction_effective_date | Policy.EffectiveDate or Invoice.DeliveryDateTime | Policy.EffectiveDate for new/renewal transactions, otherwise the invoice delivery date | R | | expiring_policy_number | | Not supplied by the integration | Rec | | invoice_date | Invoice.DeliveryDateTime | | Rec | | invoice_number | Invoice.InvoiceNumber | | Rec | | transaction_type | CdLineStatus.CdLineStatusCode | Mapping required; resolved by the sign of premium (positive/negative) | R | | account_written_as | Line.BillModeCode | 'D' maps to DC (Direct to Client); any other value maps to B (Brokerage) | R | | rpg | 0 | Hardcoded false | R | | purchasing_group_name | | Not supplied by the integration | Rec | | risk_description | Policy.DescriptionOf | | O | | multi_state | 0 | Hardcoded false | O | | dba | 0 | Hardcoded false | O | | transaction_line_of_business_list | CdPolicyLineType.CdPolicyLineTypeCode | Pipe-joined across policy lines | R | | transaction_line_of_business_coverage | Policy.BilledPremium ÷ line count | Pipe-joined; premium split evenly per line | R | | non_admitted_insurer_code_list | Company.NAICCode | Pipe-joined across policy lines | Rec | | non_admitted_insurer_code_coverage | 100 ÷ line count | Pipe-joined; split evenly per line | Rec | | syndicate_list | | Not supplied by the integration | Rec | | syndicate_list_coverage | | Not supplied by the integration | Rec | | premium | Policy.BilledPremium | | O | | agency_fee | Invoice line amount | Broker Fee; summed by Taxes and Fees code mapping | R | | inspection_fee | Invoice line amount | Carrier Fee; summed by Taxes and Fees code mapping | R | | sl_tax | Invoice line amount | Summed by Taxes and Fees code mapping | O | | stamping_fee | Invoice line amount | Summed by Taxes and Fees code mapping | O | | sl_service_charge | Invoice line amount | Summed by Taxes and Fees code mapping | O | | municipal_fee | Invoice line amount | Summed by Taxes and Fees code mapping | O | | fm_tax | Invoice line amount | Summed by Taxes and Fees code mapping | O | | empa_tax | Invoice line amount | Summed by Taxes and Fees code mapping | O | | total | Invoice lines | Sum of all invoice line amounts | O | | mailing_insured_name | Line.ContactNameBillTo | | R | | mailing_address | Line.Address1BillTo | | R | | mailing_address2 | Line.Address2BillTo | | O | | mailing_city | Line.CityBillTo | | R | | mailing_zip_code | Line.PostalCodeBillTo | | R | | mailing_state_code | Line.CdStateCodeBillTo | | R | | insured_email | Line.Email | | O | | insured_phone | Line.Fax | Sourced from the Fax field | O | | physical_same_as_mailing | 1 | Hardcoded true | R | | physical_address | | Not supplied by the integration | Rec | | physical_city | | Not supplied by the integration | Rec | | physical_zip_code | | Not supplied by the integration | Rec | | physical_state_code | Line.CdStateCodeIssuing | | R | | agent_id | Policy.AgencyCode | Mapped via Agency mapping; agencies mapped to "Do Not Import" are skipped | O | | agent_notes | | Generated: "Applied Epic Invoice #<invoice number>" | Rec | | anniversary_billing | 0 | Hardcoded false | O | ## Troubleshooting URL: https://developer.inscipher.com/integrations/applied-systems/applied-epic/troubleshooting Tips for resolving issues with the Applied Epic Data Lake integration. InsCipher notifies you by email and in the notification center when any of the cases below occur. ### Warnings Prompts that encourage you to act on something that could lead to an adverse outcome if left too long. | Title | Description | Suggested action | | --- | --- | --- | | Integration Incomplete | The system detects an incomplete integration before Step 3. | Complete the integration steps through Step 3. | | Fields Need Mapping | Required field mapping on Step 3 was started but not finished. | Complete the mapping exercise for all tables on Step 3. | ### Errors System messages indicating technical problems that lead to partial or lost functionality. | Title | Description | Suggested action | | --- | --- | --- | | Integration Connection is Lost | The integration tool cannot connect to Applied Epic. | **Manually import data missed during the outage:** On Step 4 / Summary, click **Trigger a Manual Import** and select the date your connection was lost and your agency stopped receiving data. This pulls in the information that failed to import during the outage. | For any other errors, contact [InsCipher support](mailto:support@inscipher.com). ## Concept One™ URL: https://developer.inscipher.com/integrations/insurity/concept-one/overview Streamlines tax filing, reporting, and reconciliation by automatically importing policy data into InsCipher. Insurity customers who use Concept One to manage policies, accounting, claims, and workflow automation can use this integration to automate the flow of policy data from Concept One into InsCipher. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency installs the InsCipher Integration Connector Tool on-premise and completes setup inside InsCipher Connect®, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration Connector Tool (ICT) and daily import logic | ✓ | | | On-premise MS SQL Server and Windows host | | ✓ | | Read access to the SQL tables the ICT queries | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** Uses a web-based Integration Connector Tool to read your on-premise MS SQL database and automatically pull policy data into InsCipher. > **Note:** - It cannot pull documents associated with policy data. > - There is no Tax Calculation or Payment Reconciliation functionality yet. Both are being researched for future phases. ### Before you start This service is not available to all partners. At a minimum, you must run an on-premise service such as MS SQL on Windows. If you are a Concept One customer but don't use an on-premise connection, contact your Insurity representative or account manager to find out whether it can be set up for your agency. ### How it works The Integration Connector Tool (ICT) is an installable Windows service. Once installed, it runs in the background and has no graphical interface of its own — you configure it initially through a simple browser interface, similar to setting up a home router. The ICT runs on a machine in your network, reads specific fields from your SQL database, and triggers daily batch imports into InsCipher. Continue to [Import Policy Data](https://developer.inscipher.com/integrations/insurity/concept-one/import-policy-data) to install the tool and run the setup wizard. ## Concept One™ URL: https://developer.inscipher.com/integrations/insurity/concept-one/overview Streamlines tax filing, reporting, and reconciliation by automatically importing policy data into InsCipher. Insurity customers who use Concept One to manage policies, accounting, claims, and workflow automation can use this integration to automate the flow of policy data from Concept One into InsCipher. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency installs the InsCipher Integration Connector Tool on-premise and completes setup inside InsCipher Connect®, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration Connector Tool (ICT) and daily import logic | ✓ | | | On-premise MS SQL Server and Windows host | | ✓ | | Read access to the SQL tables the ICT queries | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** Uses a web-based Integration Connector Tool to read your on-premise MS SQL database and automatically pull policy data into InsCipher. > **Note:** - It cannot pull documents associated with policy data. > - There is no Tax Calculation or Payment Reconciliation functionality yet. Both are being researched for future phases. ### Before you start This service is not available to all partners. At a minimum, you must run an on-premise service such as MS SQL on Windows. If you are a Concept One customer but don't use an on-premise connection, contact your Insurity representative or account manager to find out whether it can be set up for your agency. ### How it works The Integration Connector Tool (ICT) is an installable Windows service. Once installed, it runs in the background and has no graphical interface of its own — you configure it initially through a simple browser interface, similar to setting up a home router. The ICT runs on a machine in your network, reads specific fields from your SQL database, and triggers daily batch imports into InsCipher. Continue to [Import Policy Data](https://developer.inscipher.com/integrations/insurity/concept-one/import-policy-data) to install the tool and run the setup wizard. ## Import Policy Data URL: https://developer.inscipher.com/integrations/insurity/concept-one/import-policy-data Once the Integration Connector Tool has been added to your agency, run the setup wizard to connect your Concept One database to InsCipher and start importing policy data. Setup is a four-part process in the InsCipher Integration Wizard. To open the wizard, log into your Connect® account, then go to the **Settings** cog (top-right) → **Integrations** → **ADD NEW**. Select **Concept One** from the dropdown to add the integration. ### 1. Agency Management System Step 1 confirms the initial setup. Review it and click **Continue** to move to Step 2. ![Integration Wizard Step 1 — Agency Management System](https://developer.inscipher.com/images/integrations/concept-one/step-1-agency-management-system.png) ### 2. Integration Setup & Connection In this step you download and start the Windows-based Integration Connector Tool, then connect it to InsCipher. 1. Download the **InsCipher Connector Tool** from the link in this step and install the `.exe`. Once installed, open the browser-based interface at `http://localhost:3080`. 2. Generate an integration token using the button under **Integration Token**. ![Generate the integration token](https://developer.inscipher.com/images/integrations/concept-one/step-2-integration-token.png) 3. In the Connector Tool, go to **Settings**. Under **Connection Credentials**, paste the token into the **Integration Token** field and click **Save**. 4. Under **Integration Settings**, enter your MS SQL connection details and click **Save**: - **User** — SQL Server login username - **Password** — SQL Server login password - **Database** — Concept One database name (e.g. `dba.conceptone`) - **Port** — SQL Server port (default `1433`) - **Host** — hostname or IP of the SQL Server (e.g. `localhost`) ![Integration Connector Tool — Settings page](https://developer.inscipher.com/images/integrations/concept-one/step-2-connector-settings.png) Once both sections are saved, continue to Step 3 to begin field mapping. ### 3. Field Mapping After the connection completes and the Integration Tool syncs with Connect®, map the data pulled from Concept One to standard InsCipher values so the two systems stay in parity. You must complete all of these tables before continuing to Step 4: - Agencies - Taxes and Fees - Lines of Business - Filing Types - Insurance Companies #### Map Agencies The integration pulls both the Agency Code and Name for each Concept One agency. For each one, choose the matching InsCipher Agency to map it to. ![Agency mapping table](https://developer.inscipher.com/images/integrations/concept-one/map-agencies.png) #### Map Taxes and Fees For each Concept One Code and Description line item, choose a value in the dropdown under InsCipher Taxable Fees and State Taxes. The options are: - Do Not Import - Broker Fee - Carrier Fee - Stamping Fee - Sl Tax - EMPA Tax - FM Tax - Municipal Fee - Sl Service Charge ![Taxes and Fees mapping table](https://developer.inscipher.com/images/integrations/concept-one/map-taxes-and-fees.png) #### Map Lines of Business Map the derived Concept One codes for each Line of Business (LOB) to an InsCipher Generic Line of Business code. Use the [State Specific to Generic LOB mapping worksheet](https://lookerstudio.google.com/reporting/41dce747-d045-4e1f-884d-07d23581a90a) or the simpler [Generic Lines of Business worksheet](https://lookerstudio.google.com/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_4q66kh8crc). If needed, map specific LOB codes per AMS code under the **InsCipher State Specific Codes** column, where you can select a state and LOB description. ![Line of Business mapping table](https://developer.inscipher.com/images/integrations/concept-one/map-lines-of-business.png) #### Map Filing Types Filing/transaction type naming differs between Concept One and InsCipher. The **Filing Types Mapping table** lets you map each type, with the option to use a different type for positive and negative amounts to match your workflow. In Concept One, the transaction type is referred to as **Invoice Billing Class**. These values appear under the **Transaction Type** column with their **Comments** (description). Map each to an InsCipher transaction type using the InsCipher Positive Premium Filing Code and/or Negative Premium Filing Code dropdowns. The InsCipher transaction types are: - PN (New Policy) - PR (Renewal Policy) - APE (Additional Premium Endorsement) - RPE (Return Premium Endorsement) - AE (Audit Endorsement) - FC (Flat Cancellation) - ZPE (Zero Premium Endorsement) - PC (Pro Rata Cancellation) - XE (Extension Endorsement) - RI (Reinstatement) - BO (Back-out / Reversal) - BD (Binder) ![Filing Types mapping table](https://developer.inscipher.com/images/integrations/concept-one/map-filing-types.png) #### Map Insurance Companies Map each insurance company pulled from Concept One to the corresponding Insurance Company on record in InsCipher. ### 4. Summary Step 4 reviews the completed steps and any outstanding issues. When the Summary items are all checked complete, the integration has no outstanding issues. ![Integration Wizard Step 4 — Summary](https://developer.inscipher.com/images/integrations/concept-one/step-4-summary.png) > **Note:** A connection made during the day may not populate policy data until the next day, because of the integration's cadence. If data hasn't appeared in the Filings Import Log by the next day, contact InsCipher support. You can also pull up to two weeks of historical data using **Trigger a Manual Import**. The date picker is limited to two weeks prior to the current date. ![Trigger a Manual Import](https://developer.inscipher.com/images/integrations/concept-one/trigger-manual-import.png) After submitting a manual import, it can take up to 30 minutes for the data to appear in the Filings Import Log. Any errors or status issues with the integration also appear on this page. ### How the import works The daily import runs for the previous day. You can also run a manual import for a date range (up to two weeks back). The integration imports **posted surplus lines invoices** whose post date falls in the range — invoices in Posted status that cover non-admitted (surplus lines) risk. One InsCipher transaction is created per policy. It also handles **voided invoices** (those voided in the range, in Voided status): if a policy was voided in Concept One and a matching transaction had previously been imported into InsCipher, the integration voids that transaction. Voided policies with no previously imported transaction are skipped. Premium, lines of business, and fees come from the policy's invoice items: - Premium lines (transaction class **P**) provide the lines of business — each line code is mapped to an InsCipher LOB — and the premium amounts. The transaction premium is the sum of these. - Tax and fee lines (transaction class **T** or **F**) provide taxes and fees, summed according to your Taxes and Fees mapping (keyed on the Concept One transaction code). A few behaviors to be aware of: - Agencies mapped to **Do Not Import** are skipped. - A transaction's physical address is sent only when the physical state differs from the mailing state. #### Transaction types Concept One reports transactions using a fixed set of codes, which you map on the Filing Types step: | Code | Description | | --- | --- | | A | Audit | | C | Cancel | | E | Endorsement | | O | New Business | | R | Reinstatement | | S | Reissue | | N | Renew | | W | Rewrite | ### Concept One field mapping The table below reflects what the import actually populates. A blank **Concept One source** means the field is not supplied by the integration. The **Requirement** is the field's status in the shared InsCipher transaction schema; the same tiers apply across all InsCipher integrations. Fields not listed here are not supplied by the Concept One integration — they are entered in Connect® or required only at state filing time. **Legend:** R = Required · Rec = Recommended · O = Optional | InsCipher Field | Concept One source | Notes | Requirement | | --- | --- | --- | --- | | id | Invoice.Invoice_ID | | O | | policy_number | Contract.Contract_Num | | R | | policy_effective_date | Contract.Eff_Date | | R | | policy_expiration_date | Contract.Exp_Date | | Rec | | transaction_effective_date | Contract.Revision_Eff_Date | | R | | expiring_policy_number | c3.Contract_Num | | Rec | | invoice_date | Invoice.Post_Date | | Rec | | invoice_number | Invoice.Invoice_Num | | Rec | | transaction_type | Invoice.Billing_Class (raw) | Mapping required; resolved by the sign of premium. Concept One uses a fixed code set (see Transaction types above) | R | | account_written_as | Contract.Supplier_Bill_Ind (raw) | 'Y' maps to DC (Direct to Client); any other value maps to B (Brokerage) | R | | rpg | | | R | | dba | | | O | | multi_state | 0 | Hardcoded false | O | | risk_description | Contract.Operations_Desc | | O | | purchasing_group_name | | Not supplied by the integration | Rec | | transaction_line_of_business_list | invoice_items[].Line_Code | Mapped to LOB; pipe-joined per premium line | R | | transaction_line_of_business_coverage | invoice_items[].Amount | Pipe-joined per premium line | R | | non_admitted_insurer_code_list | non_admitted_insurer_list[].naic | Pipe-joined | Rec | | non_admitted_insurer_code_coverage | non_admitted_insurer_list[].percentage | Pipe-joined | Rec | | syndicate_list | | Not supplied by the integration | Rec | | syndicate_list_coverage | | Not supplied by the integration | Rec | | premium | Invoice.Total_Prem | | O | | agency_fee | invoice_items (raw) | Broker Fee; summed by Taxes and Fees code mapping | R | | inspection_fee | invoice_items (raw) | Carrier Fee; summed by Taxes and Fees code mapping | R | | sl_tax | invoice_items (raw) | Summed by Taxes and Fees code mapping | O | | stamping_fee | invoice_items (raw) | Summed by Taxes and Fees code mapping | O | | sl_service_charge | invoice_items (raw) | Summed by Taxes and Fees code mapping | O | | municipal_fee | invoice_items (raw) | Summed by Taxes and Fees code mapping | O | | fm_tax | invoice_items (raw) | Summed by Taxes and Fees code mapping | O | | empa_tax | invoice_items (raw) | Summed by Taxes and Fees code mapping | O | | total | Invoice.Total_Prem + Invoice.Total_Fee + Invoice.Total_Tax | | O | | mailing_insured_name | Entity.Entity_Name | | R | | mailing_address | Address.Address_Line_1 | | R | | mailing_address2 | Address.Address_Line_2 | | O | | mailing_city | Address.City | | R | | mailing_zip_code | Address.Zip | | R | | mailing_state_code | Address.State | | R | | insured_email | contacts.email (Entity_Det.Email_Address) | | O | | insured_phone | contacts.phone | | O | | policy_limit | limits.limit | | O | | physical_same_as_mailing | computed | True when the physical state equals the mailing state | R | | physical_address | locations[].Address_Line_1 | From the first location; only when physical differs from mailing | Rec | | physical_address2 | locations[].Address_Line_2 | From the first location; only when physical differs from mailing | O | | physical_city | locations[].City | From the first location; only when physical differs from mailing | Rec | | physical_zip_code | locations[].Zip | From the first location; only when physical differs from mailing | Rec | | physical_state_code | Contract.Controling_State | | R | | agent_id | Contract.Book_Loc_ID (agency) | Mapped via Agency mapping; agencies mapped to "Do Not Import" are skipped | O | | agent_notes | | Generated: "C1 Invoice #<invoice number>" | Rec | ## Troubleshooting URL: https://developer.inscipher.com/integrations/insurity/concept-one/troubleshooting Tips for resolving issues with the Concept One integration. InsCipher notifies you by email and in the notification center when any of the cases below occur. ### Warnings Prompts that encourage you to act on something that could lead to an adverse outcome if left too long. | Title | Description | Suggested action | | --- | --- | --- | | Integration Incomplete | The system detects an incomplete integration before Step 3. | Complete the integration steps through Step 3. | | Fields Need Mapping | Required field mapping on Step 3 was started but not finished. | Complete the mapping exercise for all tables on Step 3. | ### Errors System messages indicating technical problems that lead to partial or lost functionality. | Title | Description | Suggested action | | --- | --- | --- | | Integration Connection is Lost | The integration tool cannot connect to Concept One. | **Manually import data missed during the outage:** On Step 4 / Summary, click **Trigger a Manual Import** and select the date your connection was lost and your agency stopped receiving data. This pulls in the information that failed to import during the outage. | For any other errors, contact [InsCipher support](mailto:support@inscipher.com). ## AIM™ URL: https://developer.inscipher.com/integrations/vertafore/aim/overview Automates data-intensive surplus lines tasks between Vertafore AIM and InsCipher, including policy data import and payment batch reconciliation. This integration uses the on-premise AIM Integration Client to read surplus lines data from your local AIM database and push it into InsCipher. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency installs the InsCipher Integration Client on-premise and completes setup inside InsCipher Connect®, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration Client (IC) and import logic | ✓ | | | On-premise MS SQL Server (AIM database) and Windows host | | ✓ | | Read access to the AIM tables the IC queries | | ✓ | | Network access to InsCipher's Integration Management Server (IMS) | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** - Retrieves surplus lines policy data from AIM into InsCipher. > - Reconciles received and processed batch payments in AIM against InsCipher data. > **Note:** - It does not automatically pull documents associated with policy data (see the document workflow in [Import Policy Data](https://developer.inscipher.com/integrations/vertafore/aim/import-policy-data)). > - There is no Tax Calculation functionality yet. It is being researched for future phases. ### Technical installation details The Integration Client (IC) must be installed on-premise so it can reach the MS SQL machine over your private network. Ideally the IC runs on the machine hosting the MS SQL server itself, but it can connect to a copy of the live database as long as the field names match and access is granted through your firewall. Once installed, you configure the hostname and port of the MS SQL machine. The firewall and server software must allow connecting over the network. You also configure the IC to use a MS SQL user account to query insurance policy transactions — that account **must have at least read-only access** to the relevant tables in the AIM database (or a copy of it). To integrate with InsCipher, the IC keeps a persistent connection to InsCipher's Integration Management Servers (IMS) using socket technology. The IC must be able to reach IMS over the internet and maintain the connection using the built-in socket client. This lets InsCipher control when import jobs run. Using the MS SQL credentials configured in the IC, the client regularly queries the AIM database for new and updated insurance policy transactions and sends the results to InsCipher's API endpoints. Only the fields listed in the [field mapping](https://developer.inscipher.com/integrations/vertafore/aim/import-policy-data) — those required for surplus lines filing and for Connect® to function — are imported. Some AIM data is not imported due to field-mapping limitations. For technical questions, contact [support@inscipher.com](mailto:support@inscipher.com). ## AIM™ URL: https://developer.inscipher.com/integrations/vertafore/aim/overview Automates data-intensive surplus lines tasks between Vertafore AIM and InsCipher, including policy data import and payment batch reconciliation. This integration uses the on-premise AIM Integration Client to read surplus lines data from your local AIM database and push it into InsCipher. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency installs the InsCipher Integration Client on-premise and completes setup inside InsCipher Connect®, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration Client (IC) and import logic | ✓ | | | On-premise MS SQL Server (AIM database) and Windows host | | ✓ | | Read access to the AIM tables the IC queries | | ✓ | | Network access to InsCipher's Integration Management Server (IMS) | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** - Retrieves surplus lines policy data from AIM into InsCipher. > - Reconciles received and processed batch payments in AIM against InsCipher data. > **Note:** - It does not automatically pull documents associated with policy data (see the document workflow in [Import Policy Data](https://developer.inscipher.com/integrations/vertafore/aim/import-policy-data)). > - There is no Tax Calculation functionality yet. It is being researched for future phases. ### Technical installation details The Integration Client (IC) must be installed on-premise so it can reach the MS SQL machine over your private network. Ideally the IC runs on the machine hosting the MS SQL server itself, but it can connect to a copy of the live database as long as the field names match and access is granted through your firewall. Once installed, you configure the hostname and port of the MS SQL machine. The firewall and server software must allow connecting over the network. You also configure the IC to use a MS SQL user account to query insurance policy transactions — that account **must have at least read-only access** to the relevant tables in the AIM database (or a copy of it). To integrate with InsCipher, the IC keeps a persistent connection to InsCipher's Integration Management Servers (IMS) using socket technology. The IC must be able to reach IMS over the internet and maintain the connection using the built-in socket client. This lets InsCipher control when import jobs run. Using the MS SQL credentials configured in the IC, the client regularly queries the AIM database for new and updated insurance policy transactions and sends the results to InsCipher's API endpoints. Only the fields listed in the [field mapping](https://developer.inscipher.com/integrations/vertafore/aim/import-policy-data) — those required for surplus lines filing and for Connect® to function — are imported. Some AIM data is not imported due to field-mapping limitations. For technical questions, contact [support@inscipher.com](mailto:support@inscipher.com). ## Import Policy Data URL: https://developer.inscipher.com/integrations/vertafore/aim/import-policy-data A guide to automating the import of your agency's policy data from AIM to InsCipher. The Integration Client automatically extracts relevant surplus lines policy data from your local AIM® database and imports it into Connect® on a daily basis, typically around **2 AM Mountain Standard Time (MST)**. The import selects invoices whose post date falls in the import window and that meet either of these conditions: - The invoice is **exported and taxed** and is not an installment — from a developer's perspective, `StatusID = "E"`, `Taxed = "Y"`, and `InstallmentFlag = "N"` on the invoice header. - The invoice is a **memo invoice** in a reviewed or pending status — `MemoInvoiceFlag = "Y"` and `StatusID IN ("R", "P")`. Invoices in other statuses are not included because they may still change before being exported to accounting; importing only these invoices keeps the transaction list in Connect® cleaner and more current. In the standard import (no custom view), a transaction is additionally skipped unless at least one of its invoice detail lines is collected by the agency (`CollectedBy = "A"`). If your agency uses the [custom SQL view](#custom-sql-view-option), these conditions are defined inside your view instead — the integration then selects from the view by post date only. > **Warning:** The InsCipher Integration Tool always runs in the background, even after you reboot your server. All imported batches appear on the **Filings Import Log** page in Connect® for your review. > **Tip:** For plans billed in installments, it is best practice to charge the entire SL taxes and fees up front so they can be reported and paid to the state. If a policy later cancels, create an offsetting invoice so you can report the unrealized premium to the state and return the SL taxes and fees to the insured. > **Note:** Duplicate transactions with the same Invoice ID are not imported. They appear in the Filings Import Log as "Not Imported" transactions. ### 1. Set up a new integration in InsCipher Log into your Connect® account, then go to **Setup** in the left navigation → **Integrations** → **ADD NEW** to start the Integration Wizard. The wizard guides you through a four-step process. ![Integration Wizard — selecting Vertafore AIM](https://developer.inscipher.com/images/integrations/aim/step-1-agency-management-system.png) - Select **Vertafore AIM** and click **Continue**. - Select **Create Payment Batch** if you want to use the payment reconciliation feature (see [Create a Payment Batch](https://developer.inscipher.com/integrations/vertafore/aim/create-payment-batch)). - Under **Choose Physical State Field**, indicate which AIM value to use for the Physical / Tax State in Connect®: - **Quote State** pulls from the `Quote.State` field. - **Quote Tax State** pulls from the `Quote.TaxState` field. ### 2. Download and initialize the Integration tool In this step you download and install the InsCipher Integration Tool and receive your InsCipher Integration Token, which you use during installation. ![Integration Wizard — download tool and token](https://developer.inscipher.com/images/integrations/aim/step-2-download-token.png) > **Warning:** You have **10 minutes** to use the token before you need to regenerate it. ![InsCipher Integration Tool — SQL credentials and token](https://developer.inscipher.com/images/integrations/aim/integration-tool.png) During installation, enter your SQL Server login credentials and your Integration Token, then click **Connect** to link to InsCipher. Processing can take a few minutes. If you have trouble connecting, confirm that your SQL login credentials are correct and that the account has read-only access to all AIM tables the IC queries: - **For mappings:** `Division`, `Coverage`, `InvoiceTranCode`, `Product` - **For transaction export:** `InvoiceHeader`, `InvoiceDetail`, `Insured`, `Quote`, `Policy`, `Company`, `taaTaxInfo`, `Endorse`, `taaCompanyContract`, `taaContractSyndicate`, `taaPremiumAllocation`, `Producer` If problems persist, click **Send diagnostics** in the top-right corner of the Integration Client tool. > **Note:** Once the connection completes, you get an "Installation successful" message. The application continues running in the background and starts automatically with each reboot. To cancel, disconnect, or adjust the connection, click the application icon in the Windows tray menu. ### 3. Map division and coverage codes from AIM to InsCipher Complete the following mapping tables to configure the integration: - Agencies - User ID - Fees - Line of Business (LOB) - Filing Types #### Map Agencies Map the agencies or divisions in AIM to the agencies created in Connect®. You can map multiple AIM divisions to a single Connect® agency, or use a one-to-one relationship. You must map your agencies before the integration is fully set up. To create additional agencies, see the "Creating Agency Admin User" topic in the Getting Started help section. ![Agencies mapping](https://developer.inscipher.com/images/integrations/aim/map-agencies.png) #### Map Fees — reportable Broker and Carrier fees You decide which AIM fees import into Connect® as **Broker Fees** or **Carrier Fees**. The Fee Mapping section has three columns: 1. **AIM Transcode** — the transaction code pulled from your AIM instance. As pulled from AIM, these can include both taxes and fees. 2. **AIM TransCode Description** — the description of the fee associated with the AIM transaction code, pulled from your AIM instance. 3. **InsCipher Taxable Fee** — the InsCipher fee/tax field that the AIM Transcode and Description maps to. The dropdown under the InsCipher Taxable Fees column offers these options: - **Broker Fee** — fees charged or retained by the broker (policy fee, filing fee, agency fee, etc.) that must be reported to the state. - **Carrier Fee** — carrier-mandated fees added to the policy (inspection, underwriting, audit, etc.) that must be reported to the state. - **Do Not Import Fee as Broker or Carrier Fee** — choose this for any line item that is not a broker or carrier fee, specifically if you do not report the fee or amount to the state. ![Fee mapping section](https://developer.inscipher.com/images/integrations/aim/map-fees.png) ![InsCipher Taxable Fees dropdown options](https://developer.inscipher.com/images/integrations/aim/map-fees-options.png) > **Warning:** Although taxes are mapped automatically on import, they still appear in this section as needing to be mapped. For now, mark taxes as **Do Not Import Fee as Broker or Carrier Fee**. An enhancement to support both taxes and fees in this step is planned. #### Map Lines of Business — coverage codes Lines of business codes vary from system to system. Where possible, InsCipher has compiled state-specific approved coverage codes and mapped generic lines of business codes to them. For additional generic code options or questions about generic mapping, contact your implementation specialist or [support@inscipher.com](mailto:support@inscipher.com). > **Tip:** Use the **Mapped?** filter to view only the LOBs that still need to be mapped. > **Warning:** Select **All States** when configuring this feature. The ability to map to state-specific codes is not yet fully released. ![Line of Business mapping](https://developer.inscipher.com/images/integrations/aim/map-lines-of-business.png) #### Map Filing Types Filing/transaction types vary between AIM and InsCipher. Click the green **Add New** button to add an AIM transaction code for a filing type, then map it to an InsCipher filing type. Because this can vary for positive and negative amounts, you can set them differently to match your workflow. ![Filing Type mapping](https://developer.inscipher.com/images/integrations/aim/map-filing-types.png) ### 4. Summary Setup is now complete. If there is an issue, the system informs you and you can return to previous sections. You can also set up a manual trigger to import up to two weeks of historical data from your AIM® database. > **Note:** To prevent timeout errors, batches are grouped into 100 transactions. If you import more than 100 transactions at a time, they arrive as multiple batches in the Filings Import Log. ![Integration Wizard — Summary](https://developer.inscipher.com/images/integrations/aim/step-4-summary.png) > **Warning:** Regularly review the **Filings Import Log** to confirm all transactions import each day and to address any import errors. Import errors are described on the **Not Imported Filings** tab or by clicking a batch **Error Log**. Duplicate records are filtered out by Invoice ID. ### How the import works The integration uses a **push model**: the on-premise Integration Client reads your AIM database and sends transactions to InsCipher. The client supports two export paths. **Standard export.** The client queries AIM directly (InvoiceHeader, Quote, Policy, Company, and related tables) for invoices matching the criteria above, attaches each invoice's raw detail lines, and pushes them to InsCipher. In this path, taxes and fees (SL tax, stamping fee, and so on) and syndicate breakdowns are calculated on the InsCipher side from those detail lines and contract data, using your Taxes and Fees mapping. **Custom view export.** If your agency uses a [custom SQL view](#custom-sql-view-option), the client reads everything from that view, including pre-calculated taxes and fees. The custom view is also the only path that can supply several additional fields — declining carrier details (`dc_*`), service-of-process (`sop_*`), retail producer details, windstorm fields, and insured contact and limit fields. Fields marked "custom view only" in the mapping table are populated only through this path. **Transaction type.** The InsCipher transaction type is derived from the AIM invoice type (`InvoiceTypeID`): | AIM invoice type | InsCipher transaction type | | --- | --- | | NBS (New Business) | PN | | REN (Renewal) | PR | | ADD (Additional Premium) | APE | | AUD (Audit) | AE | | RMID (Reinstatement) | APE | | CXL (Cancellation) | RPE | | RET (Return Premium) | RPE | | ENX (Extension) | PR in Texas, otherwise APE | | Any other type | PN | **Defaulted fields.** A few fields are set to fixed values on export rather than read from AIM: `account_written_as` is set to B (Brokerage), `rpg` to 0, `commission_received` to 1, and `export_list` to 0, while `agent_notes` and `purchasing_group_name` are left empty. ### FAQs #### What if I need to change my integration settings? You can change your configuration after setup is complete. #### Regenerating your InsCipher token You may occasionally be asked to regenerate a new InsCipher Token, typically only after a major version update — InsCipher will let you know. In Connect®, go to **Setup → Integrations → Details** under the AIM integration → **Step 2** ("Integration Setup & Connect") → click **Regenerate Token**. Copy the token into the InsCipher Integration Tool: select the application icon in the Windows server tray menu → **Settings** → update the token → click **Connect**. #### How do I edit my SQL login credentials? Select the application icon in the Windows server tray menu → **Settings** → update your SQL login credentials → click **Connect**. #### Deleting the integration connection in Connect® Go to **Setup → Integrations** and click **Delete** next to the AIM® integration. If you delete it and later reconnect, you must restart the setup process from Step 1. #### What if there are updates to the application? Versions 1.6.0 and above support automatic updates. InsCipher communicates any changes so you are aware of updates to the integration tool. #### How will I know if there is an issue? There are a few ways: **Review the Filings Import Log.** All transactions imported via the Integration Tool appear on the Filings Import Log page (left navigation). It lists how many transactions imported on a given day and which did not. If there was an error, the batch ID appears as a blue link; click it to download an error log. In most cases the error is duplicate transactions filtered out by AIM invoice ID. You can also rerun the import. ![Filings Import Log with Error Log button](https://developer.inscipher.com/images/integrations/aim/faq-import-log.png) The **Not Imported Filings** tab summarizes all not-imported filings and can be filtered by import date. ![Not Imported Filings tab](https://developer.inscipher.com/images/integrations/aim/faq-not-imported.png) **Email and dashboard notifications.** If there is a field-mapping or connection issue, the Filing Agency Admin user receives an email notification, and you are notified on the Connect® dashboard. For a connection issue, first reset your token, then open the InsCipher Integration application on your server (tray icon) → **Settings**, paste the updated token, and click **Connect**. If the issue persists, contact [support@inscipher.com](mailto:support@inscipher.com). For an out-of-sync field, go to the Integrations page in Connect® and click **Details** next to the integration (status will show that mapping is needed); map any highlighted fields, using the **Mapped?** filter to find them. ### AIM field mapping The table below reflects what the import actually populates. A blank **Mapped AIM Field** means the field is not supplied by the integration. The **Requirement** is the field's status in the shared InsCipher transaction schema; the same tiers apply across all InsCipher integrations. Fields not listed here are not supplied by the AIM integration — they are entered in Connect® or required only at state filing time. **Legend:** R = Required · Rec = Recommended · O = Optional **Dashboard reference:** [lookerstudio.google.com](https://lookerstudio.google.com/reporting/41dce747-d045-4e1f-884d-07d23581a90a) | InsCipher Field | Mapped AIM Field | Notes | Requirement | | --- | --- | --- | --- | | id | InvoiceHeader.InvoiceKey_PK | | O | | policy_number | InvoiceHeader.PolicyID | Non-unique field | R | | policy_effective_date | Policy.Effective | | R | | policy_expiration_date | Policy.Expiration | | R | | transaction_effective_date | Policy.Effective | | R | | expiring_policy_number | Quote.OldPolicyID | | O | | invoice_date | InvoiceHeader.InvoiceDate | State-renamed in some states | Rec | | invoice_number | InvoiceHeader.InvoiceID | "Invoice ID" field on the Tracking tab in Filing Details | R | | transaction_type | InvoiceHeader.InvoiceTypeID | Custom — configured in Integration Settings | R | | account_written_as | B | Sent empty by the import; set during processing | O | | rpg | 0 (No) | Sent empty by the import | O | | purchasing_group_name | Not mapped | Sent empty by the import | O | | risk_description | Quote.RiskInformation (fallback: Quote.Description) | NY, OH, PA require manual entry post-import. Recommended populate for CA (SL1). | O | | ecp | Insured.IsECP | Defaults to "No" if unknown | O | | exempt | Quote.FlagTaxExempt | Imported value, not hardcoded | O | | multi_state | Quote.isMultiState | Imported value, not hardcoded | O | | policy_limit | taaTaxInfo.Limit1 | Required for some states. Only pulls if Policy Limit 1 enabled + populated. See dashboard link above. | O | | export_list | 0 (No) | Hardcoded | O | | transaction_line_of_business | Quote.CoverageID | Mapping defined in setup (Step 2: Field Mapping) | — | | transaction_line_of_business_list | InvoiceDetail.CoverageID | Parsed from the Coverage list (CoverageID), pipe-joined | R | | transaction_line_of_business_coverage | InvoiceDetail.Amount | Parsed from the Coverage list (Amount), pipe-joined | R | | non_admitted_insurer_code | Company.NAIC | NAIC must exist in AIM; Lloyd's = AA-1122000 | O | | non_admitted_insurer_code_list | Not mapped | | Rec | | non_admitted_insurer_code_coverage | Not mapped | | Rec | | syndicate_list | taaPremiumAllocation + taaCompanyContact + taaaContractNumber + SyndicateCompany | Weighted avg of contract/property % (Type S) | Rec | | syndicate_list_coverage | Same as above | Weighted avg calculation | Rec | | premium | InvoiceHeader.Premium | | O | | agency_fee | Integration mapping feature | Map agency-collected codes → "Broker Fee" | Rec | | inspection_fee | Integration mapping feature | Map carrier-collected codes → "Carrier" | Rec | | sl_tax | InvoiceDetail.Amount (TransCd = SLT) | | O | | stamping_fee | InvoiceDetail.Amount (TransCd = SOF) | Stamping Fee / FSLO / Fire Marshal (OR) | O | | sl_service_charge | InvoiceDetail.Amount (TransCd = SLSC, TXA) | OR, MS | O | | municipal_fee | InvoiceDetail.Amount (TransCd = MUNI, MUNIT) | KY | O | | fm_tax | InvoiceDetail.Amount (TransCd = FMT) | Fire Marshal Tax | O | | empa_tax | InvoiceDetail.Amount (TransCd = EMPA) | Florida EMPA Tax | O | | total | InvoiceHeader.InvoiceTotal | Premium + all taxes + fees | O | | commission_received | 1 (Yes) | Hardcoded. Review if NH commission not collected. | O | | mailing_insured_name | Quote.NamedInsured | Quote.NamedInsured; fallback Insured.NamedInsured | R | | mailing_address | Quote.MailAddress1 | Quote.MailAddress1; fallback Insured.MailAddress1 | R | | mailing_address2 | Quote.MailAddress2 | Quote.MailAddress2; fallback Insured.MailAddress2 | O | | mailing_city | Quote.MailCity | Quote.MailCity; fallback Insured.MailCity | R | | mailing_zip_code | Quote.MailZip | Quote.MailZip; fallback Insured.MailZip | R | | mailing_state_code | Quote.MailState | Quote.MailState; fallback Insured.MailState | R | | physical_same_as_mailing | Yes if addresses match | Sent as false by the import | R | | physical_address | Quote.Address1 | Quote.Address1; fallback Insured.Address1 | Rec | | physical_address2 | Quote.Address2 | Quote.Address2; fallback Insured.Address2 | O | | physical_city | Quote.City | Quote.City; fallback Insured.City | Rec | | physical_zip_code | Quote.Zip | Quote.Zip; fallback Insured.Zip | Rec | | physical_state_code | Quote.State (fallback: Insured.State) | Configurable in Setup → Integrations → Step 2 | R | | retail_producer_name | tnm.Name | Only if Account Written As = B | O | | retail_agency_name | p.Name | Only if Account Written As = B | O | | retail_address | p.Address1 | Only if Account Written As = B | O | | retail_address2 | p.Address2 | Only if Account Written As = B | O | | retail_city | p.City | Only if Account Written As = B | O | | retail_state | p.State | Only if Account Written As = B | O | | retail_zip | p.Zip | Only if Account Written As = B | O | | agent_notes | Null | Hardcoded blank | Rec | | transaction_code | Quote.SLA | NJ only | O | | customer_code | Quote.QuoteID | Unique quote/submission ID | — | | unique_id | Quote.SLA | Used for MO, IL, NY, etc. | O | | windstorm_exclusion | Not imported (custom view only) | | O | | windstorm_deductible | Not imported (custom view only) | | O | | agent_id | DivisionID | Mapped via Agency mapping; agencies mapped to "Do Not Import" are skipped | O | | invoice_type_id | InvoiceHeader.InvoiceTypeID | | — | | product_id | InvoiceHeader.ProductID | | — | | entity | InvoiceHeader.Entity | | — | | payable_id | InvoiceHeader.PayableID | | — | | pay_to_code | InvoiceHeader.PayToCode | | — | | physical_tax_state_code | Quote.TaxState | Configurable physical/tax state | — | | single_contract | SingleContract (JSON) | Syndicate/contract data | — | | multi_contract | MultiContract (JSON) | Syndicate/contract data | — | | endorsement_effective | Endorsements (JSON) | Latest endorsement effective date | — | | endorsement_number | Endorsements (JSON) | Latest endorsement number | — | ### Custom SQL view option For some partners, the standard SQL query and transaction code mapping may not be adequate and may require customization. If you need it, use the custom view feature, which lets AIM users create custom views in AIM that the InsCipher AIM integration tool can later retrieve. Advantages: - AIM users control what data feeds into InsCipher. - AIM users can identify edge cases and modify the custom view SQL accordingly. - Maintenance is simpler — no frequent re-installation or tool updates. > **Warning:** Only use the Custom View feature if necessary. Otherwise, use the standard SQL query and transaction code mapping built into the AIM Integration setup wizard and do **not** turn this feature on. The AIM user creates a custom view containing the filings/transactions and related information to feed to InsCipher. The view is saved on the same AIM database connected to the InsCipher Integration tool. With a custom view, the Transaction Code mapping settings in Connect® are ignored — meaning the mapping of which fees import as Carrier or Broker fees must be programmed into the view, and amounts for SL Taxes, Stamping Fees, and other state-specific fees must be specified in the view. > **Tip:** InsCipher has default field names for tax titles, but these can vary slightly by state. See the tax-title mapping sheet for reference. **Step 1** — As a Connect® user, go to the AIM tool integration wizard → Step 1 (Agency Management System), check the **Use custom view** setting, and enter a custom view name. ![Use custom view setting in Integration Wizard Step 1](https://developer.inscipher.com/images/integrations/aim/custom-view-setting.png) **Step 2** — Ask your AIM database admin to create and save a custom SQL view on the same AIM database connected to the InsCipher Integration Tool. The view name must match the name referenced in Step 1. #### Custom SQL view (starting point) Here is the out-of-the-box custom SQL view your company can use as a starting point and modify as needed: ```sql CREATE VIEW [dbo].[InsCipherCustomView] AS WITH CTE AS (SELECT ih.InvoiceKey_PK, ih.InvoiceID, ih.PolicyID, ih.QuoteID, ih.InvoiceTypeID, ih.Premium, ih.InvoiceTotal, ih.InvoiceDate, ih.ProductID, ih.DivisionID, ih.Entity, ih.PayableID, ih.PayToCode, ih.InsuredID, ih.CompanyID, ih.PostDate FROM InvoiceHeader ih WHERE ((ih.StatusID = 'E' AND ih.Taxed = 'Y' AND ih.InstallmentFlag = 'N') OR(ih.MemoInvoiceFlag = 'Y' AND ih.StatusID IN('R', 'P'))) ) SELECT h.InvoiceKey_PK, h.InvoiceID, h.PolicyID, h.QuoteID, h.InvoiceTypeID, h.Premium, h.InvoiceTotal, h.InvoiceDate, h.ProductID, h.Entity AS Entity, h.PayableID AS PayableID, h.PayToCode AS PayToCode, h.PostDate, h.DivisionID AS DivisionID, p.Effective, p.Expiration, q.OldPolicyID, q.CoverageID, i.IsECP, q.RiskInformation AS RiskInformation, q.NamedInsured AS NamedInsured, q.MailAddress1 AS MailAddress1, q.MailAddress2 AS MailAddress2, q.MailCity AS MailCity, q.MailState AS MailState, q.MailZip AS MailZip, q.Address1 AS Address1, q.Address2 AS Address2, q.City AS City, q.Zip AS Zip, q.State AS State, q.SLA AS SLA, q.TaxState AS TaxState, q.FlagTaxExempt AS FlagTaxExempt, q.isMultiState AS isMultiState, ic.NAIC AS NAIC, ti.Limit1 AS Limit1, i.NamedInsured AS InsuredNamedInsured, i.MailAddress1 AS InsuredMailAddress1, i.MailAddress2 AS InsuredMailAddress2, i.MailCity AS InsuredMailCity, i.MailState AS InsuredMailState, i.MailZip AS InsuredMailZip, i.Address1 AS InsuredAddress1, i.Address2 AS InsuredAddress2, i.City AS InsuredCity, i.Zip AS InsuredZip, i.State AS InsuredState, q.Description AS RiskInformationFromDescription, d.AgencyFee, d.InspectionFee, d.StampingFee, d.SlTax, d.EmpaTax, d.FmTax, d.MunicipalFee, d.SlServiceCharge, NULL AS InsuredEntity, NULL AS InsuredPhone, NULL AS InsuredEmail, NULL AS InsuredCounty, NULL AS PropertyLimit, NULL AS LayeredRisk, NULL AS BrokerOfRecord, NULL AS RiskRetentionGroup, NULL AS ServiceOfProcessName, NULL AS ServiceOfProcessAddress, NULL AS ServiceOfProcessAddress2, NULL AS ServiceOfProcessCity, NULL AS ServiceOfProcessState, NULL AS ServiceOfProcessZip, NULL AS WindStormExclusion, 0 AS WindStormDeductible, NULL AS DecliningCarriers, STUFF((SELECT ' | ' + details.CoverageID + ' ^ ' + CONVERT(varchar(255),details.Amount, 0) FROM InvoiceDetail AS details WHERE details.InvoiceKey_FK = h.InvoiceKey_PK AND details.LineTypeID = 'P' FOR XML PATH(''),TYPE).value('.','varchar(MAX)'),1,3,'') AS Coverage, pr.Name AS RetailProducerName, pr.Name AS RetailAgencyName, pr.Address1 AS RetailAddress, pr.Address2 AS RetailAddress2, pr.City AS RetailCity, pr.Zip AS RetailZip, pr.State AS RetailState, pr.License AS RetailProducerLicense, pr.License AS RetailAgencyLicense, pr.Phone AS RetailPhoneNumber, pr.EMail AS RetailEmailAddress FROM CTE AS h (NOLOCK) JOIN Insured AS i (NOLOCK) ON h.InsuredID = i.InsuredID JOIN Quote AS q (NOLOCK) ON h.QuoteID = q.QuoteID JOIN POLICY AS p (NOLOCK) ON h.QuoteID = p.QuoteID LEFT OUTER JOIN Company AS ic (NOLOCK) ON h.CompanyID = ic.CompanyID LEFT OUTER JOIN taaTaxInfo AS ti (NOLOCK) ON h.QuoteID = ti.QuoteID LEFT OUTER JOIN Producer AS pr (NOLOCK) ON q.ProducerID = pr.ProducerID AND q.TaxState = 'WA' AND GETDATE() BETWEEN q.Effective AND q.Expiration LEFT JOIN ( SELECT id.InvoiceKey_FK, SUM(CASE WHEN id.TransCd IN('ADF','AGCYF','ABF','CFF','JBL','MGF','MVR','OMNI','PLF','FEE','RMF','SVF','SLF','TPF','PRODF') THEN id.Amount ELSE 0 END) AS AgencyFee, SUM(CASE WHEN id.TransCd IN('LLF','EC','INF','MAF','AUF','ATF','MBF','IN2','MMVR','CPF','MRM','WCA','WCS','UNF') THEN id.Amount ELSE 0 END) AS InspectionFee, SUM(CASE WHEN id.TransCd IN('SOF') OR(hh.State='AK' AND id.TransCd='AKFF') OR(hh.State='KY' AND id.TransCd='KFE') OR(hh.State='MI' AND id.TransCd='REGF') OR(hh.State='OR' AND id.TransCd='FM') OR(hh.State='PR' AND id.TransCd='NIMAF') OR(hh.State='SD' AND id.TransCd='NIMAF') OR(hh.State='TN' AND id.TransCd='TNTRN') OR(hh.State='UT' AND id.TransCd='NIMAF') OR(hh.State='VI' AND id.TransCd='VIFF') OR(hh.State='VA' AND id.TransCd='VAF') OR(hh.State='WY' AND id.TransCd='NIMAF') THEN id.Amount ELSE 0 END) AS StampingFee, SUM(CASE WHEN id.TransCd IN('SLT') OR(hh.State='MT' AND id.TransCd='FP') OR(hh.State='NJ' AND id.TransCd='FFA') THEN id.Amount ELSE 0 END) AS SlTax, SUM(CASE WHEN id.TransCd IN('EMPA') OR(hh.State='FL' AND id.TransCd='FEM') THEN id.Amount ELSE 0 END) AS EmpaTax, SUM(CASE WHEN id.TransCd IN('FMT') OR(hh.State='AK' AND id.TransCd='WMT') OR(hh.State='IL' AND id.TransCd='ILS') OR(hh.State='MT' AND id.TransCd='FM') OR(hh.State='SC' AND id.TransCd='SCMMA') OR(hh.State='SD' AND id.TransCd='SDFIR') THEN id.Amount ELSE 0 END) AS FmTax, SUM(CASE WHEN id.TransCd IN('MUNI','MUNIT') THEN id.Amount ELSE 0 END) AS MunicipalFee, SUM(CASE WHEN id.TransCd IN('SLSC','TXA') OR(hh.State='MS' AND id.TransCd='MWUA') THEN id.Amount ELSE 0 END) AS SlServiceCharge FROM InvoiceDetail AS id LEFT JOIN InvoiceHeader AS hh ON id.InvoiceKey_FK = hh.InvoiceKey_PK GROUP BY id.InvoiceKey_FK ) AS d ON h.InvoiceKey_PK = d.InvoiceKey_FK ``` ### Importing documents > **Tip:** Many AIM clients choose, for now, to add documents to InsCipher only for the "State Export states" that require them — the states where InsCipher can batch file (programmatically or via an import file). With this workflow, most filing documents can be marked **Optional** in Connect®, so they don't need to be stored in InsCipher. You then only import documents for the states that require them for batch filing: **California, Mississippi, New Jersey, New York, Oregon, Pennsylvania, Washington**. For all other states, you can store policy documentation in ImageRight. ## Create a Payment Batch URL: https://developer.inscipher.com/integrations/vertafore/aim/create-payment-batch How to create a payment reconciliation batch in the Vertafore AIM® accounting module using the InsCipher Connect® State Reporting Task (SRT) feature and integration. In Vertafore AIM®, creating payment reconciliation batches normally requires selecting transactions (invoices) one at a time, which can take hours in high-volume states and risks human error. InsCipher's engine has the various state reporting and payment rules built in — maintained by InsCipher's compliance team — and automatically groups transactions submitted into Connect® into relevant chunks based on state reporting and payment requirements. These groups appear in Connect® as a task assigned to a filer or accountant with a state due date. When an SL Tax or Stamping Fee payment is ready, a user clicks a button in Connect® to automatically create a payment reconciliation batch in AIM® in an unposted status. ### Prerequisites You must be contracted with InsCipher and have the AIM® integration tool set up on your AIM® SQL Server. For setup, see [Import Policy Data](https://developer.inscipher.com/integrations/vertafore/aim/import-policy-data). #### Database permissions Before using this feature, ensure InsCipher is permissioned to perform the following procedures on the AIM® AFD database: - GetKeyField — function - spacGetBankAccount — function - Batchttl — write permission to the table - spacChkGetPayeeDetail — function - spacPostActivity — function - tacCheck — write permission to the table - AP — read from the table permission - spacChkCreatePendingPay — function - spacChkSumCheckAmount — function > **Note:** InsCipher does not need permission to the individual tables within every section of the AFD database — only permission to execute the procedures in general. ### Setup If you have completed the prerequisites, configuring the payment batch feature in Connect® is straightforward: **Step 1** — Ensure the AIM® integration tool is installed and connected to your SQL database. **Step 2** — Go to **Setup → Integrations → Details → Step 1 "Agency Management System"**, enable the **Create Payment Batch** setting, and click **Continue** to save, then exit the section. ![Enable Create Payment Batch](https://developer.inscipher.com/images/integrations/aim/payment-batch-enable.png) **Step 3** — On the **Field Mapping** page, ensure the **User ID Mapping** is set for each user. This is the user associated with the payment batch created in AIM. ![User ID mapping](https://developer.inscipher.com/images/integrations/aim/payment-batch-user-id-mapping.png) **Step 4** — Provide your implementation manager a report with four columns. They will set up your PayeeID mapping in the InsCipher backend settings (a customer-facing mapping table is planned for a later iteration): 1. State 2. TaxCode ID 3. Payee ID 4. Payee Code > **Warning:** This mapping is critical to setup — without it, the feature will not work. Contact your Implementation Manager or support with questions. ### How to create a payment batch Once set up, create a payment batch from the State Reporting Task module in Connect®. **Step 1** — In the State Reporting Task module, find a payment task that needs to be completed and open its details page. **Step 2** — Review the task to confirm the correct transactions are in the **Related Filings** section. You can view the filings via the link or download a CSV to review. **Step 3** — Once verified and ready to pay, add the **Payment Approved** date. This makes a button appear; click **CREATE PAYMENT BATCH IN AIM**. ![Create Payment Batch in AIM button](https://developer.inscipher.com/images/integrations/aim/payment-batch-create-button.png) **Step 4** — Confirm by clicking **YES**. A payment batch is generated in your AIM® accounting database. ![Payment batch confirmation](https://developer.inscipher.com/images/integrations/aim/payment-batch-confirm.png) ### Response and validation messages If there are errors, they display. Otherwise you see a success message: ![AIM batch payment created successfully](https://developer.inscipher.com/images/integrations/aim/created-successfully.png) The status also appears at the bottom of the Task Details section: ![AIM Payment Batch status — Pending](https://developer.inscipher.com/images/integrations/aim/pending.png) A payment batch is created for each PayeeID associated with the AIM® invoice transactions included in the State Reporting Task. The system uses the mapping from setup to create a batch in AIM with the correct PayeeID. If any AIM® invoice transactions have an incorrect PayeeID on the invoice header, they are flagged in the error messages. To view the error message, click the **Summary** link next to the status. ![AIM Payment Batch Summary — failed with Summary link](https://developer.inscipher.com/images/integrations/aim/failed.png) > **Danger:** Once the "Create Payment Batch in AIM" action is performed, it cannot be undone or modified within the InsCipher portal. Later modifications must be made directly in Vertafore AIM®. > **Warning:** Only transactions imported into InsCipher using the AIM® integration tool and that have a valid Invoice Number can be exported back into AIM® via payment batches. This feature is not designed to be used separately from importing transactions. Validation errors appear if you attempt to create a payment batch without a valid AIM invoice number. ### Next step After this action completes, go into AIM® and review the payment batch in the **Tax Payables** section of your AIM® Accounting Module. To edit the batch, do so in Tax Payables. Once it looks correct, post it and continue creating checks. ## Troubleshooting URL: https://developer.inscipher.com/integrations/vertafore/aim/troubleshooting Helpful detail for understanding common AIM integration errors. ### Integration Connection is Lost If the connection is lost, these initial steps can help resolve the issue quickly: 1. **Review your organization's network settings.** Confirm that the URL where the AIM integration service runs, [https://ims.surpluslines.inscipher.com](https://ims.surpluslines.inscipher.com), is not blocked by your organization's network or firewall. 2. **Manually restart the integration service and regenerate the token.** From the Windows Command Prompt (WIN + CMD), in the directory where the integration client is active, run: ```shell net stop "InsCipher AIM Integration" net start "InsCipher AIM Integration" ``` The service should confirm that it stopped and started again successfully. Once complete, go to Integration Wizard Step 2 and regenerate a new token. For any other errors, contact [InsCipher support](mailto:support@inscipher.com). ## AMS360™ URL: https://developer.inscipher.com/integrations/vertafore/ams360/overview Automates the import of surplus lines policy data from Vertafore AMS360 into InsCipher using Vertafore's OData connection method. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency sets up Vertafore OData access and completes setup inside InsCipher Connect®, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration tool and import logic | ✓ | | | AMS360 OData subscription (via Vertafore) | | ✓ | | Vertafore Developer Portal OData app and OAuth credentials | | ✓ | | AMS360 Activity/Suspense and EMS configuration | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** Uses Vertafore's OData connection method to automatically retrieve policy data from AMS360 into InsCipher. > **Note:** - It cannot pull documents associated with policy data. > - There is no Tax Calculation or Payment Reconciliation functionality yet. Both are being researched for future phases. ### Before you start This service is not available to all partners. At a minimum, you must be subscribed through Vertafore to the AMS360 **OData connection method**. If you are an AMS360 customer but don't use the OData connection, contact your Vertafore representative or account manager to find out whether it can be set up for your agency. ### Set up Vertafore OData access This setup happens in Vertafore's Developer Portal. Because Vertafore's portal screens change over time, follow Vertafore's official guide and use the steps below as an outline: [Vertafore API Developer Portal — Getting Started](https://help.vertafore.com/devportal/content/getstarted/gettingstarted.htm). 1. **Obtain a Vertafore API Developer Portal account** for your agency. If you are new to this, work with your Vertafore contact to set it up. 2. **Create a new OData app** under **My Applications** in the [developer portal](https://developer.vertafore.com/portal/MyApps#/). Fill in Name, Description, and Contact Email, and add the application. It starts in *sandbox* mode. 3. **Ask Vertafore support to push the sandbox app to Live.** This adds a Live tab alongside sandbox in your app overview. 4. **Apply the AMS360 OData API and its scopes to the sandbox app.** In the Required APIs block, click View / Manage APIs, set the AMS360 OData API toggle to Yes, then under Scopes click Add/Remove and toggle all scopes to Yes. 5. **Sync the sandbox app's API and scopes to Live.** From the app overview, click Sync Application to Live and confirm. The OData API scopes then appear under Required APIs for the Live app. Gather these four OAuth credentials from your **Live** app — you will enter them in Step 1 of the InsCipher integration wizard: | Credential | Where to find | | --- | --- | | Email | My Applications → your Live OData app → Application Information → Contact Email | | Instance / Agency ID | In AMS360 under Agency or Company Information, or shown when selecting the Agency at login. If you can't find it, contact your Vertafore representative. | | Username | My Applications → your Live OData app → OAuth Credentials → Show Details → Client ID | | Password | My Applications → your Live OData app → OAuth Credentials → Show Details → Client Secret | ### Configure AMS360 A few settings are required in AMS360 so InsCipher can pull invoice activity. In AMS360, go to the **Administration** tab → **Agency Overview** → **Activity/Suspense Setup**. In the Checkpoints table, enable (check **Active** and **Require Activity**) these three settings (you may need to click **Edit** first): - Invoice (Posting) Center Billed Only - Invoice (Void) - Invoice Correction (Posting) For the current AMS360 screens, see Vertafore's AMS360 documentation. #### EMS Settings (optional) EMS is optional. If your agency uses it, select **Enable Additional EMS Service** in Step 1 of the wizard to reveal the EMS Settings fields, then provide: - App Key - Agency No - EMS Username - EMS Password Once you have your OAuth credentials and AMS360 is configured, continue to [Import Policy Data](https://developer.inscipher.com/integrations/vertafore/ams360/import-policy-data) to run the setup wizard. ## AMS360™ URL: https://developer.inscipher.com/integrations/vertafore/ams360/overview Automates the import of surplus lines policy data from Vertafore AMS360 into InsCipher using Vertafore's OData connection method. ### Ownership & responsibilities This integration is **built and maintained by InsCipher**. Your agency sets up Vertafore OData access and completes setup inside InsCipher Connect®, with support from the InsCipher team. The table below shows who handles what. | Area | InsCipher | Your agency | | --- | --- | --- | | Integration tool and import logic | ✓ | | | AMS360 OData subscription (via Vertafore) | | ✓ | | Vertafore Developer Portal OData app and OAuth credentials | | ✓ | | AMS360 Activity/Suspense and EMS configuration | | ✓ | | Field mapping in the Integration Wizard | ✓ | | | Surplus-lines tax rates and compliance updates | ✓ | | | Integration support and maintenance | ✓ | | > **Tip:** Uses Vertafore's OData connection method to automatically retrieve policy data from AMS360 into InsCipher. > **Note:** - It cannot pull documents associated with policy data. > - There is no Tax Calculation or Payment Reconciliation functionality yet. Both are being researched for future phases. ### Before you start This service is not available to all partners. At a minimum, you must be subscribed through Vertafore to the AMS360 **OData connection method**. If you are an AMS360 customer but don't use the OData connection, contact your Vertafore representative or account manager to find out whether it can be set up for your agency. ### Set up Vertafore OData access This setup happens in Vertafore's Developer Portal. Because Vertafore's portal screens change over time, follow Vertafore's official guide and use the steps below as an outline: [Vertafore API Developer Portal — Getting Started](https://help.vertafore.com/devportal/content/getstarted/gettingstarted.htm). 1. **Obtain a Vertafore API Developer Portal account** for your agency. If you are new to this, work with your Vertafore contact to set it up. 2. **Create a new OData app** under **My Applications** in the [developer portal](https://developer.vertafore.com/portal/MyApps#/). Fill in Name, Description, and Contact Email, and add the application. It starts in *sandbox* mode. 3. **Ask Vertafore support to push the sandbox app to Live.** This adds a Live tab alongside sandbox in your app overview. 4. **Apply the AMS360 OData API and its scopes to the sandbox app.** In the Required APIs block, click View / Manage APIs, set the AMS360 OData API toggle to Yes, then under Scopes click Add/Remove and toggle all scopes to Yes. 5. **Sync the sandbox app's API and scopes to Live.** From the app overview, click Sync Application to Live and confirm. The OData API scopes then appear under Required APIs for the Live app. Gather these four OAuth credentials from your **Live** app — you will enter them in Step 1 of the InsCipher integration wizard: | Credential | Where to find | | --- | --- | | Email | My Applications → your Live OData app → Application Information → Contact Email | | Instance / Agency ID | In AMS360 under Agency or Company Information, or shown when selecting the Agency at login. If you can't find it, contact your Vertafore representative. | | Username | My Applications → your Live OData app → OAuth Credentials → Show Details → Client ID | | Password | My Applications → your Live OData app → OAuth Credentials → Show Details → Client Secret | ### Configure AMS360 A few settings are required in AMS360 so InsCipher can pull invoice activity. In AMS360, go to the **Administration** tab → **Agency Overview** → **Activity/Suspense Setup**. In the Checkpoints table, enable (check **Active** and **Require Activity**) these three settings (you may need to click **Edit** first): - Invoice (Posting) Center Billed Only - Invoice (Void) - Invoice Correction (Posting) For the current AMS360 screens, see Vertafore's AMS360 documentation. #### EMS Settings (optional) EMS is optional. If your agency uses it, select **Enable Additional EMS Service** in Step 1 of the wizard to reveal the EMS Settings fields, then provide: - App Key - Agency No - EMS Username - EMS Password Once you have your OAuth credentials and AMS360 is configured, continue to [Import Policy Data](https://developer.inscipher.com/integrations/vertafore/ams360/import-policy-data) to run the setup wizard. ## Import Policy Data URL: https://developer.inscipher.com/integrations/vertafore/ams360/import-policy-data To connect your AMS360 instance to InsCipher and start importing policy data, complete the four-part process in the InsCipher Integration Wizard. To open the wizard, log into your Connect® account, then go to the **Settings** cog (top-right) → **Integrations** → **ADD NEW**. Select **Vertafore AMS360** from the dropdown to add the integration. ### 1. Setup & Connection Enter the credentials gathered during [setup](https://developer.inscipher.com/integrations/vertafore/ams360/overview) — **Email**, **Instance Id**, **Username** (Client ID), and **Password** (Client Secret). These four fields are required to continue to Step 2. Two optional settings are also available here: - **Import Transactions in a Saved status** — include transactions that are still in a Saved status. - **Enable Additional EMS Service** — turns on the EMS connection and reveals the **EMS Settings** fields. Leave it off if your agency doesn't use EMS. ![Integration Wizard Step 1 — Agency Management System settings](https://developer.inscipher.com/images/integrations/ams360/step-1-agency-management-system.png) ### 2. Initiate Mappings and install API connection InsCipher establishes the connection to your AMS360 instance and pulls the fields needed for the mapping in Step 3. Unless the wizard reports an API connection error or a problem retrieving mapping data, no manual input is needed here — continue to Step 3. ![Integration Wizard Step 2 — Integration Setup & Connection](https://developer.inscipher.com/images/integrations/ams360/step-2-connection.png) ### 3. Field Mapping After the connection completes and the Integration Tool syncs with Connect®, map the data pulled from AMS360 to standard InsCipher values so the two systems stay in parity. You must complete all of these tables before continuing to Step 4: - Taxes and Fees - Line of Business (LOB) - Business Units - Filing Types - Insurance Companies #### Map Taxes and Fees The integration pulls both the AMS Code and AMS Description for each AMS360 tax or fee. For each AMS Code line item, choose a value in the dropdown under InsCipher Taxable Fees and State Taxes. The options are: - Do Not Import - Broker Fee - Carrier Fee - Stamping Fee - Sl Tax - EMPA Tax - FM Tax - Municipal Fee - Sl Service Charge ![Taxes and Fees mapping table](https://developer.inscipher.com/images/integrations/ams360/map-taxes-and-fees.png) #### Map Lines of Business Map the derived AMS codes for each Line of Business (LOB) to an InsCipher Generic Line of Business code. Use the [State Specific to Generic LOB mapping worksheet](https://lookerstudio.google.com/reporting/41dce747-d045-4e1f-884d-07d23581a90a) or the simpler [Generic Lines of Business worksheet](https://lookerstudio.google.com/reporting/41dce747-d045-4e1f-884d-07d23581a90a/page/p_4q66kh8crc). If needed, map specific LOB codes per AMS code under the **InsCipher State Specific Codes** column, where you can select a state and LOB description. See also Vertafore's reference on [Line of Business in AMS360](https://help.vertafore.com/ams360/content/contextsensitive/system_admin/cssetuplineofbusiness.htm). ![Line of Business mapping table](https://developer.inscipher.com/images/integrations/ams360/map-lines-of-business.png) #### Map Business Units In the **Business Unit Map** section, enable or disable the import of policy data for each AMS360 business unit tag. By default, the integration can pull business unit information down to the Group level. Under the **Import** column, choose whether to enable import; the default state is **Import Disabled**. See also Vertafore's reference on [Business Units in AMS360](https://help.vertafore.com/AMS360/content/contextsensitive/system_admin/cssetupbusinessunit.htm). ![Business Unit Map table](https://developer.inscipher.com/images/integrations/ams360/map-business-units.png) #### Map Filing Types Filing/transaction type naming differs between AMS360 and InsCipher. The **Filing Types Mapping table** lets you map each type, with the option to use a different type for positive and negative amounts to match your workflow. AMS360 Policy Transaction Codes appear under the **AMS Transaction Type** column with their **Comments** (description). Map each to an InsCipher transaction type using the InsCipher Positive Premium Filing Code and/or Negative Premium Filing Code dropdowns. The InsCipher transaction types are: - PN (New Policy) - PR (Renewal Policy) - APE (Additional Premium Endorsement) - RPE (Return Premium Endorsement) - AE (Audit Endorsement) - FC (Flat Cancellation) - ZPE (Zero Premium Endorsement) - PC (Pro Rata Cancellation) - XE (Extension Endorsement) - RI (Reinstatement) - BO (Back-out / Reversal) - BD (Binder) See also Vertafore's reference on [Policy Transaction Codes in AMS360](https://help.vertafore.com/AMS360/content/popuptext/ptpolicy_tran_codes.htm). ![Filing Types mapping table](https://developer.inscipher.com/images/integrations/ams360/map-filing-types.png) #### Map Insurance Companies Insurance Company Code and Name are pulled from AMS360 and shown in the first two columns. In the third column, **InsCipher Insurance Company**, map each AMS360 company to the corresponding Insurance Company on record in InsCipher. ![Insurance Company mapping table](https://developer.inscipher.com/images/integrations/ams360/map-insurance-companies.png) ### 4. Summary Step 4 reviews the completed steps and any outstanding issues. When the Summary items are all checked complete, the integration has no outstanding issues. ![Integration Wizard Step 4 — Summary](https://developer.inscipher.com/images/integrations/ams360/step-4-summary.png) > **Note:** A connection made during the day may not populate policy data until the next day, because of the integration's cadence. If data hasn't appeared in the Filings Import Log by the next day, contact InsCipher support. You can also pull up to two weeks of historical data using **Trigger a Manual Import**. The date picker is limited to two weeks prior to the current date. ![Trigger a Manual Import](https://developer.inscipher.com/images/integrations/ams360/trigger-manual-import.png) After submitting a manual import, it can take up to 30 minutes for the data to appear in the Filings Import Log. Any errors or status issues with the integration also appear on this page. ### How the import works The integration uses an **OData pull model**: InsCipher reads your AMS360 instance directly through Vertafore's OData connection on a daily cadence (typically around 2 AM MST), importing the previous day's activity. A manual import covers a date range you choose. **How invoices are selected.** InsCipher reads AMS360 **activity** records for the import window and picks up invoices from posting activity (`Invoice (Posting)`) and voids from void activity (`Invoice (Void)`). This is why the three Activity/Suspense checkpoints described in [setup](https://developer.inscipher.com/integrations/vertafore/ams360/overview#configure-ams360) must be enabled. For each posted invoice, InsCipher then loads the related policy and customer. **What gets skipped.** An invoice is skipped if its business unit is set to **Import Disabled**, if its agency (GL Division) is mapped to **Do Not Import**, or if the policy or customer record can't be found. An invoice is imported only if it is a **surplus-lines policy** — determined when one of its charges maps to SL Tax (or a charge description matches a surplus-lines pattern). Non-surplus-lines invoices are skipped. **Premium, lines of business, and insurers.** Premium is the sum of the invoice's premium-line amounts. Line of Business and non-admitted insurer (NAIC) values are aggregated per code, with a matching coverage breakdown — for insurers, each NAIC's share is expressed as a percentage of premium. NAIC is resolved from the writing company through your Insurance Company mapping. **Taxes and fees.** Tax and fee lines are summed into their InsCipher buckets (SL tax, stamping fee, agency/broker fee, inspection/carrier fee, and so on) using your Taxes and Fees mapping. Non-billable policy charges are included in the same way. The transaction total is premium plus all mapped taxes and fees. **Transaction type.** The InsCipher transaction type is derived from the AMS360 invoice transaction-type code through your Filing Types mapping, resolved by the sign of the premium (the positive or negative mapping you configured). **Addresses.** The mailing address comes from the customer record. The physical address comes from the policy's first commercial location, if one exists; otherwise the physical address is treated as the same as the mailing address. If a location's state is blank, the import falls back to the customer's state and notes this on the transaction. **Policy limit.** For states that require it, InsCipher derives the policy limit from the policy's coverage limits. **Voids.** When an invoice is voided in AMS360 during the import window, InsCipher voids the previously imported transaction — but only when a matching imported transaction exists and hasn't already been voided. Voided invoices are excluded from the regular import. **Saved status.** If **Import Transactions in a Saved status** is enabled, transactions are imported in a Saved status. Transactions that are missing insurer or line-of-business information are also brought in as Saved so you can review them before filing. **Defaulted fields.** A few fields are set to fixed values rather than read from AMS360: `rpg`, `dba`, and `multi_state` default to false. `account_written_as` is derived from whether the customer is a broker customer (B for Brokerage, otherwise DC). ### AMS360 field mapping The table below reflects what the import actually populates. A blank **AMS360 source** means the field is not supplied by the integration. The **Requirement** is the field's status in the shared InsCipher transaction schema; the same tiers apply across all InsCipher integrations. Fields not listed here are not supplied by the AMS360 integration — they are entered in Connect® or required only at state filing time. **Legend:** R = Required · Rec = Recommended · O = Optional | InsCipher Field | AMS360 source | Notes | Requirement | | --- | --- | --- | --- | | id | Invoice.InvoiceId | | O | | policy_number | Policy.PolicyNumber | | R | | policy_effective_date | Policy.EffectiveDate | | R | | policy_expiration_date | Policy.ExpiryDate | | Rec | | transaction_effective_date | Policy.EffectiveDate or Invoice.InvoiceEffectiveDate | Policy effective date for new business and renewals; invoice effective date otherwise | R | | invoice_date | Invoice.InvoiceDate | | Rec | | invoice_number | Invoice.InvoiceNumber | | Rec | | transaction_type | invoice transaction TransactionType | Mapping required; resolved by the sign of premium | R | | account_written_as | Customer.IsBrokerCustomer | Broker customer maps to B (Brokerage); otherwise DC (Direct to Client) | R | | rpg | 0 | Hardcoded false | R | | dba | 0 | Hardcoded false | O | | multi_state | 0 | Hardcoded false | O | | risk_description | policy Nature of Business (Description) | | O | | transaction_line_of_business_list | invoice transaction LineOfBusiness | Mapped to LOB; aggregated per code, sorted, pipe-joined | R | | transaction_line_of_business_coverage | invoice transaction GrossAmount | Summed per LOB code, pipe-joined | R | | non_admitted_insurer_code_list | invoice transaction WritingCompanyCode → NAIC | Resolved via the company list and Insurance Company mapping; pipe-joined | Rec | | non_admitted_insurer_code_coverage | invoice transaction GrossAmount | Each insurer's share of premium as a percentage; pipe-joined | Rec | | premium | invoice transaction GrossAmount (premium lines) | Sum of premium-line amounts | O | | agency_fee | invoice transaction fee/tax lines | Broker Fee; summed by Taxes and Fees code mapping | R | | inspection_fee | invoice transaction fee/tax lines | Carrier Fee; summed by Taxes and Fees code mapping | R | | sl_tax | invoice transaction fee/tax lines | Summed by Taxes and Fees code mapping | O | | stamping_fee | invoice transaction fee/tax lines | Summed by Taxes and Fees code mapping | O | | sl_service_charge | invoice transaction fee/tax lines | Summed by Taxes and Fees code mapping | O | | municipal_fee | invoice transaction fee/tax lines | Summed by Taxes and Fees code mapping | O | | fm_tax | invoice transaction fee/tax lines | Summed by Taxes and Fees code mapping | O | | empa_tax | invoice transaction fee/tax lines | Summed by Taxes and Fees code mapping | O | | total | computed | Premium plus all mapped taxes and fees | O | | insured_email | Customer.EMail | | O | | insured_phone | Customer business phone, or cell phone | Business phone (with area code) when present; otherwise cell phone | O | | policy_limit | policy coverage limits | Largest applicable coverage limit; only for states that require a policy limit | O | | mailing_insured_name | Customer.FirmName, or FirstName + Last | Firm name when present; otherwise first and last name | R | | mailing_address | Customer.AddressLine1 | | R | | mailing_address2 | Customer.AddressLine2 | | O | | mailing_city | Customer.City | | R | | mailing_zip_code | Customer.ZipCode | | R | | mailing_state_code | Customer.State | | R | | physical_same_as_mailing | computed | Set to true (same) when the policy has no commercial location | R | | physical_address | Commercial Location.AddressLine1 | From the first commercial location, when one exists | Rec | | physical_address2 | Commercial Location.AddressLine2 | From the first commercial location | O | | physical_city | Commercial Location.City | From the first commercial location | Rec | | physical_zip_code | Commercial Location.ZipCode | From the first commercial location | Rec | | physical_state_code | Commercial Location.State | Falls back to the customer (mailing) state when the location state is blank | R | | agent_id | Invoice.GeneralLedgerDivisionCode | Mapped via Agency mapping (GL Divisions); invoices whose division is mapped to "Do Not Import" are skipped | O | | agent_notes | generated | Generated: "AMS360 Invoice #<number>, Division: ..." | Rec | ## Troubleshooting URL: https://developer.inscipher.com/integrations/vertafore/ams360/troubleshooting InsCipher notifies you by email and in the notification center when any of the cases below occur. ### Warnings Prompts that encourage you to act on something that could lead to an adverse outcome if left too long. | Title | Description | Suggested action | | --- | --- | --- | | Integration Incomplete | The system detects an incomplete integration before Step 3. | Complete the integration steps through Step 3. | | Fields Need Mapping | Required field mapping on Step 3 was started but not finished. | Complete the mapping exercise for all tables on Step 3. | ### Errors System messages indicating technical problems that lead to partial or lost functionality. | Title | Description | Suggested action | | --- | --- | --- | | Integration Connection is Lost | The integration tool cannot connect to AMS360. | **1. Reinitiate the AMS360 connection.** In the [Vertafore API Developer Portal](https://help.vertafore.com/devportal/content/getstarted/gettingstarted.htm), go to My Applications → your Live OData app → OAuth Credentials → Manage OAuth Credentials → Edit, then click **Save** without making changes (this re-initiates the connection). **2. Manually import data missed during the outage.** On Step 4 / Summary, click **Trigger a Manual Import** and select the date your connection was lost and your agency stopped receiving data. | For any other errors, contact [InsCipher support](mailto:support@inscipher.com). ## Herald API URL: https://developer.inscipher.com/integrations/herald-api Surface InsCipher surplus lines taxes and fees inside Herald quotes. Herald is a **partner-owned (Herald) integration**: Herald operates the API, and InsCipher provides the surplus lines tax and fee data it returns. If you are a Herald customer, your application can retrieve InsCipher-powered surplus lines taxes and fees as part of a quote, with no separate InsCipher integration. InsCipher is the system of record for all surplus lines taxes and fees surfaced through Herald. Herald manages the API integration itself and attaches any related tax documents returned from InsCipher to the quote. ### How it works Herald exposes surplus lines tax and fee details through the `priceDetails` object on its quote endpoint. When a request specifies a non-admitted (surplus lines) placement, Herald calls InsCipher behind the scenes and returns the applicable taxes, fees, and document information alongside the rest of the quote. For the request requirements, response format, and error cases, see Herald's documentation: - [Surplus Taxes and Fees](https://www.heraldai.com/docs/surplus-taxes-and-fees) - [Herald API Reference](https://docs.heraldapi.com/) ### Responsibilities | Area | Owned by Herald | Owned by InsCipher | | --- | --- | --- | | Herald API and the quote endpoint | ✓ | | | Surfacing tax and fee data in `priceDetails` | ✓ | | | Attaching returned tax documents to the quote | ✓ | | | Surplus-lines and stamping-fee tax rates | | ✓ | | Source of truth for surplus lines tax and fee data | | ✓ | ### Getting started If you are a Herald customer, see Herald's [Surplus Taxes and Fees](https://www.heraldai.com/docs/surplus-taxes-and-fees) documentation for the request requirements and behavior, and the [Herald API Reference](https://docs.heraldapi.com/) for the endpoint itself. If you are not yet a Herald customer, contact Herald's sales team through their [introduction booking page](https://meetings.hubspot.com/jean-marc5/introduction-to-herald?uuid=75a0b30d-66e3-4a0e-a145-093accc07c90). ## Instanda URL: https://developer.inscipher.com/integrations/instanda Calculate surplus lines taxes and sync surplus lines transactions and documents from INSTANDA into InsCipher. INSTANDA is a no-code policy administration and distribution platform. This **partner-owned (INSTANDA) integration** connects INSTANDA workflows to InsCipher using InsCipher's APIs, configurable to fit your workflow. ### Supported functionality **Transaction Import** — Surplus lines transactions are automatically retrieved from INSTANDA and pushed into InsCipher. **Document Import** — Documents associated with surplus lines transactions are retrieved from INSTANDA and pushed into InsCipher. **Tax Calculation** — Surplus lines tax rates are retrieved inside INSTANDA. ### Responsibilities | Area | Owned by INSTANDA | Owned by InsCipher | | --- | --- | --- | | Integration built inside the INSTANDA platform | ✓ | | | Configuration and field mapping within INSTANDA | ✓ | | | InsCipher API endpoints and authentication | | ✓ | | Surplus-lines and stamping-fee tax rates | | ✓ | ### Setup and implementation These capabilities are not an out-of-the-box InsCipher product. They are a set of configurable solutions built by INSTANDA using InsCipher's APIs, available inside the INSTANDA product. Setup time varies by customer and by the complexity of the configuration. The following timelines are typical for existing INSTANDA customers adding these features: | Functionality | Typical timeline | | --- | --- | | Surplus lines tax calculation / rating | ~A few days | | Sync surplus lines policy transactions to InsCipher | ~1–2 weeks | | Sync surplus lines policy documents to InsCipher | ~1–2 weeks | ### Getting started **Existing customers** — Contact your assigned INSTANDA account manager. **New customers** — If you are not yet an INSTANDA customer and want these features in your workflow, contact [sales.us@instanda.com](mailto:sales.us@instanda.com). ## Insurity Submission Gateway (ISG) URL: https://developer.inscipher.com/integrations/insurity/isg Automate surplus lines transaction import and real-time tax calculations between Insurity Submission Gateway and InsCipher. Insurity Submission Gateway (ISG), formerly Sure Submission Gateway (SSG), is a platform for wholesale distribution and the London Market. This **partner-owned (Insurity) integration** connects ISG to InsCipher's portal and Tax Calculator APIs to automate two surplus lines compliance workflows. ### Supported functionality **Transaction Import** — Transaction data is transferred from ISG to InsCipher for surplus lines tax filing and reporting, along with documents for policies (PN) and endorsements (AE, APE, RPE, ZPE, XE). Transactions processed in ISG — new business, renewals, endorsements, cancellations, and reinstatements — are sent to InsCipher, ready for review and submission to the appropriate state surplus lines offices. **Tax & Fee Calculation** — ISG requests real-time surplus lines taxes and fees from InsCipher during quoting, for all U.S. states and territories, without manual lookups. > **Note:** - It does not generate diligent effort forms or related diligent-search documents (affidavits, and so on). > - It does not reconcile or remit tax payments. ### How it works **Transaction Import** uses the InsCipher Filing Connect API to create transactions in InsCipher from ISG data. When a qualifying transaction is completed in ISG, the integration sends the relevant filing details — policy number, state, transaction type, effective date, premium, and applicable fees — to InsCipher, where the data is available for review, approval, and submission to the state filing authority. - Core call: `POST /api/v2/single/transaction` - The response confirms receipt and returns an InsCipher transaction ID for tracking. **Tax Calculation** uses the InsCipher Tax API to return real-time surplus lines tax calculations. When a quote is processed in ISG, the integration sends the state, premium, applicable fees, line of business, and transaction type to InsCipher, which returns a detailed breakdown of taxes and fees displayed directly in ISG. - Core call: `POST /api/taxcalculator` ### Responsibilities | Area | Owned by Insurity | Owned by InsCipher | | --- | --- | --- | | Integration built inside ISG | ✓ | | | Configuration within ISG | ✓ | | | InsCipher Filing Connect API and Tax API | | ✓ | | API key provisioning and access | | ✓ | | Surplus-lines and stamping-fee tax rates | | ✓ | | Transaction review, approval, and state submission (InsCipher portal) | | ✓ | ### Requirements - An active InsCipher Filing Connect account with API access enabled. - A licensed Insurity Submission Gateway product. - The API key and endpoint provided by InsCipher. ### Support - **Implementation guidance:** Daniel Seddon (Sikich) — [daniel.seddon@sikich.com](mailto:daniel.seddon@sikich.com) - **API credentials and access:** Contact your InsCipher account manager or support. ## Salesforce URL: https://developer.inscipher.com/integrations/salesforce/overview Calculate surplus lines tax, stamping fees, and other transaction-based charges directly from your Salesforce policy records using the InsCipher Tax Integration managed package. Salesforce is a **partner-owned (Sikich) integration**. Sikich builds and maintains the **InsCipher Tax Integration** managed package — namespace `instax` — that you install into your Salesforce org. InsCipher provides the tax calculation API, the surplus lines and fee rates it returns, and your API key. ### Supported functionality **Tax Calculation** is the only functionality this package provides. Surplus lines tax, EMPA, stamping fees, and other transaction-based charges are retrieved from InsCipher for a policy record, and the returned amounts are written back onto that record — on demand, from a detail-page button or a pre-built screen flow. > **Note:** - The package does **not** ship with automatic triggering. Status-driven automation (for example, calculating tax when a policy moves to "Quoted") and bulk processing can be custom-built with an Apex trigger or a record-triggered flow. See [Setup Guide](https://developer.inscipher.com/integrations/salesforce/setup-guide). ### Works with your existing data model The package works with whatever policy object your Salesforce org already uses — **Financial Services Cloud / Vlocity, Amplo, or a custom object**. The only data-model change you may need is fields to store the returned tax and fee amounts. Mappings are configured per environment (**TEST** and **PROD**), so you can validate in a sandbox before going live and then copy the validated configuration to production. Pre-built mapping templates for common data models (Vlocity / FSC, or custom AMS solutions) are available so a new partner does not have to map every field from scratch. If an AMS solution is layered on top of Salesforce, template mappings may need adjustment for that org's data model. ### Responsibilities | Area | Owned by Sikich | Owned by InsCipher | | --- | --- | --- | | Managed package build, releases, and upgrades | ✓ | | | Salesforce-side configuration support: field mapping, buttons, screen flows | ✓ | | | Pre-built mapping templates for common data models | ✓ | | | Salesforce integration support | ✓ | | | InsCipher API endpoints and authentication | | ✓ | | API key and private install link | | ✓ | | Surplus-lines, EMPA, and stamping-fee rates | | ✓ | Your Salesforce administrator installs the package, supplies the API key, and completes the field and code mappings for your org. ### Before you begin You will need: - **Salesforce administrator** access to the org you are installing to - Your **InsCipher API key** (`apikey`), provided by your InsCipher representative - The **private install link** from your InsCipher representative Install and configure in a sandbox first, then repeat in production once mappings and calculations behave as expected. ### Getting started 1. Contact your InsCipher representative for your API key and the private install link. 2. Follow [Setup Guide](https://developer.inscipher.com/integrations/salesforce/setup-guide) to install the package, connect it to InsCipher, map your policy fields, and trigger a calculation. ### Support - **InsCipher** — contact your InsCipher representative. - **Sikich (Salesforce integration)** — [SalesforceSupport@sikich.com](mailto:SalesforceSupport@sikich.com) ## Salesforce URL: https://developer.inscipher.com/integrations/salesforce/overview Calculate surplus lines tax, stamping fees, and other transaction-based charges directly from your Salesforce policy records using the InsCipher Tax Integration managed package. Salesforce is a **partner-owned (Sikich) integration**. Sikich builds and maintains the **InsCipher Tax Integration** managed package — namespace `instax` — that you install into your Salesforce org. InsCipher provides the tax calculation API, the surplus lines and fee rates it returns, and your API key. ### Supported functionality **Tax Calculation** is the only functionality this package provides. Surplus lines tax, EMPA, stamping fees, and other transaction-based charges are retrieved from InsCipher for a policy record, and the returned amounts are written back onto that record — on demand, from a detail-page button or a pre-built screen flow. > **Note:** - The package does **not** ship with automatic triggering. Status-driven automation (for example, calculating tax when a policy moves to "Quoted") and bulk processing can be custom-built with an Apex trigger or a record-triggered flow. See [Setup Guide](https://developer.inscipher.com/integrations/salesforce/setup-guide). ### Works with your existing data model The package works with whatever policy object your Salesforce org already uses — **Financial Services Cloud / Vlocity, Amplo, or a custom object**. The only data-model change you may need is fields to store the returned tax and fee amounts. Mappings are configured per environment (**TEST** and **PROD**), so you can validate in a sandbox before going live and then copy the validated configuration to production. Pre-built mapping templates for common data models (Vlocity / FSC, or custom AMS solutions) are available so a new partner does not have to map every field from scratch. If an AMS solution is layered on top of Salesforce, template mappings may need adjustment for that org's data model. ### Responsibilities | Area | Owned by Sikich | Owned by InsCipher | | --- | --- | --- | | Managed package build, releases, and upgrades | ✓ | | | Salesforce-side configuration support: field mapping, buttons, screen flows | ✓ | | | Pre-built mapping templates for common data models | ✓ | | | Salesforce integration support | ✓ | | | InsCipher API endpoints and authentication | | ✓ | | API key and private install link | | ✓ | | Surplus-lines, EMPA, and stamping-fee rates | | ✓ | Your Salesforce administrator installs the package, supplies the API key, and completes the field and code mappings for your org. ### Before you begin You will need: - **Salesforce administrator** access to the org you are installing to - Your **InsCipher API key** (`apikey`), provided by your InsCipher representative - The **private install link** from your InsCipher representative Install and configure in a sandbox first, then repeat in production once mappings and calculations behave as expected. ### Getting started 1. Contact your InsCipher representative for your API key and the private install link. 2. Follow [Setup Guide](https://developer.inscipher.com/integrations/salesforce/setup-guide) to install the package, connect it to InsCipher, map your policy fields, and trigger a calculation. ### Support - **InsCipher** — contact your InsCipher representative. - **Sikich (Salesforce integration)** — [SalesforceSupport@sikich.com](mailto:SalesforceSupport@sikich.com) ## Setup Guide URL: https://developer.inscipher.com/integrations/salesforce/setup-guide Install and configure the InsCipher Tax Integration managed package in your Salesforce org, then trigger a tax calculation from a policy record. Before you start, gather the prerequisites listed in [Overview](https://developer.inscipher.com/integrations/salesforce/overview): Salesforce administrator access, your InsCipher API key, and the private install link from your InsCipher representative. ### Install the package The install link contains a package version ID (`{id}`) that changes with each release. Use the prefix that matches the org you are installing to: | Environment | Install URL | |---|---| | **Sandbox / Test** | `https://test.salesforce.com/packaging/installPackage.apexp?p0={id}` | | **Production** | `https://login.salesforce.com/packaging/installPackage.apexp?p0={id}` | Install and test in a sandbox first, then repeat in production once mappings and calculations behave as expected. 1. Open the install link for your org. 2. Log in with your Salesforce administrator credentials for that org. 3. On the install screen, select **Install for Admins Only**. The package ships with its own permission sets for granting access to other users — see [Assign permission sets](#assign-permission-sets). ![Salesforce install screen with Install for Admins Only selected](https://developer.inscipher.com/images/integrations/salesforce/01-install-for-admins-only.png) 4. Check the box to acknowledge the disclaimer. This is standard for a privately distributed package. 5. Click **Install**. When prompted, **grant access to third-party API calls** so Salesforce can call InsCipher's tax calculation service. 6. Installation may take several minutes. You will receive a confirmation email when it completes. Click **Done**. ### Confirm the installation 1. Go to **Setup → Installed Packages**. 2. Confirm **InsCipher Tax Integration** appears in the list. Note the namespace prefix shown here — **instax** — you will need it later when building a custom button. ![Installed Packages list showing InsCipher Tax Integration under the instax namespace](https://developer.inscipher.com/images/integrations/salesforce/02-installed-packages-instax.png) ### Open the InsCipher Tax app Open the **App Launcher** (the nine dots) and search for **InsCipher Tax**. The app contains two tabs: **Tax Integration Configuration** and **Tax Integration History**. ![InsCipher Tax app in the App Launcher](https://developer.inscipher.com/images/integrations/salesforce/03-inscipher-tax-app.png) ### Assign permission sets The package includes two permission sets: | Permission set | Grants access to | | --- | --- | | **InsCipher Tax Admin** | Tax Integration Configuration (credentials, environment, field mapping), the Named/External Credential connection, and full Tax Integration History. Assign only to users managing the integration. | | **InsCipher Tax User** | Day-to-day use of the button or screen flow to run calculations, and viewing relevant Tax Integration History records. | 1. Go to **Setup → Administration → Users → Users**. 2. Open a user's record, scroll to **Permission Set Assignments**, and click **Edit Assignments**. 3. Select **InsCipher Tax Admin** or **InsCipher Tax User**, click **Add** to move it into Enabled, then **Save**. 4. Repeat for every user who needs to configure or use the integration. > **Note:** Object- and page-layout-level access still needs to be granted separately for whichever policy object the button or screen flow is added to. ### Connect to InsCipher The package ships with the Named Credential and its endpoint URL already configured — you only supply your InsCipher API key. 1. From the **Tax Integration Configuration** tab, click **Go to Named Credentials** (or go to **Setup → Security → Named Credentials**). ![Tax Integration Configuration tab with the Go to Named Credentials link](https://developer.inscipher.com/images/integrations/salesforce/04-go-to-named-credentials.png) 2. Click the **InsCipher** External Credential to open its detail page. 3. Under **Principals**, open the menu for the **Default** principal and click **Edit**. 4. Under **Authentication Parameters**, click **Add**: - **Name:** `apikey` - **Value:** your InsCipher-provided API key 5. Click **Save**. ![Edit Principal screen with an apikey authentication parameter](https://developer.inscipher.com/images/integrations/salesforce/05-authentication-parameters-apikey.png) > **Note:** Credentials are stored securely within Salesforce's Named Credential framework and are not visible to other users. ### Choose your environment On the **Tax Integration Configuration** tab, set **Environment** to **TEST** (sandbox) or **PROD** (live). This prevents Salesforce from sending live tax requests while you test in a sandbox, especially after a sandbox refresh. Your selections are saved on a custom metadata configuration record for that environment. ![Environment selector set to TEST or PROD](https://developer.inscipher.com/images/integrations/salesforce/06-choose-environment.png) ### Sync mapping records The install creates the objects that hold the mapping records (Line of Business and Transaction Code) but does not load the individual code records automatically. The first time you configure a new environment, click **Sync Mapping Records** on the Tax Integration Configuration page. This creates the default **Line of Business Mapping** and **Transaction Code Mapping** placeholder records. ![Sync Mapping Records button on the Tax Integration Configuration page](https://developer.inscipher.com/images/integrations/salesforce/07-sync-mapping-records.png) ### Map your policy fields 1. Under **Policy Object Name**, select the object that represents your policies — for example, **Insurance Policy** in Financial Services Cloud. The screen loads field-mapping selectors grouped into **Policy Information**, **Premium and Fees**, and **Location Information**. ![Field mapping screen grouped into Policy Information, Premium and Fees, and Location Information](https://developer.inscipher.com/images/integrations/salesforce/08-map-policy-fields.png) 2. For each field the screen asks about — effective date, line of business, status, business type, premium, agency fee, and others — use the dropdown to select the matching field from your policy object. 3. If a value lives on a related record (for example, an address on the linked Account), use the **lookup icon** next to the field to traverse the relationship and select a field several hops away. ![Lookup icon next to a mapping field for traversing to a related object](https://developer.inscipher.com/images/integrations/salesforce/09-lookup-related-object.png) 4. Click **Save** to apply your mappings. > **Note:** This is where surplus lines tax, EMPA, and stamping fee data are tied to your records behind the scenes. For advanced mapping, you can view and modify the records directly in the Tax Integration Configuration custom metadata type. #### Copy test configuration to production Once your TEST mapping is complete and validated, click **Copy to Prod Config** on the mapping page to copy the TEST configuration to the PROD configuration record. The PROD record can then be deployed to your production org with a change set — no need to recreate the mappings by hand. #### Override default code mappings Two categories of code mapping are loaded as placeholders by **Sync Mapping Records** and usually need review per partner: **Line of Business (LOB) Mapping** and **Transaction Code Mapping**. Override them under **Setup → Custom Metadata Types → Manage Records** for the relevant type. - If your org uses "Commercial Auto" where InsCipher's default expects "Business Auto," edit that LOB Mapping record and map "Commercial Auto" to the corresponding InsCipher code — for example, `GEN-1003`. - The same pattern applies to Transaction Code Mapping records. > **Tip:** Pre-built mapping templates for common data models (Vlocity / FSC, or custom AMS solutions) are available so a new partner does not have to map every field from scratch. If an AMS solution is layered on top of Salesforce, template mappings may need adjustment for that org's data model. ### Trigger a tax calculation The package does **not** ship with out-of-the-box automatic triggering. Two methods are supported today; automatic, status-driven triggering can be custom-built — see [Advanced: custom trigger example](#advanced-custom-trigger-example). #### Option A — Manual detail-page button 1. Go to **Setup → Object Manager**, select your policy object, then **Buttons, Links and Actions → New Button or Link**. 2. Set the **Label** and **Name** (for example, "Calculate Tax") and set **Display Type** to **Detail Page Button**. ![Creating a Calculate Tax detail page button under Buttons, Links and Actions](https://developer.inscipher.com/images/integrations/salesforce/10-create-calculate-tax-button.png) 3. Set the button URL, using the **instax** namespace and your object's record ID: ``` /apex/instax__TaxIntegration?id={!InsurancePolicy.Id} ``` Replace `InsurancePolicy` with the merge-field prefix of whichever object you are adding the button to. 4. Click **Save**. 5. Go to **Page Layouts** for your policy object, open the **Buttons** section, drag the new button into the **Custom Buttons** area, and **Save**. From a policy record, clicking the button pulls the record's mapped data, sends it to InsCipher, and writes the returned tax and fee amounts back onto the mapped fields. #### Option B — Screen flow component InsCipher provides a pre-built flow, **InsCipher Surplus Lines Tax Calculator**, that can be added to a Lightning record page — a lower-effort alternative to a custom button. 1. Add the flow component to your policy record page via **Lightning App Builder**. 2. When configuring the component's `recordId` property, check **Pass record ID into this variable** so the flow knows which policy to calculate against. This gives users an on-demand visual process triggered from the policy record. > **Note:** The same steps apply at the Policy Change / Transaction level, not just the Policy record. #### Automatic triggering Status-driven automation — for example, calculating tax automatically when a policy's status changes to "Quoted" — including bulk processing across multiple policies, is not part of the current package. It can be implemented with an Apex trigger or a record-triggered flow. See [Advanced: custom trigger example](#advanced-custom-trigger-example). ### Review transaction history Every tax calculation request is logged. 1. Open the **Tax Integration History** tab in the InsCipher Tax app. Each entry shows the **Result Status** (Success or Failure), **Created Date**, and the user who initiated it. 2. Open a specific record to view the full **Request** and **Response** JSON exchanged with InsCipher. ![Tax Integration History record showing request and response JSON](https://developer.inscipher.com/images/integrations/salesforce/11-tax-integration-history.png) > **Note:** If a tax calculation looks missing or incorrect, check this tab first. A missing field mapping or code mapping typically surfaces here in the response message. ### Upgrading Upgrades follow the same process as the initial install, using an updated package link from your InsCipher representative. - Use the `login.salesforce.com` link for production or `test.salesforce.com` for sandboxes. - Log in, review any updated disclaimer, and click **Install/Upgrade**. - Existing configuration, credentials, permission set assignments, and mapping overrides are **retained** through an upgrade. - New request/response fields introduced by a release appear as new, unmapped options on the configuration screen. - Click **Done**, then verify the new version under **Setup → Installed Packages**. ### Uninstalling 1. First remove customizations built on top of the package — custom buttons and screen flow components placed on page layouts or Lightning record pages. 2. Go to **Setup → Installed Packages** and click **Uninstall** beside InsCipher Tax Integration. 3. Confirm. Salesforce flags any remaining dependencies that must be cleared before the uninstall can complete. ### Advanced: custom trigger example For automatic, status-driven calculation, extend the package with an Apex trigger. This example fires when a Policy Change reaches "Adjustment Pending": ```apex trigger PolicyChangeTrigger on Policy_Change__c (after update, after insert) { if (trigger.isAfter && (trigger.isInsert || trigger.isUpdate)) { Id[] quotedIds = new List(); for (Policy_Change__c pol : trigger.new) { if (pol.Status__c == 'Adjustment Pending' && (!trigger.oldMap.containsKey(pol.Id) || trigger.oldMap.get(pol.Id).Status__c != pol.Status__c)) { quotedIds.add(pol.Id); } } if (!quotedIds.isEmpty()) { TaxIntegrationService.getTaxesAsync(quotedIds); } } } ``` ### Support - **InsCipher** — contact your InsCipher representative. - **Sikich (Salesforce integration)** — [SalesforceSupport@sikich.com](mailto:SalesforceSupport@sikich.com) ## Surefyre URL: https://developer.inscipher.com/integrations/vertafore/surefyre Calculate surplus lines taxes inside Surefyre and import Surefyre policy transactions into InsCipher. Surefyre is Vertafore's configurable agent portal and underwriting workbench. This **partner-owned (Vertafore) integration** connects InsCipher's surplus lines tax solutions to Surefyre's workflows. ### Supported functionality **Tax Calculation** — Retrieve real-time surplus lines tax calculations within Surefyre. For example, supplying premium and line of business returns the correct tax rates for a policy — useful for displaying tax information to an underwriter during quoting, or for accurate tax line items on invoices and mid-term endorsements. **Transaction Import** — Automatically import policy transactions from Surefyre into InsCipher. For bound transactions, this removes manual data entry and starts the filing automation, where transactions can be reviewed in the InsCipher platform after import. Most configurations are unique, so these functionalities can sit at different points in a customer's workflow. ### Responsibilities | Area | Owned by Vertafore | Owned by InsCipher | | --- | --- | --- | | Integration built inside Surefyre | ✓ | | | Field mapping and workflow triggers within Surefyre | ✓ | | | InsCipher API endpoints and authentication | | ✓ | | Surplus-lines and stamping-fee tax rates | | ✓ | | Transaction review and filing (InsCipher platform) | | ✓ | ### Setup and implementation These capabilities are not an out-of-the-box InsCipher product. They are configurable solutions built by Vertafore inside Surefyre. Setup is typically handled by Surefyre's professional services team during a new system implementation or as an addition for an existing client. Setup uses Surefyre's remote call framework to map fields from your Surefyre instance to the required InsCipher API fields. Triggers are then configured in your workflow to determine when API calls are made — for example, retrieving surplus lines tax and fee rates when a quote is generated or a policy is bound. Because the integration affects core financial data used for bordereaux and reporting, it is strongly recommended to work with the Surefyre services team on configuration within the Surefyre transaction module. ### Cost and timeline Cost and timeline vary by customer need and current setup. Customers setting up a new Surefyre system can generally expect three to six months or more, depending on the complexity of the build, with an implementation fee as part of the larger system setup. Existing customers can expect as little as a few weeks depending on their configuration, with an implementation fee likely applying. Contact Surefyre for accurate details. ### Getting started **Existing customers** — Contact your dedicated Surefyre account manager to add this integration. **New customers and other questions** — Reach out to [bwallace@vertafore.com](mailto:bwallace@vertafore.com). ## Vertafore MGA Systems URL: https://developer.inscipher.com/integrations/vertafore/mga-systems > **Note:** Vertafore MGA Systems was formerly known as Insurance Management Systems (IMS). You may see it referred to as "IMS" in older documentation or in conversation. Sync surplus lines transactions and documents, and perform tax rate lookups, between Vertafore MGA Systems and InsCipher. For customers using (or evaluating) Vertafore MGA Systems, this **partner-owned (Vertafore) integration** provides a configurable set of capabilities inside MGA Systems that use InsCipher's APIs to transmit surplus lines policy data and related artifacts into InsCipher. It is configurable to match your workflow and data-mapping requirements. InsCipher is the system of record for surplus lines and stamping-fee tax rates: InsCipher manages all regulatory updates and rate changes, and MGA Systems retrieves those rates through the API connection so they stay current without manual updates on your side. ### Service models The capabilities enabled in the integration depend on your InsCipher service agreement. | Service model | What InsCipher provides | What's available in the integration | | --- | --- | --- | | DIY | Surplus-lines and stamping-fee tax calculations only. You handle your own filings and submissions. | Tax Calculation only. | | Full-service | InsCipher calculates, manages, and files taxes on your behalf. | Tax Calculation*, Transaction Import, and Document Import. | \*Tax Calculation requires an active InsCipher **Tax Calculator API** contract. Before configuration begins, confirm that your services agreement with InsCipher includes the Tax API product. Confirm your service agreement with InsCipher before configuration begins — it determines which system settings need to be enabled inside MGA Systems. ### Supported functionality **Transaction Import** — Surplus lines transactions (new business, endorsements, cancellations, and other surplus lines policy transactions) are pushed from MGA Systems into InsCipher one transaction at a time, so you don't re-key policy data after binding. **Document Import** — Policy-related documents (applications, endorsements, filings, supporting documentation) stored in MGA Systems can be uploaded to InsCipher, providing a full document trail linked to the corresponding surplus lines transactions. > **Note:** Only documents stored within the MGA Systems Document Handler are eligible for sync. Documents stored locally, on shared drives, or in other systems outside MGA Systems cannot be uploaded through the integration. Move compliance documents into the Document Handler before relying on this capability. The policy must also be in **Bound** status before its documents become eligible for upload. **Tax Calculation** — When you need surplus lines tax rates or jurisdictional tax lookups inside MGA Systems, the integration retrieves rates (or calls InsCipher's tax APIs) and returns the applicable tax calculations and rate metadata into the MGA Systems workflow. Because InsCipher maintains the rate library, you don't need to manually update tax tables when regulations change. ### Responsibilities The integration spans two systems. The table below shows who handles what. | Area | Owned by Vertafore | Owned by InsCipher | | --- | --- | --- | | Integration code inside MGA Systems | ✓ | | | Configuration UI (fee setup, LOB mapping, InsCipher Administration screens) | ✓ | | | MGA Systems Document Handler | ✓ | | | API key provisioning to the customer | | ✓ | | InsCipher API endpoints and authentication | | ✓ | | Surplus-lines and stamping-fee tax rates | | ✓ | | Transaction processing and filing (full-service customers) | | ✓ | For MGA Systems configuration, billing, or product features, start with your Vertafore account manager. For tax calculations, filings, or InsCipher service models, start with your InsCipher technical account manager or support. ### Prerequisites Before MGA Systems-side configuration begins, confirm: - The Lines of Business you write (so they can be mapped during setup). - The companies / carriers writing those Lines of Business. - Your service agreement with InsCipher (DIY vs. full-service). - The API key(s) for your subscribed InsCipher services. You are responsible for obtaining these from InsCipher and providing them to Vertafore for configuration. - That Vertafore's Professional Services team is engaged to perform the system-setting configuration; all required system settings should be enabled before customer-side setup begins. ### Setup and implementation These features are not an out-of-the-box InsCipher product. They are a partner-owned integration developed by Vertafore that leverages InsCipher APIs, implemented inside MGA Systems as a configurable solution. At a high level, configuration covers: - Enabling the InsCipher integration in MGA Systems' system settings, using the provisioned API key(s). - Configuring fee entries (surplus-lines tax, stamping fee, broker fee, policy fee, state-specific fees) for each state where business is written. - Setting up InsCipher as a payable entity under Fee Automation. - Mapping Lines of Business to InsCipher's reference codes inside MGA Systems. - End-to-end testing of policy submission. Step-by-step instructions for each are maintained by Vertafore — see Vertafore's product documentation for current setup procedures. Setup time varies by customer and by the configuration, mapping, and testing required. New MGA Systems customers should also expect Vertafore account setup and product onboarding — contact Vertafore Sales for details. Additional fees may apply from Vertafore depending on the functionality selected. ### Getting started **Existing Vertafore customers** — Contact your assigned Vertafore account manager or implementation lead to request enablement of the InsCipher integration for MGA Systems. Vertafore coordinates configuration and billing. **Customers not yet using Vertafore** — Contact Vertafore Sales or your InsCipher sales representative to discuss licensing and implementation options. **InsCipher API or service questions** — For authentication, sandbox credentials, or questions about the InsCipher side, contact your InsCipher technical account manager or support. # SSO ## Okta SSO Setup URL: https://developer.inscipher.com/sso/okta If your organization already uses Okta, you can integrate it with the InsCipher Connect® or Filing Services® portal for a faster, more secure login experience. Once enabled, your users will authenticate through Okta instead of a legacy username/password. > **Warning:** **Email addresses must match.** The email address assigned to each user in Okta must exactly match the email address registered for that user in the InsCipher portal. Mismatched emails will prevent login. --- ### Before You Begin - You need **Okta admin access** to complete the setup. - InsCipher uses **OAuth 2.0 / OIDC** (OpenID Connect) with a **Web Application** integration type. SAML is not supported. - Once SSO is enabled, users will no longer be able to log in with their legacy InsCipher username/password. - Make sure your users are aware of this change before enabling SSO. --- ### 1. Create an App Integration in Okta 1. Sign in to the **Okta Admin Console** as an administrator. 2. Go to **Applications → Applications**. 3. Click **Create App Integration**. 4. Select **OIDC - OpenID Connect** as the sign-in method. 5. Select **Web Application** as the application type, then click **Next**. 6. Enter a name for the app (for example, `InsCipher SSO`). 7. Complete the wizard and assign the applicable users to the new application. > **Tip:** Okta updates the Admin Console UI periodically. For the current step-by-step screens, see Okta's official guide: [Create OpenID Connect app integrations](https://help.okta.com/en-us/content/topics/apps/apps_app_integration_wizard_oidc.htm). --- ### 2. Add the Callback (Sign-In Redirect) URI In your new Okta app's **General Settings**, add the following sign-in redirect URI: ``` https://surpluslines.inscipher.com/sso/connect/check/okta ``` --- ### 3. Collect Your Credentials You will need to securely send the following parameters to the InsCipher implementation team: | Parameter | Where to find it | |---|---| | **Client ID** | Okta app settings → General tab | | **Client Secret** | Okta app settings → General tab | | **Issuer URL** | Okta app settings → Sign On tab | :::note The Issuer URL must include the `/oauth2` path. For example: `https://dev-74470422.okta.com/oauth2` ::: The **Client ID** and **Client Secret** are generated automatically when you save the app, and appear on the app's **General** tab. For details, see Okta's guide: [Create OIDC app integrations](https://help.okta.com/en-us/content/topics/apps/apps_app_integration_wizard_oidc.htm). --- ### 4. Send Credentials to InsCipher Share the three parameters above securely with your InsCipher implementation specialist. They will configure the integration on the portal side. --- ### How Login Works After Activation Once SSO is enabled: 1. Users go to [https://surpluslines.inscipher.com](https://surpluslines.inscipher.com). 2. They click the **OKTA** button on the login screen. 3. They enter their company email address. 4. On first login, they are prompted to enter their Okta password. 5. After the first successful login, the portal stores a session cookie — future logins only require the email address. > **Warning:** After SSO is activated, users who attempt to change their InsCipher password will see a message indicating that password management is disabled. This is expected behavior. Direct password changes are no longer available once SSO is active. ![Password edit page showing SSO-locked message](https://developer.inscipher.com/images/password-locked.png) --- ### Ongoing Maintenance If any of the Okta credentials (Client ID, Client Secret, or Issuer URL) change, you must update them in the portal. You have two options: - **Contact InsCipher support** to request the update. - **Update yourself:** Go to User Settings → click **Authentication Providers Setup** in the top-right corner of the page → update the relevant fields. ![Authentication Providers Setup button in User Settings](https://developer.inscipher.com/images/auth-provider-settings.png) ## Microsoft Azure URL: https://developer.inscipher.com/sso/azure ### Microsoft Azure SSO Setup If your organization already uses Microsoft Entra ID (formerly Azure Active Directory), you can integrate it with the InsCipher Connect® portal for a faster, more secure login experience. Once enabled, your users will authenticate through Microsoft instead of a legacy username/password. > **Warning:** **Email addresses must match.** The email address associated with each user's Microsoft account must exactly match the email address registered for that user in the InsCipher portal. Mismatched emails will prevent login. --- ### Before You Begin - You need **Microsoft Entra ID admin access** to complete the setup (the Azure portal account must be able to register applications in your tenant). - InsCipher uses **OAuth** (not SAML). - You will need to create a **user group** in Azure and associate your filing team's Microsoft accounts to that group. - Once SSO is enabled, users will no longer be able to log in with their legacy InsCipher username/password. - Make sure your users are aware of this change before enabling SSO. --- ### 1. Register an App in Microsoft Entra ID 1. Sign in to the **Azure portal** and search for **Microsoft Entra ID**. 2. In the left menu, under **Manage**, select **App registrations**. 3. Click **+ New registration**. 4. Enter a meaningful **Name** for the app (for example, `InsCipher SSO`). 5. Under **Supported account types**, select **Accounts in this organizational directory only** (recommended for most organizations). 6. Click **Register**. You'll land on the app's **Overview** page. > **Tip:** Microsoft updates the Azure portal UI periodically. For the current step-by-step screens, see Microsoft's official guide: [Register an application with the Microsoft identity platform](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app). --- ### 2. Add the Callback URL In your app registration, under **Manage**, select **Authentication** → on the **Redirect URI configuration** tab, select **Add Redirect URI** → choose the **Web** platform, then add the following redirect (callback) URL: ``` https://surpluslines.inscipher.com/sso/connect/check/azure ``` See Microsoft's guide: [Add a redirect URI](https://learn.microsoft.com/en-us/entra/identity-platform/how-to-add-redirect-uri). --- ### 3. Collect Your Credentials You will need to securely send the following parameters to the InsCipher implementation team: | Parameter | Where to find it | |---|---| | **Application (client) ID** | App registration → **Overview** page | | **Tenant ID** | App registration → **Overview** page (listed as *Directory (tenant) ID*) | | **Client Secret** | App registration → **Certificates & secrets** → **+ New client secret** → copy the **Value** | **Getting the Application (client) ID and Tenant ID:** Open your app registration and go to the **Overview** page. Both values are shown in the Essentials section — copy the **Application (client) ID** and the **Directory (tenant) ID**. See Microsoft's guide: [Find your tenant ID](https://learn.microsoft.com/en-us/entra/fundamentals/how-to-find-tenant). **Getting the Client Secret:** In your app registration, under **Manage**, select **Certificates & secrets** → **Client secrets** → click **+ New client secret**. Add a description, choose an expiry, and click **Add**. See Microsoft's guide: [Add a client secret](https://learn.microsoft.com/en-us/entra/identity-platform/how-to-add-credentials). > **Warning:** Copy the secret **Value** immediately — it is shown only once and cannot be retrieved later. Be sure to copy the **Value**, not the **Secret ID** (the Secret ID is not used for authentication). --- ### 4. Send Credentials to InsCipher Share the three parameters above securely with your InsCipher implementation specialist. They will configure the integration on the portal side. --- ### How Login Works After Activation Once SSO is enabled: 1. Users go to [https://surpluslines.inscipher.com](https://surpluslines.inscipher.com). 2. They click the **Login with SSO** button on the login screen. 3. They enter their Microsoft Exchange email address. 4. On first login, they are prompted to enter their Microsoft password. 5. After the first successful login, the portal stores a session cookie — future logins only require the email address. > **Warning:** After SSO is activated, users who attempt to change their InsCipher password will see a message indicating that password management is disabled. This is expected behavior. Direct password changes are no longer available once SSO is active. ![Password edit page showing SSO-locked message](https://developer.inscipher.com/images/password-locked.png) --- ### Ongoing Maintenance If any of the Azure credentials (Application ID, Client Secret, or Tenant ID) change, you must update them in the portal. You have two options: - **Contact InsCipher support** to request the update. - **Update yourself:** Go to User Settings → click **Authentication Providers Setup** in the top-right corner of the page → update the relevant fields. ![Authentication Providers Setup button in User Settings](https://developer.inscipher.com/images/auth-provider-settings.png) # Changelog Entries are listed newest first and are a historical record: each one describes the state of things on its date and is never edited afterwards. Labels give the stage each entry announced: Planned (a change planned at that time, with its target date), Sandbox, Production or Deprecated. A later entry for the same change supersedes a Planned one. For current behaviour, use the API pages above. ## 2026-10-29 · Sandbox, Production, API · Transaction Import v3 & v5, Transaction Search v1.1 and Transaction Status v2 URL: https://developer.inscipher.com/changelog/transaction-apis-production **October 29th, 2026** · Single Transaction Import · Batch Transaction Import · Import Status · Transaction Search · Transaction Status | API | Version | Reference | OpenAPI spec | |---|---|---|---| | Single Transaction Import | v3 | [Reference](https://developer.inscipher.com/api/transaction-import/single?version=v3) | [transaction-import-v3.yaml](https://developer.inscipher.com/openapi/transaction-import-v3.yaml) | | Batch Transaction Import | v5 | [Reference](https://developer.inscipher.com/api/transaction-import/batch?version=v5) | [transaction-import-v5.yaml](https://developer.inscipher.com/openapi/transaction-import-v5.yaml) | | Import Status | v5 | [Reference](https://developer.inscipher.com/api/transaction-import/import-status?version=v5) | [batch-import-status-v5.yaml](https://developer.inscipher.com/openapi/batch-import-status-v5.yaml) | | Transaction Search | v1.1 | [Reference](https://developer.inscipher.com/api/transaction-search?version=v1.1) | [transaction-search-v1-1.yaml](https://developer.inscipher.com/openapi/transaction-search-v1-1.yaml) | | Transaction Status | v2 | [Reference](https://developer.inscipher.com/api/transaction-status?version=v2) | [transaction-status-v2.yaml](https://developer.inscipher.com/openapi/transaction-status-v2.yaml) | The new versions of the Transaction Import, Transaction Search and Transaction Status APIs that we announced ahead of release are now live in **production** and available to all API partners. Every change in these versions is listed below. Existing versions are unchanged, so nothing changes for you until you switch. ### Transaction Import — Single v3, Batch v5 and Import Status v5 **Single Transaction Import (new version 3)** — a new endpoint at `/api/v3/single/transaction.json`. The body is still a plain JSON object with no wrapper key. **Batch Transaction Import (new version 5)** — a new endpoint at `/api/v5/transaction.json`. The body is a bare JSON **array** of transaction objects. Submitting is asynchronous, so this response confirms acceptance and returns a `batch_id`. Each item is validated on its own: an item that fails validation is rejected on its own row in the `transactions` array, with a non-zero `status` and its field errors in `status_message`, and is not imported, while the rest of the batch is still imported. The response carries no `warnings`. **Import Status (new version 5)** — a new endpoint at `/api/v5/transaction-import-results`, paired with Batch v5. This is where a batch's per-transaction results and `warnings` come from, so it is the endpoint that carries the missing-document change below. The v4 endpoint at `/api/v4/transaction-import-results` is unchanged and stays available. Single v3 and Batch v5 share one item shape, so a payload you build for v3 is a valid v5 array element. **JSON Request changes** - **Batch drops the pipe-delimited format entirely.** Where v4.x sent parallel pipe-delimited strings, v5 sends structured arrays — the same ones Single Import has always used. `transaction_line_of_business_list`, `transaction_line_of_business_coverage`, `transaction_line_of_business_fire_coverage`, `non_admitted_insurer_code_list`, `non_admitted_insurer_code_coverage`, `syndicate_list_coverage`, `dc_naic`, `dc_date_declined`, `dc_declining_reason` and the other `dc_*` parallel strings do not exist in v5: ```json [ { "policy_number": "CA20170228-05", "line_of_business_list": [ { "item": "GEN-1001", "premium": 3108.50 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ] } ] ``` - **Line-of-business objects are re-keyed.** Inside `line_of_business_list`, `coverage` is now `premium` and `fire_coverage` is now `fire_premium`. The top-level `fire_premium` field is removed — state the fire portion on the line of business it belongs to, including for single-LOB transactions. - **Yes/no fields are JSON booleans.** `rpg`, `physical_same_as_mailing`, `multi_state`, `ecp`, `tax_exempt`, `layered_risk`, `broker_of_record`, `risk_retention_group`, `commission_received`, `homeowner_policy`, `windstorm_exclusion`, `windstorm_eligible_for_pool` and `affordable_housing_qualification` accepted `0`/`1` before. Send `true`/`false` instead — `0` and `1` are now **rejected** with a message of the form `The rpg field must be a boolean (true or false).` — with a `422` on Single v3, and on v5 on that item's own row, with status `2002`. - **Fields are renamed.** `inspection_fee` is now `carrier_fee` and `exempt` is now `tax_exempt`. The insured, address and windstorm fields are named after what they describe: | Before (v2.2 and v4.2) | Now (v3 and v5) | |---|---| | `mailing_insured_name` | `insured_name` | | `mailing_address`, `mailing_address2` | `insured_mailing_street`, `insured_mailing_street2` | | `mailing_city`, `mailing_zip_code`, `mailing_state_code` | `insured_mailing_city`, `insured_mailing_zip`, `insured_mailing_state` | | `physical_address`, `physical_address2` | `insured_physical_street`, `insured_physical_street2` | | `physical_city`, `physical_zip_code`, `physical_state_code` | `insured_physical_city`, `insured_physical_zip`, `insured_physical_state` | | `wind_storm_exclusion`, `wind_storm_eligible_for_pool` | `windstorm_exclusion`, `windstorm_eligible_for_pool` | | `wind_storm_deduction` | `windstorm_deductible` | | `wind_storm_primary_amount`, `wind_storm_other_coverages_deductible` | `windstorm_primary_amount`, `windstorm_other_coverages_deductible` | The old names are no longer read. A request that sends `mailing_insured_name` instead of `insured_name` is rejected because `insured_name` is required; any other old name is ignored without an error, so check your mapping rather than relying on the response to tell you. - **`policy_limit` and `property_limit` were whole numbers** (integers) in this release. Since November 5th, 2026 they also accept decimal numbers, as v2.2 does. - **New fields:** `insured_first_name` and `insured_last_name` (the responsible individual for the insured entity), `retail_producer_npn`, `risk_description_import_code` (the state's Description of Risk import code; when you send it, it is imported instead of `risk_description`), and `dc_custom` — an array of up to 10 values for additional declining-carrier fields reported to the state (for example the California SL2 addendum), in the order of the state's custom fields. - **Removed:** the top-level `fire_premium` (see above), `migrated`, which was internal-only, and `dc_who_received_the_declinations` and `dc_other_person_in_office`. Sending them has no effect. - Six fields are required, the same six as v2.2 with `mailing_insured_name` renamed: `policy_number`, `policy_effective_date`, `transaction_effective_date`, `transaction_type`, `insured_name` and `physical_same_as_mailing`. `insured_physical_state` is also required when `physical_same_as_mailing` is `false`. **JSON Response changes** - **`warnings.documentsUpload` now names the missing documents.** This applies to the two responses that carry `warnings` — Single Import v3, and Import Status v5 for batches. Where earlier versions returned the fixed string `"Required document is missing"`, they now return an **array of the missing required document codes**: ```json "warnings": { "documentsUpload": ["POLIC", "SL2"] } ``` The codes are the same values you send in `transaction_documents[].code`, so you can round-trip them without a lookup table — you no longer have to query the Tax Calculator's `state_documents` or open the portal to find out what to upload. A single missing document is still returned as a one-element array, and the key is absent when nothing is missing. On Import Status v5, `documentsUpload` can still be a plain string, for example when a document sent by URL fails to download after the import, or for a batch imported before this release. Every other key in `warnings` is still a string, so parse the object as string-or-array of strings. - Every response starts with a `generated_at` timestamp (ISO 8601 UTC with milliseconds), also returned as the `X-Generated-At` header — on successes and errors alike. - On v5, the submit response carries a batch-level `status` of `processing` alongside the `batch_id`; the results of the accepted transactions, including `warnings`, come from `/api/v5/transaction-import-results`. **Error responses** - Every v3 and v5 error is JSON in a single shape: `{ "generated_at": …, "code": …, "message": …, "details": … }`, where `code` is a machine-readable kind (`validation_error`, `malformed_request`, `auth_failed`, `method_not_allowed`, `rate_limited`, `server_error`, plus `single_transaction_import_error` on v3 and `not_found` on the v5 results endpoint) and `details` maps each rejected field to its message on validation failures (empty otherwise). - `401` now means the API key is missing or invalid. The v4 results endpoint answered an invalid key with a plain-text `403`; if your error handling branches on these codes, update it when you move to v5. - Malformed JSON is a `400`, field validation is a `422` on Single v3, and an unknown `batch_id` on the v5 results endpoint is a `404` (the v4 endpoint returned a plain-text `400`). The rate-limit `429` is JSON, with a `Retry-After` header when the wait is known. - On v5, a field error does not reject the request. The item is rejected on its own row with status `1002` (unknown or empty transaction type), `1047` (transaction type not allowed, such as `BO`), `1012` (invalid physical state), `2001` (missing required field) or `2002` (any other field error), and Import Status v5 lists it after the processed items. The request itself is a `422` only when the body is not a non-empty array (`details.body`). - **On Single v3, an unknown `transaction_type`, or `BO` (backout), is rejected up front with a `422`** that names `transaction_type` (`Transaction type does not exist.` or `Transaction type BO is not allowed.`). v2.2 and v4.x answer the same request with HTTP `200` and a per-item status instead (`1002`, or `1047` for `BO`). **What stays the same** - Per-transaction `status` codes are unchanged; the v5 results endpoint returns the same code set as v4, plus `2002` for an item rejected at submission with a field error. On Single v3 an unknown or backout type is now a `422`, so it no longer comes back as `1002` or `1047` there; on v5 it is still reported on the item's row. - The Batch endpoint still issues a new `batch_id` per request. - **Existing versions are unchanged by this release.** v1, v2, v2.1 and v2.2 (Single), v4, v4.1 and v4.2 (Batch), and the v4 results endpoint all keep their current request and response shapes — including the plain-string `documentsUpload` warning — and remain live and supported until a deprecation is announced. ### Transaction Search v1.1 **Transaction Search (new version 1.1)** — a new endpoint at `/api/v1.1/search-transactions`. The request body is still a JSON object of optional filters combined with AND, and an empty body still returns every transaction for the agency. **JSON Request changes** - **New `status` filter** — one transaction status code, the same codes returned in `transaction_status`, except `6` (Submitted Courtesy), which is rejected with a `422`. - **New `transaction_sub_status` filter** — one sub-status code (`11`–`14`). A sub-status implies its parent status, so it narrows the results; a `status` that contradicts it returns no transactions. - **New `insured_physical_state` filter** — an array of two-letter state codes; a transaction matches when its insured physical state is any of them. Codes are case-insensitive. - The `date_filed`, `policy_effective_date` and `transaction_effective_date` filters are unchanged. - **Unknown keys are rejected.** Any key v1.1 does not accept is a `422` with `This field was not expected.`; v1 ignores unknown keys. **JSON Response changes** - **Up to 100 transactions per page**, up from 50; `pagination.per_page` returns `100`. - **14 new fields on each transaction:** `date_submitted`, `submitted_by`, `flagged_by`, `date_flagged`, `ready_to_file_by`, `state_filing_due_date`, `filed_by`, `filing_admin`, `agency_name`, `total`, `amount_due`, `date_edited`, `late_charge_added_by` and `customer_code`. Every field is always present and is `null` when not set. - **Three response fields use the Transaction Import names.** `physical_state` is now `insured_physical_state`, `mailing_insured_name` is now `insured_name`, and `inspection_fee` is now `carrier_fee`, so a transaction you import with those keys comes back under the same keys. The old filter key `physical_state` is rejected with a `422` that says `This field was not expected. Use insured_physical_state.` - **Dates use the same formats as Transaction Status v2.** `date_filed`, `date_ready_to_file` and `gl_moved_date` are full timestamps with a timezone offset (`2026-10-01T00:00:00-06:00`), `sl_tax_paid_date`, `stamping_fee_paid_date` and `other_taxes_paid_date` are plain dates (`2026-10-01`), and `created_date` is ISO 8601 with a numeric offset (`2026-10-05T07:40:12-06:00`). v1 returns `date_filed` as a plain date, the three paid dates as timestamps, and `created_date` as `2026-10-05 07:40:12 America/Denver`, so parse v1.1 responses with the formats above. The four fields added in this version (`date_submitted`, `date_flagged`, `date_edited` and `state_filing_due_date`) are plain dates. - **`pagination.next` includes the `/api` prefix** — `/api/v1.1/search-transactions.json?page=2` — so it can be appended to the host as is. - Every response starts with a `generated_at` timestamp (ISO 8601 UTC with milliseconds), also returned as the `X-Generated-At` header — on successes and errors alike. **Error responses** - Every v1.1 error is JSON in a single shape: `{ "generated_at": …, "code": …, "message": …, "details": … }`, where `code` is a machine-readable kind (`validation_error`, `malformed_request`, `auth_failed`, `method_not_allowed`, `rate_limited`, `server_error`) and `details` maps each rejected field to its message on validation failures (empty otherwise). An item in `insured_physical_state` is reported with its index, e.g. `insured_physical_state[1]`. - `401` now means the API key is missing or invalid; v1 answers that with a plain-text `403`. If your error handling branches on these codes, update it when you move to v1.1. - Malformed JSON is a `400` and field validation is a `422`. A wrong HTTP method is a `405`, and the rate-limit `429` is JSON, with a `Retry-After` header when the wait is known. **What stays the same** - **v1 is unchanged by this release.** `/api/v1/search-transactions` keeps its filters, 50-per-page pagination, response fields and error responses, and remains live and supported until a deprecation is announced. ### Transaction Status v2 **Transaction Status (new version 2)** — a new endpoint at `/api/v2/get-transaction-status.json`. You look a transaction up the same way as in v1: with `transaction_id` or `invoice_number`, and one of the two is required. **JSON Request changes** - None. The query parameters are the same as in v1. **JSON Response changes** - **Three fields use the Transaction Import names.** `physical_state` is now `insured_physical_state`, `mailing_insured_name` is now `insured_name`, and `inspection_fee` is now `carrier_fee`, so a transaction you import with those keys comes back under the same keys. - **New `related_transaction_id` and `related_transaction_status`.** When a mixed positive/negative-premium transaction was split in two, each half reports the other: the parent's response carries the child's id and status, and the child's carries the parent's. Both keys are left out for a transaction that was not split. - **Date formats changed.** `date_filed`, `date_ready_to_file` and `gl_moved_date` are full timestamps with a timezone offset (`2026-10-01T00:00:00-06:00`), and `sl_tax_paid_date`, `stamping_fee_paid_date` and `other_taxes_paid_date` are plain dates (`2026-10-01`). v1 returns them the other way round: plain dates for the first three, timestamps for the paid dates. `created_date` is ISO 8601 with a numeric offset (`2026-10-05T07:40:12-06:00`); v1 returns `2026-10-05 07:40:12 America/Denver`. - Every response starts with a `generated_at` timestamp (ISO 8601 UTC with milliseconds), also returned as the `X-Generated-At` header — on successes and errors alike. **Error responses** - Every v2 error is JSON in a single shape: `{ "generated_at": …, "code": …, "message": …, "details": … }`, where `code` is a machine-readable kind (`validation_error`, `auth_failed`, `forbidden`, `not_found`, `method_not_allowed`, `rate_limited`, `server_error`) and `details` maps each rejected field to its message on validation failures (empty otherwise). v1 answers with plain text. - **The meanings of the status codes change, so check any code that branches on them:** - `401` means the API key is missing or invalid. v1 usually answers that with a plain-text `403`. - `403` means you are authenticated but the transaction you looked up by `transaction_id` belongs to another agency. v1 answers that with a plain-text `400`. Another agency's `invoice_number` is not found, so it is a `404`. - A request with neither `transaction_id` nor `invoice_number`, or with either one sent as an array (`transaction_id[]=…`), is a `422` that names the field. v1 answers a missing parameter with a plain-text `400`. - An unknown transaction is a `404` in JSON, a wrong HTTP method is a `405` with an `Allow` header, and the rate-limit `429` carries a `Retry-After` header. **What stays the same** - **v1 is unchanged by this release.** `/api/v1/get-transaction-status.json` keeps its field names, date formats and plain-text errors, and remains live and supported until a deprecation is announced. ## 2026-10-23 · Planned for 2026-10-28, API · Transaction Status v2 URL: https://developer.inscipher.com/changelog/transaction-status-v2 **Expected October 28th, 2026** · Transaction Status A new version of the Transaction Status endpoint. It returns the insured fields under the names Transaction Import accepts, reports the other half of a mixed-premium split, changes how dates are formatted, and moves errors to the same JSON shape used by the other APIs in this release. We're announcing this update ahead of its release so you can see how it will affect your integrations. Nothing is affected right now, and no changes are required on your side today. ### What's changing for your integration **Transaction Status (new version 2)** — a new endpoint at `/api/v2/get-transaction-status.json`. You look a transaction up the same way as in v1: with `transaction_id` or `invoice_number`, and one of the two is required. **JSON Request changes** - None. The query parameters are the same as in v1. **JSON Response changes** - **Three fields use the Transaction Import names.** `physical_state` is now `insured_physical_state`, `mailing_insured_name` is now `insured_name`, and `inspection_fee` is now `carrier_fee`, so a transaction you import with those keys comes back under the same keys. - **New `related_transaction_id` and `related_transaction_status`.** When a mixed positive/negative-premium transaction was split in two, each half reports the other: the parent's response carries the child's id and status, and the child's carries the parent's. Both keys are left out for a transaction that was not split. - **Date formats changed.** `date_filed`, `date_ready_to_file` and `gl_moved_date` are full timestamps with a timezone offset (`2026-10-01T00:00:00-06:00`), and `sl_tax_paid_date`, `stamping_fee_paid_date` and `other_taxes_paid_date` are plain dates (`2026-10-01`). v1 returns them the other way round: plain dates for the first three, timestamps for the paid dates. `created_date` is ISO 8601 with a numeric offset (`2026-10-05T07:40:12-06:00`); v1 returns `2026-10-05 07:40:12 America/Denver`. - Every response starts with a `generated_at` timestamp (ISO 8601 UTC with milliseconds), also returned as the `X-Generated-At` header — on successes and errors alike. **Error responses** - Every v2 error is JSON in a single shape: `{ "generated_at": …, "code": …, "message": …, "details": … }`, where `code` is a machine-readable kind (`validation_error`, `auth_failed`, `forbidden`, `not_found`, `method_not_allowed`, `rate_limited`, `server_error`) and `details` maps each rejected field to its message on validation failures (empty otherwise). v1 answers with plain text. - **The meanings of the status codes change, so check any code that branches on them:** - `401` means the API key is missing or invalid. v1 answers that with a plain-text `403`. - `403` means you are authenticated but the transaction belongs to another agency. v1 answers that with a plain-text `400`. - A request with neither `transaction_id` nor `invoice_number`, or with either one sent as an array (`transaction_id[]=…`), is a `422` that names the field. v1 answers a missing parameter with a plain-text `400`. - An unknown transaction is a `404` in JSON, a wrong HTTP method is a `405` with an `Allow` header, and the rate-limit `429` carries a `Retry-After` header. **What stays the same** - **v1 is unchanged by this release.** `/api/v1/get-transaction-status.json` keeps its field names, date formats and plain-text errors, and remains live and supported until a deprecation is announced. See the [Transaction Status v2](https://developer.inscipher.com/api/transaction-status?version=v2) reference for full request and response details. Its version switcher keeps v1 readable alongside. ## 2026-10-02 · Planned for 2026-10-28, API · Transaction Search v1.1 URL: https://developer.inscipher.com/changelog/transaction-search-v1-1 **Expected October 28th, 2026** · Transaction Search A new version of the Transaction Search endpoint. It adds status and state filters, returns the filing workflow fields with each transaction, doubles the page size to 100, and moves errors to the same JSON shape used by the other APIs in this release. We're announcing this update ahead of its release so you can see how it will affect your integrations. Nothing is affected right now, and no changes are required on your side today. ### What's changing for your integration **Transaction Search (new version 1.1)** — a new endpoint at `/api/v1.1/search-transactions`. The request body is still a JSON object of optional filters combined with AND, and an empty body still returns every transaction for the agency. **JSON Request changes** - **New `status` filter** — one transaction status code, the same codes returned in `transaction_status`. - **New `transaction_sub_status` filter** — one sub-status code (`11`–`14`). A sub-status implies its parent status, so it narrows the results; a `status` that contradicts it returns no transactions. - **New `insured_physical_state` filter** — an array of two-letter state codes; a transaction matches when its insured physical state is any of them. Codes are case-insensitive. - The `date_filed`, `policy_effective_date` and `transaction_effective_date` filters are unchanged. **JSON Response changes** - **Up to 100 transactions per page**, up from 50; `pagination.per_page` returns `100`. - **14 new fields on each transaction:** `date_submitted`, `submitted_by`, `flagged_by`, `date_flagged`, `ready_to_file_by`, `state_filing_due_date`, `filed_by`, `filing_admin`, `agency_name`, `total`, `amount_due`, `date_edited`, `late_charge_added_by` and `customer_code`. Every field is always present and is `null` when not set. - **Three response fields use the Transaction Import names.** `physical_state` is now `insured_physical_state`, `mailing_insured_name` is now `insured_name`, and `inspection_fee` is now `carrier_fee`, so a transaction you import with those keys comes back under the same keys. The old filter key `physical_state` is rejected with a `422` that says `This field was not expected. Use insured_physical_state.` - **Dates use the same formats as Transaction Status v2.** `date_filed`, `date_ready_to_file` and `gl_moved_date` are full timestamps with a timezone offset (`2026-10-01T00:00:00-06:00`), `sl_tax_paid_date`, `stamping_fee_paid_date` and `other_taxes_paid_date` are plain dates (`2026-10-01`), and `created_date` is ISO 8601 with a numeric offset (`2026-10-05T07:40:12-06:00`). v1 returns `date_filed` as a plain date, the three paid dates as timestamps, and `created_date` as `2026-10-05 07:40:12 America/Denver`, so parse v1.1 responses with the formats above. The four fields added in this version (`date_submitted`, `date_flagged`, `date_edited` and `state_filing_due_date`) are plain dates. - **`pagination.next` includes the `/api` prefix** — `/api/v1.1/search-transactions.json?page=2` — so it can be appended to the host as is. - Every response starts with a `generated_at` timestamp (ISO 8601 UTC with milliseconds), also returned as the `X-Generated-At` header — on successes and errors alike. **Error responses** - Every v1.1 error is JSON in a single shape: `{ "generated_at": …, "code": …, "message": …, "details": … }`, where `code` is a machine-readable kind (`validation_error`, `malformed_request`, `auth_failed`, `method_not_allowed`, `rate_limited`, `server_error`) and `details` maps each rejected field to its message on validation failures (empty otherwise). An item in `insured_physical_state` is reported with its index, e.g. `insured_physical_state[1]`. - `401` now means the API key is missing or invalid; v1 answers that with a plain-text `403`. If your error handling branches on these codes, update it when you move to v1.1. - Malformed JSON is a `400` and field validation is a `422`. A wrong HTTP method is a `405`, and the rate-limit `429` (10,000 requests per 60 seconds) is JSON, with a `Retry-After` header when the wait is known. **What stays the same** - **v1 is unchanged by this release.** `/api/v1/search-transactions` keeps its filters, 50-per-page pagination, response fields and error responses, and remains live and supported until a deprecation is announced. See the [Transaction Search v1.1](https://developer.inscipher.com/api/transaction-search?version=v1.1) reference for full request and response details. Its version switcher keeps v1 readable alongside. ## 2026-09-10 · Planned for 2026-10-28, API · Transaction Import v3 & v5 URL: https://developer.inscipher.com/changelog/transaction-import-v3-v5 **Expected October 28th, 2026** · Single Transaction Import · Batch Transaction Import · Import Status A redesigned request and response across all three Transaction Import endpoints — Single (v3), Batch (v5) and Import Status (v5). The batch endpoint drops its pipe-delimited strings and now takes exactly the same transaction object the single endpoint takes, yes/no fields become real JSON booleans, and every response is stamped with the time the server built it. Missing-document warnings also stop being a dead end — they now name the documents you still owe. We're announcing this update ahead of its release so you can see how it will affect your integrations. Nothing is affected right now, and no changes are required on your side today. ### What's changing for your integration **Single Transaction Import (new version 3)** — a new endpoint at `/api/v3/single/transaction.json`. The body is still a plain JSON object with no wrapper key. **Batch Transaction Import (new version 5)** — a new endpoint at `/api/v5/transaction.json`. The body is a bare JSON **array** of transaction objects. Submitting is asynchronous, so this response confirms acceptance and returns a `batch_id`; it carries no per-transaction `warnings`. **Import Status (new version 5)** — a new endpoint at `/api/v5/transaction-import-results`, paired with Batch v5. This is where a batch's per-transaction results and `warnings` come from, so it is the endpoint that carries the missing-document change below. The v4 endpoint at `/api/v4/transaction-import-results` is unchanged and stays available. Single v3 and Batch v5 share one item shape, so a payload you build for v3 is a valid v5 array element. **JSON Request changes** - **Batch drops the pipe-delimited format entirely.** Where v4.x sent parallel pipe-delimited strings, v5 sends structured arrays — the same ones Single Import has always used. `transaction_line_of_business_list`, `transaction_line_of_business_coverage`, `transaction_line_of_business_fire_coverage`, `non_admitted_insurer_code_list`, `non_admitted_insurer_code_coverage`, `syndicate_list_coverage`, `dc_naic`, `dc_date_declined`, `dc_declining_reason` and the other `dc_*` parallel strings do not exist in v5: ```json [ { "policy_number": "CA20170228-05", "line_of_business_list": [ { "item": "GEN-1001", "premium": 3108.50 } ], "insurance_company_list": [ { "item": "24856", "coverage": 100 } ] } ] ``` - **Line-of-business objects are re-keyed.** Inside `line_of_business_list`, `coverage` is now `premium` and `fire_coverage` is now `fire_premium`. The top-level `fire_premium` field is removed — state the fire portion on the line of business it belongs to, including for single-LOB transactions. - **Yes/no fields are JSON booleans.** `rpg`, `physical_same_as_mailing`, `multi_state`, `ecp`, `tax_exempt`, `layered_risk`, `broker_of_record`, `risk_retention_group`, `commission_received`, `homeowner_policy`, `windstorm_exclusion`, `windstorm_eligible_for_pool` and `affordable_housing_qualification` accepted `0`/`1` before. Send `true`/`false` instead — `0` and `1` are now **rejected** with a `422` and a message of the form `The rpg field must be a boolean (true or false).` On v5 the rejected key carries the item index, e.g. `[0].rpg`. - **Fields are renamed.** `inspection_fee` is now `carrier_fee` and `exempt` is now `tax_exempt`. The insured, address and windstorm fields are named after what they describe: | Before (v2.2 and v4.2) | Now (v3 and v5) | |---|---| | `mailing_insured_name` | `insured_name` | | `mailing_address`, `mailing_address2` | `insured_mailing_street`, `insured_mailing_street2` | | `mailing_city`, `mailing_zip_code`, `mailing_state_code` | `insured_mailing_city`, `insured_mailing_zip`, `insured_mailing_state` | | `physical_address`, `physical_address2` | `insured_physical_street`, `insured_physical_street2` | | `physical_city`, `physical_zip_code`, `physical_state_code` | `insured_physical_city`, `insured_physical_zip`, `insured_physical_state` | | `wind_storm_exclusion`, `wind_storm_eligible_for_pool` | `windstorm_exclusion`, `windstorm_eligible_for_pool` | | `wind_storm_deduction` | `windstorm_deductible` | | `wind_storm_primary_amount`, `wind_storm_other_coverages_deductible` | `windstorm_primary_amount`, `windstorm_other_coverages_deductible` | The old names are no longer read. A request that sends `mailing_insured_name` instead of `insured_name` is rejected because `insured_name` is required; any other old name is ignored without an error, so check your mapping rather than relying on the response to tell you. - **`policy_limit` and `property_limit` are whole numbers** (integers). v2.2 documents them as decimal numbers. - **New fields:** `insured_first_name` and `insured_last_name` (the responsible individual for the insured entity), `retail_producer_npn` and `retail_producer_id`, `risk_description_import_code` (the state's Description of Risk import code; when you send it, it is imported instead of `risk_description`), and `dc_custom` — an array of up to 10 values for additional declining-carrier fields reported to the state (for example the California SL2 addendum), in the order of the state's custom fields. - **Removed:** the top-level `fire_premium` (see above), `migrated`, which was internal-only, and `dc_who_received_the_declinations` and `dc_other_person_in_office`. Sending them has no effect. - Six fields are required, the same six as v2.2 with `mailing_insured_name` renamed: `policy_number`, `policy_effective_date`, `transaction_effective_date`, `transaction_type`, `insured_name` and `physical_same_as_mailing`. `insured_physical_state` is also required when `physical_same_as_mailing` is `false`. **JSON Response changes** - **`warnings.documentsUpload` now names the missing documents.** This applies to the two responses that carry `warnings` — Single Import v3, and Import Status v5 for batches. Where earlier versions returned the fixed string `"Required document is missing"`, they now return an **array of the missing required document codes**: ```json "warnings": { "documentsUpload": ["POLIC", "SL2"] } ``` The codes are the same values you send in `transaction_documents[].code`, so you can round-trip them without a lookup table — you no longer have to query the Tax Calculator's `state_documents` or open the portal to find out what to upload. A single missing document is still returned as a one-element array, and the key is absent when nothing is missing. On Import Status v5, `documentsUpload` can still be a plain string, for example when a document sent by URL fails to download after the import, or for a batch imported before this release. Every other key in `warnings` is still a string, so parse the object as string-or-array of strings. - Every response starts with a `generated_at` timestamp (ISO 8601 UTC with milliseconds), also returned as the `X-Generated-At` header — on successes and errors alike. - On v5, the submit response carries a batch-level `status` of `processing` alongside the `batch_id`; per-transaction results, including `warnings`, come from `/api/v5/transaction-import-results`. **Error responses** - Every v3 and v5 error is JSON in a single shape: `{ "generated_at": …, "code": …, "message": …, "details": … }`, where `code` is a machine-readable kind (`validation_error`, `malformed_request`, `auth_failed`, `method_not_allowed`, `rate_limited`, `server_error`, plus `single_transaction_import_error` on v3 and `not_found` on the v5 results endpoint) and `details` maps each rejected field to its message on validation failures (empty otherwise). - `401` now means the API key is missing or invalid. The v4 results endpoint answered that with a plain-text `403`; if your error handling branches on these codes, update it when you move to v5. - Malformed JSON is a `400`, field validation is a `422`, and an unknown `batch_id` on the v5 results endpoint is a `404` (the v4 endpoint returned a plain-text `400`). The rate-limit `429` is JSON, with a `Retry-After` header when the wait is known. - On v5, validation `details` keys are prefixed with the zero-based index of the offending item — `[0].policy_number` — and a `body` key means the payload was not a non-empty array. - **An unknown `transaction_type`, or `BO` (backout), is rejected up front with a `422`** that names `transaction_type` (`Transaction type does not exist.` or `Transaction type BO is not allowed.`). v2.2 and v4.x answer the same request with HTTP `200` and a per-item status instead (`1002`, or `1047` for `BO`). **What stays the same** - Per-transaction `status` codes are unchanged; the v5 results endpoint returns the same code set as v4. The exception is the transaction type: an unknown or backout type is now a `422`, so it no longer comes back as `1002` or `1047` on v3 and v5. - The Single endpoint still groups calls under a shared daily `batch_id` that resets at 08:03 UTC; the Batch endpoint still issues a new `batch_id` per request. - **Existing versions are unchanged by this release.** v1, v2, v2.1 and v2.2 (Single), v4, v4.1 and v4.2 (Batch), and the v4 results endpoint all keep their current request and response shapes — including the plain-string `documentsUpload` warning — and remain live and supported until a deprecation is announced. See the [Single Import v3](https://developer.inscipher.com/api/transaction-import/single?version=v3), [Batch Import v5](https://developer.inscipher.com/api/transaction-import/batch?version=v5) and [Import Status v5](https://developer.inscipher.com/api/transaction-import/import-status?version=v5) references for full request and response details. Each has its own version switcher, so the older versions stay readable alongside. ## 2026-09-01 · Planned for 2026-11-18, API · Tax Calculator v3 URL: https://developer.inscipher.com/changelog/tax-calculator-v3 **Expected November 18th, 2026** · Tax Calculator A redesigned request and response for the Tax Calculator API. v3 replaces the pipe-delimited strings and `0`/`1` flags of earlier versions with structured JSON — lines of business are real objects, yes/no fields are real booleans, and every calculated tax comes back in one predictable list with its name, amount, and rate. We're announcing this update ahead of its release so you can see how it will affect your integrations. Nothing is affected right now, and no changes are required on your side today. ### What's changing for your integration **Tax Calculator API (new version 3)** — a new endpoint at `/api/v3/tax-calculator/calculate-general-taxes`. The calculation logic is the same as v2.2, except that v3 calculates a negative premium on a transaction type that v2.2 rejects with a `400` (for example a New Policy). Otherwise, what changes is the shape of what you send and what you get back. **JSON Request changes** - Lines of business are now a structured array. Instead of three parallel pipe-delimited strings (`transaction_line_of_business_list`, `transaction_line_of_business_coverage`, `transaction_line_of_business_fire_coverage`), send one `line_of_business_list` array — one object per coverage with `item` (the import code), `premium`, and optionally `fire_premium` (New Jersey): ```json "line_of_business_list": [ { "item": "GEN-1014", "premium": 220.14 }, { "item": "GEN-1020", "premium": 800 } ] ``` - Three fields are renamed: `inspection_fee` is now `carrier_fee`, `mailing_entity_type` is now `insured_entity`, and `physical_state` is now `home_state`. A request that sends only `physical_state` is rejected with a `422` that names `home_state`. - Yes/no fields (`rpg`, `commission_received`, `admitted`, `ecp`, `tax_exempt`) are JSON booleans — send `true`/`false` instead of `1`/`0`. `0`, `1` and strings such as `"true"` are rejected with a `422` and a message of the form `The rpg field must be a boolean (true or false).` - `home_state` accepts the 2-letter abbreviation (`TX`) or the full state name (`Texas`). - `tax_exempt` works as in v2.2: send `true` for a tax-exempt policy; omitted means `false`. Exemptions tied to `insured_entity` apply without it. - If the state restricts the `transaction_type` you send, v3 no longer rejects the request: the calculation automatically uses that type's configured Secondary Filing Type instead (e.g. a Pro Rata Cancellation filed as a Return Premium Endorsement where the state requires it). You only get a validation error when neither type is allowed in the state. - `BO` (Back-out / Reversal) is not an accepted `transaction_type` in v3. A request that sends it is rejected with a `422` that names `transaction_type` (`Transaction type Backout not allowed.`). - If you send only one of `policy_effective_date` / `transaction_effective_date`, the other defaults to it; if you send neither, the current date is used. - Removed fields: `layered_risk`, `broker_of_record_change`, `risk_retention_group`, `non_admitted_insurer_code`, `export_list`, and the legacy `line_of_business` / `premium` pair. Sending them has no effect in v3. **JSON Response changes** - All calculated taxes and fees are returned in a single `state_taxes` array — one entry per tax that applied, each with `item` (the machine code, e.g. `sl_tax`), `title` (the state-specific display name), `tax_value` (the amount), and `tax_percentage` (the rate). This replaces the flat `sl_tax`, `stamping_fee`, `sl_service_charge`, `fm_tax`, `empa_tax`, `municipal_fee`, `county_fee`, `premium_tax`, and `premium_tax_life` fields — note the Kentucky items are coded `municipal_tax` and `county_tax` in the array. - `tax_percentage` is `null` where a single rate would mislead you: fixed-amount fees, Kentucky municipal/county taxes, and the Surplus Lines Tax when a state splits it across several rates (New Jersey fire premium). For `fm_tax` it is the effective rate — the configured value multiplied by the share of premium it applies to — so the percentage and the dollar amount always agree. - `tax_exempt` echoes the value you sent, as a boolean; `false` when you omitted it. - Stamp wording moved from the flat `state_properties.state_stamp_wording_*` fields into a `state_stamp_wording` object with short keys: `text`, `instructions`, `font_size`, `font_bold`, `font_italics`, `font_color`, `type`, `updated_at`. - The fee-restriction, max-fee, and rounding settings you previously read from `tax_rule` now live in a compact `adjustment_rules` object; `tax_rule` itself now contains only `state_documents`. The full dump of rate-configuration fields (amount types, amounts, titles, manual-input flags) is gone — the applied rates are in `state_taxes` instead. - `state_documents` entries are trimmed to the fields document workflows use (name, code, the required/include flags, signature requirements, group, transaction types, note, download link); `last_edited_at`, active-date ranges, and the `rpg`/`ecp`/`exempt`/`export_list`/`commission_received`/`tax_exempt` applicability flags are no longer returned. The documents are chosen the same way as in v2.2: your account's documents for the state, the rule's `rpg` and the policy effective date, limited to those that list the transaction type the calculation used — so the list changes with the transaction type, and a document code can appear more than once, as in v2.2. - `agency_fee` and `carrier_fee` are the fees the calculation used, as in v2.2: in states that restrict fees, non-admitted rules apply the state's restriction, so they can differ from the fees you sent. - The state is echoed as `home_state`. The risk address is echoed in the same top-level `physical_address`, `physical_city` and `physical_zip_code` keys you sent, each present only when your request included it. - No longer returned: `state_notes`, `total_premium` (your premiums are echoed back in `line_of_business_list`), the per-LOB `code`/`generic_code`/`id` details, `mailing_state_properties`, and `super_agent`. - `transaction_type` in the response is the type the calculation actually used — when a Secondary Filing Type substitution happened (see the request changes above), it differs from what you sent, so compare it with your request to detect the substitution. - Every response now starts with a `generated_at` timestamp (ISO 8601 UTC with milliseconds), also returned as the `X-Generated-At` header — on successes and errors alike. **Error responses** - Every v3 error is JSON in a single shape: `{ "generated_at": …, "code": …, "message": …, "details": … }`, where `code` is a machine-readable kind (e.g. `validation_error`, `auth_failed`, `rate_limited`) and `details` maps each rejected field to its message on validation failures (empty otherwise). - **The meanings of `401` and `403` are swapped compared to v2.2**: in v3, `401` means the API key is missing or invalid (v2.2 answered that with a plain-text `403`), and `403` means the key is valid but the Tax Calculator API is not enabled for the account (v2.2 answered that with `401`). If your error handling branches on these codes, update it when you move to v3. - Field validation moves to `422`: v2.2 answers most validation failures with `400`. Malformed JSON stays a `400`, now in the unified shape with `code: malformed_request`. The rate-limit `429` is JSON instead of plain text, with a `Retry-After` header when the wait is known. Because this is a new API version, your current integration keeps working — existing versions are unchanged by this release and remain live and supported until a deprecation is announced. See the [Tax Calculator v3 reference](https://developer.inscipher.com/api/tax-calculations?version=v3) for full request and response details. ## 2026-08-04 · Sandbox, Production, API · Transaction Import v2.2 & v4.2 URL: https://developer.inscipher.com/changelog/transaction-import-v2-2-v4-2 **August 2026** · Single Transaction Import · Batch Transaction Import Idaho Homeowner Policy support — a new optional `homeowner_policy` field on the Transaction Import APIs, so Idaho filings on a homeowner-applicable line of business can indicate whether the policy is a homeowner policy. Both versions are live now in **Sandbox and Production**. ### What's new #### Single Transaction Import — v2.2 **Endpoint:** `POST /api/v2.2/single/transaction.json` - **`homeowner_policy`** — top-level field. `1` = Yes (Homeowner Policy), `0` = No. See the [Single Transaction Import reference](https://developer.inscipher.com/api/transaction-import/single?version=v2.2). #### Batch Transaction Import — v4.2 **Endpoint:** `POST /api/v4.2/transaction.json` - **`homeowner_policy`** — field on each transaction object. `1` = Yes, `0` = No. See the [Batch Transaction Import reference](https://developer.inscipher.com/api/transaction-import/batch?version=v4.2). ### When it's required `homeowner_policy` is **conditional**: required for **Idaho** filings whose line of business is on the homeowner-applicable list. It is optional and ignored for non-Idaho states. Validation errors: - **`1051`** — Missing Homeowner Policy (required but not provided). - **`1052`** — value not allowed (allowed values are `0`, `1`). ### Backward compatibility Your current integration is unaffected. The existing v2.1 / v4.1 (and earlier) endpoints do not include this field — adopt v2.2 / v4.2 when you are ready to send Idaho homeowner policy data. ## 2026-07-29 · Sandbox, Production, API · Fire Premium URL: https://developer.inscipher.com/changelog/fire-premium-production **July 2026** · Tax Calculator · Transaction Import · Exports New Jersey Fire Premium support is now live in **production**. After sandbox testing, the full feature set — more accurate Fire Marshal Tax and Surplus Lines Tax for New Jersey filings — is available to all API and import partners. ### What's included - **Tax Calculator API v2.2** — report fire coverage per line of business via `transaction_line_of_business_fire_coverage`; the response returns `total_premium`, `fire_premium`, and the `sl_tax_allocation` / `fm_tax` breakdown. See the [Tax Calculator v2.2 changelog](https://developer.inscipher.com/changelog/tax-calculator-v2-2). - **Transaction Import — Single (v2.1) & Batch (v4.1)** — report fire coverage on imports (`fire_premium` for single-LOB, `transaction_line_of_business_fire_coverage` for multi-LOB). See the [Transaction Import v2.1 / v4.1 changelog](https://developer.inscipher.com/changelog/transaction-import-v2-1-v4-1). - **Exports** — CSV and XLS exports now include a **Fire Premium** columns. Fire premium is always optional. If omitted, it defaults to `0`, and the total tax returned stays correct. **Default 60/40 split:** if you enable the 60/40 Split for determining Fire Premium Values in NJ setting, InsCipher fills in fire premium at **60%** of premium (40% non-fire) **when a filing or import is saved**, if you didn't provide a value. Agency Admins and Filing Agency Admins can enable it under **Profile & Preferences**; an InsCipher Admin can also set it in **SL Admin**. It's off by default. ## 2026-07-08 · Sandbox, Production, API · Transaction Import v2.1 & v4.1 URL: https://developer.inscipher.com/changelog/transaction-import-v2-1-v4-1 **July 2026** · Single Transaction Import · Batch Transaction Import New Jersey Fire Premium support — extending the same Fire Premium handling introduced in [Tax Calculator v2.2](https://developer.inscipher.com/changelog/tax-calculator-v2-2) to the Transaction Import APIs. You can now report the fire portion of a policy's premium at import time, so InsCipher can calculate Fire Marshal Tax and Surplus Lines Tax accurately without requiring a separate adjustment. Both new versions are available now in **Sandbox** for testing ahead of the production release. ### What's new #### Single Transaction Import — v2.1 **Endpoint:** `POST /api/v2.1/single/transaction.json` Two new optional fields for reporting fire premium: - **`fire_premium`** — top-level field for single-LOB transactions. Reports the fire portion of the total premium. Same data type and logic as the existing `premium` field. - **`fire_coverage`** — field inside each object in `line_of_business_list`, for multi-LOB transactions. Reports the fire coverage amount for that specific line of business. #### Batch Transaction Import — v4.1 **Endpoint:** `POST /api/v4.1/transaction.json` One new optional field for reporting fire premium: - **`transaction_line_of_business_fire_coverage`** — fire coverage amounts aligned to `transaction_line_of_business_list` in the same order, pipe-delimited. Same format as `transaction_line_of_business_coverage`. Always use the list form — for a single-LOB transaction, send a single value (one code, no pipes). A legacy top-level `fire_premium` field also works, but only with the deprecated `transaction_line_of_business` field. New integrations should use `transaction_line_of_business_fire_coverage` with `transaction_line_of_business_list` instead. ### Backward compatibility Your current integration is unaffected. The existing v2 and v4 endpoints ignore `fire_premium` and related fields — no changes required until you are ready to adopt the new versions. When a state's settings don't use Fire Premium for the requested period, the field is accepted but has no effect on the import or tax calculation. ## 2026-06-24 · Sandbox, Production, API · Tax Calculator v2.2 URL: https://developer.inscipher.com/changelog/tax-calculator-v2-2 **June 2026** · Tax Calculator New Jersey Fire Premium support — improving how Fire Premium is handled for New Jersey filings so your Fire Tax and Surplus Lines Tax calculate more accurately and stay aligned with the state's requirements. You can now tell us how much of your premium is Fire Premium, and InsCipher uses that to calculate the right taxes. This update is available now in Sandbox so your team can test ahead of the production release. ### What's changing for your integration **Tax Calculator API (new version 2.2)** — v2.2 adds Fire Premium tax logic for New Jersey. **JSON Request changes** - Use the new `transaction_line_of_business_fire_coverage` field to tell us how much of the premium is fire coverage. It's a pipe-delimited string — one value per line of business, in the same order as `transaction_line_of_business_list`, separated by a pipe (`|`), e.g. `400|0|0`. If you have a single line of business, just send the one value (e.g. `400`). If omitted, fire premium is treated as `0` and taxes are calculated as if there is no fire premium. **JSON Response changes** - The existing `premium` field is renamed to `total_premium`, and the total `fire_premium` is returned alongside it. - A new `is_multiple_calculations_active` flag (`true`/`false`) is added to the `tax_rule` section. - A new `sl_tax_allocation` section is returned within `tax_rule` when multiple calculations apply (e.g. New Jersey), containing `sl_tax_amount_type`, `sl_tax_amount`, and `sl_tax_amount_applies_to`. - A new `fm_tax` section is returned within `tax_rule`, containing `is_fire_tax_based_on_fire_premium_active`, `fm_tax_title`, `fm_tax_amount_type`, `fm_tax_amount`, and `fm_tax_amount_applies_to`. - The Fire Marshal tax fields previously included per line of business in `line_of_business_list` have moved into the new `fm_tax` section above. When a state's settings don't use Fire Premium for the requested period (expired or before the start date), the tax calculation is unchanged. **Exports** — a new Fire Premium column is included in your CSV and XLS exports. Because this is a new API version, your current integration keeps working until you choose to move up. We encourage moving to v2.2 so your New Jersey filings pick up the accurate Fire Premium handling. See the [Tax Calculator v2.2 reference](https://developer.inscipher.com/api/tax-calculations?version=v2.2) for full request and response details.