Single Transaction Import

Import single transactions & documents into InsCipher

Introduction

The Single Transaction Import API allows the programmatic import of single transactional policies and documents into InsCipher's online portal.

URL

POST /api/v1/single/transaction


Field Requirements

Click to open the dialog below. Fields shaded in red are strictly required for a successful transaction.

Request Fields
FieldDescriptionTypeExample Value (Default)
batch_idUnique batch identifier (UUID format). If one is not provided, it will be autogenerated.string8df5f4d7-3aaf-4937-9e6e-bad6b929f98a
total_itemsTotal transactions in batch (must be > 0)integer1
current_itemCurrent transaction index (must be > 0)integer1
transaction (object)
  idUnique tracking ID for imported transactionsvarchar(255)201702028950
policy_numberPolicy identifier with state-specific length limitsvarchar(50)CA20170228-05
policy_effective_datePolicy start date (uses transaction date if empty)date/datetime2017-02-01
policy_expiration_datePolicy end date (defaults to 12 months from effective date)date/datetime2018-02-01
transaction_effective_dateEndorsement/transaction execution datedate2017-02-01
expiring_policy_numberPrevious policy ID (required for renewals)varchar(50)CA20170228-04
invoice_dateState-specific invoicing date (GA=Revenue Date, HI=Issued Date)date2017-02-01
invoice_numberInternal tracking ID from agent interfacevarcharINVN-10001
transaction_typeTransaction category (PN, PR, APE, RPE, AE, FC, ZPE, BD, RW, EE, OS, PC)varchar(50)PN
policy_typePolicy classification (standard/master/cert/reporting_form)stringstandard
account_written_asBrokerage account type (B=Brokerage, DC=Direct Commission)varchar(50)B
rpgRisk Purchasing Group indicator (1=Yes, 0=No)tinyint(1)1
layered_riskLayered risk coverage flagtinyint(1)1
broker_of_recordBroker change indicatortinyint(1)1
risk_retention_groupRisk retention statustinyint(1)1
purchasing_group_nameRequired when RPG=1varchar(255)Cal Association
risk_descriptionState-specific risk codes (NY/OH/PA have special requirements)varchar(255)General Accidental Coverage
ecpExempt Commercial Purchaser statustinyint(1)0
exemptTax exemption status (Utah-required)tinyint(1)0
multi_stateMulti-state liability indicatortinyint(1)0
policy_limitAggregate liability amount (required in 12+ states)integer(12)0
property_limitProperty coverage limitinteger(12)0
line_of_business_list (array of objects)
  itemLOB code (GEN-1001, etc)string"GEN-1001"
  coveragePremium allocation for this LOBfloat3108.5
insurance_company_list (array of objects)
  itemNAIC codestring"24856"
  coveragePercentage allocationinteger100
syndicate_list (array of objects)
  itemSyndicate codestring"AA-1120131"
  coveragePercentage allocationinteger60
