curl --request GET \
--url https://lens-api.tic.io/companies/{id}/debts \
--header 'x-api-key: <api-key>'{
"debtSummary": [
{
"kfm_DebtorSummaryEntityDebtId": 123,
"kfm_DebtorSummaryId": 123,
"debtCaseType": "a",
"debtType": 123,
"numberOfCases": 123,
"debtAmountInSEK": 123,
"isDeleted": true,
"eventDate": "2023-11-07T05:31:56Z",
"debtCaseTypeDescription": "<string>",
"debtTypeDescription": "<string>"
}
],
"debtCases": [
{
"kfm_OrderToPayCaseId": 123,
"kfm_OrderToPayNotificationId": 123,
"fileCreationDate": "2023-11-07T05:31:56Z",
"notificationType": "<string>",
"applicationVerdict": "<string>",
"applicationVerdictDescription": "<string>",
"casePrefix": "<string>",
"caseNumber": "<string>",
"verdictCaseNumber": "<string>",
"dateOfApplicationOrVerdict": "2023-11-07T05:31:56Z",
"applicantName": "<string>",
"applicantPersonalIdentityOrRegistrationNumber": "<string>",
"applicantPersonId": 123,
"applicantCompanyId": 123,
"applicantHasProtectedPersonalData": true,
"defendantName": "<string>",
"defendantPersonalIdentityOrRegistrationNumber": "<string>",
"defendantPersonId": 123,
"defendantCompanyId": 123,
"defendantHasProtectedPersonalData": true,
"amount": 123,
"causeOfRemoval": "<string>",
"defendantAddressStreet": "<string>",
"defendantAddressPostalCode": "<string>",
"defendantAddressCity": "<string>",
"applicationWithdrawn": true,
"applicationWithdrawnDate": "2023-11-07T05:31:56Z",
"applicationContested": "<string>",
"applicationContestedDate": "2023-11-07T05:31:56Z",
"applicationDismissed": true,
"applicationDismissedDate": "2023-11-07T05:31:56Z",
"applicationToCourt": true,
"applicationToCourtDate": "2023-11-07T05:31:56Z",
"applicationToCourtCode": "<string>",
"verdictToCourt": true,
"verdictToCourtDate": "2023-11-07T05:31:56Z",
"verdictToCourtCode": "<string>",
"appealedToCourt": true,
"appealedToCourtDate": "2023-11-07T05:31:56Z",
"appealedToCourtCode": "<string>",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"defendantperson_PersonalIdentityNumber": "<string>",
"defendantperson_GivenName": "<string>",
"defendantperson_FirstName": "<string>",
"defendantperson_MiddleName": "<string>",
"defendantperson_LastName": "<string>",
"defendantperson_FullName": "<string>",
"defendantperson_IsMarried": true,
"defendantperson_Sex": 123,
"defendantperson_IsCoordinationNumber": true,
"defendantperson_Birthday": "<string>",
"defendantperson_IsProtected": true,
"applicantperson_PersonalIdentityNumber": "<string>",
"applicantperson_GivenName": "<string>",
"applicantperson_FirstName": "<string>",
"applicantperson_MiddleName": "<string>",
"applicantperson_LastName": "<string>",
"applicantperson_FullName": "<string>",
"applicantperson_IsMarried": true,
"applicantperson_Sex": 123,
"applicantperson_IsCoordinationNumber": true,
"applicantperson_Birthday": "<string>",
"applicantperson_IsProtected": true,
"defendantcompany_LegalName": "<string>",
"defendantcompany_Purpose": "<string>",
"defendantcompany_SNICodes": "<string>",
"defendantcompany_IntelligenceScoreTotal": 123,
"defendantcompany_IntelligenceNumberOfMax": 123,
"applicantcompany_LegalName": "<string>",
"applicantcompany_Purpose": "<string>",
"applicantcompany_SNICodes": "<string>",
"applicantcompany_IntelligenceScoreTotal": 123,
"applicantcompany_IntelligenceNumberOfMax": 123,
"applicantNameFallback": "<string>",
"defendantNameFallback": "<string>"
}
],
"mostRecentDebtorSummary": {
"foreclosure": true,
"debtRestructuring": true,
"recordOfPaymentApplications": {
"numberOfCases": 123,
"totalAmountInSEK": 123,
"lastCaseDate": 123,
"orderToPayCases": [
{
"notificationType": "<string>",
"applicationVerdict": "<string>",
"casePrefix": "<string>",
"caseNumber": "<string>",
"dateOfApplicationOrVerdict": "2023-11-07T05:31:56Z",
"amount": 123,
"applicationWithdrawn": true,
"fileCreationDate": "2023-11-07T05:31:56Z"
}
]
},
"recordOfNonPayment": {
"numberOfCases": 123,
"totalAmountInSEK": 123,
"lastCaseDate": 123
},
"debtBalance": {
"lastUpdated": 123,
"totalAmountInSEK": 123,
"public": [
{
"description": "<string>",
"totalAmountInSEK": 123,
"numberOfCases": 123
}
],
"private": {
"numberOfCases": 123,
"totalAmountInSEK": 123
}
},
"executions": [
{
"registrationDate": "2023-11-07T05:31:56Z",
"caseNumber": "<string>",
"caseNumberOldFormat": "<string>",
"debtType": 123,
"debtTypeDescription": "<string>",
"executionYear": "<string>",
"executionTitleMonth": "<string>",
"executionDate": "2023-11-07T05:31:56Z",
"originalDebt": 123,
"recalledAmount": 123,
"executionEventType": "<string>",
"executionEventTypeDescription": "<string>",
"executionCaseType": "<string>",
"executionCaseTypeDescription": "<string>",
"terminatedWithCause": "<string>",
"terminatedWithCauseDescription": "<string>",
"executionEvents": [
{
"executionDate": "2023-11-07T05:31:56Z",
"executionEventType": "<string>",
"executionEventTypeDescription": "<string>",
"terminatedWithCause": "<string>",
"terminatedWithCauseDescription": "<string>"
}
]
}
],
"decisions": [
{
"decisionType": "<string>",
"decisionTypeDescription": "<string>",
"decisionDate": "2023-11-07T05:31:56Z",
"decisionEventType": "<string>",
"measures": [
"<string>"
],
"measuresDescriptions": [
"<string>"
],
"reasonForDecision": "<string>",
"reasonForDecisionDescription": "<string>"
}
]
},
"debtCasesGroupedByWeek": [
{
"yearAndWeek": "<string>",
"amount": 123,
"numberOfCases": 123
}
],
"debtSummaryGroupedByWeek": [
{
"yearAndWeek": "<string>",
"amountE": 123,
"amountA": 123
}
]
}Returns the company’s debt position from the Swedish Enforcement Authority (Kronofogden): most recent debtor summary, aggregate debt summary, current debt cases, and weekly/case-type breakdowns for charting.
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/debts \
--header 'x-api-key: <api-key>'{
"debtSummary": [
{
"kfm_DebtorSummaryEntityDebtId": 123,
"kfm_DebtorSummaryId": 123,
"debtCaseType": "a",
"debtType": 123,
"numberOfCases": 123,
"debtAmountInSEK": 123,
"isDeleted": true,
"eventDate": "2023-11-07T05:31:56Z",
"debtCaseTypeDescription": "<string>",
"debtTypeDescription": "<string>"
}
],
"debtCases": [
{
"kfm_OrderToPayCaseId": 123,
"kfm_OrderToPayNotificationId": 123,
"fileCreationDate": "2023-11-07T05:31:56Z",
"notificationType": "<string>",
"applicationVerdict": "<string>",
"applicationVerdictDescription": "<string>",
"casePrefix": "<string>",
"caseNumber": "<string>",
"verdictCaseNumber": "<string>",
"dateOfApplicationOrVerdict": "2023-11-07T05:31:56Z",
"applicantName": "<string>",
"applicantPersonalIdentityOrRegistrationNumber": "<string>",
"applicantPersonId": 123,
"applicantCompanyId": 123,
"applicantHasProtectedPersonalData": true,
"defendantName": "<string>",
"defendantPersonalIdentityOrRegistrationNumber": "<string>",
"defendantPersonId": 123,
"defendantCompanyId": 123,
"defendantHasProtectedPersonalData": true,
"amount": 123,
"causeOfRemoval": "<string>",
"defendantAddressStreet": "<string>",
"defendantAddressPostalCode": "<string>",
"defendantAddressCity": "<string>",
"applicationWithdrawn": true,
"applicationWithdrawnDate": "2023-11-07T05:31:56Z",
"applicationContested": "<string>",
"applicationContestedDate": "2023-11-07T05:31:56Z",
"applicationDismissed": true,
"applicationDismissedDate": "2023-11-07T05:31:56Z",
"applicationToCourt": true,
"applicationToCourtDate": "2023-11-07T05:31:56Z",
"applicationToCourtCode": "<string>",
"verdictToCourt": true,
"verdictToCourtDate": "2023-11-07T05:31:56Z",
"verdictToCourtCode": "<string>",
"appealedToCourt": true,
"appealedToCourtDate": "2023-11-07T05:31:56Z",
"appealedToCourtCode": "<string>",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"defendantperson_PersonalIdentityNumber": "<string>",
"defendantperson_GivenName": "<string>",
"defendantperson_FirstName": "<string>",
"defendantperson_MiddleName": "<string>",
"defendantperson_LastName": "<string>",
"defendantperson_FullName": "<string>",
"defendantperson_IsMarried": true,
"defendantperson_Sex": 123,
"defendantperson_IsCoordinationNumber": true,
"defendantperson_Birthday": "<string>",
"defendantperson_IsProtected": true,
"applicantperson_PersonalIdentityNumber": "<string>",
"applicantperson_GivenName": "<string>",
"applicantperson_FirstName": "<string>",
"applicantperson_MiddleName": "<string>",
"applicantperson_LastName": "<string>",
"applicantperson_FullName": "<string>",
"applicantperson_IsMarried": true,
"applicantperson_Sex": 123,
"applicantperson_IsCoordinationNumber": true,
"applicantperson_Birthday": "<string>",
"applicantperson_IsProtected": true,
"defendantcompany_LegalName": "<string>",
"defendantcompany_Purpose": "<string>",
"defendantcompany_SNICodes": "<string>",
"defendantcompany_IntelligenceScoreTotal": 123,
"defendantcompany_IntelligenceNumberOfMax": 123,
"applicantcompany_LegalName": "<string>",
"applicantcompany_Purpose": "<string>",
"applicantcompany_SNICodes": "<string>",
"applicantcompany_IntelligenceScoreTotal": 123,
"applicantcompany_IntelligenceNumberOfMax": 123,
"applicantNameFallback": "<string>",
"defendantNameFallback": "<string>"
}
],
"mostRecentDebtorSummary": {
"foreclosure": true,
"debtRestructuring": true,
"recordOfPaymentApplications": {
"numberOfCases": 123,
"totalAmountInSEK": 123,
"lastCaseDate": 123,
"orderToPayCases": [
{
"notificationType": "<string>",
"applicationVerdict": "<string>",
"casePrefix": "<string>",
"caseNumber": "<string>",
"dateOfApplicationOrVerdict": "2023-11-07T05:31:56Z",
"amount": 123,
"applicationWithdrawn": true,
"fileCreationDate": "2023-11-07T05:31:56Z"
}
]
},
"recordOfNonPayment": {
"numberOfCases": 123,
"totalAmountInSEK": 123,
"lastCaseDate": 123
},
"debtBalance": {
"lastUpdated": 123,
"totalAmountInSEK": 123,
"public": [
{
"description": "<string>",
"totalAmountInSEK": 123,
"numberOfCases": 123
}
],
"private": {
"numberOfCases": 123,
"totalAmountInSEK": 123
}
},
"executions": [
{
"registrationDate": "2023-11-07T05:31:56Z",
"caseNumber": "<string>",
"caseNumberOldFormat": "<string>",
"debtType": 123,
"debtTypeDescription": "<string>",
"executionYear": "<string>",
"executionTitleMonth": "<string>",
"executionDate": "2023-11-07T05:31:56Z",
"originalDebt": 123,
"recalledAmount": 123,
"executionEventType": "<string>",
"executionEventTypeDescription": "<string>",
"executionCaseType": "<string>",
"executionCaseTypeDescription": "<string>",
"terminatedWithCause": "<string>",
"terminatedWithCauseDescription": "<string>",
"executionEvents": [
{
"executionDate": "2023-11-07T05:31:56Z",
"executionEventType": "<string>",
"executionEventTypeDescription": "<string>",
"terminatedWithCause": "<string>",
"terminatedWithCauseDescription": "<string>"
}
]
}
],
"decisions": [
{
"decisionType": "<string>",
"decisionTypeDescription": "<string>",
"decisionDate": "2023-11-07T05:31:56Z",
"decisionEventType": "<string>",
"measures": [
"<string>"
],
"measuresDescriptions": [
"<string>"
],
"reasonForDecision": "<string>",
"reasonForDecisionDescription": "<string>"
}
]
},
"debtCasesGroupedByWeek": [
{
"yearAndWeek": "<string>",
"amount": 123,
"numberOfCases": 123
}
],
"debtSummaryGroupedByWeek": [
{
"yearAndWeek": "<string>",
"amountE": 123,
"amountA": 123
}
]
}Internal company ID
Debt summary and case breakdown