Documentation Index
Fetch the complete documentation index at: https://docs.getlemma.com/llms.txt
Use this file to discover all available pages before exploring further.
Submits an insurance claim so Lemma can track it and automatically reconcile it against incoming payments. When a matching deposit arrives, the claim is marked as reconciled and linked to the corresponding transactions.
Lemma matches claims against incoming 835 remittance data using the payer_claim_number, claim_number, subscriber_id, and charged_amount fields. Provide as many fields as possible to improve match accuracy.
Request body
The ID of the provider this claim is for.
The name of the insurance payer (e.g., “Aetna Health Insurance”). Maps to the
payer identified in the 835 N1 loop.
Your internal claim or patient account number. This is the provider-assigned
identifier used to match against CLP01 (patient control number) in the 835.
The payer-assigned claim control number, if known. Maps to CLP07 in the 835.
Including this significantly improves reconciliation accuracy.
The patient’s insurance member or subscriber ID. Used for matching against
subscriber identification in the 835 NM1 loop.
The total billed amount for the claim in cents. Maps to CLP03 (total claim
charge amount) in the 835.
The date the service was rendered, or the start of the service period. ISO
8601 format.
The end of the service period, if the claim spans multiple dates. ISO
8601 format. Omit for single-date services.
Response
Returns the created claim object.
Unique identifier for the insurance claim.
The ID of the provider this claim belongs to.
The name of the insurance payer.
Your internal claim or patient account number.
The payer-assigned claim control number.
The patient’s insurance member or subscriber ID.
The total billed amount for the claim in cents.
The date or start of the service period.
The end of the service period, if applicable.
Whether this claim has been matched to an incoming payment. Newly created
claims are always false.
The IDs of transactions this claim has been reconciled against. A claim can
have multiple payments — for example, when primary and secondary payers each
remit separately. Empty array until reconciled.
ISO 8601 timestamp of when the claim was created.
{
"id": "claim_Rv8nXm3hTw5pBk7c",
"provider_id": "entity_k7mXp2vR9nTfBw4s",
"payer_name": "Aetna Health Insurance",
"claim_number": "CLM-2026-03-1542",
"payer_claim_number": "ACN7829304561",
"subscriber_id": "W123456789",
"patient_name": "Jane Smith",
"charged_amount": 325000,
"service_date": "2026-02-15T00:00:00Z",
"service_end_date": null,
"reconciled": false,
"transaction_ids": [],
"created_at": "2026-03-15T14:30:00Z"
}