Skip to main content

Export Billing

GetAllConid Method

Returns all contracts that the customer was connected to in the past. (Also displayed in account card)

This API receives an accountKey and returns a list of contracts that the customer was or is connected to, as well as the maximum days of payment delay for this customer.

REST API/billingApi/getAllConid
FieldNameTypeתיאורDescriptionDefaults
AccountKey
Required
String (max 15)מפתח חשבוןAccount key

GetAllConid Output Data

FieldDescription
dataArray of contract objects
maxDaysLateMaximum days of payment delay

JSON Output Example

{
"data": [
{
"conId": 119,
"description": "Contract 119",
"joinDate": "2025-06-30",
"disjoinDate": "2025-09-16",
"lastBillingDate": "2025-06-30",
"daysLatePayment": 21
},
{
"conId": 193,
"description": "Contract Description 176",
"joinDate": "2025-06-04",
"disjoinDate": "2030-01-31",
"lastBillingDate": "2025-08-04",
"daysLatePayment": 0
},
{
"conId": 205,
"description": "Contract Example",
"joinDate": "2025-05-29",
"disjoinDate": "2025-05-29",
"lastBillingDate": "2025-06-28",
"daysLatePayment": 0
},
{
"conId": 205,
"description": "Contract Example",
"joinDate": "2025-06-08",
"disjoinDate": "2025-12-01",
"lastBillingDate": "2025-07-08",
"daysLatePayment": 13
},
{
"conId": 207,
"description": "Contract Example",
"joinDate": "2025-05-29",
"disjoinDate": "2025-05-29",
"lastBillingDate": "2025-06-28",
"daysLatePayment": 0
}
],
"maxDaysLate": 21
}

GetNowConid Method

Returns contracts that the customer is currently connected to.

This API receives an accountKey and returns a list of contracts that the customer is currently connected to, as well as the maximum days of payment delay for this customer (from all contracts).

REST API/billingApi/getNowConid
FieldNameTypeתיאורDescriptionDefaults
AccountKey
Required
String (max 15)מפתח חשבוןAccount key

GetNowConid Output Data

FieldDescription
dataArray of current contract objects
maxDaysLateMaximum days of payment delay

JSON Output Example

{
"data": [
{
"conId": 119,
"description": "Contract 119",
"lastBillingDate": "2025-06-30",
"daysLatePayment": 21
},
{
"conId": 193,
"description": "Contract Description 176",
"lastBillingDate": "2025-08-04",
"daysLatePayment": 0
},
{
"conId": 205,
"description": "Contract Example",
"lastBillingDate": "2025-07-08",
"daysLatePayment": 13
}
],
"maxDaysLate": 21
}

GetLateConid Method

Returns only contracts where the customer has payment delays.

This API receives an accountKey and returns a list of contracts where the customer has payment delays, as well as the maximum days of payment delay for this customer (from all contracts).

REST API/billingApi/getLateConid
FieldNameTypeתיאורDescriptionDefaults
AccountKey
Required
String (max 15)מפתח חשבוןAccount key

GetLateConid Output Data

FieldDescription
dataArray of contracts with payment delays
maxDaysLateMaximum days of payment delay

JSON Output Example

{
"data": [
{
"conId": 119,
"description": "Contract 119",
"lastBillingDate": "2025-06-30",
"daysLatePayment": 21
},
{
"conId": 205,
"description": "Contract Example",
"lastBillingDate": "2025-07-08",
"daysLatePayment": 13
}
],
"maxDaysLate": 21
}

Output Field Descriptions

FieldDescription
conIdBilling identifier
descriptionContract description
joinDateJoin date
disjoinDateDisconnect date
lastBillingDatePayment date (payment delay days are calculated from this date until today)
daysLatePaymentNumber of payment delay days
maxDaysLateMaximum number of payment delay days among all contracts the customer joined