Accounting Document¶
Update Internally Reversed Document¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/update-internally-reversed-document
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1{
2 "accountingDocumentId": 0,
3 "reversalReason": {
4 "id": 0,
5 "displayId": "string"
6 },
7 "postingDates": {
8 "userDocumentDate": "2019-08-24",
9 "postingDate": "2019-08-24",
10 "translationDate": "2019-08-24",
11 "transactionDate": "2019-08-24"
12 },
13 "ledgerTransactionGroupId": 0,
14 "latestTransactionGroup": true
15}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "validationError": "string",
3 "errorDetails": {
4 "property1": {},
5 "property2": {}
6 }
7}
Search¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/search
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
none |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "requestUniqueId": "string",
4 "accountingDocumentId": 0,
5 "transactions": [
6 {
7 "id": 0,
8 "requestUniqueId": "string",
9 "createdByApplication": "NLA",
10 "applicationReferenceId": "JOURNAL_ENTRY_ID--UNIT_ID",
11 "documentComments": "string",
12 "name": "string",
13 "principalPositionType": "LESSEE",
14 "postingTransactionType": "POST",
15 "postingType": "PAYMENT",
16 "ledgerType": "LIABILITY",
17 "parallelCurrencyEnabled": true,
18 "generateInvoiceInAp": true,
19 "generateVendorInvoice": true,
20 "calculateTax": true,
21 "taxCalculationType": "NET",
22 "currencyDetail": {
23 "currencyId": 0,
24 "currencyDisplayId": "string",
25 "currencyDefinitionType": "CONTRACT_CURRENCY",
26 "currencyType": "string"
27 },
28 "classificationInfo": {
29 "accountingStandard": {
30 "id": 0,
31 "displayId": "string"
32 },
33 "leaseClassificationType": "NON_LEASE"
34 },
35 "date": {
36 "documentDate": "2019-08-24T14:15:22Z",
37 "userDocumentDate": "2019-08-24",
38 "postingDate": "2019-08-24",
39 "transactionDate": "2019-08-24",
40 "translationDate": "2019-08-24",
41 "fiscalVariantId": 0,
42 "fiscalVariantDisplayId": "string",
43 "calendarType": "REGULAR_CALENDAR",
44 "fiscalYear": 0,
45 "fiscalPeriod": 0
46 },
47 "automaticReversal": {
48 "id": 0,
49 "postingDate": "2019-08-24",
50 "documentDate": "2019-08-24",
51 "reversalReason": {
52 "id": 0,
53 "displayId": "string"
54 }
55 },
56 "trace": {
57 "previousLedgerTransactionId": 0,
58 "nextLedgerTransactionId": 0,
59 "postExternalType": "SKIP"
60 },
61 "fosReferences": {
62 "id": 0,
63 "system": {
64 "id": 0,
65 "displayId": "string"
66 },
67 "company": {
68 "id": 0,
69 "displayId": "string"
70 },
71 "leaseArea": {
72 "id": 0,
73 "displayId": "string"
74 },
75 "leaseGroup": {
76 "id": 0,
77 "displayId": "string"
78 },
79 "leaseDepartment": {
80 "id": 0,
81 "displayId": "string"
82 },
83 "businessUnit": {
84 "id": 0,
85 "displayId": "string"
86 },
87 "mainCostCenter": {
88 "id": 0,
89 "displayId": "string"
90 },
91 "internalAssetClass": {
92 "id": 0,
93 "displayId": "string"
94 },
95 "documentType": {
96 "id": 0,
97 "displayId": "string"
98 },
99 "depreciationArea": {
100 "id": 0,
101 "displayId": "string"
102 },
103 "reversalReason": {
104 "id": 0,
105 "displayId": "string"
106 },
107 "tradingPartner": {
108 "id": 0,
109 "displayId": "string"
110 },
111 "allocationNumber": {
112 "id": 0,
113 "displayId": "string"
114 },
115 "responsibleCostCenter": {
116 "id": 0,
117 "displayId": "string"
118 },
119 "workBreakdownStructure": {
120 "id": 0,
121 "displayId": "string"
122 },
123 "businessArea": {
124 "id": 0,
125 "displayId": "string"
126 },
127 "functionalArea": {
128 "id": 0,
129 "displayId": "string"
130 },
131 "plant": {
132 "id": 0,
133 "displayId": "string"
134 },
135 "internalOrder": {
136 "id": 0,
137 "displayId": "string"
138 },
139 "network": {
140 "id": 0,
141 "displayId": "string"
142 },
143 "paymentTerm": {
144 "id": 0,
145 "displayId": "string"
146 },
147 "paymentBlock": {
148 "id": 0,
149 "displayId": "string"
150 },
151 "paymentMethod": {
152 "id": 0,
153 "displayId": "string",
154 "type": "string"
155 },
156 "segment": {
157 "id": 0,
158 "displayId": "string"
159 },
160 "purchasingOrganization": {
161 "id": 0,
162 "displayId": "string"
163 },
164 "purchasingOrder": {
165 "id": 0,
166 "displayId": "string"
167 },
168 "ledgerTransactionId": 0
169 },
170 "assetRegisterReferences": {
171 "id": 0,
172 "asset": {
173 "assetId": 0,
174 "assetDisplayId": "string",
175 "assetNumber": "string",
176 "subAssetNumber": "string"
177 },
178 "ledgerTransactionId": 0
179 },
180 "nlaReferences": {
181 "id": 0,
182 "contract": {
183 "id": 0,
184 "displayId": "string"
185 },
186 "leaseComponent": {
187 "id": 0,
188 "displayId": "string"
189 },
190 "activationGroup": {
191 "id": 0,
192 "displayId": "string"
193 },
194 "unit": {
195 "id": 0,
196 "displayId": "string"
197 },
198 "contractExternalId": "string",
199 "journalId": 0,
200 "activationGroupRevisionId": 0,
201 "ledgerTransactionId": 0
202 },
203 "nlaCustomReferences": [
204 {
205 "key": "string",
206 "dataType": "STRING",
207 "value": 0
208 }
209 ],
210 "nreReferences": {
211 "id": 0,
212 "premise": {
213 "id": 0,
214 "displayId": "string"
215 },
216 "location": {
217 "id": 0,
218 "displayId": "string"
219 },
220 "lease": {
221 "id": 0,
222 "displayId": "string"
223 },
224 "ledgerTransactionId": 0
225 },
226 "nreCustomReferences": [
227 {
228 "key": "string",
229 "dataType": "STRING",
230 "value": 0
231 }
232 ],
233 "apReferences": {
234 "id": 0,
235 "invoice": {
236 "id": 0,
237 "displayId": "string"
238 },
239 "ledgerTransactionId": 0
240 },
241 "apCustomReferences": [
242 {
243 "key": "string",
244 "dataType": "STRING",
245 "value": 0
246 }
247 ],
248 "entries": [
249 {
250 "id": 0,
251 "entryType": "D",
252 "amount": 0,
253 "unroundedAmount": 0,
254 "deltaAdjustment": 0,
255 "itemText": "string",
256 "itemNoAcc": 0,
257 "generalLedger": {
258 "id": 0,
259 "displayId": "string",
260 "generalLedgerAccountName": "string",
261 "generalLedgerAccountCode": "string",
262 "openItemManagement": true,
263 "accountCategory": "BALANCESHEET",
264 "shortName": "string",
265 "longName": "string"
266 },
267 "additionalCurrencyEntries": [
268 {
269 "id": 0,
270 "amount": 0,
271 "unroundedAmount": 0,
272 "deltaAdjustment": 0,
273 "itemNoAcc": 0,
274 "currencyDetail": {
275 "currencyId": 0,
276 "currencyDisplayId": "string",
277 "currencyDefinitionType": "CONTRACT_CURRENCY",
278 "currencyType": "string"
279 },
280 "currencyConversionDetail": {
281 "rate": 0,
282 "conversionDate": "2019-08-24",
283 "translationDateType": "DOCUMENT_DATE",
284 "sourceCurrencyType": "CONTRACT_CURRENCY",
285 "sourceCurrency": {
286 "id": 0,
287 "displayId": "string"
288 },
289 "depreciationArea": {
290 "id": 0,
291 "displayId": "string"
292 }
293 },
294 "ledgerEntryId": 0,
295 "ledgerEntryTaxId": 0
296 }
297 ],
298 "tag": "string",
299 "costCenter": {
300 "id": 0,
301 "displayId": "string",
302 "mainCostCenter": true,
303 "allocationPercentage": 0.1
304 },
305 "profitCenter": {
306 "id": 0,
307 "displayId": "string"
308 },
309 "vendor": {
310 "id": 0,
311 "displayId": "string"
312 },
313 "transactionType": "string",
314 "nlaCustomReferences": [
315 {
316 "key": "string",
317 "dataType": "STRING",
318 "value": 0
319 }
320 ],
321 "nreCustomReferences": [
322 {
323 "key": "string",
324 "dataType": "STRING",
325 "value": 0
326 }
327 ],
328 "apCustomReferences": [
329 {
330 "key": "string",
331 "dataType": "STRING",
332 "value": 0
333 }
334 ],
335 "taxEntries": [
336 {
337 "id": 0,
338 "entryType": "D",
339 "amount": 0,
340 "unroundedAmount": 0,
341 "deltaAdjustment": 0,
342 "itemText": "string",
343 "itemNoAcc": 0,
344 "generalLedger": {
345 "id": 0,
346 "displayId": "string",
347 "generalLedgerAccountName": "string",
348 "generalLedgerAccountCode": "string",
349 "openItemManagement": true,
350 "accountCategory": "BALANCESHEET",
351 "shortName": "string",
352 "longName": "string"
353 },
354 "additionalCurrencyEntries": [
355 {
356 "id": 0,
357 "amount": 0,
358 "unroundedAmount": 0,
359 "deltaAdjustment": 0,
360 "itemNoAcc": 0,
361 "currencyDetail": {},
362 "currencyConversionDetail": {},
363 "ledgerEntryId": 0,
364 "ledgerEntryTaxId": 0
365 }
366 ],
367 "taxRate": 0,
368 "taxBaseAmount": 0,
369 "totalTaxDocumentAmount": 0,
370 "taxExempt": 0,
371 "taxExemptionPercentage": 0,
372 "taxAffected": 0,
373 "taxAccount": "string",
374 "accountingKey": "string",
375 "conditionKey": "string",
376 "taxCode": {
377 "id": 0,
378 "displayId": "string"
379 },
380 "taxJurisdiction": {
381 "id": 0,
382 "displayId": "string"
383 },
384 "taxDetermination": {
385 "id": 0,
386 "displayId": "string"
387 },
388 "financialTermId": 0,
389 "ledgerEntryId": 0
390 }
391 ],
392 "ledgerTransactionId": 0
393 }
394 ],
395 "notes": [
396 {
397 "id": 0,
398 "note": "string"
399 }
400 ],
401 "attachments": [
402 {
403 "id": 0,
404 "fileName": "string",
405 "fileStorageId": "string",
406 "docStoreId": 0
407 }
408 ],
409 "journalVoucherWorkflowHistory": [
410 {
411 "id": 0,
412 "eventType": "SEND_TO_APPROVAL",
413 "eventDate": "2019-08-24T14:15:22Z",
414 "user": "string"
415 }
416 ],
417 "ledgerTransactionGroupId": 0,
418 "accountingDocumentId": 0
419 }
420 ]
421 }
422]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
none |
|
» requestUniqueId |
string |
true |
none |
none |
» accountingDocumentId |
integer(int64) |
false |
none |
none |
» transactions |
true |
none |
none |
|
»» id |
integer(int64) |
false |
none |
none |
»» requestUniqueId |
string |
true |
none |
none |
»» createdByApplication |
string |
true |
none |
none |
»» applicationReferenceId |
string |
true |
none |
Any application MUST send a unique reference in order to ignore duplicate postings. |
»» documentComments |
string |
false |
none |
none |
»» name |
string |
false |
none |
none |
»» principalPositionType |
string |
false |
none |
none |
»» postingTransactionType |
string |
false |
none |
none |
»» postingType |
string |
true |
none |
none |
»» ledgerType |
string |
true |
none |
none |
»» parallelCurrencyEnabled |
boolean |
false |
none |
none |
»» generateInvoiceInAp |
boolean |
false |
none |
none |
»» generateVendorInvoice |
boolean |
false |
none |
none |
»» calculateTax |
boolean |
false |
none |
none |
»» taxCalculationType |
string |
false |
none |
none |
»» currencyDetail |
false |
none |
none |
|
»»» currencyId |
integer(int64) |
false |
none |
none |
»»» currencyDisplayId |
string |
false |
none |
none |
»»» currencyDefinitionType |
string |
false |
none |
none |
»»» currencyType |
string |
false |
none |
none |
»» classificationInfo |
false |
none |
none |
|
»»» accountingStandard |
false |
none |
none |
|
»»»» id |
integer(int64) |
false |
none |
none |
»»»» displayId |
string |
false |
none |
none |
»»» leaseClassificationType |
string |
false |
none |
none |
»» date |
false |
none |
none |
|
»»» documentDate |
string(date-time) |
false |
none |
none |
»»» userDocumentDate |
string(date) |
false |
none |
none |
»»» postingDate |
string(date) |
false |
none |
none |
»»» transactionDate |
string(date) |
false |
none |
none |
»»» translationDate |
string(date) |
false |
none |
none |
»»» fiscalVariantId |
integer(int64) |
false |
none |
none |
»»» fiscalVariantDisplayId |
string |
false |
none |
none |
»»» calendarType |
string |
false |
none |
none |
»»» fiscalYear |
integer(int32) |
false |
none |
none |
»»» fiscalPeriod |
integer(int32) |
false |
none |
none |
»» automaticReversal |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» postingDate |
string(date) |
false |
none |
none |
»»» documentDate |
string(date) |
false |
none |
none |
»»» reversalReason |
false |
none |
none |
|
»» trace |
false |
none |
none |
|
»»» previousLedgerTransactionId |
integer(int64) |
false |
none |
none |
»»» nextLedgerTransactionId |
integer(int64) |
false |
none |
none |
»»» postExternalType |
string |
false |
none |
none |
»» fosReferences |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» system |
false |
none |
none |
|
»»» company |
false |
none |
none |
|
»»» leaseArea |
false |
none |
none |
|
»»» leaseGroup |
false |
none |
none |
|
»»» leaseDepartment |
false |
none |
none |
|
»»» businessUnit |
false |
none |
none |
|
»»» mainCostCenter |
false |
none |
none |
|
»»» internalAssetClass |
false |
none |
none |
|
»»» documentType |
false |
none |
none |
|
»»» depreciationArea |
false |
none |
none |
|
»»» reversalReason |
false |
none |
none |
|
»»» tradingPartner |
false |
none |
none |
|
»»» allocationNumber |
false |
none |
none |
|
»»» responsibleCostCenter |
false |
none |
none |
|
»»» workBreakdownStructure |
false |
none |
none |
|
»»» businessArea |
false |
none |
none |
|
»»» functionalArea |
false |
none |
none |
|
»»» plant |
false |
none |
none |
|
»»» internalOrder |
false |
none |
none |
|
»»» network |
false |
none |
none |
|
»»» paymentTerm |
false |
none |
none |
|
»»» paymentBlock |
false |
none |
none |
|
»»» paymentMethod |
false |
none |
none |
|
»»»» id |
integer(int64) |
false |
none |
none |
»»»» displayId |
string |
false |
none |
none |
»»»» type |
string |
true |
none |
none |
»»» segment |
false |
none |
none |
|
»»» purchasingOrganization |
false |
none |
none |
|
»»» purchasingOrder |
false |
none |
none |
|
»»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» assetRegisterReferences |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» asset |
false |
none |
none |
|
»»»» assetId |
integer(int64) |
false |
none |
none |
»»»» assetDisplayId |
string |
false |
none |
none |
»»»» assetNumber |
string |
false |
none |
none |
»»»» subAssetNumber |
string |
false |
none |
none |
»»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» nlaReferences |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» contract |
false |
none |
none |
|
»»» leaseComponent |
false |
none |
none |
|
»»» activationGroup |
false |
none |
none |
|
»»» unit |
false |
none |
none |
|
»»» contractExternalId |
string |
false |
none |
none |
»»» journalId |
integer(int64) |
false |
none |
none |
»»» activationGroupRevisionId |
integer(int64) |
false |
none |
none |
»»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» nlaCustomReferences |
[oneOf] |
false |
none |
none |
oneOf
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
allOf - discriminator: dataType
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
|
»»»»» key |
string |
false |
none |
none |
»»»»» dataType |
string |
false |
none |
none |
»»»»» value |
object |
false |
none |
none |
and
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
object |
false |
none |
none |
»»»»» value |
number |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
allOf - discriminator: dataType
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
and
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
object |
false |
none |
none |
»»»»» value |
boolean |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
allOf - discriminator: dataType
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
and
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
object |
false |
none |
none |
»»»»» value |
string(date) |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
allOf - discriminator: dataType
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
and
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
object |
false |
none |
none |
»»»»» value |
number(double) |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
allOf - discriminator: dataType
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
and
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
object |
false |
none |
none |
»»»»» value |
integer(int32) |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
allOf - discriminator: dataType
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
and
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
object |
false |
none |
none |
»»»»» value |
integer(int64) |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
allOf - discriminator: dataType
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
and
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
object |
false |
none |
none |
»»»»» value |
string |
false |
none |
none |
continued
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»» nreReferences |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» premise |
false |
none |
none |
|
»»» location |
false |
none |
none |
|
»»» lease |
false |
none |
none |
|
»»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» nreCustomReferences |
[oneOf] |
false |
none |
none |
oneOf
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
continued
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»» apReferences |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» invoice |
false |
none |
none |
|
»»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» apCustomReferences |
[oneOf] |
false |
none |
none |
oneOf
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» anonymous |
false |
none |
none |
continued
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»» entries |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» entryType |
string |
true |
none |
none |
»»» amount |
number |
true |
none |
none |
»»» unroundedAmount |
number |
false |
none |
none |
»»» deltaAdjustment |
number |
false |
none |
none |
»»» itemText |
string |
false |
none |
none |
»»» itemNoAcc |
integer(int32) |
false |
none |
none |
»»» generalLedger |
true |
none |
none |
|
»»»» id |
integer(int64) |
false |
none |
none |
»»»» displayId |
string |
false |
none |
none |
»»»» generalLedgerAccountName |
string |
true |
none |
none |
»»»» generalLedgerAccountCode |
string |
true |
none |
none |
»»»» openItemManagement |
boolean |
true |
none |
none |
»»»» accountCategory |
string |
true |
none |
none |
»»»» shortName |
string |
false |
none |
none |
»»»» longName |
string |
false |
none |
none |
»»» additionalCurrencyEntries |
false |
none |
none |
|
»»»» id |
integer(int64) |
false |
none |
none |
»»»» amount |
number |
false |
none |
none |
»»»» unroundedAmount |
number |
false |
none |
none |
»»»» deltaAdjustment |
number |
false |
none |
none |
»»»» itemNoAcc |
integer(int32) |
false |
none |
none |
»»»» currencyDetail |
false |
none |
none |
|
»»»» currencyConversionDetail |
false |
none |
none |
|
»»»»» rate |
number |
false |
none |
none |
»»»»» conversionDate |
string(date) |
false |
none |
none |
»»»»» translationDateType |
string |
false |
none |
none |
»»»»» sourceCurrencyType |
string |
false |
none |
none |
»»»»» sourceCurrency |
false |
none |
none |
|
»»»»» depreciationArea |
false |
none |
none |
|
»»»» ledgerEntryId |
integer(int64) |
false |
none |
none |
»»»» ledgerEntryTaxId |
integer(int64) |
false |
none |
none |
»»» tag |
string |
false |
none |
none |
»»» costCenter |
false |
none |
none |
|
»»»» id |
integer(int64) |
false |
none |
none |
»»»» displayId |
string |
false |
none |
none |
»»»» mainCostCenter |
boolean |
false |
none |
none |
»»»» allocationPercentage |
number(double) |
false |
none |
none |
»»» profitCenter |
false |
none |
none |
|
»»» vendor |
false |
none |
none |
|
»»» transactionType |
string |
false |
none |
none |
»»» nlaCustomReferences |
[oneOf] |
false |
none |
none |
oneOf
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
continued
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» nreCustomReferences |
[oneOf] |
false |
none |
none |
oneOf
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
continued
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» apCustomReferences |
[oneOf] |
false |
none |
none |
oneOf
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
xor
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»»» anonymous |
false |
none |
none |
continued
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
»»» taxEntries |
false |
none |
none |
|
»»»» id |
integer(int64) |
false |
none |
none |
»»»» entryType |
string |
true |
none |
none |
»»»» amount |
number |
true |
none |
none |
»»»» unroundedAmount |
number |
false |
none |
none |
»»»» deltaAdjustment |
number |
false |
none |
none |
»»»» itemText |
string |
false |
none |
none |
»»»» itemNoAcc |
integer(int32) |
false |
none |
none |
»»»» generalLedger |
true |
none |
none |
|
»»»» additionalCurrencyEntries |
false |
none |
none |
|
»»»» taxRate |
number |
false |
none |
none |
»»»» taxBaseAmount |
number |
false |
none |
none |
»»»» totalTaxDocumentAmount |
number |
false |
none |
none |
»»»» taxExempt |
number |
false |
none |
none |
»»»» taxExemptionPercentage |
number |
false |
none |
none |
»»»» taxAffected |
number |
false |
none |
none |
»»»» taxAccount |
string |
false |
none |
none |
»»»» accountingKey |
string |
false |
none |
none |
»»»» conditionKey |
string |
false |
none |
none |
»»»» taxCode |
false |
none |
none |
|
»»»» taxJurisdiction |
false |
none |
none |
|
»»»» taxDetermination |
false |
none |
none |
|
»»»» financialTermId |
integer(int64) |
false |
none |
none |
»»»» ledgerEntryId |
integer(int64) |
false |
none |
none |
»»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» notes |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» note |
string |
false |
none |
none |
»» attachments |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» fileName |
string |
false |
none |
none |
»»» fileStorageId |
string |
false |
none |
none |
»»» docStoreId |
integer(int64) |
false |
none |
none |
»» journalVoucherWorkflowHistory |
false |
none |
none |
|
»»» id |
integer(int64) |
false |
none |
none |
»»» eventType |
string |
false |
none |
none |
»»» eventDate |
string(date-time) |
false |
none |
none |
»»» user |
string |
false |
none |
none |
»» ledgerTransactionGroupId |
integer(int64) |
false |
none |
none |
»» accountingDocumentId |
integer(int64) |
false |
none |
none |
Enumerated Values
Attribute |
Value |
|---|---|
accountCategory |
BALANCESHEET, PROFITANDLOSS |
calendarType |
FISCAL_VARIANT, REGULAR_CALENDAR, _360 |
createdByApplication |
ACCOUNT_PAYABLE, ACCOUNT_RECEIVABLE, GENERAL_LEDGER, NLA, NRE, REPAIR_MAINTENANCE |
currencyDefinitionType |
COMPANY_CURRENCY, CONTRACT_CURRENCY, MONTH_END_CURRENCY, REPORTING_CURRENCY, SECOND_LOCAL_CURRENCY, THIRD_LOCAL_CURRENCY |
dataType |
BIG_DECIMAL, BOOLEAN, DATE, DATETIME, DOUBLE, INTEGER, LONG, STRING |
entryType |
C, D |
eventType |
APPROVED, ARCHIVED, REWORK, SEND_TO_APPROVAL |
leaseClassificationType |
DIRECT_FINANCING, FINANCE, LOW_VALUE, NON_LEASE, OPERATING, PROVISIONING, SALES_TYPE, SERVICE_CONTRACT, SHORT_TERM |
ledgerType |
ACCRUAL, ASSET_CAPITALIZATION, CHARGE, CLEARING, DEPRECIATION, GRV, IDC, IMPAIRMENT, INCENTIVE, LIABILITY, LIABILITY_ADJUSTMENT, LIABILITY_ADJUSTMENT_DECREASE, LIABILITY_ADJUSTMENT_INCREASE, LIABILITY_ADJUSTMENT_INDEXATION_DECREASE, LIABILITY_ADJUSTMENT_INDEXATION_INCREASE, MODIFICATION_CAPITALIZATION, MODIFICATION_CAPITALIZATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_ASSET_INCREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_INCREASE, PAYMENT, PREPAID, PROVISIONING, RECLASSIFICATION_ASSET_TRANSFER, RECLASSIFICATION_NON_ASSET_TRANSFER, TERMINATION_ASSET, TERMINATION_CLOSED_LEDGER, TERMINATION_LIABILITY, TERMINATION_ROUNDING, URV, VOUCHER |
postExternalType |
POST, SKIP |
postingTransactionType |
POST, REVERSE |
postingType |
ACCRUAL, CHARGE, DEPRECIATION, MODIFICATION_RECOGNITION, PAYMENT, PROVISIONING, RECOGNITION, TERMINATION, VOUCHER |
principalPositionType |
LESSEE, LESSOR |
sourceCurrencyType |
COMPANY_CURRENCY, CONTRACT_CURRENCY, N_A |
taxCalculationType |
NET |
translationDateType |
DOCUMENT_DATE, POSTING_DATE, TRANSLATION_DATE, nan |
Reverse¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/reverse
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1{
2 "requestUniqueId": "string",
3 "accountingDocumentId": 0,
4 "reversalReason": {
5 "id": 0,
6 "displayId": "string"
7 },
8 "postingDates": {
9 "userDocumentDate": "2019-08-24",
10 "postingDate": "2019-08-24",
11 "translationDate": "2019-08-24",
12 "transactionDate": "2019-08-24"
13 }
14}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "errorMessage": "string",
3 "requestUniqueId": "string",
4 "accountingDocumentId": 0,
5 "entryResults": [
6 {
7 "type": "LIABILITY",
8 "ledgerTransactionId": 0,
9 "requestUniqueId": "string",
10 "applicationReferenceId": "string",
11 "internalPostingStatus": {
12 "documentNumber": "string",
13 "status": "NA",
14 "postingMessage": "string"
15 },
16 "postingTransactionType": "POST"
17 }
18 ]
19}
Post¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/post
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1{
2 "requestUniqueId": "string",
3 "accountingDocumentId": 0,
4 "transactions": [
5 {
6 "id": 0,
7 "requestUniqueId": "string",
8 "createdByApplication": "NLA",
9 "applicationReferenceId": "JOURNAL_ENTRY_ID--UNIT_ID",
10 "documentComments": "string",
11 "name": "string",
12 "principalPositionType": "LESSEE",
13 "postingTransactionType": "POST",
14 "postingType": "PAYMENT",
15 "ledgerType": "LIABILITY",
16 "parallelCurrencyEnabled": true,
17 "generateInvoiceInAp": true,
18 "generateVendorInvoice": true,
19 "calculateTax": true,
20 "taxCalculationType": "NET",
21 "currencyDetail": {
22 "currencyId": 0,
23 "currencyDisplayId": "string",
24 "currencyDefinitionType": "CONTRACT_CURRENCY",
25 "currencyType": "string"
26 },
27 "classificationInfo": {
28 "accountingStandard": {
29 "id": 0,
30 "displayId": "string"
31 },
32 "leaseClassificationType": "NON_LEASE"
33 },
34 "date": {
35 "documentDate": "2019-08-24T14:15:22Z",
36 "userDocumentDate": "2019-08-24",
37 "postingDate": "2019-08-24",
38 "transactionDate": "2019-08-24",
39 "translationDate": "2019-08-24",
40 "fiscalVariantId": 0,
41 "fiscalVariantDisplayId": "string",
42 "calendarType": "REGULAR_CALENDAR",
43 "fiscalYear": 0,
44 "fiscalPeriod": 0
45 },
46 "automaticReversal": {
47 "id": 0,
48 "postingDate": "2019-08-24",
49 "documentDate": "2019-08-24",
50 "reversalReason": {
51 "id": 0,
52 "displayId": "string"
53 }
54 },
55 "trace": {
56 "previousLedgerTransactionId": 0,
57 "nextLedgerTransactionId": 0,
58 "postExternalType": "SKIP"
59 },
60 "fosReferences": {
61 "id": 0,
62 "system": {
63 "id": 0,
64 "displayId": "string"
65 },
66 "company": {
67 "id": 0,
68 "displayId": "string"
69 },
70 "leaseArea": {
71 "id": 0,
72 "displayId": "string"
73 },
74 "leaseGroup": {
75 "id": 0,
76 "displayId": "string"
77 },
78 "leaseDepartment": {
79 "id": 0,
80 "displayId": "string"
81 },
82 "businessUnit": {
83 "id": 0,
84 "displayId": "string"
85 },
86 "mainCostCenter": {
87 "id": 0,
88 "displayId": "string"
89 },
90 "internalAssetClass": {
91 "id": 0,
92 "displayId": "string"
93 },
94 "documentType": {
95 "id": 0,
96 "displayId": "string"
97 },
98 "depreciationArea": {
99 "id": 0,
100 "displayId": "string"
101 },
102 "reversalReason": {
103 "id": 0,
104 "displayId": "string"
105 },
106 "tradingPartner": {
107 "id": 0,
108 "displayId": "string"
109 },
110 "allocationNumber": {
111 "id": 0,
112 "displayId": "string"
113 },
114 "responsibleCostCenter": {
115 "id": 0,
116 "displayId": "string"
117 },
118 "workBreakdownStructure": {
119 "id": 0,
120 "displayId": "string"
121 },
122 "businessArea": {
123 "id": 0,
124 "displayId": "string"
125 },
126 "functionalArea": {
127 "id": 0,
128 "displayId": "string"
129 },
130 "plant": {
131 "id": 0,
132 "displayId": "string"
133 },
134 "internalOrder": {
135 "id": 0,
136 "displayId": "string"
137 },
138 "network": {
139 "id": 0,
140 "displayId": "string"
141 },
142 "paymentTerm": {
143 "id": 0,
144 "displayId": "string"
145 },
146 "paymentBlock": {
147 "id": 0,
148 "displayId": "string"
149 },
150 "paymentMethod": {
151 "id": 0,
152 "displayId": "string",
153 "type": "string"
154 },
155 "segment": {
156 "id": 0,
157 "displayId": "string"
158 },
159 "purchasingOrganization": {
160 "id": 0,
161 "displayId": "string"
162 },
163 "purchasingOrder": {
164 "id": 0,
165 "displayId": "string"
166 },
167 "ledgerTransactionId": 0
168 },
169 "assetRegisterReferences": {
170 "id": 0,
171 "asset": {
172 "assetId": 0,
173 "assetDisplayId": "string",
174 "assetNumber": "string",
175 "subAssetNumber": "string"
176 },
177 "ledgerTransactionId": 0
178 },
179 "nlaReferences": {
180 "id": 0,
181 "contract": {
182 "id": 0,
183 "displayId": "string"
184 },
185 "leaseComponent": {
186 "id": 0,
187 "displayId": "string"
188 },
189 "activationGroup": {
190 "id": 0,
191 "displayId": "string"
192 },
193 "unit": {
194 "id": 0,
195 "displayId": "string"
196 },
197 "contractExternalId": "string",
198 "journalId": 0,
199 "activationGroupRevisionId": 0,
200 "ledgerTransactionId": 0
201 },
202 "nlaCustomReferences": [
203 {
204 "key": "string",
205 "dataType": "STRING",
206 "value": 0
207 }
208 ],
209 "nreReferences": {
210 "id": 0,
211 "premise": {
212 "id": 0,
213 "displayId": "string"
214 },
215 "location": {
216 "id": 0,
217 "displayId": "string"
218 },
219 "lease": {
220 "id": 0,
221 "displayId": "string"
222 },
223 "ledgerTransactionId": 0
224 },
225 "nreCustomReferences": [
226 {
227 "key": "string",
228 "dataType": "STRING",
229 "value": 0
230 }
231 ],
232 "apReferences": {
233 "id": 0,
234 "invoice": {
235 "id": 0,
236 "displayId": "string"
237 },
238 "ledgerTransactionId": 0
239 },
240 "apCustomReferences": [
241 {
242 "key": "string",
243 "dataType": "STRING",
244 "value": 0
245 }
246 ],
247 "entries": [
248 {
249 "id": 0,
250 "entryType": "D",
251 "amount": 0,
252 "unroundedAmount": 0,
253 "deltaAdjustment": 0,
254 "itemText": "string",
255 "itemNoAcc": 0,
256 "generalLedger": {
257 "id": 0,
258 "displayId": "string",
259 "generalLedgerAccountName": "string",
260 "generalLedgerAccountCode": "string",
261 "openItemManagement": true,
262 "accountCategory": "BALANCESHEET",
263 "shortName": "string",
264 "longName": "string"
265 },
266 "additionalCurrencyEntries": [
267 {
268 "id": 0,
269 "amount": 0,
270 "unroundedAmount": 0,
271 "deltaAdjustment": 0,
272 "itemNoAcc": 0,
273 "currencyDetail": {
274 "currencyId": 0,
275 "currencyDisplayId": "string",
276 "currencyDefinitionType": "CONTRACT_CURRENCY",
277 "currencyType": "string"
278 },
279 "currencyConversionDetail": {
280 "rate": 0,
281 "conversionDate": "2019-08-24",
282 "translationDateType": "DOCUMENT_DATE",
283 "sourceCurrencyType": "CONTRACT_CURRENCY",
284 "sourceCurrency": {
285 "id": 0,
286 "displayId": "string"
287 },
288 "depreciationArea": {
289 "id": 0,
290 "displayId": "string"
291 }
292 },
293 "ledgerEntryId": 0,
294 "ledgerEntryTaxId": 0
295 }
296 ],
297 "tag": "string",
298 "costCenter": {
299 "id": 0,
300 "displayId": "string",
301 "mainCostCenter": true,
302 "allocationPercentage": 0.1
303 },
304 "profitCenter": {
305 "id": 0,
306 "displayId": "string"
307 },
308 "vendor": {
309 "id": 0,
310 "displayId": "string"
311 },
312 "transactionType": "string",
313 "nlaCustomReferences": [
314 {
315 "key": "string",
316 "dataType": "STRING",
317 "value": 0
318 }
319 ],
320 "nreCustomReferences": [
321 {
322 "key": "string",
323 "dataType": "STRING",
324 "value": 0
325 }
326 ],
327 "apCustomReferences": [
328 {
329 "key": "string",
330 "dataType": "STRING",
331 "value": 0
332 }
333 ],
334 "taxEntries": [
335 {
336 "id": 0,
337 "entryType": "D",
338 "amount": 0,
339 "unroundedAmount": 0,
340 "deltaAdjustment": 0,
341 "itemText": "string",
342 "itemNoAcc": 0,
343 "generalLedger": {
344 "id": 0,
345 "displayId": "string",
346 "generalLedgerAccountName": "string",
347 "generalLedgerAccountCode": "string",
348 "openItemManagement": true,
349 "accountCategory": "BALANCESHEET",
350 "shortName": "string",
351 "longName": "string"
352 },
353 "additionalCurrencyEntries": [
354 {
355 "id": 0,
356 "amount": 0,
357 "unroundedAmount": 0,
358 "deltaAdjustment": 0,
359 "itemNoAcc": 0,
360 "currencyDetail": {
361 "currencyId": 0,
362 "currencyDisplayId": "string",
363 "currencyDefinitionType": "CONTRACT_CURRENCY",
364 "currencyType": "string"
365 },
366 "currencyConversionDetail": {
367 "rate": 0,
368 "conversionDate": "2019-08-24",
369 "translationDateType": "DOCUMENT_DATE",
370 "sourceCurrencyType": "CONTRACT_CURRENCY",
371 "sourceCurrency": {},
372 "depreciationArea": {}
373 },
374 "ledgerEntryId": 0,
375 "ledgerEntryTaxId": 0
376 }
377 ],
378 "taxRate": 0,
379 "taxBaseAmount": 0,
380 "totalTaxDocumentAmount": 0,
381 "taxExempt": 0,
382 "taxExemptionPercentage": 0,
383 "taxAffected": 0,
384 "taxAccount": "string",
385 "accountingKey": "string",
386 "conditionKey": "string",
387 "taxCode": {
388 "id": 0,
389 "displayId": "string"
390 },
391 "taxJurisdiction": {
392 "id": 0,
393 "displayId": "string"
394 },
395 "taxDetermination": {
396 "id": 0,
397 "displayId": "string"
398 },
399 "financialTermId": 0,
400 "ledgerEntryId": 0
401 }
402 ],
403 "ledgerTransactionId": 0
404 }
405 ],
406 "notes": [
407 {
408 "id": 0,
409 "note": "string"
410 }
411 ],
412 "attachments": [
413 {
414 "id": 0,
415 "fileName": "string",
416 "fileStorageId": "string",
417 "docStoreId": 0
418 }
419 ],
420 "journalVoucherWorkflowHistory": [
421 {
422 "id": 0,
423 "eventType": "SEND_TO_APPROVAL",
424 "eventDate": "2019-08-24T14:15:22Z",
425 "user": "string"
426 }
427 ],
428 "ledgerTransactionGroupId": 0,
429 "accountingDocumentId": 0
430 }
431 ]
432}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "errorMessage": "string",
3 "requestUniqueId": "string",
4 "accountingDocumentId": 0,
5 "entryResults": [
6 {
7 "type": "LIABILITY",
8 "ledgerTransactionId": 0,
9 "requestUniqueId": "string",
10 "applicationReferenceId": "string",
11 "internalPostingStatus": {
12 "documentNumber": "string",
13 "status": "NA",
14 "postingMessage": "string"
15 },
16 "postingTransactionType": "POST"
17 }
18 ]
19}
Has Non Posted Documents¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/has-non-posted-documents
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
none |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
boolean |
Example Responses
1true
Cleanup Accounting Documents¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/cleanup
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
message |
query |
string |
true |
none |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Bulk Reverse¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/bulk-reverse
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1[
2 {
3 "requestUniqueId": "string",
4 "accountingDocumentId": 0,
5 "reversalReason": {
6 "id": 0,
7 "displayId": "string"
8 },
9 "postingDates": {
10 "userDocumentDate": "2019-08-24",
11 "postingDate": "2019-08-24",
12 "translationDate": "2019-08-24",
13 "transactionDate": "2019-08-24"
14 }
15 }
16]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "errorMessage": "string",
4 "requestUniqueId": "string",
5 "accountingDocumentId": 0,
6 "entryResults": [
7 {
8 "type": "LIABILITY",
9 "ledgerTransactionId": 0,
10 "requestUniqueId": "string",
11 "applicationReferenceId": "string",
12 "internalPostingStatus": {
13 "documentNumber": "string",
14 "status": "NA",
15 "postingMessage": "string"
16 },
17 "postingTransactionType": "POST"
18 }
19 ]
20 }
21]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
none |
|
» errorMessage |
string |
false |
none |
none |
» requestUniqueId |
string |
false |
none |
none |
» accountingDocumentId |
integer(int64) |
false |
none |
none |
» entryResults |
false |
none |
none |
|
»» type |
string |
false |
none |
none |
»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» requestUniqueId |
string |
false |
none |
none |
»» applicationReferenceId |
string |
false |
none |
none |
»» internalPostingStatus |
false |
none |
none |
|
»»» documentNumber |
string |
false |
none |
none |
»»» status |
string |
false |
none |
none |
»»» postingMessage |
string |
false |
none |
none |
»» postingTransactionType |
string |
false |
none |
none |
Enumerated Values
Attribute |
Value |
|---|---|
postingTransactionType |
POST, REVERSE |
status |
ARCHIVED, DONE, FAILED, OPEN, PROCESSING, SCHEDULED, nan |
type |
ACCRUAL, ASSET_CAPITALIZATION, CHARGE, CLEARING, DEPRECIATION, GRV, IDC, IMPAIRMENT, INCENTIVE, LIABILITY, LIABILITY_ADJUSTMENT, LIABILITY_ADJUSTMENT_DECREASE, LIABILITY_ADJUSTMENT_INCREASE, LIABILITY_ADJUSTMENT_INDEXATION_DECREASE, LIABILITY_ADJUSTMENT_INDEXATION_INCREASE, MODIFICATION_CAPITALIZATION, MODIFICATION_CAPITALIZATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_ASSET_INCREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_INCREASE, PAYMENT, PREPAID, PROVISIONING, RECLASSIFICATION_ASSET_TRANSFER, RECLASSIFICATION_NON_ASSET_TRANSFER, TERMINATION_ASSET, TERMINATION_CLOSED_LEDGER, TERMINATION_LIABILITY, TERMINATION_ROUNDING, URV, VOUCHER |
Bulk Post¶
HTTP Request
POST /api/v1/general-ledger/accounting-documents/bulk-post
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1[
2 {
3 "requestUniqueId": "string",
4 "accountingDocumentId": 0,
5 "transactions": [
6 {
7 "id": 0,
8 "requestUniqueId": "string",
9 "createdByApplication": "NLA",
10 "applicationReferenceId": "JOURNAL_ENTRY_ID--UNIT_ID",
11 "documentComments": "string",
12 "name": "string",
13 "principalPositionType": "LESSEE",
14 "postingTransactionType": "POST",
15 "postingType": "PAYMENT",
16 "ledgerType": "LIABILITY",
17 "parallelCurrencyEnabled": true,
18 "generateInvoiceInAp": true,
19 "generateVendorInvoice": true,
20 "calculateTax": true,
21 "taxCalculationType": "NET",
22 "currencyDetail": {
23 "currencyId": 0,
24 "currencyDisplayId": "string",
25 "currencyDefinitionType": "CONTRACT_CURRENCY",
26 "currencyType": "string"
27 },
28 "classificationInfo": {
29 "accountingStandard": {
30 "id": 0,
31 "displayId": "string"
32 },
33 "leaseClassificationType": "NON_LEASE"
34 },
35 "date": {
36 "documentDate": "2019-08-24T14:15:22Z",
37 "userDocumentDate": "2019-08-24",
38 "postingDate": "2019-08-24",
39 "transactionDate": "2019-08-24",
40 "translationDate": "2019-08-24",
41 "fiscalVariantId": 0,
42 "fiscalVariantDisplayId": "string",
43 "calendarType": "REGULAR_CALENDAR",
44 "fiscalYear": 0,
45 "fiscalPeriod": 0
46 },
47 "automaticReversal": {
48 "id": 0,
49 "postingDate": "2019-08-24",
50 "documentDate": "2019-08-24",
51 "reversalReason": {
52 "id": 0,
53 "displayId": "string"
54 }
55 },
56 "trace": {
57 "previousLedgerTransactionId": 0,
58 "nextLedgerTransactionId": 0,
59 "postExternalType": "SKIP"
60 },
61 "fosReferences": {
62 "id": 0,
63 "system": {
64 "id": 0,
65 "displayId": "string"
66 },
67 "company": {
68 "id": 0,
69 "displayId": "string"
70 },
71 "leaseArea": {
72 "id": 0,
73 "displayId": "string"
74 },
75 "leaseGroup": {
76 "id": 0,
77 "displayId": "string"
78 },
79 "leaseDepartment": {
80 "id": 0,
81 "displayId": "string"
82 },
83 "businessUnit": {
84 "id": 0,
85 "displayId": "string"
86 },
87 "mainCostCenter": {
88 "id": 0,
89 "displayId": "string"
90 },
91 "internalAssetClass": {
92 "id": 0,
93 "displayId": "string"
94 },
95 "documentType": {
96 "id": 0,
97 "displayId": "string"
98 },
99 "depreciationArea": {
100 "id": 0,
101 "displayId": "string"
102 },
103 "reversalReason": {
104 "id": 0,
105 "displayId": "string"
106 },
107 "tradingPartner": {
108 "id": 0,
109 "displayId": "string"
110 },
111 "allocationNumber": {
112 "id": 0,
113 "displayId": "string"
114 },
115 "responsibleCostCenter": {
116 "id": 0,
117 "displayId": "string"
118 },
119 "workBreakdownStructure": {
120 "id": 0,
121 "displayId": "string"
122 },
123 "businessArea": {
124 "id": 0,
125 "displayId": "string"
126 },
127 "functionalArea": {
128 "id": 0,
129 "displayId": "string"
130 },
131 "plant": {
132 "id": 0,
133 "displayId": "string"
134 },
135 "internalOrder": {
136 "id": 0,
137 "displayId": "string"
138 },
139 "network": {
140 "id": 0,
141 "displayId": "string"
142 },
143 "paymentTerm": {
144 "id": 0,
145 "displayId": "string"
146 },
147 "paymentBlock": {
148 "id": 0,
149 "displayId": "string"
150 },
151 "paymentMethod": {
152 "id": 0,
153 "displayId": "string",
154 "type": "string"
155 },
156 "segment": {
157 "id": 0,
158 "displayId": "string"
159 },
160 "purchasingOrganization": {
161 "id": 0,
162 "displayId": "string"
163 },
164 "purchasingOrder": {
165 "id": 0,
166 "displayId": "string"
167 },
168 "ledgerTransactionId": 0
169 },
170 "assetRegisterReferences": {
171 "id": 0,
172 "asset": {
173 "assetId": 0,
174 "assetDisplayId": "string",
175 "assetNumber": "string",
176 "subAssetNumber": "string"
177 },
178 "ledgerTransactionId": 0
179 },
180 "nlaReferences": {
181 "id": 0,
182 "contract": {
183 "id": 0,
184 "displayId": "string"
185 },
186 "leaseComponent": {
187 "id": 0,
188 "displayId": "string"
189 },
190 "activationGroup": {
191 "id": 0,
192 "displayId": "string"
193 },
194 "unit": {
195 "id": 0,
196 "displayId": "string"
197 },
198 "contractExternalId": "string",
199 "journalId": 0,
200 "activationGroupRevisionId": 0,
201 "ledgerTransactionId": 0
202 },
203 "nlaCustomReferences": [
204 {
205 "key": "string",
206 "dataType": "STRING",
207 "value": 0
208 }
209 ],
210 "nreReferences": {
211 "id": 0,
212 "premise": {
213 "id": 0,
214 "displayId": "string"
215 },
216 "location": {
217 "id": 0,
218 "displayId": "string"
219 },
220 "lease": {
221 "id": 0,
222 "displayId": "string"
223 },
224 "ledgerTransactionId": 0
225 },
226 "nreCustomReferences": [
227 {
228 "key": "string",
229 "dataType": "STRING",
230 "value": 0
231 }
232 ],
233 "apReferences": {
234 "id": 0,
235 "invoice": {
236 "id": 0,
237 "displayId": "string"
238 },
239 "ledgerTransactionId": 0
240 },
241 "apCustomReferences": [
242 {
243 "key": "string",
244 "dataType": "STRING",
245 "value": 0
246 }
247 ],
248 "entries": [
249 {
250 "id": 0,
251 "entryType": "D",
252 "amount": 0,
253 "unroundedAmount": 0,
254 "deltaAdjustment": 0,
255 "itemText": "string",
256 "itemNoAcc": 0,
257 "generalLedger": {
258 "id": 0,
259 "displayId": "string",
260 "generalLedgerAccountName": "string",
261 "generalLedgerAccountCode": "string",
262 "openItemManagement": true,
263 "accountCategory": "BALANCESHEET",
264 "shortName": "string",
265 "longName": "string"
266 },
267 "additionalCurrencyEntries": [
268 {
269 "id": 0,
270 "amount": 0,
271 "unroundedAmount": 0,
272 "deltaAdjustment": 0,
273 "itemNoAcc": 0,
274 "currencyDetail": {
275 "currencyId": 0,
276 "currencyDisplayId": "string",
277 "currencyDefinitionType": "CONTRACT_CURRENCY",
278 "currencyType": "string"
279 },
280 "currencyConversionDetail": {
281 "rate": 0,
282 "conversionDate": "2019-08-24",
283 "translationDateType": "DOCUMENT_DATE",
284 "sourceCurrencyType": "CONTRACT_CURRENCY",
285 "sourceCurrency": {
286 "id": 0,
287 "displayId": "string"
288 },
289 "depreciationArea": {
290 "id": 0,
291 "displayId": "string"
292 }
293 },
294 "ledgerEntryId": 0,
295 "ledgerEntryTaxId": 0
296 }
297 ],
298 "tag": "string",
299 "costCenter": {
300 "id": 0,
301 "displayId": "string",
302 "mainCostCenter": true,
303 "allocationPercentage": 0.1
304 },
305 "profitCenter": {
306 "id": 0,
307 "displayId": "string"
308 },
309 "vendor": {
310 "id": 0,
311 "displayId": "string"
312 },
313 "transactionType": "string",
314 "nlaCustomReferences": [
315 {
316 "key": "string",
317 "dataType": "STRING",
318 "value": 0
319 }
320 ],
321 "nreCustomReferences": [
322 {
323 "key": "string",
324 "dataType": "STRING",
325 "value": 0
326 }
327 ],
328 "apCustomReferences": [
329 {
330 "key": "string",
331 "dataType": "STRING",
332 "value": 0
333 }
334 ],
335 "taxEntries": [
336 {
337 "id": 0,
338 "entryType": "D",
339 "amount": 0,
340 "unroundedAmount": 0,
341 "deltaAdjustment": 0,
342 "itemText": "string",
343 "itemNoAcc": 0,
344 "generalLedger": {
345 "id": 0,
346 "displayId": "string",
347 "generalLedgerAccountName": "string",
348 "generalLedgerAccountCode": "string",
349 "openItemManagement": true,
350 "accountCategory": "BALANCESHEET",
351 "shortName": "string",
352 "longName": "string"
353 },
354 "additionalCurrencyEntries": [
355 {
356 "id": 0,
357 "amount": 0,
358 "unroundedAmount": 0,
359 "deltaAdjustment": 0,
360 "itemNoAcc": 0,
361 "currencyDetail": {},
362 "currencyConversionDetail": {},
363 "ledgerEntryId": 0,
364 "ledgerEntryTaxId": 0
365 }
366 ],
367 "taxRate": 0,
368 "taxBaseAmount": 0,
369 "totalTaxDocumentAmount": 0,
370 "taxExempt": 0,
371 "taxExemptionPercentage": 0,
372 "taxAffected": 0,
373 "taxAccount": "string",
374 "accountingKey": "string",
375 "conditionKey": "string",
376 "taxCode": {
377 "id": 0,
378 "displayId": "string"
379 },
380 "taxJurisdiction": {
381 "id": 0,
382 "displayId": "string"
383 },
384 "taxDetermination": {
385 "id": 0,
386 "displayId": "string"
387 },
388 "financialTermId": 0,
389 "ledgerEntryId": 0
390 }
391 ],
392 "ledgerTransactionId": 0
393 }
394 ],
395 "notes": [
396 {
397 "id": 0,
398 "note": "string"
399 }
400 ],
401 "attachments": [
402 {
403 "id": 0,
404 "fileName": "string",
405 "fileStorageId": "string",
406 "docStoreId": 0
407 }
408 ],
409 "journalVoucherWorkflowHistory": [
410 {
411 "id": 0,
412 "eventType": "SEND_TO_APPROVAL",
413 "eventDate": "2019-08-24T14:15:22Z",
414 "user": "string"
415 }
416 ],
417 "ledgerTransactionGroupId": 0,
418 "accountingDocumentId": 0
419 }
420 ]
421 }
422]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "errorMessage": "string",
4 "requestUniqueId": "string",
5 "accountingDocumentId": 0,
6 "entryResults": [
7 {
8 "type": "LIABILITY",
9 "ledgerTransactionId": 0,
10 "requestUniqueId": "string",
11 "applicationReferenceId": "string",
12 "internalPostingStatus": {
13 "documentNumber": "string",
14 "status": "NA",
15 "postingMessage": "string"
16 },
17 "postingTransactionType": "POST"
18 }
19 ]
20 }
21]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
none |
|
» errorMessage |
string |
false |
none |
none |
» requestUniqueId |
string |
false |
none |
none |
» accountingDocumentId |
integer(int64) |
false |
none |
none |
» entryResults |
false |
none |
none |
|
»» type |
string |
false |
none |
none |
»» ledgerTransactionId |
integer(int64) |
false |
none |
none |
»» requestUniqueId |
string |
false |
none |
none |
»» applicationReferenceId |
string |
false |
none |
none |
»» internalPostingStatus |
false |
none |
none |
|
»»» documentNumber |
string |
false |
none |
none |
»»» status |
string |
false |
none |
none |
»»» postingMessage |
string |
false |
none |
none |
»» postingTransactionType |
string |
false |
none |
none |
Enumerated Values
Attribute |
Value |
|---|---|
postingTransactionType |
POST, REVERSE |
status |
ARCHIVED, DONE, FAILED, OPEN, PROCESSING, SCHEDULED, nan |
type |
ACCRUAL, ASSET_CAPITALIZATION, CHARGE, CLEARING, DEPRECIATION, GRV, IDC, IMPAIRMENT, INCENTIVE, LIABILITY, LIABILITY_ADJUSTMENT, LIABILITY_ADJUSTMENT_DECREASE, LIABILITY_ADJUSTMENT_INCREASE, LIABILITY_ADJUSTMENT_INDEXATION_DECREASE, LIABILITY_ADJUSTMENT_INDEXATION_INCREASE, MODIFICATION_CAPITALIZATION, MODIFICATION_CAPITALIZATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_ASSET_INCREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_INCREASE, PAYMENT, PREPAID, PROVISIONING, RECLASSIFICATION_ASSET_TRANSFER, RECLASSIFICATION_NON_ASSET_TRANSFER, TERMINATION_ASSET, TERMINATION_CLOSED_LEDGER, TERMINATION_LIABILITY, TERMINATION_ROUNDING, URV, VOUCHER |
Get¶
HTTP Request
GET /api/v1/general-ledger/accounting-documents/{id}
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
none |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "requestUniqueId": "string",
3 "accountingDocumentId": 0,
4 "transactions": [
5 {
6 "id": 0,
7 "requestUniqueId": "string",
8 "createdByApplication": "NLA",
9 "applicationReferenceId": "JOURNAL_ENTRY_ID--UNIT_ID",
10 "documentComments": "string",
11 "name": "string",
12 "principalPositionType": "LESSEE",
13 "postingTransactionType": "POST",
14 "postingType": "PAYMENT",
15 "ledgerType": "LIABILITY",
16 "parallelCurrencyEnabled": true,
17 "generateInvoiceInAp": true,
18 "generateVendorInvoice": true,
19 "calculateTax": true,
20 "taxCalculationType": "NET",
21 "currencyDetail": {
22 "currencyId": 0,
23 "currencyDisplayId": "string",
24 "currencyDefinitionType": "CONTRACT_CURRENCY",
25 "currencyType": "string"
26 },
27 "classificationInfo": {
28 "accountingStandard": {
29 "id": 0,
30 "displayId": "string"
31 },
32 "leaseClassificationType": "NON_LEASE"
33 },
34 "date": {
35 "documentDate": "2019-08-24T14:15:22Z",
36 "userDocumentDate": "2019-08-24",
37 "postingDate": "2019-08-24",
38 "transactionDate": "2019-08-24",
39 "translationDate": "2019-08-24",
40 "fiscalVariantId": 0,
41 "fiscalVariantDisplayId": "string",
42 "calendarType": "REGULAR_CALENDAR",
43 "fiscalYear": 0,
44 "fiscalPeriod": 0
45 },
46 "automaticReversal": {
47 "id": 0,
48 "postingDate": "2019-08-24",
49 "documentDate": "2019-08-24",
50 "reversalReason": {
51 "id": 0,
52 "displayId": "string"
53 }
54 },
55 "trace": {
56 "previousLedgerTransactionId": 0,
57 "nextLedgerTransactionId": 0,
58 "postExternalType": "SKIP"
59 },
60 "fosReferences": {
61 "id": 0,
62 "system": {
63 "id": 0,
64 "displayId": "string"
65 },
66 "company": {
67 "id": 0,
68 "displayId": "string"
69 },
70 "leaseArea": {
71 "id": 0,
72 "displayId": "string"
73 },
74 "leaseGroup": {
75 "id": 0,
76 "displayId": "string"
77 },
78 "leaseDepartment": {
79 "id": 0,
80 "displayId": "string"
81 },
82 "businessUnit": {
83 "id": 0,
84 "displayId": "string"
85 },
86 "mainCostCenter": {
87 "id": 0,
88 "displayId": "string"
89 },
90 "internalAssetClass": {
91 "id": 0,
92 "displayId": "string"
93 },
94 "documentType": {
95 "id": 0,
96 "displayId": "string"
97 },
98 "depreciationArea": {
99 "id": 0,
100 "displayId": "string"
101 },
102 "reversalReason": {
103 "id": 0,
104 "displayId": "string"
105 },
106 "tradingPartner": {
107 "id": 0,
108 "displayId": "string"
109 },
110 "allocationNumber": {
111 "id": 0,
112 "displayId": "string"
113 },
114 "responsibleCostCenter": {
115 "id": 0,
116 "displayId": "string"
117 },
118 "workBreakdownStructure": {
119 "id": 0,
120 "displayId": "string"
121 },
122 "businessArea": {
123 "id": 0,
124 "displayId": "string"
125 },
126 "functionalArea": {
127 "id": 0,
128 "displayId": "string"
129 },
130 "plant": {
131 "id": 0,
132 "displayId": "string"
133 },
134 "internalOrder": {
135 "id": 0,
136 "displayId": "string"
137 },
138 "network": {
139 "id": 0,
140 "displayId": "string"
141 },
142 "paymentTerm": {
143 "id": 0,
144 "displayId": "string"
145 },
146 "paymentBlock": {
147 "id": 0,
148 "displayId": "string"
149 },
150 "paymentMethod": {
151 "id": 0,
152 "displayId": "string",
153 "type": "string"
154 },
155 "segment": {
156 "id": 0,
157 "displayId": "string"
158 },
159 "purchasingOrganization": {
160 "id": 0,
161 "displayId": "string"
162 },
163 "purchasingOrder": {
164 "id": 0,
165 "displayId": "string"
166 },
167 "ledgerTransactionId": 0
168 },
169 "assetRegisterReferences": {
170 "id": 0,
171 "asset": {
172 "assetId": 0,
173 "assetDisplayId": "string",
174 "assetNumber": "string",
175 "subAssetNumber": "string"
176 },
177 "ledgerTransactionId": 0
178 },
179 "nlaReferences": {
180 "id": 0,
181 "contract": {
182 "id": 0,
183 "displayId": "string"
184 },
185 "leaseComponent": {
186 "id": 0,
187 "displayId": "string"
188 },
189 "activationGroup": {
190 "id": 0,
191 "displayId": "string"
192 },
193 "unit": {
194 "id": 0,
195 "displayId": "string"
196 },
197 "contractExternalId": "string",
198 "journalId": 0,
199 "activationGroupRevisionId": 0,
200 "ledgerTransactionId": 0
201 },
202 "nlaCustomReferences": [
203 {
204 "key": "string",
205 "dataType": "STRING",
206 "value": 0
207 }
208 ],
209 "nreReferences": {
210 "id": 0,
211 "premise": {
212 "id": 0,
213 "displayId": "string"
214 },
215 "location": {
216 "id": 0,
217 "displayId": "string"
218 },
219 "lease": {
220 "id": 0,
221 "displayId": "string"
222 },
223 "ledgerTransactionId": 0
224 },
225 "nreCustomReferences": [
226 {
227 "key": "string",
228 "dataType": "STRING",
229 "value": 0
230 }
231 ],
232 "apReferences": {
233 "id": 0,
234 "invoice": {
235 "id": 0,
236 "displayId": "string"
237 },
238 "ledgerTransactionId": 0
239 },
240 "apCustomReferences": [
241 {
242 "key": "string",
243 "dataType": "STRING",
244 "value": 0
245 }
246 ],
247 "entries": [
248 {
249 "id": 0,
250 "entryType": "D",
251 "amount": 0,
252 "unroundedAmount": 0,
253 "deltaAdjustment": 0,
254 "itemText": "string",
255 "itemNoAcc": 0,
256 "generalLedger": {
257 "id": 0,
258 "displayId": "string",
259 "generalLedgerAccountName": "string",
260 "generalLedgerAccountCode": "string",
261 "openItemManagement": true,
262 "accountCategory": "BALANCESHEET",
263 "shortName": "string",
264 "longName": "string"
265 },
266 "additionalCurrencyEntries": [
267 {
268 "id": 0,
269 "amount": 0,
270 "unroundedAmount": 0,
271 "deltaAdjustment": 0,
272 "itemNoAcc": 0,
273 "currencyDetail": {
274 "currencyId": 0,
275 "currencyDisplayId": "string",
276 "currencyDefinitionType": "CONTRACT_CURRENCY",
277 "currencyType": "string"
278 },
279 "currencyConversionDetail": {
280 "rate": 0,
281 "conversionDate": "2019-08-24",
282 "translationDateType": "DOCUMENT_DATE",
283 "sourceCurrencyType": "CONTRACT_CURRENCY",
284 "sourceCurrency": {
285 "id": 0,
286 "displayId": "string"
287 },
288 "depreciationArea": {
289 "id": 0,
290 "displayId": "string"
291 }
292 },
293 "ledgerEntryId": 0,
294 "ledgerEntryTaxId": 0
295 }
296 ],
297 "tag": "string",
298 "costCenter": {
299 "id": 0,
300 "displayId": "string",
301 "mainCostCenter": true,
302 "allocationPercentage": 0.1
303 },
304 "profitCenter": {
305 "id": 0,
306 "displayId": "string"
307 },
308 "vendor": {
309 "id": 0,
310 "displayId": "string"
311 },
312 "transactionType": "string",
313 "nlaCustomReferences": [
314 {
315 "key": "string",
316 "dataType": "STRING",
317 "value": 0
318 }
319 ],
320 "nreCustomReferences": [
321 {
322 "key": "string",
323 "dataType": "STRING",
324 "value": 0
325 }
326 ],
327 "apCustomReferences": [
328 {
329 "key": "string",
330 "dataType": "STRING",
331 "value": 0
332 }
333 ],
334 "taxEntries": [
335 {
336 "id": 0,
337 "entryType": "D",
338 "amount": 0,
339 "unroundedAmount": 0,
340 "deltaAdjustment": 0,
341 "itemText": "string",
342 "itemNoAcc": 0,
343 "generalLedger": {
344 "id": 0,
345 "displayId": "string",
346 "generalLedgerAccountName": "string",
347 "generalLedgerAccountCode": "string",
348 "openItemManagement": true,
349 "accountCategory": "BALANCESHEET",
350 "shortName": "string",
351 "longName": "string"
352 },
353 "additionalCurrencyEntries": [
354 {
355 "id": 0,
356 "amount": 0,
357 "unroundedAmount": 0,
358 "deltaAdjustment": 0,
359 "itemNoAcc": 0,
360 "currencyDetail": {
361 "currencyId": 0,
362 "currencyDisplayId": "string",
363 "currencyDefinitionType": "CONTRACT_CURRENCY",
364 "currencyType": "string"
365 },
366 "currencyConversionDetail": {
367 "rate": 0,
368 "conversionDate": "2019-08-24",
369 "translationDateType": "DOCUMENT_DATE",
370 "sourceCurrencyType": "CONTRACT_CURRENCY",
371 "sourceCurrency": {},
372 "depreciationArea": {}
373 },
374 "ledgerEntryId": 0,
375 "ledgerEntryTaxId": 0
376 }
377 ],
378 "taxRate": 0,
379 "taxBaseAmount": 0,
380 "totalTaxDocumentAmount": 0,
381 "taxExempt": 0,
382 "taxExemptionPercentage": 0,
383 "taxAffected": 0,
384 "taxAccount": "string",
385 "accountingKey": "string",
386 "conditionKey": "string",
387 "taxCode": {
388 "id": 0,
389 "displayId": "string"
390 },
391 "taxJurisdiction": {
392 "id": 0,
393 "displayId": "string"
394 },
395 "taxDetermination": {
396 "id": 0,
397 "displayId": "string"
398 },
399 "financialTermId": 0,
400 "ledgerEntryId": 0
401 }
402 ],
403 "ledgerTransactionId": 0
404 }
405 ],
406 "notes": [
407 {
408 "id": 0,
409 "note": "string"
410 }
411 ],
412 "attachments": [
413 {
414 "id": 0,
415 "fileName": "string",
416 "fileStorageId": "string",
417 "docStoreId": 0
418 }
419 ],
420 "journalVoucherWorkflowHistory": [
421 {
422 "id": 0,
423 "eventType": "SEND_TO_APPROVAL",
424 "eventDate": "2019-08-24T14:15:22Z",
425 "user": "string"
426 }
427 ],
428 "ledgerTransactionGroupId": 0,
429 "accountingDocumentId": 0
430 }
431 ]
432}
Get Accounting Document History¶
HTTP Request
GET /api/v1/general-ledger/accounting-documents/{accountingDocumentId}/history
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
accountingDocumentId |
path |
integer(int64) |
true |
none |
doNotIncludeLatestTransaction |
query |
boolean |
true |
none |
ledgerType |
query |
string |
false |
none |
pageable |
query |
true |
none |
Enumerated Values
Attribute |
Value |
|---|---|
ledgerType |
ACCRUAL, ASSET_CAPITALIZATION, CHARGE, CLEARING, DEPRECIATION, GRV, IDC, IMPAIRMENT, INCENTIVE, LIABILITY, LIABILITY_ADJUSTMENT, LIABILITY_ADJUSTMENT_DECREASE, LIABILITY_ADJUSTMENT_INCREASE, LIABILITY_ADJUSTMENT_INDEXATION_DECREASE, LIABILITY_ADJUSTMENT_INDEXATION_INCREASE, MODIFICATION_CAPITALIZATION, MODIFICATION_CAPITALIZATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_ASSET_INCREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_DECREASE, MODIFICATION_CAPITALIZATION_INDEXATION_ASSET_INCREASE, PAYMENT, PREPAID, PROVISIONING, RECLASSIFICATION_ASSET_TRANSFER, RECLASSIFICATION_NON_ASSET_TRANSFER, TERMINATION_ASSET, TERMINATION_CLOSED_LEDGER, TERMINATION_LIABILITY, TERMINATION_ROUNDING, URV, VOUCHER |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": true,
7 "paged": true,
8 "pageSize": 0,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "latestDocument": true,
22 "accountingDocumentId": 0,
23 "ledgerTransactions": [
24 {
25 "id": 0,
26 "requestUniqueId": "string",
27 "createdByApplication": "NLA",
28 "applicationReferenceId": "JOURNAL_ENTRY_ID--UNIT_ID",
29 "documentComments": "string",
30 "name": "string",
31 "principalPositionType": "LESSEE",
32 "postingTransactionType": "POST",
33 "postingType": "PAYMENT",
34 "ledgerType": "LIABILITY",
35 "parallelCurrencyEnabled": true,
36 "generateInvoiceInAp": true,
37 "generateVendorInvoice": true,
38 "calculateTax": true,
39 "taxCalculationType": "NET",
40 "currencyDetail": {
41 "currencyId": 0,
42 "currencyDisplayId": "string",
43 "currencyDefinitionType": "CONTRACT_CURRENCY",
44 "currencyType": "string"
45 },
46 "classificationInfo": {
47 "accountingStandard": {
48 "id": 0,
49 "displayId": "string"
50 },
51 "leaseClassificationType": "NON_LEASE"
52 },
53 "date": {
54 "documentDate": "2019-08-24T14:15:22Z",
55 "userDocumentDate": "2019-08-24",
56 "postingDate": "2019-08-24",
57 "transactionDate": "2019-08-24",
58 "translationDate": "2019-08-24",
59 "fiscalVariantId": 0,
60 "fiscalVariantDisplayId": "string",
61 "calendarType": "REGULAR_CALENDAR",
62 "fiscalYear": 0,
63 "fiscalPeriod": 0
64 },
65 "automaticReversal": {
66 "id": 0,
67 "postingDate": "2019-08-24",
68 "documentDate": "2019-08-24",
69 "reversalReason": {
70 "id": 0,
71 "displayId": "string"
72 }
73 },
74 "trace": {
75 "previousLedgerTransactionId": 0,
76 "nextLedgerTransactionId": 0,
77 "postExternalType": "SKIP"
78 },
79 "fosReferences": {
80 "id": 0,
81 "system": {
82 "id": 0,
83 "displayId": "string"
84 },
85 "company": {
86 "id": 0,
87 "displayId": "string"
88 },
89 "leaseArea": {
90 "id": 0,
91 "displayId": "string"
92 },
93 "leaseGroup": {
94 "id": 0,
95 "displayId": "string"
96 },
97 "leaseDepartment": {
98 "id": 0,
99 "displayId": "string"
100 },
101 "businessUnit": {
102 "id": 0,
103 "displayId": "string"
104 },
105 "mainCostCenter": {
106 "id": 0,
107 "displayId": "string"
108 },
109 "internalAssetClass": {
110 "id": 0,
111 "displayId": "string"
112 },
113 "documentType": {
114 "id": 0,
115 "displayId": "string"
116 },
117 "depreciationArea": {
118 "id": 0,
119 "displayId": "string"
120 },
121 "reversalReason": {
122 "id": 0,
123 "displayId": "string"
124 },
125 "tradingPartner": {
126 "id": 0,
127 "displayId": "string"
128 },
129 "allocationNumber": {
130 "id": 0,
131 "displayId": "string"
132 },
133 "responsibleCostCenter": {
134 "id": 0,
135 "displayId": "string"
136 },
137 "workBreakdownStructure": {
138 "id": 0,
139 "displayId": "string"
140 },
141 "businessArea": {
142 "id": 0,
143 "displayId": "string"
144 },
145 "functionalArea": {
146 "id": 0,
147 "displayId": "string"
148 },
149 "plant": {
150 "id": 0,
151 "displayId": "string"
152 },
153 "internalOrder": {
154 "id": 0,
155 "displayId": "string"
156 },
157 "network": {
158 "id": 0,
159 "displayId": "string"
160 },
161 "paymentTerm": {
162 "id": 0,
163 "displayId": "string"
164 },
165 "paymentBlock": {
166 "id": 0,
167 "displayId": "string"
168 },
169 "paymentMethod": {
170 "id": 0,
171 "displayId": "string",
172 "type": "string"
173 },
174 "segment": {
175 "id": 0,
176 "displayId": "string"
177 },
178 "purchasingOrganization": {
179 "id": 0,
180 "displayId": "string"
181 },
182 "purchasingOrder": {
183 "id": 0,
184 "displayId": "string"
185 },
186 "ledgerTransactionId": 0
187 },
188 "assetRegisterReferences": {
189 "id": 0,
190 "asset": {
191 "assetId": 0,
192 "assetDisplayId": "string",
193 "assetNumber": "string",
194 "subAssetNumber": "string"
195 },
196 "ledgerTransactionId": 0
197 },
198 "nlaReferences": {
199 "id": 0,
200 "contract": {
201 "id": 0,
202 "displayId": "string"
203 },
204 "leaseComponent": {
205 "id": 0,
206 "displayId": "string"
207 },
208 "activationGroup": {
209 "id": 0,
210 "displayId": "string"
211 },
212 "unit": {
213 "id": 0,
214 "displayId": "string"
215 },
216 "contractExternalId": "string",
217 "journalId": 0,
218 "activationGroupRevisionId": 0,
219 "ledgerTransactionId": 0
220 },
221 "nlaCustomReferences": [
222 {
223 "key": "string",
224 "dataType": "STRING",
225 "value": 0
226 }
227 ],
228 "nreReferences": {
229 "id": 0,
230 "premise": {
231 "id": 0,
232 "displayId": "string"
233 },
234 "location": {
235 "id": 0,
236 "displayId": "string"
237 },
238 "lease": {
239 "id": 0,
240 "displayId": "string"
241 },
242 "ledgerTransactionId": 0
243 },
244 "nreCustomReferences": [
245 {
246 "key": "string",
247 "dataType": "STRING",
248 "value": 0
249 }
250 ],
251 "apReferences": {
252 "id": 0,
253 "invoice": {
254 "id": 0,
255 "displayId": "string"
256 },
257 "ledgerTransactionId": 0
258 },
259 "apCustomReferences": [
260 {
261 "key": "string",
262 "dataType": "STRING",
263 "value": 0
264 }
265 ],
266 "entries": [
267 {
268 "id": 0,
269 "entryType": "D",
270 "amount": 0,
271 "unroundedAmount": 0,
272 "deltaAdjustment": 0,
273 "itemText": "string",
274 "itemNoAcc": 0,
275 "generalLedger": {
276 "id": 0,
277 "displayId": "string",
278 "generalLedgerAccountName": "string",
279 "generalLedgerAccountCode": "string",
280 "openItemManagement": true,
281 "accountCategory": "BALANCESHEET",
282 "shortName": "string",
283 "longName": "string"
284 },
285 "additionalCurrencyEntries": [
286 {
287 "id": 0,
288 "amount": 0,
289 "unroundedAmount": 0,
290 "deltaAdjustment": 0,
291 "itemNoAcc": 0,
292 "currencyDetail": {
293 "currencyId": 0,
294 "currencyDisplayId": "string",
295 "currencyDefinitionType": "CONTRACT_CURRENCY",
296 "currencyType": "string"
297 },
298 "currencyConversionDetail": {
299 "rate": 0,
300 "conversionDate": "2019-08-24",
301 "translationDateType": "DOCUMENT_DATE",
302 "sourceCurrencyType": "CONTRACT_CURRENCY",
303 "sourceCurrency": {},
304 "depreciationArea": {}
305 },
306 "ledgerEntryId": 0,
307 "ledgerEntryTaxId": 0
308 }
309 ],
310 "tag": "string",
311 "costCenter": {
312 "id": 0,
313 "displayId": "string",
314 "mainCostCenter": true,
315 "allocationPercentage": 0.1
316 },
317 "profitCenter": {
318 "id": 0,
319 "displayId": "string"
320 },
321 "vendor": {
322 "id": 0,
323 "displayId": "string"
324 },
325 "transactionType": "string",
326 "nlaCustomReferences": [
327 {
328 "key": "string",
329 "dataType": "STRING",
330 "value": 0
331 }
332 ],
333 "nreCustomReferences": [
334 {
335 "key": "string",
336 "dataType": "STRING",
337 "value": 0
338 }
339 ],
340 "apCustomReferences": [
341 {
342 "key": "string",
343 "dataType": "STRING",
344 "value": 0
345 }
346 ],
347 "taxEntries": [
348 {
349 "id": 0,
350 "entryType": "D",
351 "amount": 0,
352 "unroundedAmount": 0,
353 "deltaAdjustment": 0,
354 "itemText": "string",
355 "itemNoAcc": 0,
356 "generalLedger": {
357 "id": 0,
358 "displayId": "string",
359 "generalLedgerAccountName": "string",
360 "generalLedgerAccountCode": "string",
361 "openItemManagement": true,
362 "accountCategory": "BALANCESHEET",
363 "shortName": "string",
364 "longName": "string"
365 },
366 "additionalCurrencyEntries": [
367 {}
368 ],
369 "taxRate": 0,
370 "taxBaseAmount": 0,
371 "totalTaxDocumentAmount": 0,
372 "taxExempt": 0,
373 "taxExemptionPercentage": 0,
374 "taxAffected": 0,
375 "taxAccount": "string",
376 "accountingKey": "string",
377 "conditionKey": "string",
378 "taxCode": {
379 "id": 0,
380 "displayId": "string"
381 },
382 "taxJurisdiction": {
383 "id": 0,
384 "displayId": "string"
385 },
386 "taxDetermination": {
387 "id": 0,
388 "displayId": "string"
389 },
390 "financialTermId": 0,
391 "ledgerEntryId": 0
392 }
393 ],
394 "ledgerTransactionId": 0
395 }
396 ],
397 "notes": [
398 {
399 "id": 0,
400 "note": "string"
401 }
402 ],
403 "attachments": [
404 {
405 "id": 0,
406 "fileName": "string",
407 "fileStorageId": "string",
408 "docStoreId": 0
409 }
410 ],
411 "journalVoucherWorkflowHistory": [
412 {
413 "id": 0,
414 "eventType": "SEND_TO_APPROVAL",
415 "eventDate": "2019-08-24T14:15:22Z",
416 "user": "string"
417 }
418 ],
419 "ledgerTransactionGroupId": 0,
420 "accountingDocumentId": 0,
421 "internalPostingStatus": {
422 "documentNumber": "string",
423 "status": "NA",
424 "postingMessage": "string"
425 },
426 "nlaEnrichmentState": {
427 "id": 0,
428 "status": "PENDING",
429 "message": "string",
430 "history": [
431 {
432 "requestingUser": "string",
433 "enrichmentRequestId": 0,
434 "requestedAt": "2019-08-24T14:15:22Z",
435 "enrichedAt": "2019-08-24T14:15:22Z",
436 "requestStatus": "SENT",
437 "applicationStatus": "PENDING",
438 "message": "string"
439 }
440 ]
441 },
442 "nreEnrichmentState": {
443 "id": 0,
444 "status": "PENDING",
445 "message": "string",
446 "history": [
447 {
448 "requestingUser": "string",
449 "enrichmentRequestId": 0,
450 "requestedAt": "2019-08-24T14:15:22Z",
451 "enrichedAt": "2019-08-24T14:15:22Z",
452 "requestStatus": "SENT",
453 "applicationStatus": "PENDING",
454 "message": "string"
455 }
456 ]
457 },
458 "apEnrichmentState": {
459 "id": 0,
460 "status": "PENDING",
461 "message": "string",
462 "history": [
463 {
464 "requestingUser": "string",
465 "enrichmentRequestId": 0,
466 "requestedAt": "2019-08-24T14:15:22Z",
467 "enrichedAt": "2019-08-24T14:15:22Z",
468 "requestStatus": "SENT",
469 "applicationStatus": "PENDING",
470 "message": "string"
471 }
472 ]
473 },
474 "externalPostingStatus": {
475 "documentNumber": "string",
476 "objType": "string",
477 "objKey": "string",
478 "objSys": "string",
479 "username": "string",
480 "status": "NA",
481 "postingMessage": "string",
482 "taskId": 0
483 }
484 }
485 ]
486 }
487 ],
488 "number": 0,
489 "sort": {
490 "unsorted": true,
491 "sorted": true,
492 "empty": true
493 },
494 "first": true,
495 "last": true,
496 "empty": true
497}
Find All¶
HTTP Request
GET /api/v1/general-ledger/accounting-documents/all
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
none |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": true,
7 "paged": true,
8 "pageSize": 0,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "requestUniqueId": "string",
21 "accountingDocumentId": 0,
22 "transactions": [
23 {
24 "id": 0,
25 "requestUniqueId": "string",
26 "createdByApplication": "NLA",
27 "applicationReferenceId": "JOURNAL_ENTRY_ID--UNIT_ID",
28 "documentComments": "string",
29 "name": "string",
30 "principalPositionType": "LESSEE",
31 "postingTransactionType": "POST",
32 "postingType": "PAYMENT",
33 "ledgerType": "LIABILITY",
34 "parallelCurrencyEnabled": true,
35 "generateInvoiceInAp": true,
36 "generateVendorInvoice": true,
37 "calculateTax": true,
38 "taxCalculationType": "NET",
39 "currencyDetail": {
40 "currencyId": 0,
41 "currencyDisplayId": "string",
42 "currencyDefinitionType": "CONTRACT_CURRENCY",
43 "currencyType": "string"
44 },
45 "classificationInfo": {
46 "accountingStandard": {
47 "id": 0,
48 "displayId": "string"
49 },
50 "leaseClassificationType": "NON_LEASE"
51 },
52 "date": {
53 "documentDate": "2019-08-24T14:15:22Z",
54 "userDocumentDate": "2019-08-24",
55 "postingDate": "2019-08-24",
56 "transactionDate": "2019-08-24",
57 "translationDate": "2019-08-24",
58 "fiscalVariantId": 0,
59 "fiscalVariantDisplayId": "string",
60 "calendarType": "REGULAR_CALENDAR",
61 "fiscalYear": 0,
62 "fiscalPeriod": 0
63 },
64 "automaticReversal": {
65 "id": 0,
66 "postingDate": "2019-08-24",
67 "documentDate": "2019-08-24",
68 "reversalReason": {
69 "id": 0,
70 "displayId": "string"
71 }
72 },
73 "trace": {
74 "previousLedgerTransactionId": 0,
75 "nextLedgerTransactionId": 0,
76 "postExternalType": "SKIP"
77 },
78 "fosReferences": {
79 "id": 0,
80 "system": {
81 "id": 0,
82 "displayId": "string"
83 },
84 "company": {
85 "id": 0,
86 "displayId": "string"
87 },
88 "leaseArea": {
89 "id": 0,
90 "displayId": "string"
91 },
92 "leaseGroup": {
93 "id": 0,
94 "displayId": "string"
95 },
96 "leaseDepartment": {
97 "id": 0,
98 "displayId": "string"
99 },
100 "businessUnit": {
101 "id": 0,
102 "displayId": "string"
103 },
104 "mainCostCenter": {
105 "id": 0,
106 "displayId": "string"
107 },
108 "internalAssetClass": {
109 "id": 0,
110 "displayId": "string"
111 },
112 "documentType": {
113 "id": 0,
114 "displayId": "string"
115 },
116 "depreciationArea": {
117 "id": 0,
118 "displayId": "string"
119 },
120 "reversalReason": {
121 "id": 0,
122 "displayId": "string"
123 },
124 "tradingPartner": {
125 "id": 0,
126 "displayId": "string"
127 },
128 "allocationNumber": {
129 "id": 0,
130 "displayId": "string"
131 },
132 "responsibleCostCenter": {
133 "id": 0,
134 "displayId": "string"
135 },
136 "workBreakdownStructure": {
137 "id": 0,
138 "displayId": "string"
139 },
140 "businessArea": {
141 "id": 0,
142 "displayId": "string"
143 },
144 "functionalArea": {
145 "id": 0,
146 "displayId": "string"
147 },
148 "plant": {
149 "id": 0,
150 "displayId": "string"
151 },
152 "internalOrder": {
153 "id": 0,
154 "displayId": "string"
155 },
156 "network": {
157 "id": 0,
158 "displayId": "string"
159 },
160 "paymentTerm": {
161 "id": 0,
162 "displayId": "string"
163 },
164 "paymentBlock": {
165 "id": 0,
166 "displayId": "string"
167 },
168 "paymentMethod": {
169 "id": 0,
170 "displayId": "string",
171 "type": "string"
172 },
173 "segment": {
174 "id": 0,
175 "displayId": "string"
176 },
177 "purchasingOrganization": {
178 "id": 0,
179 "displayId": "string"
180 },
181 "purchasingOrder": {
182 "id": 0,
183 "displayId": "string"
184 },
185 "ledgerTransactionId": 0
186 },
187 "assetRegisterReferences": {
188 "id": 0,
189 "asset": {
190 "assetId": 0,
191 "assetDisplayId": "string",
192 "assetNumber": "string",
193 "subAssetNumber": "string"
194 },
195 "ledgerTransactionId": 0
196 },
197 "nlaReferences": {
198 "id": 0,
199 "contract": {
200 "id": 0,
201 "displayId": "string"
202 },
203 "leaseComponent": {
204 "id": 0,
205 "displayId": "string"
206 },
207 "activationGroup": {
208 "id": 0,
209 "displayId": "string"
210 },
211 "unit": {
212 "id": 0,
213 "displayId": "string"
214 },
215 "contractExternalId": "string",
216 "journalId": 0,
217 "activationGroupRevisionId": 0,
218 "ledgerTransactionId": 0
219 },
220 "nlaCustomReferences": [
221 {
222 "key": "string",
223 "dataType": "STRING",
224 "value": 0
225 }
226 ],
227 "nreReferences": {
228 "id": 0,
229 "premise": {
230 "id": 0,
231 "displayId": "string"
232 },
233 "location": {
234 "id": 0,
235 "displayId": "string"
236 },
237 "lease": {
238 "id": 0,
239 "displayId": "string"
240 },
241 "ledgerTransactionId": 0
242 },
243 "nreCustomReferences": [
244 {
245 "key": "string",
246 "dataType": "STRING",
247 "value": 0
248 }
249 ],
250 "apReferences": {
251 "id": 0,
252 "invoice": {
253 "id": 0,
254 "displayId": "string"
255 },
256 "ledgerTransactionId": 0
257 },
258 "apCustomReferences": [
259 {
260 "key": "string",
261 "dataType": "STRING",
262 "value": 0
263 }
264 ],
265 "entries": [
266 {
267 "id": 0,
268 "entryType": "D",
269 "amount": 0,
270 "unroundedAmount": 0,
271 "deltaAdjustment": 0,
272 "itemText": "string",
273 "itemNoAcc": 0,
274 "generalLedger": {
275 "id": 0,
276 "displayId": "string",
277 "generalLedgerAccountName": "string",
278 "generalLedgerAccountCode": "string",
279 "openItemManagement": true,
280 "accountCategory": "BALANCESHEET",
281 "shortName": "string",
282 "longName": "string"
283 },
284 "additionalCurrencyEntries": [
285 {
286 "id": 0,
287 "amount": 0,
288 "unroundedAmount": 0,
289 "deltaAdjustment": 0,
290 "itemNoAcc": 0,
291 "currencyDetail": {
292 "currencyId": 0,
293 "currencyDisplayId": "string",
294 "currencyDefinitionType": "CONTRACT_CURRENCY",
295 "currencyType": "string"
296 },
297 "currencyConversionDetail": {
298 "rate": 0,
299 "conversionDate": "2019-08-24",
300 "translationDateType": "DOCUMENT_DATE",
301 "sourceCurrencyType": "CONTRACT_CURRENCY",
302 "sourceCurrency": {},
303 "depreciationArea": {}
304 },
305 "ledgerEntryId": 0,
306 "ledgerEntryTaxId": 0
307 }
308 ],
309 "tag": "string",
310 "costCenter": {
311 "id": 0,
312 "displayId": "string",
313 "mainCostCenter": true,
314 "allocationPercentage": 0.1
315 },
316 "profitCenter": {
317 "id": 0,
318 "displayId": "string"
319 },
320 "vendor": {
321 "id": 0,
322 "displayId": "string"
323 },
324 "transactionType": "string",
325 "nlaCustomReferences": [
326 {
327 "key": "string",
328 "dataType": "STRING",
329 "value": 0
330 }
331 ],
332 "nreCustomReferences": [
333 {
334 "key": "string",
335 "dataType": "STRING",
336 "value": 0
337 }
338 ],
339 "apCustomReferences": [
340 {
341 "key": "string",
342 "dataType": "STRING",
343 "value": 0
344 }
345 ],
346 "taxEntries": [
347 {
348 "id": 0,
349 "entryType": "D",
350 "amount": 0,
351 "unroundedAmount": 0,
352 "deltaAdjustment": 0,
353 "itemText": "string",
354 "itemNoAcc": 0,
355 "generalLedger": {
356 "id": 0,
357 "displayId": "string",
358 "generalLedgerAccountName": "string",
359 "generalLedgerAccountCode": "string",
360 "openItemManagement": true,
361 "accountCategory": "BALANCESHEET",
362 "shortName": "string",
363 "longName": "string"
364 },
365 "additionalCurrencyEntries": [
366 {}
367 ],
368 "taxRate": 0,
369 "taxBaseAmount": 0,
370 "totalTaxDocumentAmount": 0,
371 "taxExempt": 0,
372 "taxExemptionPercentage": 0,
373 "taxAffected": 0,
374 "taxAccount": "string",
375 "accountingKey": "string",
376 "conditionKey": "string",
377 "taxCode": {
378 "id": 0,
379 "displayId": "string"
380 },
381 "taxJurisdiction": {
382 "id": 0,
383 "displayId": "string"
384 },
385 "taxDetermination": {
386 "id": 0,
387 "displayId": "string"
388 },
389 "financialTermId": 0,
390 "ledgerEntryId": 0
391 }
392 ],
393 "ledgerTransactionId": 0
394 }
395 ],
396 "notes": [
397 {
398 "id": 0,
399 "note": "string"
400 }
401 ],
402 "attachments": [
403 {
404 "id": 0,
405 "fileName": "string",
406 "fileStorageId": "string",
407 "docStoreId": 0
408 }
409 ],
410 "journalVoucherWorkflowHistory": [
411 {
412 "id": 0,
413 "eventType": "SEND_TO_APPROVAL",
414 "eventDate": "2019-08-24T14:15:22Z",
415 "user": "string"
416 }
417 ],
418 "ledgerTransactionGroupId": 0,
419 "accountingDocumentId": 0
420 }
421 ]
422 }
423 ],
424 "number": 0,
425 "sort": {
426 "unsorted": true,
427 "sorted": true,
428 "empty": true
429 },
430 "first": true,
431 "last": true,
432 "empty": true
433}