AddingInvoicesToWorkspaceResult¶
Example Json Object
1{
2 "workspaceId": 0,
3 "workspaceDisplayId": "string",
4 "workspaceName": "string",
5 "results": [
6 {
7 "entity": {
8 "id": 0,
9 "displayId": "string",
10 "name": "string",
11 "invoiceType": "VENDOR_INV",
12 "state": "INV_DRAFT",
13 "externalDocumentNumber": "string",
14 "purchaseOrderReference": "string",
15 "invoiceDate": "2019-08-24",
16 "dueDate": "2019-08-24",
17 "notes": "string",
18 "billingPeriodFromDate": "2019-08-24",
19 "billingPeriodToDate": "2019-08-24",
20 "currency": {
21 "id": 0,
22 "displayId": "string",
23 "status": "CREATED",
24 "name": "string",
25 "decimalPoints": 0
26 },
27 "vendor": {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "name": "string",
32 "erpSystemDisplayId": "string"
33 },
34 "company": {
35 "id": 0,
36 "displayId": "string",
37 "status": "CREATED",
38 "erpSystemId": 0,
39 "erpSystemDisplayId": "string",
40 "countryId": 0,
41 "countryDisplayId": "string",
42 "name": "string",
43 "postingPeriodVariantId": 0,
44 "fiscalVariantId": 0
45 },
46 "netAmount": 0,
47 "taxAmount": 0,
48 "totalAmount": 0,
49 "netAmountBalance": 0,
50 "taxAmountBalance": 0,
51 "paymentTerm": {
52 "id": 0,
53 "displayId": "string",
54 "status": "CREATED",
55 "name": "string"
56 },
57 "paymentMethod": {
58 "id": 0,
59 "displayId": "string",
60 "status": "CREATED",
61 "name": "string",
62 "type": "string"
63 },
64 "paymentBlock": {
65 "id": 0,
66 "displayId": "string",
67 "status": "CREATED",
68 "name": "string"
69 },
70 "defaultCostCenter": {
71 "id": 0,
72 "displayId": "string",
73 "status": "CREATED",
74 "name": "string",
75 "erpSystemId": 0
76 },
77 "defaultProfitCenter": {
78 "id": 0,
79 "displayId": "string",
80 "status": "CREATED",
81 "name": "string",
82 "validTo": "2019-08-24",
83 "erpSystemId": 0,
84 "erpSystemDisplayId": "string"
85 },
86 "invoiceLineItems": [
87 {
88 "id": 0,
89 "displayId": "string",
90 "expenseCategory": {
91 "id": 0,
92 "displayId": "string",
93 "status": "CREATED",
94 "name": "string",
95 "expenseCategoryType": "PAYMENT"
96 },
97 "description": "string",
98 "unitOfMeasure": {
99 "id": 0,
100 "displayId": "string",
101 "status": "CREATED",
102 "name": "string",
103 "erpSystemId": 0
104 },
105 "quantity": 0,
106 "unitPrice": 0,
107 "taxJurisdiction": {
108 "id": 0,
109 "displayId": "string",
110 "status": "CREATED",
111 "name": "string",
112 "erpSystemId": 0,
113 "schema": "string",
114 "countryDisplayId": "string"
115 },
116 "taxCode": {
117 "id": 0,
118 "displayId": "string",
119 "status": "CREATED",
120 "name": "string",
121 "erpSystemId": 0
122 },
123 "taxExpenseAccount": {
124 "id": 0,
125 "displayId": "string",
126 "generalLedgerAccountName": "string",
127 "generalLedgerAccountCode": "string",
128 "openItemManagement": true,
129 "accountCategory": "BALANCESHEET",
130 "shortName": "string",
131 "longName": "string"
132 },
133 "taxLineItems": [
134 {
135 "id": 0,
136 "taxRate": 0.1,
137 "taxAmount": 0,
138 "taxType": "string",
139 "invoiceLineItemId": 0
140 }
141 ],
142 "workBreakdownStructure": {
143 "id": 0,
144 "displayId": "string",
145 "status": "CREATED",
146 "name": "string",
147 "erpSystemId": 0
148 },
149 "costCenter": {
150 "id": 0,
151 "displayId": "string",
152 "status": "CREATED",
153 "name": "string",
154 "erpSystemId": 0
155 },
156 "profitCenter": {
157 "id": 0,
158 "displayId": "string",
159 "status": "CREATED",
160 "name": "string",
161 "validTo": "2019-08-24",
162 "erpSystemId": 0,
163 "erpSystemDisplayId": "string"
164 },
165 "functionalArea": {
166 "id": 0,
167 "displayId": "string",
168 "status": "CREATED",
169 "name": "string",
170 "erpSystemId": 0
171 },
172 "businessArea": {
173 "id": 0,
174 "displayId": "string",
175 "status": "CREATED",
176 "name": "string",
177 "erpSystemId": 0
178 },
179 "segment": {
180 "id": 0,
181 "displayId": "string",
182 "status": "CREATED",
183 "name": "string",
184 "erpSystemId": 0
185 },
186 "network": {
187 "id": 0,
188 "displayId": "string",
189 "status": "CREATED",
190 "name": "string",
191 "erpSystemId": 0
192 },
193 "internalOrderType": {
194 "id": 0,
195 "displayId": "string",
196 "status": "CREATED",
197 "name": "string",
198 "erpSystemId": 0
199 },
200 "internalOrder": {
201 "id": 0,
202 "displayId": "string",
203 "status": "CREATED",
204 "name": "string",
205 "erpSystemId": 0,
206 "internalOrderTypeId": 0
207 },
208 "additionalCurrencies": [
209 {
210 "id": 0,
211 "amount": 0,
212 "currency": {
213 "id": 0,
214 "displayId": "string",
215 "status": "CREATED",
216 "name": "string",
217 "decimalPoints": 0
218 },
219 "conversionRate": 0,
220 "conversionDate": "2019-08-24",
221 "translationDateType": "DOCUMENT_DATE",
222 "amountType": "NET_AMOUNT",
223 "currencyDefinitionType": "CONTRACT_CURRENCY",
224 "invoiceEntryId": 0,
225 "invoiceEntryDisplayId": "string"
226 }
227 ],
228 "scheduledPaymentMatches": [
229 {
230 "id": 0,
231 "fromId": 0,
232 "toId": 0,
233 "amount": 0
234 }
235 ],
236 "goodsReceiptLineItemLinks": [
237 {
238 "id": 0,
239 "fromId": 0,
240 "toId": 0,
241 "linkedQuantity": 0
242 }
243 ],
244 "invoiceId": 0,
245 "invoiceDisplayId": "string",
246 "invoiceState": "INV_DRAFT",
247 "vendorPaymentId": 0,
248 "purchaseOrderLineItemId": 0,
249 "netAmount": 0,
250 "allowsSystemGenerateNewId": true,
251 "numberRangeIdentifierValue": "string",
252 "numberRangeIdentifierType": {
253 "name": "string"
254 },
255 "numberRangeType": {
256 "name": "string"
257 }
258 }
259 ],
260 "workspaceId": 0,
261 "workspaceDisplayId": "string",
262 "workspaceName": "string",
263 "workspaceState": "INV_DRAFT",
264 "remainingNetAmount": 0,
265 "remainingTaxAmount": 0,
266 "remainingTotalAmount": 0,
267 "pendingPaymentCount": 0,
268 "allPaymentsPosted": true,
269 "approvalInfo": {
270 "approverUsername": "string",
271 "approvedAt": "2019-08-24T14:15:22Z"
272 },
273 "rejectionReason": "string",
274 "allowsSystemGenerateNewId": true,
275 "numberRangeIdentifierValue": "string",
276 "numberRangeIdentifierType": {
277 "name": "string"
278 },
279 "numberRangeType": {
280 "name": "string"
281 }
282 },
283 "entityId": 0,
284 "status": "SUCCESS",
285 "errorMessage": "string"
286 }
287 ],
288 "totalProcessed": 0,
289 "successCount": 0,
290 "failedCount": 0,
291 "alreadyLinkedCount": 0
292}
📄 Description: Data transfer object representing the result of adding invoices to a workspace, including relevant status indicators and metadata to facilitate invoice management and tracking within the business environment.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
workspaceId |
integer(int64) |
false |
none |
Unique identifier for the workspace |
workspaceDisplayId |
string |
false |
none |
Unique identifier for the workspace display |
workspaceName |
string |
false |
none |
Name of the workspace |
results |
false |
none |
An array of results containing the outcomes of adding invoices to the workspace, providing insights into the success of the operation. |
|
totalProcessed |
integer(int32) |
false |
none |
Total number of invoices successfully processed and added to the workspace. |
successCount |
integer(int32) |
false |
none |
Count of success |
failedCount |
integer(int32) |
false |
none |
Count of failed |
alreadyLinkedCount |
integer(int32) |
false |
none |
Count of already linked |