Surplus Taxes and Fees
Herald enables surplus lines (SL) taxes and fees calculation for non-admitted quotes using InsCipher.
This endpoint integrates with InsCipher's surplus lines tax calculator API, a highly trusted third-party tool used to determine surplus lines taxes and fees down to the state, county, and municipal levels. While Herald manages the integration, InsCipher is not a Herald product—platforms must provide their own InsCipher API token and store it with Herald before using this feature. If you would like access to this feature, please email support@heraldapi.com.
Requirements
- The quote must be non-admitted (
quote.admitted = false
). - The admin parameter
adm_p29n_broker_fees
must be present in the submission request that generated the quote.- This must be an integer.
- A value of
0
is allowed and indicates no broker fee.
Behavior
- InsCipher is the source of truth for all surplus lines taxes and fees in Herald's
priceDetails
object. If carriers return their own surplus taxes and fees in their response, they are not remitted inpriceDetails.
- Inscipher prices are remitted in
priceDetails.brokerSurcharges.
- Each surplus tax/fee surcharge is marked with
surplus: true
in the breakdown array
- Each surplus tax/fee surcharge is marked with
- The endpoint calculates:
- SL taxes
- SL stamping fees
- Other applicable state-specific SL charges like:
- Municipal fees
- FM tax
- EMPA tax
- County fees
- SL Service charge
- If the destination state requires additional SL documents, InsCipher returns them in the response. Herald retrieves these documents, stores them, and attaches them to the quote.
- Inscipher documents have their own dedicated type of
inscipher_document
- Inscipher documents have their own dedicated type of
Request
POST /quotes/:quote_id/calculate_sl_surcharges
No additional body is necessary for this request.
Response
The response from this endpoint is exactly the same as the GET
/quotes/:id endpoint. The response will include the surplus charges from the response, as well as any files returned in the InsCipher response.
Note: In the initial response from the endpoint, InsCipher files will be returned with status processing. These files are handled asynchronously exactly as any other quote files. For more information, see our files documentation.
Error Cases
Herald's calculate_sl_surcharges
will throw errors in the following cases detailed below.