transaction_line_of_businessCoverage code(s) using pipe separatorinteger(11)/stringGEN-1001
transaction_line_of_business_coveragePremium breakdown percentagesstringN/A
non_admitted_insurer_codeCarrier NAIC codes (Lloyd's: AA-1122000)varchar(255)AA-1122000
non_admitted_insurer_code_coveragePercentage allocationsstringN/A
premiumBase policy amountdecimal(12,2)3108.50
agency_feeBrokerage service feedecimal(12,2)200.00
inspection_feeUnderwriting audit feedecimal(12,2)0.00
collection_feePayment processing feedecimal(12,2)1.11
sl_taxSurplus lines taxdecimal(12,2)117.00
stamping_feeState filing feedecimal(12,2)7.80
sl_service_chargeOR/MS-specific service chargedecimal(12,2)0.00
municipal_feeKY-specific municipal feedecimal(12,2)0.00
fm_taxIL Fire Marshal Taxdecimal(12,2)0.00
empa_taxFL EMPA taxdecimal(12,2)0.00
totalAuto-sum of premium + feesdecimal(12,2)4224.80
commission_receivedNH commission status flagtinyint(1)0
mailing_insured_namePolicy document namevarchar(100)Westfield Galleria at Roseville
mailing_addressPrimary mailing addressvarchar(255)1151 Galleria Blvd
mailing_address2Secondary mailing addressvarchar(255)N/A
mailing_cityMailing cityvarchar(100)Roseville
mailing_zip_codeMailing ZIP codevarchar(20)95678
mailing_state_code2-letter state codevarchar(20)CA
insured_entityEntity type (individual/commercial/governmental)varchar(100)individual
insured_emailContact emailvarchar(100)producer@demo.none
insured_phoneContact phonevarchar(100)212-456-7890
insured_countyMailing countyvarchar(100)Washington
physical_same_as_mailingAddress equivalence flagtinyint(1)1
physical_addressPrimary physical addressvarchar(255)1151 Galleria Blvd
physical_address2Secondary physical addressvarchar(255)N/A
physical_cityPhysical cityvarchar(100)Roseville
physical_zip_codePhysical ZIP codevarchar(20)95678
physical_state_code2-letter state codevarchar(20)CA
agent_idAgency/agent identifierinteger1
agent_notesInternal policy notesvarchartest notes
transaction_documents (array of objects)
  codeDocument type code from tax rules APIvarchar(255)D1DISC
  urlTemporary authenticated document URLvarchar(255)https://example.com/doc.png
  idDocument tracking IDvarchar(255)1000001
  typeDocument source type (url/base64)varchar(255)url
  cookie_urlOptional authentication cookie URLvarchar(255)null
  document_payloadBase64 encoded content (required for type=base64)stringKQdiXprAD=dNwYJKODNh=PJBKNP0Ym
  document_filenameFile name for base64 payloadsvarchar(255)policy.pdf
sop_nameService of Process name (AL-required)varchar(100)SOP Name
declining_carriers (array of objects)
  naicDeclining carrier NAIC code (pipe-separated for multiple)varchar(255)54267
  date_declinedDeclination date(s) in yyyy-mm-dd formatdate2017-02-02
  declining_reasonState-specific reasons (CA: Capacity, Underwriting, etc.)varchar(255)other
  underwriting_considerationNY-specific factors (Recent transactions, Advertising, Media)varchar(255)Considered
  representative_nameContact name(s) for declined carriersvarchar(255)John Doe
  representative_titleNY-specific roles (Company Employee/Agent/Other)varchar(255)Agent
  representative_emailContact emails (pipe-separated)varchar(255)demo@demo.com
  representative_phone_numberContact phone numbersvarchar(255)465
  representative_websiteOfficial carrier websitesvarchar(255)demo.com
dc_naicDeclining carrier NAIC codesvarchar(255)54267|37816|49865
dc_date_declinedDeclination datesdate2017-02-02|2017-02-03
dc_declining_reasonState-specific rejection reasonsvarchar(255)wrong|bad|incorrect
dc_underwriting_considerationNY-specific underwriting factorsvarchar(255)Demo|Test|Considered
retail_producer_nameRetail agent name (WA/OR/AK)varchar(255)Producer Name
wind_storm_exclusionTX/FL storm exclusion flagtinyint(1)1
lloyds_cover_holder_numberLloyd's Binding Authority IDvarchar(255)N/A
migratedInternal tracking flagtinyint(1)0
associated_producerLicensed producer IDvarchar(255)1234567
stamping_fee_invoice_idStamping Fee Invoice ID (InsCipher Connect only)varchar(255)INVST-20001
sl_tax_invoice_idSL 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 clients.varchar(255)INVSL-30001
business_group_idBusiness Group ID. This is for assigning divisions, regions, or other business groups to a transaction for tracking purposes. Only applies to InsCipher Connect clients.varchar(255)Division 1
customer_codeCustomer Code. Used for associating specific customer classifications from your management system to a transaction for tracking purposes.varchar(255)OPT CUST CODE12
transaction_statusTransaction status (not applicable in UT/ID)integernull
license_numberLicense ID.varchar(255)null
filing_adminFiling Admin Name.varchar(255)null
date_filedDate Filed. If the transaction is imported with a 'Date Filed', it will automatically be imported in a 'Filed' status.date2024-01-01
umr_numberUMR identifiervarchar(255)-
sla_transaction_numberFormat: XXXXX-XX-XXXXX (first 5 alphanum)varchar(255)IL20170000000
unique_idUnique identifiervarchar(255)-
stamping_fee_date_paidStamping fee payment datedate2024-01-01
sl_tax_paid_dateSurplus lines tax payment datedate2024-01-01
other_taxes_paid_dateOther taxes payment datedate2024-01-01
Response Fields
FieldDescriptionTypeExample Value (Default)
batch_idUnique batch identifierstring912a654e961bb083981145c344ca40c6
transactions (array of objects)
  idUnique transaction identifierstring201909240000000001
  policy_numberPolicy identifierstringCA20170228-05
  statusProcessing status codestring0
  status_messageAdditional status informationstring-

Request / Response Examples

{
  "batch_id": "8df5f4d7-3aaf-4937-9e6e-bad6b929f98a",
  "total_items": 1,
  "current_item": 1,
  "transaction": {
    "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": "standard",
    "account_written_as": "B",
    "rpg": 1,
    "layered_risk": 1,
    "broker_of_record": 1,
    "risk_retention_group": 1,
    "purchasing_group_name": "Cal Association",
    "risk_description": "General Accidental Coverage",
    "ecp": 0,
    "exempt": 0,
    "multi_state": 0,
    "policy_limit": 0,
    "property_limit": 0,
    "line_of_business_list": [
      {
        "item": "GEN-1001",
        "coverage": 3108.5
      }
    ],
    "insurance_company_list": [
      {
        "item": "24856",
        "coverage": 100
      }
    ],
    "syndicate_list": [
      {
        "item": "AA-1126033",
        "coverage": 100
      }
    ],
    "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_address2": "",
    "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,
    "physical_address": "1151 Galleria Blvd",
    "physical_address2": "",
    "physical_city": "Roseville",
    "physical_zip_code": "95678",
    "physical_state_code": "CA",
    "agent_id": 1,
    "agent_notes": "test notes",
    "transaction_documents": [
      {
        "code": "D1DISC",
        "url": "https://www.google.com/logos/doodles/2017/abdual-sattar-edhis-89th-birthday-5757526734798848-res.png",
        "id": "1000001",
        "type": "url",
        "cookie_url": null,
        "document_payload": "KQdiXprAD=dNwYJKODNh=PJBKNP0Ym",
        "document_filename": "policy.pdf"
      }
    ],
    "sop_name": "SOP Name",
    "sop_address": "Demo street 1",
    "sop_address_2": "2nd floor",
    "sop_city": "Winthrop",
    "sop_state": "WA",
    "sop_zip": "98862",
    "declining_carriers": [
      {
        "naic": "54267",
        "date_declined": "2017-02-02",
        "declining_reason": "other",
        "underwriting_consideration": "Considered",
        "representative_name": "John Doe",
        "representative_title": "Agent",
        "representative_email": "demo@demo.com",
        "representative_phone_number": "465",
        "representative_website": "demo.com"
      }
    ],
    "dc_who_received_the_declinations": "Other Person Office",
    "dc_other_person_in_office": "Some Other Person",
    "dc_who_performed_diligent_search": 1,
    "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": "WA",
    "retail_zip": "12345",
    "retail_producer_license": "",
    "retail_agency_license": "",
    "retail_phone_number": "",
    "retail_email_address": "",
    "wind_storm_exclusion": 1,
    "wind_storm_eligible_for_pool": 1,
    "wind_storm_deduction": 0,
    "wind_storm_primary_amount": 0,
    "wind_storm_other_coverages_deductible": 0,
    "lloyds_cover_holder_number": "",
    "lloyds_cover_holder_name": "",
    "migrated": 0,
    "associated_producer": "1234567",
    "stamping_fee_invoice_id": "INVST-20001",
    "sl_tax_invoice_id": "INVSL-30001",
    "business_group_id": "Division 1",
    "customer_code": "OPT CUST CODE12",
    "transaction_status": null,
    "license_number": null,
    "filing_admin": null,
    "date_filed": "2024-01-01",
    "umr_number": "",
    "sla_transaction_number": "IL20170000000",
    "unique_id": "",
    "stamping_fee_date_paid": "2024-01-01",
    "sl_tax_paid_date": "2024-01-01",
    "other_taxes_paid_date": "2024-01-01"
  }
}
{
  "batch_id": "912a654e961bb083981145c344ca40c6",
  "transactions": [
    {
      "id": "201909240000000001",
      "policy_number": "CA20170228-05",
      "status": "0",
      "status_message": ""
    }
  ]
}
{
  "message": "Validation error!",
  "errors": {
    "transaction.transaction_documents[0].cookie_url": "The cookie URL must be a valid URL or null."
  },
  "metadata": [
    "string"
  ]
}