ResponseChargeDto¶
Example Json Object
1{
2 "code": "OK",
3 "message": "response.validation.failed",
4 "defaultMessage": "string",
5 "debugMessage": "Response object is not valid due to: currency is required",
6 "errors": {
7 "all": []
8 },
9 "object": {
10 "id": 20000001,
11 "displayId": "CHG-0001",
12 "name": "Office Supplies Purchase",
13 "description": "Charge for Q1 office supplies procurement.",
14 "dueDate": "2025-12-31",
15 "amount": 1250.5,
16 "hasPostedDocument": false,
17 "fiscalYear": 2025,
18 "fiscalPeriod": 3,
19 "expenseCategory": {
20 "id": 101,
21 "displayId": "EC-2025-001",
22 "status": {
23 "name": "ACTIVE",
24 "captionKey": "enum.objectStatus.active",
25 "active": true,
26 "caption": "Active"
27 },
28 "name": "Lease Payment",
29 "expenseCategoryType": "PAYMENT"
30 },
31 "unitId": 30001,
32 "unitDisplayId": "UNIT-0005",
33 "activationGroupId": 4001,
34 "vendorPaymentSplits": [],
35 "numberRangeIdentifierValue": "BU-01",
36 "numberRangeIdentifierType": {
37 "name": "COMPANY_CODE"
38 },
39 "numberRangeType": {
40 "name": "CONTRACT"
41 },
42 "allowsSystemGenerateNewId": true
43 }
44}
📄 Description: Data transfer object representing the financial obligations associated with a lease or contract within the Nakisa Lease Accounting Suite, facilitating accurate accounting entries and reporting.
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 contract or financial obligation, providing essential context for the associated 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 |
Value for object field |
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 |