curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/financials/transactions \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"transactionType": "indemnity_invoice",
"transactionDate": "2025-01-15",
"amount": 500000,
"payeeId": "550e8400-e29b-41d4-a716-446655440050",
"description": "Initial claim payment",
"status": "owed"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440010"
}Event Financials
Create Event Transaction
Creates a new financial transaction for an event.
Transaction Types:
- Non-itemized types (e.g.,
indemnity_invoice): Requireamountfield,lineItemsis forbidden - Itemized types (e.g.,
alae_invoice): RequirelineItemsarray,amountis forbidden
Use the GET /transaction-categories endpoint to see available transaction types and whether they are itemized.
Note: This endpoint does NOT automatically update reserves. Use PATCH /events//financials/expected-totals to update reserves.
Required permission: company.payment:create
POST
/
api
/
external
/
companies
/
{companyId}
/
events
/
{eventId}
/
financials
/
transactions
curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/financials/transactions \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"transactionType": "indemnity_invoice",
"transactionDate": "2025-01-15",
"amount": 500000,
"payeeId": "550e8400-e29b-41d4-a716-446655440050",
"description": "Initial claim payment",
"status": "owed"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440010"
}Authorizations
Path Parameters
Body
application/json
Request body for creating an event transaction
Was this page helpful?
