API ClaimPayments

See API Specification

ClaimPayments are complex. They are used to finalize the payments received by insurance for a claim. See Claim, Receive Claim, and Finalize Insurance Payment for more details.

ClaimPayments GET (single)

Version Added: 23.2.15

Gets a single claimpayment.

Parameters:

ClaimPaymentNum: Required in URL.

Example Request:
GET /claimpayments/1822

Example Response:
{
"ClaimPaymentNum": 1822,
"CheckDate": "2023-08-16",
"CheckAmt": "300",
"CheckNum": "2468657",
"BankBranch": "Southwest Federal Bank",
"Note": "",
"ClinicNum": 3,
"DepositNum": 9867,
"CarrierName": "ODS Oregon Dental Service",
"DateIssued": "2023-08-16",
"IsPartial": "false",
"PayType": 356,
"payType": "Check",
"SecUserNumEntry": 12,
"SecDateEntry": "2023-08-16",
"SecDateTEdit": "2023-08-21 13:00:37",
"PayGroup": 451,
"payGroup": "Lockbox 1"
}

200 OK
404 NotFound (with explanation)

ClaimPayments GET (multiple)

Version Added: 23.2.15

Gets a list of claimpayments.

Parameters: All Optional.

SecDateTEdit: The last date the ClaimPayment was edited. Returns all ClaimPayments on or after this date. String in "yyyy-MM-dd HH:mm:ss" format.

Example Requests:
GET /claimpayments?SecDateTEdit=2023-08-15%2010%3A30%3A00

Example Response:
[
{
"ClaimPaymentNum": 5822,
"CheckDate": "2023-08-16",
"CheckAmt": "300",
"CheckNum": "2468657",
"BankBranch": "Southwest Federal Bank",
"Note": "",
"ClinicNum": 3,
"DepositNum": 9867,
"CarrierName": "ODS Oregon Dental Service",
"DateIssued": "2023-08-16",
"IsPartial": "false",
"PayType": 356,
"payType": "Check",
"SecUserNumEntry": 12,
"SecDateEntry": "2023-08-16",
"SecDateTEdit": "2023-08-21 13:00:37",
"PayGroup": 451,
"payGroup": "Lockbox 1"
},
{
"ClaimPaymentNum": 5823,
"CheckDate": "2023-08-18",
"CheckAmt": "1500.99",
"CheckNum": "9876",
"BankBranch": "4567-89654",
"Note": "Received in Mail",
"ClinicNum": 3,
"DepositNum": 0,
"CarrierName": "BCBS",
"DateIssued": "2023-08-14",
"IsPartial": "false",
"PayType": 356,
"payType": "Check",
"SecUserNumEntry": 11,
"SecDateEntry": "2023-08-18",
"SecDateTEdit": "2023-08-19 12:53:39",
"PayGroup": 452,
"payGroup": "Lockbox 2"
}
]

200 OK
400 BadRequest (with explanation)

ClaimPayments POST

Version Added: 22.4.8

Finalize a ClaimPayment for a single Claim. Only used for Check payments. Cannot use this method if the dental office has the preference ClaimPaymentBatchOnly set to true. Does not link Deposits or Attach EOBs.

Prior to running this method, use ClaimProcs PUT (update) to update the Status to either "Received" or "Supplemental", and finalize the InsPayAmt. ClaimProc.InsPayAmt cannot be updated when there is already a ClaimPayment attached. Then use Claims PUT (update) to update the Claim ClaimStatus to "R" (Received).

claimNum: Required. FK to Claim.ClaimNum that is receiving the payment.
CheckAmt: Required. The amount of the check. Must match the total of the ClaimProcs' InsPayAmt for all of the ClaimProcs attached to the Claim that have a ClaimPaymentNum of 0.

CheckDate: Optional. Date the check was entered into this system, not the date on the check. String in "yyyy-MM-dd" format. Default today's date.
CheckNum: Optional. The check number.
BankBranch: Optional. Bank and branch.
Note: Optional. Note for this check if needed.
ClinicNum: Optional. Default is the ClinicNum of the Claim.
CarrierName: Optional. Default is the CarrierName attached to the InsPlan that is attached to the Claim.
DateIssued: Optional. Date that the carrier issued the check. Date on the check. String in "yyyy-MM-dd" format.
PayType: Optional. Definition.DefNum where category=32. See also Definitions: Insurance Payment Types. Default is the first definition in that Category.
PayGroup: Optional. Definition.DefNum where category=40. See also Definitions: Claim Payment Groups. Default is the first definition in that Category.

Example Request:
POST /claimpayments

{
"claimNum": 3567,
"CheckAmt": "567.42"
}

or

{
"claimNum": 3567,
"CheckAmt": "567.42",
"CheckDate": "2022-10-25",
"CheckNum": "1234",
"BankBranch": "124-85425",
"Note": "Check was lost in mail, but envelope is dated appropriately.",
"ClinicNum": 3,
"CarrierName": "Great Insurance",
"DateIssued": "2022-10-20",
"PayType": 386,
"PayGroup": 394
}

Example Response:

{
"ClaimPaymentNum": 897,
"CheckDate": "10/25/2022",
"CheckAmt": "567.42",
"CheckNum": "1234",
"BankBranch": "124-85425",
"Note": "Check was lost in mail, but envelope is dated appropriately.",
"ClinicNum": 3,
"DepositNum": 0,
"CarrierName": "Great Insurance",
"DateIssued": "10/20/2022",
"IsPartial": "false",
"PayType": 386,
"payType": "Check",
"SecUserNumEntry": 0,
"SecDateEntry": "10/25/2022",
"SecDateTEdit": "11/10/2022 12:54:48",
"PayGroup": 394,
"payGroup": "Default"
}

201 Created
400 BadRequest (with explaination)
404 NotFound (with explaination)

ClaimPayments PUT

Version Added: 23.2.15

Updates an existing claimpayment by ClaimPaymentNum. See Finalize Insurance Payment.

ClaimPaymentNum: Required in the URL.

CheckNum: Optional. The check number.
BankBranch: Optional. Bank and branch.
Note: Optional. Note for this check if needed. Replaces existing Note.
CarrierName: Optional. Descriptive name of the carrier just for reporting purposes.
PayType: Optional. Definition.DefNum where definition.Category=32. See also Definitions: Insurance Payment Types.
PayGroup: Optional. Definition.DefNum where definition.Category=40. See also Definitions: Claim Payment Groups.

Example Request:
PUT /claimpayments/1434

{
"CheckNum": "758946",
"BankBranch": "124-85425",
"Note": "Check was lost in mail, but envelope is dated appropriately.",
"CarrierName": "ODS Oregon Dental Service",
"PayType": 356,
"PayGroup": 412
}

Example Response:

{
"ClaimPaymentNum": 1434,
"CheckDate": "2023-08-16",
"CheckAmt": "567.42",
"CheckNum": "758946",
"BankBranch": "124-85425",
"Note": "Check was lost in mail, but envelope is dated appropriately.",
"ClinicNum": 3,
"DepositNum": 0,
"CarrierName": "ODS Oregon Dental Service",
"DateIssued": "2023-08-14",
"IsPartial": "false",
"PayType": 356
"payType": "Check",
"SecUserNumEntry": 0,
"SecDateEntry": "2023-08-16",
"SecDateTEdit": "2023-08-17 12:53:39",
"PayGroup": 412,
"payGroup": "Default"
}

200 OK
400 BadRequest (with explanation)
404 NotFound (with explanation)