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 |
FieldName | Type | תיאור | Description | Defaults |
---|---|---|---|---|
AccountKey Required | String (max 15) | מפתח חשבון | Account key |
GetAllConid Output Data
Field | Description |
---|---|
data | Array of contract objects |
maxDaysLate | Maximum 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 |
FieldName | Type | תיאור | Description | Defaults |
---|---|---|---|---|
AccountKey Required | String (max 15) | מפתח חשבון | Account key |
GetNowConid Output Data
Field | Description |
---|---|
data | Array of current contract objects |
maxDaysLate | Maximum 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 |
FieldName | Type | תיאור | Description | Defaults |
---|---|---|---|---|
AccountKey Required | String (max 15) | מפתח חשבון | Account key |
GetLateConid Output Data
Field | Description |
---|---|
data | Array of contracts with payment delays |
maxDaysLate | Maximum 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
Field | Description |
---|---|
conId | Billing identifier |
description | Contract description |
joinDate | Join date |
disjoinDate | Disconnect date |
lastBillingDate | Payment date (payment delay days are calculated from this date until today) |
daysLatePayment | Number of payment delay days |
maxDaysLate | Maximum number of payment delay days among all contracts the customer joined |