ResponseListLedgerEntryDto¶
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 "errorMessage": "string",
12 "field": "string",
13 "errorKey": "string"
14 }
15 ]
16 },
17 "object": [
18 {
19 "id": 0,
20 "displayId": "string",
21 "itemText": "string",
22 "entryType": "D",
23 "amount": 0,
24 "unroundedAmount": 0,
25 "deltaAdjustment": 0,
26 "generalLedger": {
27 "id": 0,
28 "displayId": "string",
29 "generalLedgerAccountName": "string",
30 "generalLedgerAccountCode": "string",
31 "openItemManagement": true,
32 "accountCategory": "BALANCESHEET",
33 "shortName": "string",
34 "longName": "string"
35 },
36 "costCenter": {
37 "id": 0,
38 "displayId": "string",
39 "mainCostCenter": true,
40 "allocationPercentage": 0.1
41 },
42 "profitCenter": {
43 "id": 0,
44 "displayId": "string"
45 },
46 "vendor": {
47 "id": 0,
48 "displayId": "string",
49 "name": "string"
50 },
51 "taxEntries": [
52 {
53 "id": 0,
54 "displayId": "string",
55 "itemText": "string",
56 "entryType": "D",
57 "amount": 0,
58 "unroundedAmount": 0,
59 "deltaAdjustment": 0,
60 "generalLedger": {
61 "id": 0,
62 "displayId": "string",
63 "generalLedgerAccountName": "string",
64 "generalLedgerAccountCode": "string",
65 "openItemManagement": true,
66 "accountCategory": "BALANCESHEET",
67 "shortName": "string",
68 "longName": "string"
69 },
70 "taxBaseAmount": 0,
71 "totalTaxDocumentAmount": 0,
72 "taxExempt": 0,
73 "taxAffected": 0,
74 "vendor": {
75 "id": 0,
76 "displayId": "string",
77 "status": "CREATED",
78 "name": "string",
79 "erpSystemDisplayId": "string"
80 },
81 "ledgerEntryId": 0,
82 "additionalCurrencies": [
83 {
84 "id": 0,
85 "displayId": "string",
86 "entryType": "D",
87 "amount": 0,
88 "unroundedAmount": 0,
89 "deltaAdjustment": 0,
90 "currency": {
91 "id": 0,
92 "displayId": "string"
93 },
94 "currencyDefinitionType": "CONTRACT_CURRENCY",
95 "currencyType": "string",
96 "rate": 0,
97 "conversionDate": "2019-08-24",
98 "translationDateType": "DOCUMENT_DATE",
99 "sourceCurrencyType": "CONTRACT_CURRENCY",
100 "sourceCurrency": {
101 "id": 0,
102 "displayId": "string"
103 },
104 "depreciationArea": {
105 "id": 0,
106 "displayId": "string"
107 },
108 "ledgerEntryId": 0,
109 "ledgerEntryTaxId": 0,
110 "allowsSystemGenerateNewId": true,
111 "numberRangeIdentifierValue": "string",
112 "numberRangeIdentifierType": {
113 "name": "string"
114 },
115 "numberRangeType": {
116 "name": "string"
117 }
118 }
119 ],
120 "allowsSystemGenerateNewId": true,
121 "numberRangeIdentifierValue": "string",
122 "numberRangeIdentifierType": {
123 "name": "string"
124 },
125 "numberRangeType": {
126 "name": "string"
127 }
128 }
129 ],
130 "additionalCurrencies": [
131 {
132 "id": 0,
133 "displayId": "string",
134 "entryType": "D",
135 "amount": 0,
136 "unroundedAmount": 0,
137 "deltaAdjustment": 0,
138 "currency": {
139 "id": 0,
140 "displayId": "string"
141 },
142 "currencyDefinitionType": "CONTRACT_CURRENCY",
143 "currencyType": "string",
144 "rate": 0,
145 "conversionDate": "2019-08-24",
146 "translationDateType": "DOCUMENT_DATE",
147 "sourceCurrencyType": "CONTRACT_CURRENCY",
148 "sourceCurrency": {
149 "id": 0,
150 "displayId": "string"
151 },
152 "depreciationArea": {
153 "id": 0,
154 "displayId": "string"
155 },
156 "ledgerEntryId": 0,
157 "ledgerEntryTaxId": 0,
158 "allowsSystemGenerateNewId": true,
159 "numberRangeIdentifierValue": "string",
160 "numberRangeIdentifierType": {
161 "name": "string"
162 },
163 "numberRangeType": {
164 "name": "string"
165 }
166 }
167 ],
168 "ledgerTransactionId": 0,
169 "expenseCategory": {
170 "id": 0,
171 "displayId": "string",
172 "status": "CREATED",
173 "name": "string",
174 "expenseCategoryType": "PAYMENT"
175 },
176 "allowsSystemGenerateNewId": true,
177 "numberRangeIdentifierValue": "string",
178 "numberRangeIdentifierType": {
179 "name": "string"
180 },
181 "numberRangeType": {
182 "name": "string"
183 }
184 }
185 ]
186}
📄 Description: Data transfer object representing a collection of ledger entries, providing essential financial transaction details for effective accounting and reporting within the enterprise.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
code |
string |
false |
none |
Code identifier for the resource |
message |
string |
false |
write-only |
Contains the detailed message associated with the ledger entry, providing context for the transaction recorded. |
defaultMessage |
string |
false |
write-only |
Default message to be displayed in the ledger entry response, providing users with essential context or information regarding the transaction. |
debugMessage |
string |
false |
write-only |
Provides a detailed message for debugging purposes related to the ledger entry response, aiding in troubleshooting and system analysis. |
errors |
false |
none |
Collection of error messages related to the processing of ledger entries, providing insights for troubleshooting and ensuring data integrity. |
|
object |
false |
none |
An array of ledger entries representing financial transactions, providing essential insights for accounting and financial reporting. |
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 |