ResponseListChargeDto¶
Example Json Object
1{
2 "code": "UPDATED",
3 "message": "string",
4 "defaultMessage": "string",
5 "debugMessage": "string",
6 "errors": {
7 "all": [
8 {
9 "type": "GENERIC",
10 "source": {},
11 "field": "string",
12 "errorKey": "string",
13 "errorMessage": "string"
14 }
15 ]
16 },
17 "object": [
18 {
19 "id": 0,
20 "displayId": "string",
21 "name": "string",
22 "description": "string",
23 "dueDate": "2019-08-24",
24 "amount": 0.1,
25 "hasPostedDocument": true,
26 "fiscalYear": 0,
27 "fiscalPeriod": 0,
28 "expenseCategory": {
29 "id": 101,
30 "displayId": "EC-2025-001",
31 "status": {
32 "name": "ACTIVE",
33 "captionKey": "enum.objectStatus.active",
34 "active": true,
35 "caption": "Active"
36 },
37 "name": "Lease Payment",
38 "expenseCategoryType": "PAYMENT"
39 },
40 "unitId": 0,
41 "unitDisplayId": "string",
42 "activationGroupId": 0,
43 "vendorPaymentSplits": [
44 {
45 "percentage": 50,
46 "calculateTax": true,
47 "taxExemptionPercentage": 10,
48 "partner": {
49 "id": 10000012,
50 "displayId": "0000100003",
51 "status": {
52 "name": "ACTIVE",
53 "captionKey": "enum.objectStatus.active",
54 "active": true,
55 "caption": "Active"
56 },
57 "name": "TEST VENDOR GB",
58 "erpSystemDisplayId": "FINQ8S-300"
59 },
60 "partnerRole": {
61 "id": 10000004,
62 "displayId": "40",
63 "status": {
64 "name": "ACTIVE",
65 "captionKey": "enum.objectStatus.active",
66 "active": true,
67 "caption": "Active"
68 },
69 "name": "Lessor"
70 },
71 "taxCodeDetermination": {
72 "id": 101,
73 "displayId": "TX-2025-001",
74 "companyId": 1001,
75 "taxJurisdictionId": 2001,
76 "taxJurisdictionDisplayId": "US-NY",
77 "defaultTaxCodeId": 301,
78 "defaultTaxCodeDisplayId": "TAX-001",
79 "defaultExemptionTaxCodeId": 302,
80 "defaultExemptionTaxCodeDisplayId": "TAX-EX-001",
81 "defaultExemptionPercentage": 100,
82 "mapping": {
83 "isLeaseExpense": true,
84 "nonLeaseTaxCodeId": 401,
85 "nonLeaseTaxCodeDisplayId": "NL-TAX-001",
86 "nonLeaseExemptionTaxCodeId": 402,
87 "nonLeaseExemptionTaxCodeDisplayId": "NL-TAX-EX-001",
88 "nonLeaseExemptionTaxPercentage": 50,
89 "principalTaxCodeId": 403,
90 "principalTaxCodeDisplayId": "PR-TAX-001",
91 "principalExemptionTaxCodeId": 404,
92 "principalExemptionTaxCodeDisplayId": "PR-TAX-EX-001",
93 "principalExemptionTaxPercentage": 100
94 }
95 }
96 }
97 ],
98 "numberRangeIdentifierType": {
99 "name": "COMPANY_CODE"
100 },
101 "numberRangeIdentifierValue": "string",
102 "numberRangeType": {
103 "name": "CONTRACT"
104 },
105 "allowsSystemGenerateNewId": true
106 }
107 ]
108}
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
code |
string |
false |
none |
none |
message |
string |
false |
write-only |
none |
defaultMessage |
string |
false |
write-only |
none |
debugMessage |
string |
false |
write-only |
none |
errors |
false |
none |
none |
|
object |
false |
none |
none |
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 |