Charge¶
Retrieve A Specific Charge¶
HTTP Request
GET /api/v1/charges/{id}
📋 Description: Retrieves detailed information about a specific charge associated with a lease or contract, providing insights into financial obligations and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
Example Values¶
Parameter |
Example |
Type |
|---|---|---|
id |
|
path |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully retrieved charge. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": {
7 "id": 20000001,
8 "displayId": "CHG-0001",
9 "name": "Office Supplies Purchase",
10 "description": "Charge for Q1 office supplies procurement.",
11 "dueDate": "2025-12-31",
12 "amount": 1250.5,
13 "hasPostedDocument": false,
14 "fiscalYear": 2025,
15 "fiscalPeriod": 3,
16 "expenseCategory": {
17 "id": 101,
18 "displayId": "EC-2025-001",
19 "status": {
20 "name": "ACTIVE",
21 "captionKey": "enum.objectStatus.active",
22 "active": true,
23 "caption": "Active"
24 },
25 "name": "Lease Payment",
26 "expenseCategoryType": "PAYMENT"
27 },
28 "unitId": 30001,
29 "unitDisplayId": "UNIT-0005",
30 "activationGroupId": 4001,
31 "vendorPaymentSplits": [],
32 "numberRangeIdentifierValue": "BU-01",
33 "numberRangeIdentifierType": {
34 "name": "COMPANY_CODE"
35 },
36 "numberRangeType": {
37 "name": "CONTRACT"
38 },
39 "allowsSystemGenerateNewId": true
40 }
41}
Update A Specific Charge¶
HTTP Request
PUT /api/v1/charges/{id}
📋 Description: Updates the details of a specific charge identified by its ID within the Nakisa Lease Accounting Suite, ensuring that financial obligations and accounting entries related to leases and contracts are accurately maintained.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
body |
body |
false |
Request body containing the updated financial obligation details for the specified lease contract, including relevant accounting entry information. |
Example Values¶
Parameter |
Example |
Type |
|---|---|---|
id |
|
path |
Body Parameters
1{
2 "id": 20000001,
3 "displayId": "CHG-0001",
4 "name": "Office Supplies Purchase",
5 "description": "Charge for Q1 office supplies procurement.",
6 "dueDate": "2025-12-31",
7 "amount": 1250.5,
8 "hasPostedDocument": false,
9 "fiscalYear": 2025,
10 "fiscalPeriod": 3,
11 "expenseCategory": {
12 "id": 101,
13 "displayId": "EC-2025-001",
14 "status": {
15 "name": "ACTIVE",
16 "captionKey": "enum.objectStatus.active",
17 "active": true,
18 "caption": "Active"
19 },
20 "name": "Lease Payment",
21 "expenseCategoryType": "PAYMENT"
22 },
23 "unitId": 30001,
24 "unitDisplayId": "UNIT-0005",
25 "activationGroupId": 4001,
26 "vendorPaymentSplits": [],
27 "numberRangeIdentifierValue": "BU-01",
28 "numberRangeIdentifierType": {
29 "name": "COMPANY_CODE"
30 },
31 "numberRangeType": {
32 "name": "CONTRACT"
33 },
34 "allowsSystemGenerateNewId": true
35}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charge successfully updated. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": {
7 "id": 20000001,
8 "displayId": "CHG-0001",
9 "name": "Office Supplies Purchase",
10 "description": "Charge for Q1 office supplies procurement.",
11 "dueDate": "2025-12-31",
12 "amount": 1250.5,
13 "hasPostedDocument": false,
14 "fiscalYear": 2025,
15 "fiscalPeriod": 3,
16 "expenseCategory": {
17 "id": 101,
18 "displayId": "EC-2025-001",
19 "status": {
20 "name": "ACTIVE",
21 "captionKey": "enum.objectStatus.active",
22 "active": true,
23 "caption": "Active"
24 },
25 "name": "Lease Payment",
26 "expenseCategoryType": "PAYMENT"
27 },
28 "unitId": 30001,
29 "unitDisplayId": "UNIT-0005",
30 "activationGroupId": 4001,
31 "vendorPaymentSplits": [],
32 "numberRangeIdentifierValue": "BU-01",
33 "numberRangeIdentifierType": {
34 "name": "COMPANY_CODE"
35 },
36 "numberRangeType": {
37 "name": "CONTRACT"
38 },
39 "allowsSystemGenerateNewId": true
40 }
41}
Delete A Specific Charge¶
HTTP Request
DELETE /api/v1/charges/{id}
📋 Description: Deletes a specified charge from the Nakisa Lease Accounting Suite, ensuring the accurate management of financial obligations and contract entries within the lease accounting framework.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
Example Values¶
Parameter |
Example |
Type |
|---|---|---|
id |
|
path |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charge successfully deleted. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": {}
7}
Partially Update A Charge¶
HTTP Request
PATCH /api/v1/charges/{id}
📋 Description: Updates the details of a specific charge associated with a lease or contract in the Nakisa Lease Accounting Suite, allowing for adjustments to financial obligations and accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
body |
body |
false |
Request body containing updated financial obligation details for the specified lease contract, including relevant accounting entry adjustments. |
Example Values¶
Parameter |
Example |
Type |
|---|---|---|
id |
|
path |
body |
|
body |
Body Parameters
1{
2 "op": "replace",
3 "path": "/name",
4 "value": "patched contract"
5}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully patched charge. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": {
7 "id": 20000001,
8 "displayId": "CHG-0001",
9 "name": "Office Supplies Purchase",
10 "description": "Charge for Q1 office supplies procurement.",
11 "dueDate": "2025-12-31",
12 "amount": 1250.5,
13 "hasPostedDocument": false,
14 "fiscalYear": 2025,
15 "fiscalPeriod": 3,
16 "expenseCategory": {
17 "id": 101,
18 "displayId": "EC-2025-001",
19 "status": {
20 "name": "ACTIVE",
21 "captionKey": "enum.objectStatus.active",
22 "active": true,
23 "caption": "Active"
24 },
25 "name": "Lease Payment",
26 "expenseCategoryType": "PAYMENT"
27 },
28 "unitId": 30001,
29 "unitDisplayId": "UNIT-0005",
30 "activationGroupId": 4001,
31 "vendorPaymentSplits": [],
32 "numberRangeIdentifierValue": "BU-01",
33 "numberRangeIdentifierType": {
34 "name": "COMPANY_CODE"
35 },
36 "numberRangeType": {
37 "name": "CONTRACT"
38 },
39 "allowsSystemGenerateNewId": true
40 }
41}
Create Or Update A Charge¶
HTTP Request
PUT /api/v1/charges/createOrUpdate
📋 Description: Creates or updates financial obligations related to leases and contracts within the Nakisa Lease Accounting Suite, ensuring accurate accounting entries are maintained.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the lease and contract details, including financial obligations and accounting entries, for creating or updating charge records within the Nakisa Lease Accounting Suite. |
Body Parameters
1{
2 "id": 20000001,
3 "displayId": "CHG-0001",
4 "name": "Office Supplies Purchase",
5 "description": "Charge for Q1 office supplies procurement.",
6 "dueDate": "2025-12-31",
7 "amount": 1250.5,
8 "hasPostedDocument": false,
9 "fiscalYear": 2025,
10 "fiscalPeriod": 3,
11 "expenseCategory": {
12 "id": 101,
13 "displayId": "EC-2025-001",
14 "status": {
15 "name": "ACTIVE",
16 "captionKey": "enum.objectStatus.active",
17 "active": true,
18 "caption": "Active"
19 },
20 "name": "Lease Payment",
21 "expenseCategoryType": "PAYMENT"
22 },
23 "unitId": 30001,
24 "unitDisplayId": "UNIT-0005",
25 "activationGroupId": 4001,
26 "vendorPaymentSplits": [],
27 "numberRangeIdentifierValue": "BU-01",
28 "numberRangeIdentifierType": {
29 "name": "COMPANY_CODE"
30 },
31 "numberRangeType": {
32 "name": "CONTRACT"
33 },
34 "allowsSystemGenerateNewId": true
35}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charge successfully created or updated. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": {
7 "id": 20000001,
8 "displayId": "CHG-0001",
9 "name": "Office Supplies Purchase",
10 "description": "Charge for Q1 office supplies procurement.",
11 "dueDate": "2025-12-31",
12 "amount": 1250.5,
13 "hasPostedDocument": false,
14 "fiscalYear": 2025,
15 "fiscalPeriod": 3,
16 "expenseCategory": {
17 "id": 101,
18 "displayId": "EC-2025-001",
19 "status": {
20 "name": "ACTIVE",
21 "captionKey": "enum.objectStatus.active",
22 "active": true,
23 "caption": "Active"
24 },
25 "name": "Lease Payment",
26 "expenseCategoryType": "PAYMENT"
27 },
28 "unitId": 30001,
29 "unitDisplayId": "UNIT-0005",
30 "activationGroupId": 4001,
31 "vendorPaymentSplits": [],
32 "numberRangeIdentifierValue": "BU-01",
33 "numberRangeIdentifierType": {
34 "name": "COMPANY_CODE"
35 },
36 "numberRangeType": {
37 "name": "CONTRACT"
38 },
39 "allowsSystemGenerateNewId": true
40 }
41}
Bulk Create Or Update Charges¶
HTTP Request
PUT /api/v1/charges/createOrUpdate/bulk
📋 Description: Creates or updates multiple charges in bulk within the Nakisa Lease Accounting Suite, streamlining the management of leases, contracts, and financial obligations for efficient accounting entry processing.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing bulk charge data for lease and contract financial obligations, including relevant accounting entry details for creation or updates. |
Body Parameters
1[
2 {
3 "id": 20000001,
4 "displayId": "CHG-0001",
5 "name": "Office Supplies Purchase",
6 "description": "Charge for Q1 office supplies procurement.",
7 "dueDate": "2025-12-31",
8 "amount": 1250.5,
9 "hasPostedDocument": false,
10 "fiscalYear": 2025,
11 "fiscalPeriod": 3,
12 "expenseCategory": {
13 "id": 101,
14 "displayId": "EC-2025-001",
15 "status": {
16 "name": "ACTIVE",
17 "captionKey": "enum.objectStatus.active",
18 "active": true,
19 "caption": "Active"
20 },
21 "name": "Lease Payment",
22 "expenseCategoryType": "PAYMENT"
23 },
24 "unitId": 30001,
25 "unitDisplayId": "UNIT-0005",
26 "activationGroupId": 4001,
27 "vendorPaymentSplits": [],
28 "numberRangeIdentifierValue": "BU-01",
29 "numberRangeIdentifierType": {
30 "name": "COMPANY_CODE"
31 },
32 "numberRangeType": {
33 "name": "CONTRACT"
34 },
35 "allowsSystemGenerateNewId": true
36 }
37]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charges successfully created or updated in bulk. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": [
7 {
8 "id": 20000001,
9 "displayId": "CHG-0001",
10 "name": "Office Supplies Purchase",
11 "description": "Charge for Q1 office supplies procurement.",
12 "dueDate": "2025-12-31",
13 "amount": 1250.5,
14 "hasPostedDocument": false,
15 "fiscalYear": 2025,
16 "fiscalPeriod": 3,
17 "expenseCategory": {
18 "id": 101,
19 "displayId": "EC-2025-001",
20 "status": {
21 "name": "ACTIVE",
22 "captionKey": "enum.objectStatus.active",
23 "active": true,
24 "caption": "Active"
25 },
26 "name": "Lease Payment",
27 "expenseCategoryType": "PAYMENT"
28 },
29 "unitId": 30001,
30 "unitDisplayId": "UNIT-0005",
31 "activationGroupId": 4001,
32 "vendorPaymentSplits": [],
33 "numberRangeIdentifierValue": "BU-01",
34 "numberRangeIdentifierType": {
35 "name": "COMPANY_CODE"
36 },
37 "numberRangeType": {
38 "name": "CONTRACT"
39 },
40 "allowsSystemGenerateNewId": true
41 }
42 ]
43}
Update Charges In Bulk¶
HTTP Request
PUT /api/v1/charges/bulk
📋 Description: Updates multiple charges in bulk for leases and contracts within the Nakisa Lease Accounting Suite, ensuring accurate financial obligation management and streamlined accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing a collection of charge entries, including lease details and associated financial obligations, for bulk processing within the Nakisa Lease Accounting Suite. |
Body Parameters
1[
2 {
3 "id": 20000001,
4 "displayId": "CHG-0001",
5 "name": "Office Supplies Purchase",
6 "description": "Charge for Q1 office supplies procurement.",
7 "dueDate": "2025-12-31",
8 "amount": 1250.5,
9 "hasPostedDocument": false,
10 "fiscalYear": 2025,
11 "fiscalPeriod": 3,
12 "expenseCategory": {
13 "id": 101,
14 "displayId": "EC-2025-001",
15 "status": {
16 "name": "ACTIVE",
17 "captionKey": "enum.objectStatus.active",
18 "active": true,
19 "caption": "Active"
20 },
21 "name": "Lease Payment",
22 "expenseCategoryType": "PAYMENT"
23 },
24 "unitId": 30001,
25 "unitDisplayId": "UNIT-0005",
26 "activationGroupId": 4001,
27 "vendorPaymentSplits": [],
28 "numberRangeIdentifierValue": "BU-01",
29 "numberRangeIdentifierType": {
30 "name": "COMPANY_CODE"
31 },
32 "numberRangeType": {
33 "name": "CONTRACT"
34 },
35 "allowsSystemGenerateNewId": true
36 }
37]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charges successfully updated in bulk. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": [
7 {
8 "id": 20000001,
9 "displayId": "CHG-0001",
10 "name": "Office Supplies Purchase",
11 "description": "Charge for Q1 office supplies procurement.",
12 "dueDate": "2025-12-31",
13 "amount": 1250.5,
14 "hasPostedDocument": false,
15 "fiscalYear": 2025,
16 "fiscalPeriod": 3,
17 "expenseCategory": {
18 "id": 101,
19 "displayId": "EC-2025-001",
20 "status": {
21 "name": "ACTIVE",
22 "captionKey": "enum.objectStatus.active",
23 "active": true,
24 "caption": "Active"
25 },
26 "name": "Lease Payment",
27 "expenseCategoryType": "PAYMENT"
28 },
29 "unitId": 30001,
30 "unitDisplayId": "UNIT-0005",
31 "activationGroupId": 4001,
32 "vendorPaymentSplits": [],
33 "numberRangeIdentifierValue": "BU-01",
34 "numberRangeIdentifierType": {
35 "name": "COMPANY_CODE"
36 },
37 "numberRangeType": {
38 "name": "CONTRACT"
39 },
40 "allowsSystemGenerateNewId": true
41 }
42 ]
43}
Create Charges In Bulk¶
HTTP Request
POST /api/v1/charges/bulk
📋 Description: Submits multiple charges in bulk for processing within the Nakisa Lease Accounting Suite, facilitating efficient management of lease-related financial obligations and accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing a collection of lease and contract financial obligation data for bulk processing of accounting entries. |
Body Parameters
1[
2 {
3 "id": 20000001,
4 "displayId": "CHG-0001",
5 "name": "Office Supplies Purchase",
6 "description": "Charge for Q1 office supplies procurement.",
7 "dueDate": "2025-12-31",
8 "amount": 1250.5,
9 "hasPostedDocument": false,
10 "fiscalYear": 2025,
11 "fiscalPeriod": 3,
12 "expenseCategory": {
13 "id": 101,
14 "displayId": "EC-2025-001",
15 "status": {
16 "name": "ACTIVE",
17 "captionKey": "enum.objectStatus.active",
18 "active": true,
19 "caption": "Active"
20 },
21 "name": "Lease Payment",
22 "expenseCategoryType": "PAYMENT"
23 },
24 "unitId": 30001,
25 "unitDisplayId": "UNIT-0005",
26 "activationGroupId": 4001,
27 "vendorPaymentSplits": [],
28 "numberRangeIdentifierValue": "BU-01",
29 "numberRangeIdentifierType": {
30 "name": "COMPANY_CODE"
31 },
32 "numberRangeType": {
33 "name": "CONTRACT"
34 },
35 "allowsSystemGenerateNewId": true
36 }
37]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charges successfully created in bulk. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": [
7 {
8 "id": 20000001,
9 "displayId": "CHG-0001",
10 "name": "Office Supplies Purchase",
11 "description": "Charge for Q1 office supplies procurement.",
12 "dueDate": "2025-12-31",
13 "amount": 1250.5,
14 "hasPostedDocument": false,
15 "fiscalYear": 2025,
16 "fiscalPeriod": 3,
17 "expenseCategory": {
18 "id": 101,
19 "displayId": "EC-2025-001",
20 "status": {
21 "name": "ACTIVE",
22 "captionKey": "enum.objectStatus.active",
23 "active": true,
24 "caption": "Active"
25 },
26 "name": "Lease Payment",
27 "expenseCategoryType": "PAYMENT"
28 },
29 "unitId": 30001,
30 "unitDisplayId": "UNIT-0005",
31 "activationGroupId": 4001,
32 "vendorPaymentSplits": [],
33 "numberRangeIdentifierValue": "BU-01",
34 "numberRangeIdentifierType": {
35 "name": "COMPANY_CODE"
36 },
37 "numberRangeType": {
38 "name": "CONTRACT"
39 },
40 "allowsSystemGenerateNewId": true
41 }
42 ]
43}
Delete Charges In Bulk¶
HTTP Request
DELETE /api/v1/charges/bulk
📋 Description: Deletes multiple charge entries in bulk from the Nakisa Lease Accounting Suite, streamlining the management of financial obligations associated with leases and contracts.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
false |
Request body containing an array of charge identifiers to facilitate the bulk deletion of financial obligations related to leases and contracts within the Nakisa Lease Accounting Suite. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charges successfully deleted in bulk. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": {}
7}
Update Ai-Generated Charges¶
HTTP Request
PUT /api/v1/charges/ai/update-charges
📋 Description: Updates existing charge records within the Nakisa Lease Accounting Suite, ensuring accurate reflection of financial obligations associated with leases and contracts. This operation facilitates the maintenance of precise accounting entries by allowing modifications to charge details.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing updated charge information related to lease contracts, including financial obligations and accounting entries. |
Body Parameters
1[
2 {
3 "amount": "1500.00",
4 "description": "Rent payment for January 2025",
5 "dueDate": "2025-01-31",
6 "expenseCategory": "PAYMENT",
7 "id": 20000001,
8 "name": "Monthly Rent Payment",
9 "unitId": 30001,
10 "unitDisplayId": "UNIT-0005",
11 "vendorPaymentSplits": "Vendor A: 50%, Vendor B: 50%"
12 }
13]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
AI-generated charges successfully updated. |
Inline |
Example Responses
1[
2 {
3 "id": 20000001,
4 "displayId": "CHG-0001",
5 "name": "Office Supplies Purchase",
6 "description": "Charge for Q1 office supplies procurement.",
7 "dueDate": "2025-12-31",
8 "amount": 1250.5,
9 "hasPostedDocument": false,
10 "fiscalYear": 2025,
11 "fiscalPeriod": 3,
12 "expenseCategory": {
13 "id": 101,
14 "displayId": "EC-2025-001",
15 "status": {
16 "name": "ACTIVE",
17 "captionKey": "enum.objectStatus.active",
18 "active": true,
19 "caption": "Active"
20 },
21 "name": "Lease Payment",
22 "expenseCategoryType": "PAYMENT"
23 },
24 "unitId": 30001,
25 "unitDisplayId": "UNIT-0005",
26 "activationGroupId": 4001,
27 "vendorPaymentSplits": [],
28 "numberRangeIdentifierValue": "BU-01",
29 "numberRangeIdentifierType": {
30 "name": "COMPANY_CODE"
31 },
32 "numberRangeType": {
33 "name": "CONTRACT"
34 },
35 "allowsSystemGenerateNewId": true
36 }
37]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing a financial charge associated with a lease or contract, encapsulating key details necessary for accounting entries and financial obligation management within the Nakisa Lease Accounting Suite.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» displayId |
string |
false |
none |
Unique identifier for the display |
» name |
string |
true |
none |
Name of the resource |
» description |
string¦null |
false |
none |
Description of the resource |
» dueDate |
string(date) |
true |
none |
Due date of the resource |
» amount |
number(double) |
true |
none |
Amount value |
» hasPostedDocument |
boolean |
false |
none |
Whether the resource has has posted document |
» fiscalYear |
integer(int64) |
false |
none |
Numeric value representing fiscalYear |
» fiscalPeriod |
integer(int64) |
false |
none |
Numeric value representing fiscalPeriod |
» expenseCategory |
true |
none |
Data transfer object representing a simplified categorization of expenses related to leases and contracts within the Nakisa Lease Accounting Suite, facilitating efficient tracking and management of financial obligations and accounting entries. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» displayId |
string |
false |
none |
Unique identifier for the display |
»» status |
false |
none |
Represents the object status with localized captions and activity state. |
|
»»» name |
string |
false |
none |
Enum name representing the object status. |
»»» captionKey |
string |
false |
none |
Localization key for the object status caption. |
»»» active |
boolean |
false |
none |
Indicates whether the status is active. |
»»» caption |
string |
false |
none |
Localized caption of the object status. |
»» name |
string |
false |
none |
Name of the resource |
»» expenseCategoryType |
string |
false |
none |
Type of the expense category |
» unitId |
integer(int64) |
true |
none |
Unique identifier for the unit |
» unitDisplayId |
string |
false |
none |
Unique identifier for the unit display |
» activationGroupId |
integer(int64) |
true |
none |
Unique identifier for the activation group |
» vendorPaymentSplits |
false |
none |
List of vendorPaymentSplits items |
|
»» percentage |
number(double) |
false |
none |
Percentage value |
»» calculateTax |
boolean |
false |
none |
Boolean flag indicating calculateTax status |
»» taxExemptionPercentage |
number(double) |
false |
none |
Percentage of tax exemption |
»» partner |
false |
none |
Data transfer object representing a simplified partner profile within the Nakisa Lease Accounting Suite, encompassing essential details related to lease agreements, financial obligations, and accounting entries. |
|
»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»» status |
false |
none |
Represents the object status with localized captions and activity state. |
|
»»» name |
string |
false |
none |
Name of the resource |
»»» erpSystemDisplayId |
string |
false |
none |
Unique identifier for the erp system display |
»» partnerRole |
false |
none |
Data transfer object representing a simplified partner role within the Nakisa Lease Accounting Suite, encompassing essential attributes related to lease agreements, contracts, and financial obligations for streamlined accounting entry management. |
|
»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»» status |
false |
none |
Represents the object status with localized captions and activity state. |
|
»»» name |
string |
false |
none |
Name of the resource |
»» taxCodeDetermination |
false |
none |
Data structure representing the details of tax code determination related to leases and contracts within the Nakisa Lease Accounting Suite, facilitating accurate financial obligation tracking and accounting entry management. |
|
»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»» companyId |
integer(int64) |
false |
none |
Unique identifier for the company |
»»» partnerId |
integer(int64) |
false |
none |
none |
»»» taxJurisdictionId |
integer(int64) |
false |
none |
Unique identifier for the tax jurisdiction |
»»» taxJurisdictionDisplayId |
string |
false |
none |
Unique identifier for the tax jurisdiction display |
»»» defaultTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the default tax code |
»»» defaultTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the default tax code display |
»»» defaultExemptionTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the default exemption tax code |
»»» defaultExemptionTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the default exemption tax code display |
»»» defaultExemptionPercentage |
number(double) |
false |
none |
Percentage of default exemption |
»»» mapping |
false |
none |
Data transfer object representing the mapping of tax codes to expense categories within the Nakisa Lease Accounting Suite, facilitating accurate accounting entries and compliance with financial obligations related to leases and contracts. |
|
»»»» isLeaseExpense |
boolean |
false |
none |
Whether the resource is lease expense |
»»»» nonLeaseTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the non lease tax code |
»»»» nonLeaseTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the non lease tax code display |
»»»» nonLeaseExemptionTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the non lease exemption tax code |
»»»» nonLeaseExemptionTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the non lease exemption tax code display |
»»»» nonLeaseExemptionTaxPercentage |
number(double) |
false |
none |
Percentage of non lease exemption tax |
»»»» principalTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the principal tax code |
»»»» principalTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the principal tax code display |
»»»» principalExemptionTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the principal exemption tax code |
»»»» principalExemptionTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the principal exemption tax code display |
»»»» principalExemptionTaxPercentage |
number(double) |
false |
none |
Percentage of principal exemption tax |
» numberRangeIdentifierValue |
string |
false |
none |
Unique identifier for the range of numbers associated with a lease or contract, facilitating accurate tracking of financial obligations and accounting entries within the Nakisa Lease Accounting Suite. |
» numberRangeIdentifierType |
false |
none |
Data structure representing a numerical range identifier used in the Nakisa Lease Accounting Suite to categorize and manage leases, contracts, and financial obligations within accounting entries. |
|
»» name |
string |
true |
none |
Name of the resource |
» numberRangeType |
false |
none |
Data structure representing a numerical range utilized in the Nakisa Lease Accounting Suite, essential for defining financial obligations and accounting entries associated with leases and contracts. |
|
»» name |
string |
true |
none |
Name of the resource |
» allowsSystemGenerateNewId |
boolean |
false |
none |
Unique identifier for the allows system generate new |
Enumerated Values
Attribute |
Value |
|---|---|
expenseCategoryType |
CASH_INCENTIVE, CASUALTY, EXPECTED_GRV, INCENTIVE, NON_LEASE, PAYMENT, PURCHASE_OPTION, TERMINATION_OPTION |
name |
ACTIVE, CREATED, DECOMMISSIONED, DISABLED |
List All Charges¶
HTTP Request
GET /api/v1/charges
📋 Description: Retrieves a list of charges associated with leases and contracts, providing insights into financial obligations and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
page |
query |
integer |
false |
Page number (0-indexed) |
size |
query |
integer |
false |
Number of items per page |
sort |
query |
array[string] |
false |
Sorting criteria in format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1, Max: 100 |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully retrieved list of charges. |
Example Responses
1{
2 "totalElements": 10000001,
3 "totalPages": 100,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": false,
7 "paged": true,
8 "pageSize": 100,
9 "offset": 0,
10 "sort": {
11 "unsorted": false,
12 "sorted": true,
13 "empty": false
14 }
15 },
16 "numberOfElements": 100,
17 "size": 100,
18 "content": [],
19 "number": 0,
20 "sort": {
21 "unsorted": false,
22 "sorted": true,
23 "empty": false
24 },
25 "first": true,
26 "last": false,
27 "empty": false
28}
Create A New Charge¶
HTTP Request
POST /api/v1/charges
📋 Description: Creates a new charge entry within the Nakisa Lease Accounting Suite, allowing users to record financial obligations associated with leases and contracts for accurate accounting and reporting.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the financial obligation details for a lease contract, including relevant accounting entry information. |
Body Parameters
1{
2 "id": 20000001,
3 "displayId": "CHG-0001",
4 "name": "Office Supplies Purchase",
5 "description": "Charge for Q1 office supplies procurement.",
6 "dueDate": "2025-12-31",
7 "amount": 1250.5,
8 "hasPostedDocument": false,
9 "fiscalYear": 2025,
10 "fiscalPeriod": 3,
11 "expenseCategory": {
12 "id": 101,
13 "displayId": "EC-2025-001",
14 "status": {
15 "name": "ACTIVE",
16 "captionKey": "enum.objectStatus.active",
17 "active": true,
18 "caption": "Active"
19 },
20 "name": "Lease Payment",
21 "expenseCategoryType": "PAYMENT"
22 },
23 "unitId": 30001,
24 "unitDisplayId": "UNIT-0005",
25 "activationGroupId": 4001,
26 "vendorPaymentSplits": [],
27 "numberRangeIdentifierValue": "BU-01",
28 "numberRangeIdentifierType": {
29 "name": "COMPANY_CODE"
30 },
31 "numberRangeType": {
32 "name": "CONTRACT"
33 },
34 "allowsSystemGenerateNewId": true
35}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charge successfully created. |
Example Responses
1{
2 "code": "OK",
3 "errors": {
4 "all": []
5 },
6 "object": {
7 "id": 20000001,
8 "displayId": "CHG-0001",
9 "name": "Office Supplies Purchase",
10 "description": "Charge for Q1 office supplies procurement.",
11 "dueDate": "2025-12-31",
12 "amount": 1250.5,
13 "hasPostedDocument": false,
14 "fiscalYear": 2025,
15 "fiscalPeriod": 3,
16 "expenseCategory": {
17 "id": 101,
18 "displayId": "EC-2025-001",
19 "status": {
20 "name": "ACTIVE",
21 "captionKey": "enum.objectStatus.active",
22 "active": true,
23 "caption": "Active"
24 },
25 "name": "Lease Payment",
26 "expenseCategoryType": "PAYMENT"
27 },
28 "unitId": 30001,
29 "unitDisplayId": "UNIT-0005",
30 "activationGroupId": 4001,
31 "vendorPaymentSplits": [],
32 "numberRangeIdentifierValue": "BU-01",
33 "numberRangeIdentifierType": {
34 "name": "COMPANY_CODE"
35 },
36 "numberRangeType": {
37 "name": "CONTRACT"
38 },
39 "allowsSystemGenerateNewId": true
40 }
41}
Search Charges With Filters¶
HTTP Request
POST /api/v1/charges/search
📋 Description: Submits a request to search for charges related to leases and contracts, enabling users to identify financial obligations and corresponding accounting entries efficiently.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
page |
query |
integer |
false |
Page number (0-indexed) |
size |
query |
integer |
false |
Number of items per page |
sort |
query |
array[string] |
false |
Sorting criteria in format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
body |
body |
object |
false |
Request body containing search criteria and filters for retrieving lease-related charges, including contract details and associated financial obligations. |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1, Max: 100 |
Body Parameters
1{}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully retrieved filtered list of charges. |
Example Responses
1{
2 "totalElements": 10000001,
3 "totalPages": 100,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": false,
7 "paged": true,
8 "pageSize": 100,
9 "offset": 0,
10 "sort": {
11 "unsorted": false,
12 "sorted": true,
13 "empty": false
14 }
15 },
16 "numberOfElements": 100,
17 "size": 100,
18 "content": [],
19 "number": 0,
20 "sort": {
21 "unsorted": false,
22 "sorted": true,
23 "empty": false
24 },
25 "first": true,
26 "last": false,
27 "empty": false
28}
Generate Charges Using Ai¶
HTTP Request
POST /api/v1/charges/ai
📋 Description: Creates a new charge entry within the Nakisa Lease Accounting Suite, facilitating the management of financial obligations related to leases and contracts.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the lease and contract details necessary for creating a financial obligation entry in the Nakisa Lease Accounting Suite. |
Body Parameters
1{
2 "prompt": "Create monthly rent charges for 2025",
3 "chargesJsonArray": "[{\"name\":\"Existing Charge\",\"amount\":1000}]",
4 "messageHistory": [
5 "Create charges for Q1",
6 "Add rent payments"
7 ],
8 "unitsJsonArray": "[{\"id\":30001,\"displayId\":\"UNIT-0001\"}]",
9 "calculateVendorPaymentSplits": true,
10 "partnersJsonArray": "[{\"id\":50001,\"name\":\"Vendor A\"}]"
11}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully generated charges using AI. |
Example Responses
1{
2 "response": "I've created 12 monthly rent charges for 2025.",
3 "error": "string",
4 "llm": {
5 "charges": []
6 },
7 "command": "CREATE",
8 "parameter": "monthly rent 2025"
9}
Save Ai-Generated Charges¶
HTTP Request
POST /api/v1/charges/ai/save-charges
📋 Description: Submits and saves charge entries related to leases and contracts within the Nakisa Lease Accounting Suite, ensuring accurate accounting for financial obligations.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the lease charge details, including contract identifiers and financial obligation data, necessary for creating accounting entries in the Nakisa Lease Accounting Suite. |
Body Parameters
1[
2 {
3 "amount": "1500.00",
4 "description": "Rent payment for January 2025",
5 "dueDate": "2025-01-31",
6 "expenseCategory": "PAYMENT",
7 "id": 20000001,
8 "name": "Monthly Rent Payment",
9 "unitId": 30001,
10 "unitDisplayId": "UNIT-0005",
11 "vendorPaymentSplits": "Vendor A: 50%, Vendor B: 50%"
12 }
13]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
AI-generated charges successfully saved. |
Inline |
Example Responses
1[
2 {
3 "id": 20000001,
4 "displayId": "CHG-0001",
5 "name": "Office Supplies Purchase",
6 "description": "Charge for Q1 office supplies procurement.",
7 "dueDate": "2025-12-31",
8 "amount": 1250.5,
9 "hasPostedDocument": false,
10 "fiscalYear": 2025,
11 "fiscalPeriod": 3,
12 "expenseCategory": {
13 "id": 101,
14 "displayId": "EC-2025-001",
15 "status": {
16 "name": "ACTIVE",
17 "captionKey": "enum.objectStatus.active",
18 "active": true,
19 "caption": "Active"
20 },
21 "name": "Lease Payment",
22 "expenseCategoryType": "PAYMENT"
23 },
24 "unitId": 30001,
25 "unitDisplayId": "UNIT-0005",
26 "activationGroupId": 4001,
27 "vendorPaymentSplits": [],
28 "numberRangeIdentifierValue": "BU-01",
29 "numberRangeIdentifierType": {
30 "name": "COMPANY_CODE"
31 },
32 "numberRangeType": {
33 "name": "CONTRACT"
34 },
35 "allowsSystemGenerateNewId": true
36 }
37]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing a financial charge associated with a lease or contract, encapsulating key details necessary for accounting entries and financial obligation management within the Nakisa Lease Accounting Suite.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» displayId |
string |
false |
none |
Unique identifier for the display |
» name |
string |
true |
none |
Name of the resource |
» description |
string¦null |
false |
none |
Description of the resource |
» dueDate |
string(date) |
true |
none |
Due date of the resource |
» amount |
number(double) |
true |
none |
Amount value |
» hasPostedDocument |
boolean |
false |
none |
Whether the resource has has posted document |
» fiscalYear |
integer(int64) |
false |
none |
Numeric value representing fiscalYear |
» fiscalPeriod |
integer(int64) |
false |
none |
Numeric value representing fiscalPeriod |
» expenseCategory |
true |
none |
Data transfer object representing a simplified categorization of expenses related to leases and contracts within the Nakisa Lease Accounting Suite, facilitating efficient tracking and management of financial obligations and accounting entries. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» displayId |
string |
false |
none |
Unique identifier for the display |
»» status |
false |
none |
Represents the object status with localized captions and activity state. |
|
»»» name |
string |
false |
none |
Enum name representing the object status. |
»»» captionKey |
string |
false |
none |
Localization key for the object status caption. |
»»» active |
boolean |
false |
none |
Indicates whether the status is active. |
»»» caption |
string |
false |
none |
Localized caption of the object status. |
»» name |
string |
false |
none |
Name of the resource |
»» expenseCategoryType |
string |
false |
none |
Type of the expense category |
» unitId |
integer(int64) |
true |
none |
Unique identifier for the unit |
» unitDisplayId |
string |
false |
none |
Unique identifier for the unit display |
» activationGroupId |
integer(int64) |
true |
none |
Unique identifier for the activation group |
» vendorPaymentSplits |
false |
none |
List of vendorPaymentSplits items |
|
»» percentage |
number(double) |
false |
none |
Percentage value |
»» calculateTax |
boolean |
false |
none |
Boolean flag indicating calculateTax status |
»» taxExemptionPercentage |
number(double) |
false |
none |
Percentage of tax exemption |
»» partner |
false |
none |
Data transfer object representing a simplified partner profile within the Nakisa Lease Accounting Suite, encompassing essential details related to lease agreements, financial obligations, and accounting entries. |
|
»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»» status |
false |
none |
Represents the object status with localized captions and activity state. |
|
»»» name |
string |
false |
none |
Name of the resource |
»»» erpSystemDisplayId |
string |
false |
none |
Unique identifier for the erp system display |
»» partnerRole |
false |
none |
Data transfer object representing a simplified partner role within the Nakisa Lease Accounting Suite, encompassing essential attributes related to lease agreements, contracts, and financial obligations for streamlined accounting entry management. |
|
»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»» status |
false |
none |
Represents the object status with localized captions and activity state. |
|
»»» name |
string |
false |
none |
Name of the resource |
»» taxCodeDetermination |
false |
none |
Data structure representing the details of tax code determination related to leases and contracts within the Nakisa Lease Accounting Suite, facilitating accurate financial obligation tracking and accounting entry management. |
|
»»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»»» displayId |
string |
false |
none |
Unique identifier for the display |
»»» companyId |
integer(int64) |
false |
none |
Unique identifier for the company |
»»» partnerId |
integer(int64) |
false |
none |
none |
»»» taxJurisdictionId |
integer(int64) |
false |
none |
Unique identifier for the tax jurisdiction |
»»» taxJurisdictionDisplayId |
string |
false |
none |
Unique identifier for the tax jurisdiction display |
»»» defaultTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the default tax code |
»»» defaultTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the default tax code display |
»»» defaultExemptionTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the default exemption tax code |
»»» defaultExemptionTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the default exemption tax code display |
»»» defaultExemptionPercentage |
number(double) |
false |
none |
Percentage of default exemption |
»»» mapping |
false |
none |
Data transfer object representing the mapping of tax codes to expense categories within the Nakisa Lease Accounting Suite, facilitating accurate accounting entries and compliance with financial obligations related to leases and contracts. |
|
»»»» isLeaseExpense |
boolean |
false |
none |
Whether the resource is lease expense |
»»»» nonLeaseTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the non lease tax code |
»»»» nonLeaseTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the non lease tax code display |
»»»» nonLeaseExemptionTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the non lease exemption tax code |
»»»» nonLeaseExemptionTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the non lease exemption tax code display |
»»»» nonLeaseExemptionTaxPercentage |
number(double) |
false |
none |
Percentage of non lease exemption tax |
»»»» principalTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the principal tax code |
»»»» principalTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the principal tax code display |
»»»» principalExemptionTaxCodeId |
integer(int64) |
false |
none |
Unique identifier for the principal exemption tax code |
»»»» principalExemptionTaxCodeDisplayId |
string |
false |
none |
Unique identifier for the principal exemption tax code display |
»»»» principalExemptionTaxPercentage |
number(double) |
false |
none |
Percentage of principal exemption tax |
» numberRangeIdentifierValue |
string |
false |
none |
Unique identifier for the range of numbers associated with a lease or contract, facilitating accurate tracking of financial obligations and accounting entries within the Nakisa Lease Accounting Suite. |
» numberRangeIdentifierType |
false |
none |
Data structure representing a numerical range identifier used in the Nakisa Lease Accounting Suite to categorize and manage leases, contracts, and financial obligations within accounting entries. |
|
»» name |
string |
true |
none |
Name of the resource |
» numberRangeType |
false |
none |
Data structure representing a numerical range utilized in the Nakisa Lease Accounting Suite, essential for defining financial obligations and accounting entries associated with leases and contracts. |
|
»» name |
string |
true |
none |
Name of the resource |
» allowsSystemGenerateNewId |
boolean |
false |
none |
Unique identifier for the allows system generate new |
Enumerated Values
Attribute |
Value |
|---|---|
expenseCategoryType |
CASH_INCENTIVE, CASUALTY, EXPECTED_GRV, INCENTIVE, NON_LEASE, PAYMENT, PURCHASE_OPTION, TERMINATION_OPTION |
name |
ACTIVE, CREATED, DECOMMISSIONED, DISABLED |
Get Sum Of Charges Due On Or Before A Date¶
HTTP Request
GET /api/v1/charges/sum/due-on-or-before
📋 Description: Calculates and returns the total sum of charge amounts that are due on or before the specified date for a given activation group. Useful for forecasting and cash flow planning.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
date |
query |
string(date) |
true |
The cutoff date to filter charges due on or before this date. |
activationGroupId |
query |
integer(int64) |
true |
The unique identifier of the activation group to calculate charge sum for. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully calculated sum of charges due on or before the specified date. |
number |
Example Responses
10.1
Get Sum Of Charges By Expense Category¶
HTTP Request
GET /api/v1/charges/sum/by-expense-category
📋 Description: Calculates and returns the total sum of charge amounts for a specific expense category within a given activation group. Useful for category-wise expense analysis.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
expenseCategory |
query |
string |
true |
The expense category to filter charges by. |
activationGroupId |
query |
integer(int64) |
true |
The unique identifier of the activation group to calculate charge sum for. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully calculated sum of charges for the specified expense category. |
number |
Example Responses
10.1
Get Sum Of Charges By Multiple Expense Categories¶
HTTP Request
GET /api/v1/charges/sum/by-expense-categories
📋 Description: Calculates and returns the total sum of charge amounts for multiple expense categories within a given activation group. Useful for aggregated expense analysis across related categories.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
expenseCategory |
query |
array[string] |
true |
Array of expense categories to filter charges by. |
activationGroupId |
query |
integer(int64) |
true |
The unique identifier of the activation group to calculate charge sum for. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully calculated sum of charges for the specified expense categories. |
number |
Example Responses
10.1
Get Sum Of Charges By Specific Due Date¶
HTTP Request
GET /api/v1/charges/sum/by-due-date
📋 Description: Calculates and returns the total sum of charge amounts that are due on a specific date for a given activation group. Useful for understanding payment obligations on a particular date.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
dueDate |
query |
string(date) |
true |
The specific due date to filter charges. |
activationGroupId |
query |
integer(int64) |
true |
The unique identifier of the activation group to calculate charge sum for. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully calculated sum of charges for the specified due date. |
number |
Example Responses
10.1
Get Sum Of All Charges¶
HTTP Request
GET /api/v1/charges/sum/all
📋 Description: Calculates and returns the total sum of all charge amounts for a specified activation group. This aggregation provides a quick overview of total financial obligations.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
activationGroupId |
query |
integer(int64) |
true |
The unique identifier of the activation group to calculate charge sum for. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully calculated sum of all charges. |
number |
Example Responses
10.1