General Ledger PostingΒΆ
Update Internally Reversed DocumentΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/update-internally-reversed-document
π Description: Updates the internally reversed document within the Nakisa Lease Accounting Suite, ensuring accurate reflection of lease-related financial obligations and accounting entries in the general ledger. This operation facilitates the management of contract adjustments and maintains financial integrity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the details of the internally reversed document, including lease and contract information necessary for updating financial obligations and accounting entries. |
Body Parameters
1{
2 "reversal": true,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "accountingDocumentId": 20000001,
11 "unitId": 30000001,
12 "journalId": 40000001,
13 "ledgerTransactionGroupId": 50000001,
14 "latestTransactionGroup": true
15}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Document updated successfully |
None |
|
400 |
Invalid request body |
None |
|
404 |
Document not found |
None |
|
500 |
Internal server error |
None |
Reverse Payment PostingΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/reverse/payment
π Description: Reverses a payment entry in the general ledger, ensuring accurate accounting for lease and contract financial obligations within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the details of the financial obligation to be reversed, including lease and contract identifiers, to facilitate accurate accounting entries in the Nakisa Lease Accounting Suite. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Payment posting reversed successfully |
||
400 |
Invalid request body |
None |
|
404 |
Payment posting not found |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Reverse Depreciation PostingΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/reverse/depreciation
π Description: Reverses depreciation entries for lease contracts within the Nakisa Lease Accounting Suite, ensuring accurate financial obligation reporting and compliance in accounting practices.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the details of the financial obligation related to lease contracts for reversing depreciation accounting entries. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Depreciation posting reversed successfully |
||
400 |
Invalid request body |
None |
|
404 |
Depreciation posting not found |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Reverse Charge PostingΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/reverse/charge
π Description: Reverses a charge in the general ledger postings related to lease contracts, ensuring accurate accounting entries for financial obligations within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the details of the lease charge reversal, including relevant contract identifiers and financial obligation data for accurate accounting entry processing. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charge posting reversed successfully |
||
400 |
Invalid request body |
None |
|
404 |
Charge posting not found |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Reverse Accrual PostingΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/reverse/accrual
π Description: Reverses an accrual accounting entry related to a lease or contract within the Nakisa Lease Accounting Suite, ensuring accurate financial reporting and compliance with accounting standards.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the details of the accrual reversal, including lease and contract identifiers, financial obligation specifics, and accounting entry adjustments. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Accrual posting reversed successfully |
||
400 |
Invalid request body |
None |
|
404 |
Accrual posting not found |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Post Payment EntryΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/payment
π Description: Posts payment entries to the general ledger within the Nakisa Lease Accounting Suite, facilitating accurate tracking of lease-related financial obligations and ensuring compliance with accounting standards.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the payment details for lease-related financial obligations, including contract identifiers and accounting entry information. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Payment posted successfully |
||
400 |
Invalid request body |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Post Depreciation EntryΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/depreciation
π Description: Creates a new accounting entry for depreciation related to leases and contracts within the Nakisa Lease Accounting Suite, ensuring accurate financial obligation tracking and reporting.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the depreciation data related to lease contracts, including financial obligations and accounting entries for accurate general ledger postings. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Depreciation posted successfully |
||
400 |
Invalid request body |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Post Charge EntryΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/charge
π Description: Creates a new accounting entry for lease-related financial obligations by posting a charge to the general ledger within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the financial obligation details, including lease and contract information, necessary for creating a general ledger accounting entry. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Charge posted successfully |
||
400 |
Invalid request body |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Post Accrual EntryΒΆ
HTTP Request
POST /api/v1/general-ledger-postings/accrual
π Description: Creates a new accrual entry in the general ledger for lease-related financial obligations, ensuring accurate accounting representation of contractual commitments.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the financial obligation details, including lease and contract information, necessary for creating accounting entries in the Nakisa Lease Accounting Suite. |
Body Parameters
1{
2 "reversal": false,
3 "reversalReason": {
4 "id": "string",
5 "displayId": "Euro"
6 },
7 "documentDate": "2024-12-01",
8 "postingDate": "2024-12-01",
9 "activationGroupRevisionId": 10000001,
10 "unitId": 30000001,
11 "journalId": 40000001,
12 "comments": "Monthly lease payment posting",
13 "type": {
14 "name": "PAYMENT",
15 "captionKey": "enum.journalPostingType.payment",
16 "caption": "Payment"
17 },
18 "allowedReverseOnReclassification": false,
19 "revertInActiveRevisionInProcess": false,
20 "revertRevisionInProcess": false
21}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Accrual posted successfully |
||
400 |
Invalid request body |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "postingResults": [
3 {
4 "unitId": 30000001,
5 "journalId": 40000001,
6 "success": true,
7 "errorMessage": "string",
8 "skipped": true,
9 "retryable": false
10 }
11 ],
12 "successForAllPostings": true,
13 "retryable": false,
14 "errorMessage": "string"
15}
Get Accounting Document HistoryΒΆ
HTTP Request
GET /api/v1/general-ledger-postings/accounting-documents/history/{accountingDocumentId}
π Description: Retrieves the history of accounting documents associated with a specific accounting document ID, providing insights into lease and contract-related financial obligations and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
accountingDocumentId |
path |
integer(int64) |
true |
Unique identifier for the accounting document |
pageable |
query |
false |
Indicates whether the results of the accounting document history retrieval should be paginated, facilitating efficient access to extensive lease and contract financial obligation records. |
Example ValuesΒΆ
Parameter |
Example |
Type |
|---|---|---|
accountingDocumentId |
|
path |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
Successfully retrieved accounting document history |
||
400 |
Invalid parameters supplied |
None |
|
404 |
Accounting document not found |
None |
|
500 |
Internal server error |
None |
Example Responses
1{
2 "totalElements": 100,
3 "totalPages": 10,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": false,
7 "paged": true,
8 "pageSize": 100,
9 "offset": 0,
10 "sort": {
11 "unsorted": false,
12 "sorted": true,
13 "empty": false
14 }
15 },
16 "numberOfElements": 10,
17 "size": 10,
18 "content": [
19 {
20 "id": 50000001,
21 "latestDocument": true,
22 "accountingDocumentId": 20000001,
23 "ledgerTransactions": [
24 {
25 "id": 60000001,
26 "requestUniqueId": "REQ-2024-12-001",
27 "createdByApplication": {
28 "name": "NLA",
29 "captionKey": "enum.createdByApplicationType.nla",
30 "caption": "Nakisa Lease Accounting"
31 },
32 "applicationReferenceId": "JOURNAL_ENTRY_ID--UNIT_ID",
33 "documentComments": "Monthly payment posting",
34 "name": "December 2024 Lease Payment",
35 "principalPositionType": {
36 "name": "LESSEE",
37 "captionKey": "enum.principalpositiontype.lessee",
38 "caption": "Lessee"
39 },
40 "postingTransactionType": {
41 "name": "POST",
42 "captionKey": "enum.postingTransactionType.post",
43 "caption": "Post"
44 },
45 "postingType": {
46 "name": "POST",
47 "captionKey": "enum.postingType.POST",
48 "caption": "POST"
49 },
50 "ledgerType": {
51 "name": "LIABILITY",
52 "captionKey": "enum.ledgerType.liability",
53 "caption": "Liability"
54 },
55 "paymentType": "N_A",
56 "parallelCurrencyEnabled": false,
57 "generateInvoiceInAp": false,
58 "generateVendorInvoice": false,
59 "calculateTax": false,
60 "taxCalculationType": {
61 "name": "NET",
62 "captionKey": "enum.taxCalculationType.net",
63 "caption": "Net"
64 },
65 "currencyDetail": {
66 "currencyId": 1001,
67 "currencyDisplayId": "USD",
68 "currencyDefinitionType": {
69 "name": "COMPANY_CURRENCY",
70 "captionKey": "enum.currencyDefinitionType.companyCurrency",
71 "caption": "Company Currency"
72 },
73 "currencyType": "TRANSACTION_CURRENCY"
74 },
75 "classificationInfo": {
76 "accountingStandard": {
77 "id": "string",
78 "displayId": "Euro"
79 },
80 "leaseClassificationType": {
81 "name": "FINANCE",
82 "captionKey": "enum.leaseClassificationType.finance",
83 "caption": "Finance Lease"
84 }
85 },
86 "date": {
87 "documentDate": "2024-12-01T10:30:00Z",
88 "userDocumentDate": "2024-12-01",
89 "postingDate": "2024-12-01",
90 "transactionDate": "2024-12-01",
91 "translationDate": "2024-12-01",
92 "fiscalVariantId": 1001,
93 "fiscalVariantDisplayId": "FY2024",
94 "calendarType": {
95 "name": "_360",
96 "captionKey": "enum.calendarType.360",
97 "caption": "360 Convention"
98 },
99 "fiscalYear": 2024,
100 "fiscalPeriod": 12
101 },
102 "automaticReversal": {
103 "id": 70000001,
104 "postingDate": "2025-01-01",
105 "documentDate": "2025-01-01",
106 "reversalReason": {
107 "id": "string",
108 "displayId": "Euro"
109 }
110 },
111 "trace": {
112 "previousLedgerTransactionId": 60000000,
113 "nextLedgerTransactionId": 60000002,
114 "postExternalType": {
115 "name": "POST",
116 "captionKey": "enum.postExternalType.post",
117 "caption": "Post"
118 }
119 },
120 "fosReferences": {
121 "id": 80000001,
122 "system": {
123 "id": "string",
124 "displayId": "Euro"
125 },
126 "company": {
127 "id": "string",
128 "displayId": "Euro"
129 },
130 "leaseArea": {
131 "id": "string",
132 "displayId": "Euro"
133 },
134 "leaseGroup": {
135 "id": "string",
136 "displayId": "Euro"
137 },
138 "leaseDepartment": {
139 "id": "string",
140 "displayId": "Euro"
141 },
142 "businessUnit": {
143 "id": "string",
144 "displayId": "Euro"
145 },
146 "mainCostCenter": {
147 "id": "string",
148 "displayId": "Euro"
149 },
150 "internalAssetClass": {
151 "id": "string",
152 "displayId": "Euro"
153 },
154 "documentType": {
155 "id": "string",
156 "displayId": "Euro"
157 },
158 "depreciationArea": {
159 "id": "string",
160 "displayId": "Euro"
161 },
162 "reversalReason": {
163 "id": "string",
164 "displayId": "Euro"
165 },
166 "tradingPartner": {
167 "id": "string",
168 "displayId": "Euro"
169 },
170 "allocationNumber": {
171 "id": "string",
172 "displayId": "Euro"
173 },
174 "responsibleCostCenter": {
175 "id": "string",
176 "displayId": "Euro"
177 },
178 "workBreakdownStructure": {
179 "id": "string",
180 "displayId": "Euro"
181 },
182 "businessArea": {
183 "id": "string",
184 "displayId": "Euro"
185 },
186 "functionalArea": {
187 "id": "string",
188 "displayId": "Euro"
189 },
190 "plant": {
191 "id": "string",
192 "displayId": "Euro"
193 },
194 "internalOrder": {
195 "id": "string",
196 "displayId": "Euro"
197 },
198 "network": {
199 "id": "string",
200 "displayId": "Euro"
201 },
202 "paymentTerm": {
203 "id": "string",
204 "displayId": "Euro"
205 },
206 "paymentBlock": {
207 "id": "string",
208 "displayId": "Euro"
209 },
210 "paymentMethod": {
211 "id": 9001,
212 "displayId": "BANK_TRANSFER",
213 "type": "ELECTRONIC"
214 },
215 "segment": {
216 "id": "string",
217 "displayId": "Euro"
218 },
219 "purchasingOrganization": {
220 "id": "string",
221 "displayId": "Euro"
222 },
223 "purchasingOrder": {
224 "id": "string",
225 "displayId": "Euro"
226 },
227 "ledgerTransactionId": 60000001
228 },
229 "assetRegisterReferences": {
230 "id": 81000001,
231 "asset": {
232 "assetId": 90000001,
233 "assetDisplayId": "ASSET-2024-001",
234 "assetNumber": "AST001",
235 "subAssetNumber": "SUB001"
236 },
237 "ledgerTransactionId": 60000001
238 },
239 "nlaReferences": {
240 "id": 82000001,
241 "contract": {
242 "id": "string",
243 "displayId": "Euro"
244 },
245 "leaseComponent": {
246 "id": "string",
247 "displayId": "Euro"
248 },
249 "activationGroup": {
250 "id": "string",
251 "displayId": "Euro"
252 },
253 "unit": {
254 "id": "string",
255 "displayId": "Euro"
256 },
257 "contractExternalId": "EXT-CONTRACT-2024-001",
258 "journalId": 40000001,
259 "activationGroupRevisionId": 10000001,
260 "ledgerTransactionId": 60000001
261 },
262 "nlaCustomReferences": [
263 {
264 "key": "string",
265 "dataType": "STRING",
266 "value": 0
267 }
268 ],
269 "nreReferences": {
270 "id": 83000001,
271 "premise": {
272 "id": "string",
273 "displayId": "Euro"
274 },
275 "location": {
276 "id": "string",
277 "displayId": "Euro"
278 },
279 "lease": {
280 "id": "string",
281 "displayId": "Euro"
282 },
283 "ledgerTransactionId": 60000001
284 },
285 "nreCustomReferences": [
286 {
287 "key": "string",
288 "dataType": "STRING",
289 "value": 0
290 }
291 ],
292 "apReferences": {
293 "id": 84000001,
294 "invoice": {
295 "id": "string",
296 "displayId": "Euro"
297 },
298 "vendor": {
299 "id": 0,
300 "displayId": "string",
301 "name": "string"
302 },
303 "ledgerTransactionId": 60000001
304 },
305 "apCustomReferences": [
306 {
307 "key": "string",
308 "dataType": "STRING",
309 "value": 0
310 }
311 ],
312 "entries": [
313 {
314 "id": 95000001,
315 "entryType": {
316 "name": "D",
317 "captionKey": "enum.entryType.debit",
318 "caption": "Debit"
319 },
320 "amount": 5000,
321 "unroundedAmount": 5000.003,
322 "deltaAdjustment": 0.003,
323 "itemText": "Monthly lease payment",
324 "itemNoAcc": 1,
325 "generalLedger": {
326 "id": 100001,
327 "displayId": "GL-100001",
328 "generalLedgerAccountName": "Lease Liability",
329 "generalLedgerAccountCode": "2100",
330 "openItemManagement": true,
331 "accountCategory": {
332 "name": "BALANCESHEET",
333 "captionKey": "enum.accountCategory.balanceSheet",
334 "caption": "Balance Sheet"
335 },
336 "shortName": "LL",
337 "longName": "Lease Liability Account"
338 },
339 "additionalCurrencyEntries": [
340 {
341 "id": 96000001,
342 "amount": 6000,
343 "unroundedAmount": 6000.004,
344 "deltaAdjustment": 0.004,
345 "itemNoAcc": 1,
346 "currencyDetail": {
347 "currencyId": 1001,
348 "currencyDisplayId": "USD",
349 "currencyDefinitionType": {},
350 "currencyType": "TRANSACTION_CURRENCY"
351 },
352 "currencyConversionDetail": {
353 "rate": 1.2,
354 "conversionDate": "2024-12-01",
355 "translationDateType": {},
356 "sourceCurrencyType": {},
357 "sourceCurrency": {},
358 "depreciationArea": {}
359 },
360 "ledgerEntryId": 95000001,
361 "ledgerEntryTaxId": 97000001
362 }
363 ],
364 "tag": "RENT_EXPENSE",
365 "costCenter": {
366 "id": 110001,
367 "displayId": "CC-110001",
368 "mainCostCenter": true,
369 "allocationPercentage": 100
370 },
371 "profitCenter": {
372 "id": "string",
373 "displayId": "Euro"
374 },
375 "partner": {
376 "id": "string",
377 "displayId": "Euro"
378 },
379 "transactionType": "PAYMENT",
380 "nlaCustomReferences": [
381 {
382 "key": "string",
383 "dataType": "STRING",
384 "value": 0
385 }
386 ],
387 "nreCustomReferences": [
388 {
389 "key": "string",
390 "dataType": "STRING",
391 "value": 0
392 }
393 ],
394 "apCustomReferences": [
395 {
396 "key": "string",
397 "dataType": "STRING",
398 "value": 0
399 }
400 ],
401 "taxEntries": [
402 {
403 "id": 97000001,
404 "entryType": {
405 "name": "D",
406 "captionKey": "enum.entryType.debit",
407 "caption": "Debit"
408 },
409 "amount": 500,
410 "unroundedAmount": 500.002,
411 "deltaAdjustment": 0.002,
412 "itemText": "Sales tax",
413 "itemNoAcc": 2,
414 "generalLedger": {
415 "id": 100001,
416 "displayId": "GL-100001",
417 "generalLedgerAccountName": "Lease Liability",
418 "generalLedgerAccountCode": "2100",
419 "openItemManagement": true,
420 "accountCategory": {},
421 "shortName": "LL",
422 "longName": "Lease Liability Account"
423 },
424 "additionalCurrencyEntries": [
425 {}
426 ],
427 "taxRate": 10,
428 "taxBaseAmount": 5000,
429 "totalTaxDocumentAmount": 500,
430 "taxExempt": 0,
431 "taxExemptionPercentage": 0,
432 "taxAffected": 5000,
433 "taxAccount": "TAX-001",
434 "accountingKey": "VST",
435 "conditionKey": "MWST",
436 "taxCode": {
437 "id": "string",
438 "displayId": "Euro"
439 },
440 "taxJurisdiction": {
441 "id": "string",
442 "displayId": "Euro"
443 },
444 "taxDetermination": {
445 "id": "string",
446 "displayId": "Euro"
447 },
448 "financialTermId": 120001,
449 "ledgerEntryId": 95000001
450 }
451 ],
452 "ledgerTransactionId": 60000001
453 }
454 ],
455 "notes": [
456 {
457 "id": 130001,
458 "note": "Payment processed successfully"
459 }
460 ],
461 "attachments": [
462 {
463 "id": 140001,
464 "fileName": "invoice_december_2024.pdf",
465 "fileStorageId": "storage-abc123",
466 "docStoreId": 150001
467 }
468 ],
469 "journalVoucherWorkflowHistory": [
470 {
471 "id": 160001,
472 "eventType": {
473 "name": "APPROVED",
474 "captionKey": "enum.workflowEventType.approved",
475 "caption": "Approved"
476 },
477 "eventDate": "2024-12-01T14:30:00Z",
478 "user": "john.doe@example.com"
479 }
480 ],
481 "ledgerTransactionGroupId": 50000001,
482 "accountingDocumentId": 20000001,
483 "internalPostingStatus": {
484 "documentNumber": "DOC-2024-12-001",
485 "status": {
486 "name": "DONE",
487 "captionKey": "enum.postingStatusType.done",
488 "caption": "Done"
489 },
490 "postingMessage": "Posted successfully"
491 },
492 "nlaEnrichmentState": {
493 "id": 170001,
494 "status": {
495 "name": "ENRICHED",
496 "captionKey": "enum.enrichmentStatusType.enriched",
497 "caption": "Enriched"
498 },
499 "message": "Enrichment completed successfully",
500 "history": [
501 {
502 "requestingUser": "jane.smith@example.com",
503 "enrichmentRequestId": 180001,
504 "requestedAt": "2024-12-01T10:00:00Z",
505 "enrichedAt": "2024-12-01T10:05:00Z",
506 "requestStatus": {
507 "name": "SENT",
508 "captionKey": "enum.requestStatusType.sent",
509 "caption": "Sent"
510 },
511 "applicationStatus": {
512 "name": "ENRICHED",
513 "captionKey": "enum.enrichmentStatusType.enriched",
514 "caption": "Enriched"
515 },
516 "message": "Enrichment request processed"
517 }
518 ]
519 },
520 "nreEnrichmentState": {
521 "id": 170001,
522 "status": {
523 "name": "ENRICHED",
524 "captionKey": "enum.enrichmentStatusType.enriched",
525 "caption": "Enriched"
526 },
527 "message": "Enrichment completed successfully",
528 "history": [
529 {
530 "requestingUser": "jane.smith@example.com",
531 "enrichmentRequestId": 180001,
532 "requestedAt": "2024-12-01T10:00:00Z",
533 "enrichedAt": "2024-12-01T10:05:00Z",
534 "requestStatus": {
535 "name": "SENT",
536 "captionKey": "enum.requestStatusType.sent",
537 "caption": "Sent"
538 },
539 "applicationStatus": {
540 "name": "ENRICHED",
541 "captionKey": "enum.enrichmentStatusType.enriched",
542 "caption": "Enriched"
543 },
544 "message": "Enrichment request processed"
545 }
546 ]
547 },
548 "apEnrichmentState": {
549 "id": 170001,
550 "status": {
551 "name": "ENRICHED",
552 "captionKey": "enum.enrichmentStatusType.enriched",
553 "caption": "Enriched"
554 },
555 "message": "Enrichment completed successfully",
556 "history": [
557 {
558 "requestingUser": "jane.smith@example.com",
559 "enrichmentRequestId": 180001,
560 "requestedAt": "2024-12-01T10:00:00Z",
561 "enrichedAt": "2024-12-01T10:05:00Z",
562 "requestStatus": {
563 "name": "SENT",
564 "captionKey": "enum.requestStatusType.sent",
565 "caption": "Sent"
566 },
567 "applicationStatus": {
568 "name": "ENRICHED",
569 "captionKey": "enum.enrichmentStatusType.enriched",
570 "caption": "Enriched"
571 },
572 "message": "Enrichment request processed"
573 }
574 ]
575 },
576 "externalPostingStatus": {
577 "documentNumber": "EXT-DOC-2024-001",
578 "objType": "BKPF",
579 "objKey": "KEY001",
580 "objSys": "SAP_ERP",
581 "username": "sap_user",
582 "status": {
583 "name": "DONE",
584 "captionKey": "enum.postingStatusType.done",
585 "caption": "Done"
586 },
587 "postingMessage": "Successfully posted to SAP",
588 "taskId": 190001
589 }
590 }
591 ]
592 }
593 ],
594 "number": 0,
595 "sort": {
596 "unsorted": false,
597 "sorted": true,
598 "empty": false
599 },
600 "first": true,
601 "last": false,
602 "empty": false
603}