ResponseUnitJournalDto¶
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 "id": 0,
19 "displayId": "string",
20 "type": "PAYMENT",
21 "date": {
22 "timing": "START_OF_DAY",
23 "year": 2025,
24 "monthValue": 9,
25 "dayOfMonth": 4,
26 "dayOfWeek": "THURSDAY",
27 "leapYear": false,
28 "dayOfYear": 247,
29 "month": "SEPTEMBER"
30 },
31 "unitId": 0,
32 "periodId": 0,
33 "document": {
34 "id": 0,
35 "displayId": "string",
36 "accountingDocumentId": 0,
37 "lastAccountingDocumentId": 0,
38 "activationGroupId": 0,
39 "accountingStandardId": 0,
40 "unitId": 0,
41 "journalId": 0,
42 "entries": [
43 {
44 "id": 0,
45 "applicationReferenceId": "string",
46 "type": "LIABILITY",
47 "postingTransactionType": "POST",
48 "internalPostingStatus": {
49 "documentNumber": "string",
50 "status": "NA",
51 "postingMessage": "string"
52 },
53 "originalPostingTransactionType": "POST",
54 "originalPostingStatus": "NA"
55 }
56 ],
57 "operationalPostingTaskId": 0,
58 "numberRangeIdentifierType": {
59 "name": "COMPANY_CODE"
60 },
61 "numberRangeIdentifierValue": "string",
62 "numberRangeType": {
63 "name": "CONTRACT"
64 },
65 "allowsSystemGenerateNewId": true
66 },
67 "entries": [
68 {
69 "id": 0,
70 "displayId": "string",
71 "type": "LIABILITY",
72 "translationType": "NONE",
73 "note": "string",
74 "balanced": true,
75 "credits": 0,
76 "debits": 0,
77 "journalId": 0,
78 "lines": [
79 {
80 "id": 0,
81 "displayId": "string",
82 "account": "string",
83 "accountCodeName": "string",
84 "accountCodeCaption": "string",
85 "drCr": "DEBIT",
86 "amount": 0,
87 "unroundedAmount": 0,
88 "deltaAdjustment": 0,
89 "tag": "string",
90 "vendorId": "string",
91 "currencyId": 0,
92 "currencyDisplayId": "string",
93 "currencyDefinitionType": "CONTRACT_CURRENCY",
94 "leaseClassificationType": "NON_LEASE",
95 "journalEntryId": 0,
96 "taxes": [
97 {
98 "id": 0,
99 "displayId": "string",
100 "taxCalculationType": "NET",
101 "taxDetermination": {
102 "id": "string",
103 "displayId": "Euro"
104 },
105 "taxExempt": 0,
106 "taxExemptionPercentage": 0,
107 "taxAffected": 0,
108 "unitId": 0,
109 "termId": 0,
110 "type": "PAYMENT",
111 "journalEntryLineId": 0,
112 "expenseCategory": {
113 "id": 101,
114 "displayId": "EC-2025-001",
115 "status": {
116 "name": "ACTIVE",
117 "captionKey": "enum.objectStatus.active",
118 "active": true,
119 "caption": "Active"
120 },
121 "name": "Lease Payment",
122 "expenseCategoryType": "PAYMENT"
123 },
124 "taxItems": [
125 {
126 "id": 0,
127 "displayId": "string",
128 "account": "string",
129 "accountCodeName": "string",
130 "accountCodeCaption": "string",
131 "drCr": "DEBIT",
132 "amount": 0,
133 "unroundedAmount": 0,
134 "deltaAdjustment": 0,
135 "cid": "string",
136 "journalEntryLineId": 0,
137 "translations": [],
138 "journalTaxDetail": {},
139 "numberRangeIdentifierType": {},
140 "numberRangeIdentifierValue": "string",
141 "numberRangeType": {},
142 "allowsSystemGenerateNewId": true
143 }
144 ],
145 "numberRangeIdentifierType": {
146 "name": "COMPANY_CODE"
147 },
148 "numberRangeIdentifierValue": "string",
149 "numberRangeType": {
150 "name": "CONTRACT"
151 },
152 "allowsSystemGenerateNewId": true
153 }
154 ],
155 "translations": [
156 {
157 "id": 0,
158 "displayId": "string",
159 "drCr": "DEBIT",
160 "amount": 0,
161 "unroundedAmount": 0,
162 "deltaAdjustment": 0,
163 "translationRate": 0,
164 "translationDateTime": "2019-08-24",
165 "sourceCurrencyId": 0,
166 "sourceCurrencyDisplayId": "string",
167 "targetCurrencyId": 0,
168 "targetCurrencyDisplayId": "string",
169 "sourceCurrencyType": "CONTRACT_CURRENCY",
170 "translationDateType": "DOCUMENT_DATE",
171 "currencyDefinitionType": "CONTRACT_CURRENCY",
172 "depreciationAreaId": 0,
173 "depreciationAreaDisplayId": "string",
174 "unitId": 0,
175 "journalEntryLineId": 0,
176 "taxItemCid": "string",
177 "numberRangeIdentifierType": {
178 "name": "COMPANY_CODE"
179 },
180 "numberRangeIdentifierValue": "string",
181 "numberRangeType": {
182 "name": "CONTRACT"
183 },
184 "allowsSystemGenerateNewId": true
185 }
186 ],
187 "numberRangeIdentifierType": {
188 "name": "COMPANY_CODE"
189 },
190 "numberRangeIdentifierValue": "string",
191 "numberRangeType": {
192 "name": "CONTRACT"
193 },
194 "allowsSystemGenerateNewId": true
195 }
196 ],
197 "numberRangeIdentifierType": {
198 "name": "COMPANY_CODE"
199 },
200 "numberRangeIdentifierValue": "string",
201 "numberRangeType": {
202 "name": "CONTRACT"
203 },
204 "allowsSystemGenerateNewId": true
205 }
206 ],
207 "numberRangeIdentifierType": {
208 "name": "COMPANY_CODE"
209 },
210 "numberRangeIdentifierValue": "string",
211 "numberRangeType": {
212 "name": "CONTRACT"
213 },
214 "allowsSystemGenerateNewId": true
215 }
216}
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 |