ResponseListChargeDto¶
Example Json Object
1{
2 "code": "OK",
3 "message": "response.validation.failed",
4 "defaultMessage": "string",
5 "debugMessage": "Response object is not valid due to: invalid charge data",
6 "errors": {
7 "all": []
8 },
9 "object": [
10 {
11 "id": 20000001,
12 "displayId": "CHG-0001",
13 "name": "Office Supplies Purchase",
14 "description": "Charge for Q1 office supplies procurement.",
15 "dueDate": "2025-12-31",
16 "amount": 1250.5,
17 "hasPostedDocument": false,
18 "fiscalYear": 2025,
19 "fiscalPeriod": 3,
20 "expenseCategory": {
21 "id": 101,
22 "displayId": "EC-2025-001",
23 "status": {
24 "name": "ACTIVE",
25 "captionKey": "enum.objectStatus.active",
26 "active": true,
27 "caption": "Active"
28 },
29 "name": "Lease Payment",
30 "expenseCategoryType": "PAYMENT"
31 },
32 "unitId": 30001,
33 "unitDisplayId": "UNIT-0005",
34 "activationGroupId": 4001,
35 "vendorPaymentSplits": [],
36 "numberRangeIdentifierValue": "BU-01",
37 "numberRangeIdentifierType": {
38 "name": "COMPANY_CODE"
39 },
40 "numberRangeType": {
41 "name": "CONTRACT"
42 },
43 "allowsSystemGenerateNewId": true
44 }
45 ]
46}
📄 Description: Data transfer object representing a list of charges associated with leases and contracts within the Nakisa Lease Accounting Suite, facilitating the management of financial obligations and accounting entries.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
code |
string |
false |
none |
Code identifier for the resource |
message |
string |
false |
write-only |
Contains a descriptive message related to the lease or contract, providing essential information about the financial obligation or accounting entry. |
defaultMessage |
string |
false |
write-only |
Default message associated with the lease or contract, providing essential information regarding the financial obligation or accounting entry. |
debugMessage |
string |
false |
write-only |
Provides detailed information about any errors or issues encountered during the processing of lease-related transactions within the Nakisa Lease Accounting Suite. |
errors |
false |
none |
Value for errors field |
|
object |
false |
none |
List of object items |
Enumerated Values
Attribute |
Value |
|---|---|
code |
API_CALL_FAILED, ATTACHED, BAD_REQUEST, DATA_VALIDATION_ERROR, DELETED, DETACHED, INTERNAL_SYSTEM_ERROR, NULL_RESPONSE, OK, OK_BUT_RESPONSE_INVALID, REQUEST_VALIDATION_ERROR, SERVICE_VALIDATION_ERROR, UPDATED |