ResponseGoodsReceiptDto¶
Example Json Object
1{
2 "code": "UPDATED",
3 "message": "string",
4 "defaultMessage": "string",
5 "debugMessage": "string",
6 "errors": {
7 "all": [
8 {
9 "type": "GENERIC",
10 "source": {},
11 "errorMessage": "string",
12 "field": "string",
13 "errorKey": "string"
14 }
15 ]
16 },
17 "object": {
18 "id": 0,
19 "displayId": "string",
20 "state": "INV_DRAFT",
21 "receivingDate": "2019-08-24",
22 "notes": "string",
23 "vendor": {
24 "id": 0,
25 "displayId": "string",
26 "status": "CREATED",
27 "name": "string",
28 "erpSystemDisplayId": "string"
29 },
30 "company": {
31 "id": 0,
32 "displayId": "string",
33 "status": "CREATED",
34 "erpSystemId": 0,
35 "erpSystemDisplayId": "string",
36 "countryId": 0,
37 "countryDisplayId": "string",
38 "name": "string",
39 "postingPeriodVariantId": 0,
40 "fiscalVariantId": 0
41 },
42 "packingSlipId": "string",
43 "goodsReceiptLineItems": [
44 {
45 "id": 0,
46 "displayId": "string",
47 "quantity": 0,
48 "invoicedQuantity": 0,
49 "description": "string",
50 "expenseCategory": {
51 "id": 0,
52 "displayId": "string",
53 "status": "CREATED",
54 "name": "string",
55 "expenseCategoryType": "PAYMENT"
56 },
57 "goodsReceiptId": 0,
58 "goodsReceiptDisplayId": "string",
59 "goodsReceiptState": "INV_DRAFT",
60 "purchaseOrderLineItemId": 0,
61 "invoiceLineItemLinks": [
62 {
63 "id": 0,
64 "fromId": 0,
65 "toId": 0,
66 "linkedQuantity": 0
67 }
68 ],
69 "availableQuantity": 0,
70 "allowsSystemGenerateNewId": true,
71 "numberRangeIdentifierValue": "string",
72 "numberRangeIdentifierType": {
73 "name": "string"
74 },
75 "numberRangeType": {
76 "name": "string"
77 }
78 }
79 ],
80 "purchaseOrderIds": [
81 0
82 ],
83 "purchaseOrderDisplayIds": [
84 "string"
85 ],
86 "invoiceIds": [
87 0
88 ],
89 "invoiceDisplayIds": [
90 "string"
91 ],
92 "allowsSystemGenerateNewId": true,
93 "numberRangeIdentifierValue": "string",
94 "numberRangeIdentifierType": {
95 "name": "string"
96 },
97 "numberRangeType": {
98 "name": "string"
99 }
100 }
101}
📄 Description: Data transfer object representing the details of goods received, including item specifications, quantities, and associated metadata, facilitating efficient inventory management and reconciliation processes.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
code |
string |
false |
none |
Code identifier for the resource |
message |
string |
false |
write-only |
Textual representation of the message associated with the goods receipt, providing essential information regarding the transaction. |
defaultMessage |
string |
false |
write-only |
Default message to be displayed in the goods receipt response, providing essential information to the user. |
debugMessage |
string |
false |
write-only |
Provides detailed information about any errors or issues encountered during the processing of the goods receipt. |
errors |
false |
none |
Collection of error messages that may occur during the processing of goods receipt transactions, providing insights for troubleshooting and resolution. |
|
object |
false |
none |
Represents the details of the goods receipt transaction, encapsulated within the ResponseGoodsReceiptDto schema. |
Enumerated Values
Attribute |
Value |
|---|---|
code |
API_CALL_FAILED, ATTACHED, BAD_REQUEST, DATA_VALIDATION_ERROR, DELETED, DETACHED, INTERNAL_SYSTEM_ERROR, NULL_RESPONSE, OK, OK_BUT_RESPONSE_INVALID, REQUEST_VALIDATION_ERROR, SERVICE_VALIDATION_ERROR, UPDATED |