Goods Receipt¶
Get A Resource By ID¶
HTTP Request
GET /api/v1/goods-receipt/{id}
📋 Description: Returns the single resource with the given ID.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Resource ID |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "displayId": "string",
17 "state": "INV_DRAFT",
18 "receivingDate": "2019-08-24",
19 "notes": "string",
20 "vendor": {
21 "id": 0,
22 "displayId": "string",
23 "status": "CREATED",
24 "name": "string",
25 "erpSystemDisplayId": "string"
26 },
27 "company": {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string",
33 "countryId": 0,
34 "countryDisplayId": "string",
35 "name": "string",
36 "postingPeriodVariantId": 0,
37 "fiscalVariantId": 0
38 },
39 "packingSlipId": "string",
40 "goodsReceiptLineItems": [
41 {
42 "id": 0,
43 "displayId": "string",
44 "quantity": 0,
45 "invoicedQuantity": 0,
46 "description": "string",
47 "expenseCategory": {
48 "id": 0,
49 "displayId": "string",
50 "status": "CREATED",
51 "name": "string",
52 "expenseCategoryType": "PAYMENT"
53 },
54 "goodsReceiptId": 0,
55 "goodsReceiptDisplayId": "string",
56 "goodsReceiptState": "INV_DRAFT",
57 "purchaseOrderLineItemId": 0,
58 "invoiceLineItemLinks": [
59 {
60 "id": 0,
61 "fromId": 0,
62 "toId": 0,
63 "linkedQuantity": 0
64 }
65 ],
66 "availableQuantity": 0,
67 "allowsSystemGenerateNewId": true,
68 "numberRangeIdentifierValue": "string",
69 "numberRangeIdentifierType": {
70 "name": "string"
71 },
72 "numberRangeType": {
73 "name": "string"
74 }
75 }
76 ],
77 "purchaseOrderIds": [
78 0
79 ],
80 "purchaseOrderDisplayIds": [
81 "string"
82 ],
83 "invoiceIds": [
84 0
85 ],
86 "invoiceDisplayIds": [
87 "string"
88 ],
89 "allowsSystemGenerateNewId": true,
90 "numberRangeIdentifierValue": "string",
91 "numberRangeIdentifierType": {
92 "name": "string"
93 },
94 "numberRangeType": {
95 "name": "string"
96 }
97 }
98}
Update A Resource¶
HTTP Request
PUT /api/v1/goods-receipt/{id}
📋 Description: Fully replaces the resource with the given ID. All fields in the request body are applied.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Resource ID |
body |
body |
true |
Request body containing the updated details of the goods receipt, including item quantities, supplier information, and relevant metadata for inventory management. |
Body Parameters
1{
2 "id": 0,
3 "displayId": "string",
4 "state": "INV_DRAFT",
5 "receivingDate": "2019-08-24",
6 "notes": "string",
7 "vendor": {
8 "id": 0,
9 "displayId": "string",
10 "status": "CREATED",
11 "name": "string",
12 "erpSystemDisplayId": "string"
13 },
14 "company": {
15 "id": 0,
16 "displayId": "string",
17 "status": "CREATED",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "countryId": 0,
21 "countryDisplayId": "string",
22 "name": "string",
23 "postingPeriodVariantId": 0,
24 "fiscalVariantId": 0
25 },
26 "packingSlipId": "string",
27 "goodsReceiptLineItems": [
28 {
29 "id": 0,
30 "displayId": "string",
31 "quantity": 0,
32 "invoicedQuantity": 0,
33 "description": "string",
34 "expenseCategory": {
35 "id": 0,
36 "displayId": "string",
37 "status": "CREATED",
38 "name": "string",
39 "expenseCategoryType": "PAYMENT"
40 },
41 "goodsReceiptId": 0,
42 "goodsReceiptDisplayId": "string",
43 "goodsReceiptState": "INV_DRAFT",
44 "purchaseOrderLineItemId": 0,
45 "invoiceLineItemLinks": [
46 {
47 "id": 0,
48 "fromId": 0,
49 "toId": 0,
50 "linkedQuantity": 0
51 }
52 ],
53 "allowsSystemGenerateNewId": true,
54 "numberRangeIdentifierValue": "string",
55 "numberRangeIdentifierType": {
56 "name": "string"
57 },
58 "numberRangeType": {
59 "name": "string"
60 }
61 }
62 ],
63 "purchaseOrderIds": [
64 0
65 ],
66 "purchaseOrderDisplayIds": [
67 "string"
68 ],
69 "invoiceIds": [
70 0
71 ],
72 "invoiceDisplayIds": [
73 "string"
74 ],
75 "allowsSystemGenerateNewId": true,
76 "numberRangeIdentifierValue": "string",
77 "numberRangeIdentifierType": {
78 "name": "string"
79 },
80 "numberRangeType": {
81 "name": "string"
82 }
83}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "displayId": "string",
17 "state": "INV_DRAFT",
18 "receivingDate": "2019-08-24",
19 "notes": "string",
20 "vendor": {
21 "id": 0,
22 "displayId": "string",
23 "status": "CREATED",
24 "name": "string",
25 "erpSystemDisplayId": "string"
26 },
27 "company": {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string",
33 "countryId": 0,
34 "countryDisplayId": "string",
35 "name": "string",
36 "postingPeriodVariantId": 0,
37 "fiscalVariantId": 0
38 },
39 "packingSlipId": "string",
40 "goodsReceiptLineItems": [
41 {
42 "id": 0,
43 "displayId": "string",
44 "quantity": 0,
45 "invoicedQuantity": 0,
46 "description": "string",
47 "expenseCategory": {
48 "id": 0,
49 "displayId": "string",
50 "status": "CREATED",
51 "name": "string",
52 "expenseCategoryType": "PAYMENT"
53 },
54 "goodsReceiptId": 0,
55 "goodsReceiptDisplayId": "string",
56 "goodsReceiptState": "INV_DRAFT",
57 "purchaseOrderLineItemId": 0,
58 "invoiceLineItemLinks": [
59 {
60 "id": 0,
61 "fromId": 0,
62 "toId": 0,
63 "linkedQuantity": 0
64 }
65 ],
66 "availableQuantity": 0,
67 "allowsSystemGenerateNewId": true,
68 "numberRangeIdentifierValue": "string",
69 "numberRangeIdentifierType": {
70 "name": "string"
71 },
72 "numberRangeType": {
73 "name": "string"
74 }
75 }
76 ],
77 "purchaseOrderIds": [
78 0
79 ],
80 "purchaseOrderDisplayIds": [
81 "string"
82 ],
83 "invoiceIds": [
84 0
85 ],
86 "invoiceDisplayIds": [
87 "string"
88 ],
89 "allowsSystemGenerateNewId": true,
90 "numberRangeIdentifierValue": "string",
91 "numberRangeIdentifierType": {
92 "name": "string"
93 },
94 "numberRangeType": {
95 "name": "string"
96 }
97 }
98}
Delete A Single Resource¶
HTTP Request
DELETE /api/v1/goods-receipt/{id}
📋 Description: Permanently deletes the resource with the given ID.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
Partially Update A Resource (Json Patch)¶
HTTP Request
PATCH /api/v1/goods-receipt/{id}
📋 Description: Applies a JSON Patch (RFC 6902) document to the resource with the given ID. Only the fields specified in the patch are modified; all other fields remain unchanged.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated goods receipt information, including item details, quantities, and any relevant adjustments for inventory management. |
Body Parameters
1{}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "displayId": "string",
17 "state": "INV_DRAFT",
18 "receivingDate": "2019-08-24",
19 "notes": "string",
20 "vendor": {
21 "id": 0,
22 "displayId": "string",
23 "status": "CREATED",
24 "name": "string",
25 "erpSystemDisplayId": "string"
26 },
27 "company": {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string",
33 "countryId": 0,
34 "countryDisplayId": "string",
35 "name": "string",
36 "postingPeriodVariantId": 0,
37 "fiscalVariantId": 0
38 },
39 "packingSlipId": "string",
40 "goodsReceiptLineItems": [
41 {
42 "id": 0,
43 "displayId": "string",
44 "quantity": 0,
45 "invoicedQuantity": 0,
46 "description": "string",
47 "expenseCategory": {
48 "id": 0,
49 "displayId": "string",
50 "status": "CREATED",
51 "name": "string",
52 "expenseCategoryType": "PAYMENT"
53 },
54 "goodsReceiptId": 0,
55 "goodsReceiptDisplayId": "string",
56 "goodsReceiptState": "INV_DRAFT",
57 "purchaseOrderLineItemId": 0,
58 "invoiceLineItemLinks": [
59 {
60 "id": 0,
61 "fromId": 0,
62 "toId": 0,
63 "linkedQuantity": 0
64 }
65 ],
66 "availableQuantity": 0,
67 "allowsSystemGenerateNewId": true,
68 "numberRangeIdentifierValue": "string",
69 "numberRangeIdentifierType": {
70 "name": "string"
71 },
72 "numberRangeType": {
73 "name": "string"
74 }
75 }
76 ],
77 "purchaseOrderIds": [
78 0
79 ],
80 "purchaseOrderDisplayIds": [
81 "string"
82 ],
83 "invoiceIds": [
84 0
85 ],
86 "invoiceDisplayIds": [
87 "string"
88 ],
89 "allowsSystemGenerateNewId": true,
90 "numberRangeIdentifierValue": "string",
91 "numberRangeIdentifierType": {
92 "name": "string"
93 },
94 "numberRangeType": {
95 "name": "string"
96 }
97 }
98}
Bulk Create-Or-Update Resources¶
HTTP Request
PUT /api/v1/goods-receipt/createOrUpdate/bulk
📋 Description: Creates or updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are persisted; failed items are recorded in the response
errorslist. The response body always contains the successfully processed items alongside any per-item errors.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of goods receipt records for bulk creation or update, including essential details such as item identifiers, quantities, and associated metadata. |
Body Parameters
1[
2 {
3 "id": 0,
4 "displayId": "string",
5 "state": "INV_DRAFT",
6 "receivingDate": "2019-08-24",
7 "notes": "string",
8 "vendor": {
9 "id": 0,
10 "displayId": "string",
11 "status": "CREATED",
12 "name": "string",
13 "erpSystemDisplayId": "string"
14 },
15 "company": {
16 "id": 0,
17 "displayId": "string",
18 "status": "CREATED",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "countryId": 0,
22 "countryDisplayId": "string",
23 "name": "string",
24 "postingPeriodVariantId": 0,
25 "fiscalVariantId": 0
26 },
27 "packingSlipId": "string",
28 "goodsReceiptLineItems": [
29 {
30 "id": 0,
31 "displayId": "string",
32 "quantity": 0,
33 "invoicedQuantity": 0,
34 "description": "string",
35 "expenseCategory": {
36 "id": 0,
37 "displayId": "string",
38 "status": "CREATED",
39 "name": "string",
40 "expenseCategoryType": "PAYMENT"
41 },
42 "goodsReceiptId": 0,
43 "goodsReceiptDisplayId": "string",
44 "goodsReceiptState": "INV_DRAFT",
45 "purchaseOrderLineItemId": 0,
46 "invoiceLineItemLinks": [
47 {
48 "id": 0,
49 "fromId": 0,
50 "toId": 0,
51 "linkedQuantity": 0
52 }
53 ],
54 "allowsSystemGenerateNewId": true,
55 "numberRangeIdentifierValue": "string",
56 "numberRangeIdentifierType": {
57 "name": "string"
58 },
59 "numberRangeType": {
60 "name": "string"
61 }
62 }
63 ],
64 "purchaseOrderIds": [
65 0
66 ],
67 "purchaseOrderDisplayIds": [
68 "string"
69 ],
70 "invoiceIds": [
71 0
72 ],
73 "invoiceDisplayIds": [
74 "string"
75 ],
76 "allowsSystemGenerateNewId": true,
77 "numberRangeIdentifierValue": "string",
78 "numberRangeIdentifierType": {
79 "name": "string"
80 },
81 "numberRangeType": {
82 "name": "string"
83 }
84 }
85]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "displayId": "string",
18 "state": "INV_DRAFT",
19 "receivingDate": "2019-08-24",
20 "notes": "string",
21 "vendor": {
22 "id": 0,
23 "displayId": "string",
24 "status": "CREATED",
25 "name": "string",
26 "erpSystemDisplayId": "string"
27 },
28 "company": {
29 "id": 0,
30 "displayId": "string",
31 "status": "CREATED",
32 "erpSystemId": 0,
33 "erpSystemDisplayId": "string",
34 "countryId": 0,
35 "countryDisplayId": "string",
36 "name": "string",
37 "postingPeriodVariantId": 0,
38 "fiscalVariantId": 0
39 },
40 "packingSlipId": "string",
41 "goodsReceiptLineItems": [
42 {
43 "id": 0,
44 "displayId": "string",
45 "quantity": 0,
46 "invoicedQuantity": 0,
47 "description": "string",
48 "expenseCategory": {
49 "id": 0,
50 "displayId": "string",
51 "status": "CREATED",
52 "name": "string",
53 "expenseCategoryType": "PAYMENT"
54 },
55 "goodsReceiptId": 0,
56 "goodsReceiptDisplayId": "string",
57 "goodsReceiptState": "INV_DRAFT",
58 "purchaseOrderLineItemId": 0,
59 "invoiceLineItemLinks": [
60 {
61 "id": 0,
62 "fromId": 0,
63 "toId": 0,
64 "linkedQuantity": 0
65 }
66 ],
67 "availableQuantity": 0,
68 "allowsSystemGenerateNewId": true,
69 "numberRangeIdentifierValue": "string",
70 "numberRangeIdentifierType": {
71 "name": "string"
72 },
73 "numberRangeType": {
74 "name": "string"
75 }
76 }
77 ],
78 "purchaseOrderIds": [
79 0
80 ],
81 "purchaseOrderDisplayIds": [
82 "string"
83 ],
84 "invoiceIds": [
85 0
86 ],
87 "invoiceDisplayIds": [
88 "string"
89 ],
90 "allowsSystemGenerateNewId": true,
91 "numberRangeIdentifierValue": "string",
92 "numberRangeIdentifierType": {
93 "name": "string"
94 },
95 "numberRangeType": {
96 "name": "string"
97 }
98 }
99 ]
100}
Create Or Update A Resource¶
HTTP Request
PUT /api/v1/goods-receipt/createOrUpdate
📋 Description: Creates the resource if no matching record exists, or fully updates it if one is found. Idempotent: safe to call multiple times with the same payload.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the goods receipt information, including item details, quantities, and associated metadata for creating or updating inventory records. |
Body Parameters
1{
2 "id": 0,
3 "displayId": "string",
4 "state": "INV_DRAFT",
5 "receivingDate": "2019-08-24",
6 "notes": "string",
7 "vendor": {
8 "id": 0,
9 "displayId": "string",
10 "status": "CREATED",
11 "name": "string",
12 "erpSystemDisplayId": "string"
13 },
14 "company": {
15 "id": 0,
16 "displayId": "string",
17 "status": "CREATED",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "countryId": 0,
21 "countryDisplayId": "string",
22 "name": "string",
23 "postingPeriodVariantId": 0,
24 "fiscalVariantId": 0
25 },
26 "packingSlipId": "string",
27 "goodsReceiptLineItems": [
28 {
29 "id": 0,
30 "displayId": "string",
31 "quantity": 0,
32 "invoicedQuantity": 0,
33 "description": "string",
34 "expenseCategory": {
35 "id": 0,
36 "displayId": "string",
37 "status": "CREATED",
38 "name": "string",
39 "expenseCategoryType": "PAYMENT"
40 },
41 "goodsReceiptId": 0,
42 "goodsReceiptDisplayId": "string",
43 "goodsReceiptState": "INV_DRAFT",
44 "purchaseOrderLineItemId": 0,
45 "invoiceLineItemLinks": [
46 {
47 "id": 0,
48 "fromId": 0,
49 "toId": 0,
50 "linkedQuantity": 0
51 }
52 ],
53 "allowsSystemGenerateNewId": true,
54 "numberRangeIdentifierValue": "string",
55 "numberRangeIdentifierType": {
56 "name": "string"
57 },
58 "numberRangeType": {
59 "name": "string"
60 }
61 }
62 ],
63 "purchaseOrderIds": [
64 0
65 ],
66 "purchaseOrderDisplayIds": [
67 "string"
68 ],
69 "invoiceIds": [
70 0
71 ],
72 "invoiceDisplayIds": [
73 "string"
74 ],
75 "allowsSystemGenerateNewId": true,
76 "numberRangeIdentifierValue": "string",
77 "numberRangeIdentifierType": {
78 "name": "string"
79 },
80 "numberRangeType": {
81 "name": "string"
82 }
83}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "displayId": "string",
17 "state": "INV_DRAFT",
18 "receivingDate": "2019-08-24",
19 "notes": "string",
20 "vendor": {
21 "id": 0,
22 "displayId": "string",
23 "status": "CREATED",
24 "name": "string",
25 "erpSystemDisplayId": "string"
26 },
27 "company": {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string",
33 "countryId": 0,
34 "countryDisplayId": "string",
35 "name": "string",
36 "postingPeriodVariantId": 0,
37 "fiscalVariantId": 0
38 },
39 "packingSlipId": "string",
40 "goodsReceiptLineItems": [
41 {
42 "id": 0,
43 "displayId": "string",
44 "quantity": 0,
45 "invoicedQuantity": 0,
46 "description": "string",
47 "expenseCategory": {
48 "id": 0,
49 "displayId": "string",
50 "status": "CREATED",
51 "name": "string",
52 "expenseCategoryType": "PAYMENT"
53 },
54 "goodsReceiptId": 0,
55 "goodsReceiptDisplayId": "string",
56 "goodsReceiptState": "INV_DRAFT",
57 "purchaseOrderLineItemId": 0,
58 "invoiceLineItemLinks": [
59 {
60 "id": 0,
61 "fromId": 0,
62 "toId": 0,
63 "linkedQuantity": 0
64 }
65 ],
66 "availableQuantity": 0,
67 "allowsSystemGenerateNewId": true,
68 "numberRangeIdentifierValue": "string",
69 "numberRangeIdentifierType": {
70 "name": "string"
71 },
72 "numberRangeType": {
73 "name": "string"
74 }
75 }
76 ],
77 "purchaseOrderIds": [
78 0
79 ],
80 "purchaseOrderDisplayIds": [
81 "string"
82 ],
83 "invoiceIds": [
84 0
85 ],
86 "invoiceDisplayIds": [
87 "string"
88 ],
89 "allowsSystemGenerateNewId": true,
90 "numberRangeIdentifierValue": "string",
91 "numberRangeIdentifierType": {
92 "name": "string"
93 },
94 "numberRangeType": {
95 "name": "string"
96 }
97 }
98}
Bulk-Update Resources¶
HTTP Request
PUT /api/v1/goods-receipt/bulk
📋 Description: Updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are updated; failed items are recorded in the response
errorslist. The response body always contains the successfully updated items alongside any per-item errors.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of goods receipt records, each including item details, quantities, and associated metadata for bulk processing. |
Body Parameters
1[
2 {
3 "id": 0,
4 "displayId": "string",
5 "state": "INV_DRAFT",
6 "receivingDate": "2019-08-24",
7 "notes": "string",
8 "vendor": {
9 "id": 0,
10 "displayId": "string",
11 "status": "CREATED",
12 "name": "string",
13 "erpSystemDisplayId": "string"
14 },
15 "company": {
16 "id": 0,
17 "displayId": "string",
18 "status": "CREATED",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "countryId": 0,
22 "countryDisplayId": "string",
23 "name": "string",
24 "postingPeriodVariantId": 0,
25 "fiscalVariantId": 0
26 },
27 "packingSlipId": "string",
28 "goodsReceiptLineItems": [
29 {
30 "id": 0,
31 "displayId": "string",
32 "quantity": 0,
33 "invoicedQuantity": 0,
34 "description": "string",
35 "expenseCategory": {
36 "id": 0,
37 "displayId": "string",
38 "status": "CREATED",
39 "name": "string",
40 "expenseCategoryType": "PAYMENT"
41 },
42 "goodsReceiptId": 0,
43 "goodsReceiptDisplayId": "string",
44 "goodsReceiptState": "INV_DRAFT",
45 "purchaseOrderLineItemId": 0,
46 "invoiceLineItemLinks": [
47 {
48 "id": 0,
49 "fromId": 0,
50 "toId": 0,
51 "linkedQuantity": 0
52 }
53 ],
54 "allowsSystemGenerateNewId": true,
55 "numberRangeIdentifierValue": "string",
56 "numberRangeIdentifierType": {
57 "name": "string"
58 },
59 "numberRangeType": {
60 "name": "string"
61 }
62 }
63 ],
64 "purchaseOrderIds": [
65 0
66 ],
67 "purchaseOrderDisplayIds": [
68 "string"
69 ],
70 "invoiceIds": [
71 0
72 ],
73 "invoiceDisplayIds": [
74 "string"
75 ],
76 "allowsSystemGenerateNewId": true,
77 "numberRangeIdentifierValue": "string",
78 "numberRangeIdentifierType": {
79 "name": "string"
80 },
81 "numberRangeType": {
82 "name": "string"
83 }
84 }
85]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "displayId": "string",
18 "state": "INV_DRAFT",
19 "receivingDate": "2019-08-24",
20 "notes": "string",
21 "vendor": {
22 "id": 0,
23 "displayId": "string",
24 "status": "CREATED",
25 "name": "string",
26 "erpSystemDisplayId": "string"
27 },
28 "company": {
29 "id": 0,
30 "displayId": "string",
31 "status": "CREATED",
32 "erpSystemId": 0,
33 "erpSystemDisplayId": "string",
34 "countryId": 0,
35 "countryDisplayId": "string",
36 "name": "string",
37 "postingPeriodVariantId": 0,
38 "fiscalVariantId": 0
39 },
40 "packingSlipId": "string",
41 "goodsReceiptLineItems": [
42 {
43 "id": 0,
44 "displayId": "string",
45 "quantity": 0,
46 "invoicedQuantity": 0,
47 "description": "string",
48 "expenseCategory": {
49 "id": 0,
50 "displayId": "string",
51 "status": "CREATED",
52 "name": "string",
53 "expenseCategoryType": "PAYMENT"
54 },
55 "goodsReceiptId": 0,
56 "goodsReceiptDisplayId": "string",
57 "goodsReceiptState": "INV_DRAFT",
58 "purchaseOrderLineItemId": 0,
59 "invoiceLineItemLinks": [
60 {
61 "id": 0,
62 "fromId": 0,
63 "toId": 0,
64 "linkedQuantity": 0
65 }
66 ],
67 "availableQuantity": 0,
68 "allowsSystemGenerateNewId": true,
69 "numberRangeIdentifierValue": "string",
70 "numberRangeIdentifierType": {
71 "name": "string"
72 },
73 "numberRangeType": {
74 "name": "string"
75 }
76 }
77 ],
78 "purchaseOrderIds": [
79 0
80 ],
81 "purchaseOrderDisplayIds": [
82 "string"
83 ],
84 "invoiceIds": [
85 0
86 ],
87 "invoiceDisplayIds": [
88 "string"
89 ],
90 "allowsSystemGenerateNewId": true,
91 "numberRangeIdentifierValue": "string",
92 "numberRangeIdentifierType": {
93 "name": "string"
94 },
95 "numberRangeType": {
96 "name": "string"
97 }
98 }
99 ]
100}
Bulk-Create Resources¶
HTTP Request
POST /api/v1/goods-receipt/bulk
📋 Description: Creates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are persisted; failed items are recorded in the response
errorslist. The response body always contains the successfully created items alongside any per-item errors.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of goods receipt entries, each including essential details such as item identifiers, quantities, and associated supplier information for bulk processing. |
Body Parameters
1[
2 {
3 "id": 0,
4 "displayId": "string",
5 "state": "INV_DRAFT",
6 "receivingDate": "2019-08-24",
7 "notes": "string",
8 "vendor": {
9 "id": 0,
10 "displayId": "string",
11 "status": "CREATED",
12 "name": "string",
13 "erpSystemDisplayId": "string"
14 },
15 "company": {
16 "id": 0,
17 "displayId": "string",
18 "status": "CREATED",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "countryId": 0,
22 "countryDisplayId": "string",
23 "name": "string",
24 "postingPeriodVariantId": 0,
25 "fiscalVariantId": 0
26 },
27 "packingSlipId": "string",
28 "goodsReceiptLineItems": [
29 {
30 "id": 0,
31 "displayId": "string",
32 "quantity": 0,
33 "invoicedQuantity": 0,
34 "description": "string",
35 "expenseCategory": {
36 "id": 0,
37 "displayId": "string",
38 "status": "CREATED",
39 "name": "string",
40 "expenseCategoryType": "PAYMENT"
41 },
42 "goodsReceiptId": 0,
43 "goodsReceiptDisplayId": "string",
44 "goodsReceiptState": "INV_DRAFT",
45 "purchaseOrderLineItemId": 0,
46 "invoiceLineItemLinks": [
47 {
48 "id": 0,
49 "fromId": 0,
50 "toId": 0,
51 "linkedQuantity": 0
52 }
53 ],
54 "allowsSystemGenerateNewId": true,
55 "numberRangeIdentifierValue": "string",
56 "numberRangeIdentifierType": {
57 "name": "string"
58 },
59 "numberRangeType": {
60 "name": "string"
61 }
62 }
63 ],
64 "purchaseOrderIds": [
65 0
66 ],
67 "purchaseOrderDisplayIds": [
68 "string"
69 ],
70 "invoiceIds": [
71 0
72 ],
73 "invoiceDisplayIds": [
74 "string"
75 ],
76 "allowsSystemGenerateNewId": true,
77 "numberRangeIdentifierValue": "string",
78 "numberRangeIdentifierType": {
79 "name": "string"
80 },
81 "numberRangeType": {
82 "name": "string"
83 }
84 }
85]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "displayId": "string",
18 "state": "INV_DRAFT",
19 "receivingDate": "2019-08-24",
20 "notes": "string",
21 "vendor": {
22 "id": 0,
23 "displayId": "string",
24 "status": "CREATED",
25 "name": "string",
26 "erpSystemDisplayId": "string"
27 },
28 "company": {
29 "id": 0,
30 "displayId": "string",
31 "status": "CREATED",
32 "erpSystemId": 0,
33 "erpSystemDisplayId": "string",
34 "countryId": 0,
35 "countryDisplayId": "string",
36 "name": "string",
37 "postingPeriodVariantId": 0,
38 "fiscalVariantId": 0
39 },
40 "packingSlipId": "string",
41 "goodsReceiptLineItems": [
42 {
43 "id": 0,
44 "displayId": "string",
45 "quantity": 0,
46 "invoicedQuantity": 0,
47 "description": "string",
48 "expenseCategory": {
49 "id": 0,
50 "displayId": "string",
51 "status": "CREATED",
52 "name": "string",
53 "expenseCategoryType": "PAYMENT"
54 },
55 "goodsReceiptId": 0,
56 "goodsReceiptDisplayId": "string",
57 "goodsReceiptState": "INV_DRAFT",
58 "purchaseOrderLineItemId": 0,
59 "invoiceLineItemLinks": [
60 {
61 "id": 0,
62 "fromId": 0,
63 "toId": 0,
64 "linkedQuantity": 0
65 }
66 ],
67 "availableQuantity": 0,
68 "allowsSystemGenerateNewId": true,
69 "numberRangeIdentifierValue": "string",
70 "numberRangeIdentifierType": {
71 "name": "string"
72 },
73 "numberRangeType": {
74 "name": "string"
75 }
76 }
77 ],
78 "purchaseOrderIds": [
79 0
80 ],
81 "purchaseOrderDisplayIds": [
82 "string"
83 ],
84 "invoiceIds": [
85 0
86 ],
87 "invoiceDisplayIds": [
88 "string"
89 ],
90 "allowsSystemGenerateNewId": true,
91 "numberRangeIdentifierValue": "string",
92 "numberRangeIdentifierType": {
93 "name": "string"
94 },
95 "numberRangeType": {
96 "name": "string"
97 }
98 }
99 ]
100}
Bulk-Delete Resources¶
HTTP Request
DELETE /api/v1/goods-receipt/bulk
📋 Description: Deletes multiple resources by ID in a single request. Partial success: each deletion is attempted independently. If one or more deletions fail (e.g. due to state constraints), the successfully deleted items are NOT rolled back. A
ValidationExceptioncontaining per-item errors is thrown after all items have been attempted, so the caller must inspect the error list to determine which IDs were not deleted.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of goods receipt identifiers to be deleted in bulk, facilitating efficient inventory management. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
Unmark A Goods Receipt As Favourite¶
HTTP Request
POST /api/v1/goods-receipt/{goodsReceiptId}/remove-from-favorite
📋 Description: Unmark a goods receipt as favourite
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
goodsReceiptId |
path |
integer(int64) |
true |
Unique identifier for the goods receipt |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "internalId": "string",
3 "foreignId": "string",
4 "objectType": "string",
5 "username": "string",
6 "sequenceNumber": 0,
7 "createdAt": "2019-08-24T14:15:22Z"
8}
Mark A Goods Receipt As Favourite¶
HTTP Request
POST /api/v1/goods-receipt/{goodsReceiptId}/add-to-favorite
📋 Description: Mark a goods receipt as favourite
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
goodsReceiptId |
path |
integer(int64) |
true |
Unique identifier for the goods receipt |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "internalId": "string",
3 "foreignId": "string",
4 "objectType": "string",
5 "username": "string",
6 "sequenceNumber": 0,
7 "createdAt": "2019-08-24T14:15:22Z"
8}
Search Resources¶
HTTP Request
POST /api/v1/goods-receipt/search
📋 Description: Returns a paginated list of resources matching the given filter criteria. Pass null or an empty body to return all accessible records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
page |
query |
integer |
false |
Zero-based page index (0..N) |
size |
query |
integer |
false |
The size of the page to be returned |
sort |
query |
array[string] |
false |
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
body |
body |
false |
Request body containing search criteria and filters for retrieving goods receipt records, enabling efficient tracking and management of inventory transactions. |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
sort |
|
query |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1 |
Body Parameters
1{
2 "idIn": [
3 0
4 ],
5 "idEqual": 0,
6 "idLike": "string",
7 "createdAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
8 "createdAtLessThanOrEqual": "2019-08-24T14:15:22Z",
9 "createdByLike": "string",
10 "createdByEqual": "string",
11 "modifiedAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
12 "modifiedAtLessThanOrEqual": "2019-08-24T14:15:22Z",
13 "modifiedByLike": "string",
14 "modifiedByEqual": "string",
15 "displayIdIn": [
16 "string"
17 ],
18 "displayIdLike": "string",
19 "stateEqual": "INV_DRAFT",
20 "stateIn": [
21 "INV_DRAFT"
22 ],
23 "receivingDateEqual": "2019-08-24",
24 "notesLike": "string",
25 "vendorIdEqual": 0,
26 "vendorIdIn": [
27 0
28 ],
29 "vendorDisplayIdLike": "string",
30 "companyIdEqual": 0,
31 "companyIdIn": [
32 0
33 ],
34 "packingSlipIdIn": [
35 "string"
36 ],
37 "packingSlipIdLike": "string"
38}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "totalPages": 0,
3 "totalElements": 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 "displayId": "string",
22 "state": "INV_DRAFT",
23 "receivingDate": "2019-08-24",
24 "notes": "string",
25 "vendor": {
26 "id": 0,
27 "displayId": "string",
28 "status": "CREATED",
29 "name": "string",
30 "erpSystemDisplayId": "string"
31 },
32 "company": {
33 "id": 0,
34 "displayId": "string",
35 "status": "CREATED",
36 "erpSystemId": 0,
37 "erpSystemDisplayId": "string",
38 "countryId": 0,
39 "countryDisplayId": "string",
40 "name": "string",
41 "postingPeriodVariantId": 0,
42 "fiscalVariantId": 0
43 },
44 "packingSlipId": "string",
45 "goodsReceiptLineItems": [
46 {
47 "id": 0,
48 "displayId": "string",
49 "quantity": 0,
50 "invoicedQuantity": 0,
51 "description": "string",
52 "expenseCategory": {
53 "id": 0,
54 "displayId": "string",
55 "status": "CREATED",
56 "name": "string",
57 "expenseCategoryType": "PAYMENT"
58 },
59 "goodsReceiptId": 0,
60 "goodsReceiptDisplayId": "string",
61 "goodsReceiptState": "INV_DRAFT",
62 "purchaseOrderLineItemId": 0,
63 "invoiceLineItemLinks": [
64 {
65 "id": 0,
66 "fromId": 0,
67 "toId": 0,
68 "linkedQuantity": 0
69 }
70 ],
71 "availableQuantity": 0,
72 "allowsSystemGenerateNewId": true,
73 "numberRangeIdentifierValue": "string",
74 "numberRangeIdentifierType": {
75 "name": "string"
76 },
77 "numberRangeType": {
78 "name": "string"
79 }
80 }
81 ],
82 "purchaseOrderIds": [
83 0
84 ],
85 "purchaseOrderDisplayIds": [
86 "string"
87 ],
88 "invoiceIds": [
89 0
90 ],
91 "invoiceDisplayIds": [
92 "string"
93 ],
94 "allowsSystemGenerateNewId": true,
95 "numberRangeIdentifierValue": "string",
96 "numberRangeIdentifierType": {
97 "name": "string"
98 },
99 "numberRangeType": {
100 "name": "string"
101 }
102 }
103 ],
104 "number": 0,
105 "sort": {
106 "unsorted": true,
107 "sorted": true,
108 "empty": true
109 },
110 "first": true,
111 "last": true,
112 "empty": true
113}
Search User Links On Goods Receipts¶
HTTP Request
POST /api/v1/goods-receipt/link/search
📋 Description: Search user links on goods receipts
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
object |
true |
Request body containing the search criteria and filters for linking goods receipts to relevant transactions. |
» filter |
body |
false |
Data transfer object representing the criteria for filtering user link records, enabling efficient retrieval and management of user associations within the system. |
|
»» idIn |
body |
[integer] |
false |
Filter by multiple values of id |
»» idEqual |
body |
integer(int64) |
false |
Filter by exact match of id |
»» idLike |
body |
string |
false |
Filter by partial match of id |
»» createdAtGreaterThanOrEqual |
body |
string(date-time) |
false |
Filter where created at is greater than or equal to specified value |
»» createdAtLessThanOrEqual |
body |
string(date-time) |
false |
Filter where created at is less than or equal to specified value |
»» createdByLike |
body |
string |
false |
Filter by partial match of created by |
»» createdByEqual |
body |
string |
false |
Filter by exact match of created by |
»» modifiedAtGreaterThanOrEqual |
body |
string(date-time) |
false |
Filter where modified at is greater than or equal to specified value |
»» modifiedAtLessThanOrEqual |
body |
string(date-time) |
false |
Filter where modified at is less than or equal to specified value |
»» modifiedByLike |
body |
string |
false |
Filter by partial match of modified by |
»» modifiedByEqual |
body |
string |
false |
Filter by exact match of modified by |
»» displayIdIn |
body |
[string] |
false |
Filter by multiple values of display id |
»» displayIdLike |
body |
string |
false |
Filter by partial match of display id |
»» displayNameLike |
body |
string |
false |
Filter by partial match of display name |
»» descriptionLike |
body |
string |
false |
Filter by partial match of description |
»» urlLike |
body |
string |
false |
Filter by partial match of url |
»» entityIdIn |
body |
[integer] |
false |
Filter by multiple values of entity id |
»» entityIdEqual |
body |
integer(int64) |
false |
Filter by exact match of entity id |
»» entityTypeIn |
body |
[string] |
false |
Filter by multiple values of entity type |
»» entityTypeEqual |
body |
string |
false |
Filter by exact match of entity type |
» pageable |
body |
false |
Data transfer object representing a paginated collection of results, enabling efficient navigation and retrieval of large datasets within the API. This schema supports enhanced user experience by facilitating organized data presentation and management. |
|
»» page |
body |
integer(int32) |
false |
Page number for pagination |
»» size |
body |
integer(int32) |
false |
Number of items per page |
»» sort |
body |
[string] |
false |
Sort order specification |
Enumerated Values
Attribute |
Value |
|---|---|
»» entityTypeEqual |
GOODS_RECEIPT, INVOICE, PURCHASE_ORDER, PURCHASE_REQUISITION |
»» entityTypeIn |
GOODS_RECEIPT, INVOICE, PURCHASE_ORDER, PURCHASE_REQUISITION |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
»» page |
Min: 0 |
»» size |
Min: 1 |
Body Parameters
1{
2 "filter": {
3 "idIn": [
4 0
5 ],
6 "idEqual": 0,
7 "idLike": "string",
8 "createdAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
9 "createdAtLessThanOrEqual": "2019-08-24T14:15:22Z",
10 "createdByLike": "string",
11 "createdByEqual": "string",
12 "modifiedAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
13 "modifiedAtLessThanOrEqual": "2019-08-24T14:15:22Z",
14 "modifiedByLike": "string",
15 "modifiedByEqual": "string",
16 "displayIdIn": [
17 "string"
18 ],
19 "displayIdLike": "string",
20 "displayNameLike": "string",
21 "descriptionLike": "string",
22 "urlLike": "string",
23 "entityIdIn": [
24 0
25 ],
26 "entityIdEqual": 0,
27 "entityTypeIn": [
28 "INVOICE"
29 ],
30 "entityTypeEqual": "INVOICE"
31 },
32 "pageable": {
33 "page": 0,
34 "size": 1,
35 "sort": [
36 "string"
37 ]
38 }
39}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "totalPages": 0,
3 "totalElements": 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 "displayId": "string",
22 "displayName": "string",
23 "description": "string",
24 "url": "string",
25 "entityId": 0,
26 "entityType": "INVOICE",
27 "allowsSystemGenerateNewId": true,
28 "numberRangeIdentifierValue": "string",
29 "numberRangeIdentifierType": {
30 "name": "string"
31 },
32 "numberRangeType": {
33 "name": "string"
34 }
35 }
36 ],
37 "number": 0,
38 "sort": {
39 "unsorted": true,
40 "sorted": true,
41 "empty": true
42 },
43 "first": true,
44 "last": true,
45 "empty": true
46}
Create Or Update A User Link On A Goods Receipt¶
HTTP Request
POST /api/v1/goods-receipt/link/create-or-update
📋 Description: Attaches a user-defined hyperlink to a goods receipt. If a link with the same ID already exists it is updated; otherwise a new link is created.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the goods receipt details, including item specifications, quantities, and associated metadata for creating or updating records. |
Body Parameters
1{
2 "id": 0,
3 "displayId": "string",
4 "displayName": "string",
5 "description": "string",
6 "url": "string",
7 "entityId": 0,
8 "entityType": "INVOICE",
9 "allowsSystemGenerateNewId": true,
10 "numberRangeIdentifierValue": "string",
11 "numberRangeIdentifierType": {
12 "name": "string"
13 },
14 "numberRangeType": {
15 "name": "string"
16 }
17}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "displayId": "string",
17 "displayName": "string",
18 "description": "string",
19 "url": "string",
20 "entityId": 0,
21 "entityType": "INVOICE",
22 "allowsSystemGenerateNewId": true,
23 "numberRangeIdentifierValue": "string",
24 "numberRangeIdentifierType": {
25 "name": "string"
26 },
27 "numberRangeType": {
28 "name": "string"
29 }
30 }
31}
Upload Documents To A Goods Receipt¶
HTTP Request
POST /api/v1/goods-receipt/document/upload
📋 Description: Attaches one or more files to the specified goods receipt.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
entityId |
query |
integer(int64) |
true |
Goods receipt ID |
files |
query |
array[string] |
false |
Array of file objects to be uploaded as part of the goods receipt documentation process. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "uploadResults": [
3 {
4 "success": true,
5 "originalFilename": "string",
6 "resolvedFilename": "string",
7 "failureReason": "string",
8 "documentId": 0
9 }
10 ]
11}
Search Documents Attached To Goods Receipts¶
HTTP Request
POST /api/v1/goods-receipt/document/search
📋 Description: Search documents attached to goods receipts
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
object |
true |
Request body containing the search criteria and filters for retrieving goods receipt documents, ensuring efficient and targeted data retrieval. |
» filter |
body |
false |
Data transfer object representing the criteria for filtering document references, enabling users to efficiently retrieve and manage relevant documents within the system. |
|
»» idIn |
body |
[integer] |
false |
Filter by multiple values of id |
»» idEqual |
body |
integer(int64) |
false |
Filter by exact match of id |
»» idLike |
body |
string |
false |
Filter by partial match of id |
»» createdAtGreaterThanOrEqual |
body |
string(date-time) |
false |
Filter where created at is greater than or equal to specified value |
»» createdAtLessThanOrEqual |
body |
string(date-time) |
false |
Filter where created at is less than or equal to specified value |
»» createdByLike |
body |
string |
false |
Filter by partial match of created by |
»» createdByEqual |
body |
string |
false |
Filter by exact match of created by |
»» modifiedAtGreaterThanOrEqual |
body |
string(date-time) |
false |
Filter where modified at is greater than or equal to specified value |
»» modifiedAtLessThanOrEqual |
body |
string(date-time) |
false |
Filter where modified at is less than or equal to specified value |
»» modifiedByLike |
body |
string |
false |
Filter by partial match of modified by |
»» modifiedByEqual |
body |
string |
false |
Filter by exact match of modified by |
»» documentIdIn |
body |
[integer] |
false |
Filter by multiple values of document id |
»» documentIdEqual |
body |
integer(int64) |
false |
Filter by exact match of document id |
»» entityIdIn |
body |
[integer] |
false |
Filter by multiple values of entity id |
»» entityIdEqual |
body |
integer(int64) |
false |
Filter by exact match of entity id |
»» entityTypeIn |
body |
[string] |
false |
Filter by multiple values of entity type |
»» entityTypeEqual |
body |
string |
false |
Filter by exact match of entity type |
»» filenameLike |
body |
string |
false |
Filter by partial match of filename |
» pageable |
body |
false |
Data transfer object representing a paginated collection of results, enabling efficient navigation and retrieval of large datasets within the API. This schema supports enhanced user experience by facilitating organized data presentation and management. |
|
»» page |
body |
integer(int32) |
false |
Page number for pagination |
»» size |
body |
integer(int32) |
false |
Number of items per page |
»» sort |
body |
[string] |
false |
Sort order specification |
Enumerated Values
Attribute |
Value |
|---|---|
»» entityTypeEqual |
GOODS_RECEIPT, INVOICE, PURCHASE_ORDER, PURCHASE_REQUISITION, WORKSPACE |
»» entityTypeIn |
GOODS_RECEIPT, INVOICE, PURCHASE_ORDER, PURCHASE_REQUISITION, WORKSPACE |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
»» page |
Min: 0 |
»» size |
Min: 1 |
Body Parameters
1{
2 "filter": {
3 "idIn": [
4 0
5 ],
6 "idEqual": 0,
7 "idLike": "string",
8 "createdAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
9 "createdAtLessThanOrEqual": "2019-08-24T14:15:22Z",
10 "createdByLike": "string",
11 "createdByEqual": "string",
12 "modifiedAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
13 "modifiedAtLessThanOrEqual": "2019-08-24T14:15:22Z",
14 "modifiedByLike": "string",
15 "modifiedByEqual": "string",
16 "documentIdIn": [
17 0
18 ],
19 "documentIdEqual": 0,
20 "entityIdIn": [
21 0
22 ],
23 "entityIdEqual": 0,
24 "entityTypeIn": [
25 "INVOICE"
26 ],
27 "entityTypeEqual": "INVOICE",
28 "filenameLike": "string"
29 },
30 "pageable": {
31 "page": 0,
32 "size": 1,
33 "sort": [
34 "string"
35 ]
36 }
37}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "totalPages": 0,
3 "totalElements": 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 "filename": "string",
22 "mimeType": "string",
23 "fileSize": 0,
24 "hash": "string"
25 }
26 ],
27 "number": 0,
28 "sort": {
29 "unsorted": true,
30 "sorted": true,
31 "empty": true
32 },
33 "first": true,
34 "last": true,
35 "empty": true
36}
Advanced Goods Receipt Search¶
HTTP Request
POST /api/v1/goods-receipt/advanced-search
📋 Description: Full-text / multi-field search with faceting. Applies company-access and vendor-access filtering.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
page |
query |
integer |
false |
Zero-based page index (0..N) |
size |
query |
integer |
false |
The size of the page to be returned |
sort |
query |
array[string] |
false |
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
body |
body |
true |
Request body containing advanced search criteria for goods receipt, including filters such as date range, supplier information, and item details to facilitate efficient inventory management. |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
sort |
|
query |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1 |
Body Parameters
1{
2 "facets": [
3 "ID"
4 ],
5 "facetSelections": {
6 "property1": [
7 "string"
8 ],
9 "property2": [
10 "string"
11 ]
12 },
13 "aggregations": {
14 "property1": {
15 "type": "TERMS",
16 "field": "ID",
17 "size": 0,
18 "missing": "string"
19 },
20 "property2": {
21 "type": "TERMS",
22 "field": "ID",
23 "size": 0,
24 "missing": "string"
25 }
26 },
27 "filter": {
28 "operator": "AND",
29 "children": [
30 {}
31 ],
32 "field": "ID",
33 "comparison": "EQUAL",
34 "value": "string",
35 "values": [
36 "string"
37 ],
38 "from": "string",
39 "to": "string"
40 }
41}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "results": [
3 {
4 "id": 0,
5 "displayId": "string",
6 "state": "INV_DRAFT",
7 "receivingDate": "2019-08-24",
8 "notes": "string",
9 "vendor": {
10 "id": 0,
11 "displayId": "string",
12 "status": "CREATED",
13 "name": "string",
14 "erpSystemDisplayId": "string"
15 },
16 "company": {
17 "id": 0,
18 "displayId": "string",
19 "status": "CREATED",
20 "erpSystemId": 0,
21 "erpSystemDisplayId": "string",
22 "countryId": 0,
23 "countryDisplayId": "string",
24 "name": "string",
25 "postingPeriodVariantId": 0,
26 "fiscalVariantId": 0
27 },
28 "packingSlipId": "string",
29 "goodsReceiptLineItems": [
30 {
31 "id": 0,
32 "displayId": "string",
33 "quantity": 0,
34 "invoicedQuantity": 0,
35 "description": "string",
36 "expenseCategory": {
37 "id": 0,
38 "displayId": "string",
39 "status": "CREATED",
40 "name": "string",
41 "expenseCategoryType": "PAYMENT"
42 },
43 "goodsReceiptId": 0,
44 "goodsReceiptDisplayId": "string",
45 "goodsReceiptState": "INV_DRAFT",
46 "purchaseOrderLineItemId": 0,
47 "invoiceLineItemLinks": [
48 {
49 "id": 0,
50 "fromId": 0,
51 "toId": 0,
52 "linkedQuantity": 0
53 }
54 ],
55 "availableQuantity": 0,
56 "allowsSystemGenerateNewId": true,
57 "numberRangeIdentifierValue": "string",
58 "numberRangeIdentifierType": {
59 "name": "string"
60 },
61 "numberRangeType": {
62 "name": "string"
63 }
64 }
65 ],
66 "purchaseOrderIds": [
67 0
68 ],
69 "purchaseOrderDisplayIds": [
70 "string"
71 ],
72 "invoiceIds": [
73 0
74 ],
75 "invoiceDisplayIds": [
76 "string"
77 ],
78 "allowsSystemGenerateNewId": true,
79 "numberRangeIdentifierValue": "string",
80 "numberRangeIdentifierType": {
81 "name": "string"
82 },
83 "numberRangeType": {
84 "name": "string"
85 }
86 }
87 ],
88 "facets": {
89 "property1": {},
90 "property2": {}
91 },
92 "aggregations": {
93 "property1": {},
94 "property2": {}
95 },
96 "pagination": {
97 "number": 0,
98 "size": 0,
99 "totalElements": 0,
100 "totalPages": 0,
101 "first": true,
102 "last": true,
103 "empty": true,
104 "numberOfElements": 0
105 }
106}
List All Resources¶
HTTP Request
GET /api/v1/goods-receipt
📋 Description: Returns a paginated list of all accessible resources ordered by ID. Prefer POST /search for filtered queries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the goods receipt retrieval should be paginated, enhancing the efficiency of data retrieval in large datasets. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "totalPages": 0,
3 "totalElements": 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 "displayId": "string",
22 "state": "INV_DRAFT",
23 "receivingDate": "2019-08-24",
24 "notes": "string",
25 "vendor": {
26 "id": 0,
27 "displayId": "string",
28 "status": "CREATED",
29 "name": "string",
30 "erpSystemDisplayId": "string"
31 },
32 "company": {
33 "id": 0,
34 "displayId": "string",
35 "status": "CREATED",
36 "erpSystemId": 0,
37 "erpSystemDisplayId": "string",
38 "countryId": 0,
39 "countryDisplayId": "string",
40 "name": "string",
41 "postingPeriodVariantId": 0,
42 "fiscalVariantId": 0
43 },
44 "packingSlipId": "string",
45 "goodsReceiptLineItems": [
46 {
47 "id": 0,
48 "displayId": "string",
49 "quantity": 0,
50 "invoicedQuantity": 0,
51 "description": "string",
52 "expenseCategory": {
53 "id": 0,
54 "displayId": "string",
55 "status": "CREATED",
56 "name": "string",
57 "expenseCategoryType": "PAYMENT"
58 },
59 "goodsReceiptId": 0,
60 "goodsReceiptDisplayId": "string",
61 "goodsReceiptState": "INV_DRAFT",
62 "purchaseOrderLineItemId": 0,
63 "invoiceLineItemLinks": [
64 {
65 "id": 0,
66 "fromId": 0,
67 "toId": 0,
68 "linkedQuantity": 0
69 }
70 ],
71 "availableQuantity": 0,
72 "allowsSystemGenerateNewId": true,
73 "numberRangeIdentifierValue": "string",
74 "numberRangeIdentifierType": {
75 "name": "string"
76 },
77 "numberRangeType": {
78 "name": "string"
79 }
80 }
81 ],
82 "purchaseOrderIds": [
83 0
84 ],
85 "purchaseOrderDisplayIds": [
86 "string"
87 ],
88 "invoiceIds": [
89 0
90 ],
91 "invoiceDisplayIds": [
92 "string"
93 ],
94 "allowsSystemGenerateNewId": true,
95 "numberRangeIdentifierValue": "string",
96 "numberRangeIdentifierType": {
97 "name": "string"
98 },
99 "numberRangeType": {
100 "name": "string"
101 }
102 }
103 ],
104 "number": 0,
105 "sort": {
106 "unsorted": true,
107 "sorted": true,
108 "empty": true
109 },
110 "first": true,
111 "last": true,
112 "empty": true
113}
Create A Resource¶
HTTP Request
POST /api/v1/goods-receipt
📋 Description: Creates a single resource. Returns the created resource with its generated ID.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the details of the goods receipt, including item specifications, quantities, and associated supplier information for inventory management. |
Body Parameters
1{
2 "id": 0,
3 "displayId": "string",
4 "state": "INV_DRAFT",
5 "receivingDate": "2019-08-24",
6 "notes": "string",
7 "vendor": {
8 "id": 0,
9 "displayId": "string",
10 "status": "CREATED",
11 "name": "string",
12 "erpSystemDisplayId": "string"
13 },
14 "company": {
15 "id": 0,
16 "displayId": "string",
17 "status": "CREATED",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "countryId": 0,
21 "countryDisplayId": "string",
22 "name": "string",
23 "postingPeriodVariantId": 0,
24 "fiscalVariantId": 0
25 },
26 "packingSlipId": "string",
27 "goodsReceiptLineItems": [
28 {
29 "id": 0,
30 "displayId": "string",
31 "quantity": 0,
32 "invoicedQuantity": 0,
33 "description": "string",
34 "expenseCategory": {
35 "id": 0,
36 "displayId": "string",
37 "status": "CREATED",
38 "name": "string",
39 "expenseCategoryType": "PAYMENT"
40 },
41 "goodsReceiptId": 0,
42 "goodsReceiptDisplayId": "string",
43 "goodsReceiptState": "INV_DRAFT",
44 "purchaseOrderLineItemId": 0,
45 "invoiceLineItemLinks": [
46 {
47 "id": 0,
48 "fromId": 0,
49 "toId": 0,
50 "linkedQuantity": 0
51 }
52 ],
53 "allowsSystemGenerateNewId": true,
54 "numberRangeIdentifierValue": "string",
55 "numberRangeIdentifierType": {
56 "name": "string"
57 },
58 "numberRangeType": {
59 "name": "string"
60 }
61 }
62 ],
63 "purchaseOrderIds": [
64 0
65 ],
66 "purchaseOrderDisplayIds": [
67 "string"
68 ],
69 "invoiceIds": [
70 0
71 ],
72 "invoiceDisplayIds": [
73 "string"
74 ],
75 "allowsSystemGenerateNewId": true,
76 "numberRangeIdentifierValue": "string",
77 "numberRangeIdentifierType": {
78 "name": "string"
79 },
80 "numberRangeType": {
81 "name": "string"
82 }
83}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
||
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "source": {},
8 "errorMessage": "string",
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "displayId": "string",
17 "state": "INV_DRAFT",
18 "receivingDate": "2019-08-24",
19 "notes": "string",
20 "vendor": {
21 "id": 0,
22 "displayId": "string",
23 "status": "CREATED",
24 "name": "string",
25 "erpSystemDisplayId": "string"
26 },
27 "company": {
28 "id": 0,
29 "displayId": "string",
30 "status": "CREATED",
31 "erpSystemId": 0,
32 "erpSystemDisplayId": "string",
33 "countryId": 0,
34 "countryDisplayId": "string",
35 "name": "string",
36 "postingPeriodVariantId": 0,
37 "fiscalVariantId": 0
38 },
39 "packingSlipId": "string",
40 "goodsReceiptLineItems": [
41 {
42 "id": 0,
43 "displayId": "string",
44 "quantity": 0,
45 "invoicedQuantity": 0,
46 "description": "string",
47 "expenseCategory": {
48 "id": 0,
49 "displayId": "string",
50 "status": "CREATED",
51 "name": "string",
52 "expenseCategoryType": "PAYMENT"
53 },
54 "goodsReceiptId": 0,
55 "goodsReceiptDisplayId": "string",
56 "goodsReceiptState": "INV_DRAFT",
57 "purchaseOrderLineItemId": 0,
58 "invoiceLineItemLinks": [
59 {
60 "id": 0,
61 "fromId": 0,
62 "toId": 0,
63 "linkedQuantity": 0
64 }
65 ],
66 "availableQuantity": 0,
67 "allowsSystemGenerateNewId": true,
68 "numberRangeIdentifierValue": "string",
69 "numberRangeIdentifierType": {
70 "name": "string"
71 },
72 "numberRangeType": {
73 "name": "string"
74 }
75 }
76 ],
77 "purchaseOrderIds": [
78 0
79 ],
80 "purchaseOrderDisplayIds": [
81 "string"
82 ],
83 "invoiceIds": [
84 0
85 ],
86 "invoiceDisplayIds": [
87 "string"
88 ],
89 "allowsSystemGenerateNewId": true,
90 "numberRangeIdentifierValue": "string",
91 "numberRangeIdentifierType": {
92 "name": "string"
93 },
94 "numberRangeType": {
95 "name": "string"
96 }
97 }
98}
Get Workflow State History For A Goods Receipt¶
HTTP Request
GET /api/v1/goods-receipt/{goodsReceiptId}/state-history
📋 Description: Returns the ordered list of state transitions the goods receipt has gone through.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
goodsReceiptId |
path |
integer(int64) |
true |
Unique identifier for the goods receipt |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
|
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1[
2 {
3 "id": 0,
4 "success": true,
5 "failedMessage": "string",
6 "warningMessage": "string",
7 "fromState": "string",
8 "event": "string",
9 "comment": "string",
10 "goodsReceiptRejectionReason": {
11 "id": 0,
12 "displayId": "string"
13 },
14 "goodsReceiptId": 0
15 }
16]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing the historical state changes of goods receipts, capturing essential metadata and timestamps for tracking the lifecycle of inventory transactions within the supply chain.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» success |
boolean |
false |
none |
Indicates whether the goods receipt process was successfully completed, reflecting the operational efficiency of inventory management. |
» failedMessage |
string |
false |
none |
Contains a detailed message describing the reason for the failure in the goods receipt process, aiding in troubleshooting and resolution. |
» warningMessage |
string |
false |
none |
Contains a descriptive message indicating any warnings related to the state history of the goods receipt process. |
» fromState |
string |
false |
none |
Represents the previous state of the goods receipt, providing a historical context for tracking changes in the goods receipt process. |
» event |
string |
false |
none |
Describes the specific event associated with the goods receipt state change, providing essential context for tracking inventory movements. |
» comment |
string |
false |
none |
Textual feedback or remarks associated with the goods receipt state history, providing context for changes in status. |
» goodsReceiptRejectionReason |
false |
none |
BaseId is a foundational data object that serves as a unique identifier for various entities within the system, ensuring consistent tracking and management across business processes. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» displayId |
string |
false |
none |
Unique identifier for the display |
» goodsReceiptId |
integer(int64) |
false |
none |
Unique identifier for the goods receipt |
Check Whether A Goods Receipt Is Marked As Favourite By The Current User¶
HTTP Request
GET /api/v1/goods-receipt/{goodsReceiptId}/is-favorite
📋 Description: Check whether a goods receipt is marked as favourite by the current user
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
goodsReceiptId |
path |
integer(int64) |
true |
Unique identifier for the goods receipt |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
boolean |
|
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1true
Get Recently Viewed Goods Receipts For The Current User¶
HTTP Request
GET /api/v1/goods-receipt/recents
📋 Description: Get recently viewed goods receipts for the current user
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
|
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1[
2 {
3 "internalId": "string",
4 "foreignId": "string",
5 "objectType": "string",
6 "recentType": "VIEWED",
7 "username": "string",
8 "lastAccess": "2019-08-24T14:15:22Z"
9 }
10]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing the most recent model utilized in predictive analytics, encapsulating key attributes and performance metrics to support informed decision-making in business strategy.] |
|
» internalId |
string |
false |
none |
Unique identifier for the internal |
» foreignId |
string |
false |
none |
Unique identifier for the foreign |
» objectType |
string |
false |
none |
Type of the object |
» recentType |
string |
false |
none |
Type of the recent |
» username |
string |
false |
none |
Represents the unique identifier for a user within the system, facilitating user management and authentication processes. |
» lastAccess |
string(date-time) |
false |
none |
Timestamp indicating the most recent access to the resource, facilitating tracking of user engagement and system utilization. |
Enumerated Values
Attribute |
Value |
|---|---|
recentType |
APPROVED, CLOSED, MODIFIED, VIEWED |
Get All Goods Receipts Marked As Favourite By The Current User¶
HTTP Request
GET /api/v1/goods-receipt/favorites
📋 Description: Get all goods receipts marked as favourite by the current user
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
|
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1[
2 {
3 "internalId": "string",
4 "foreignId": "string",
5 "objectType": "string",
6 "username": "string",
7 "sequenceNumber": 0,
8 "createdAt": "2019-08-24T14:15:22Z"
9 }
10]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing a user’s preferred items within the application, facilitating personalized experiences and enhancing user engagement.] |
|
» internalId |
string |
false |
none |
Unique identifier for the internal |
» foreignId |
string |
false |
none |
Unique identifier for the foreign |
» objectType |
string |
false |
none |
Type of the object |
» username |
string |
false |
none |
Represents the unique username associated with a user in the system, facilitating user identification and access management. |
» sequenceNumber |
integer(int32) |
false |
none |
Sequential identifier for the favorite items, ensuring a consistent order within the user’s preferences. |
» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
Delete A User Link From A Goods Receipt¶
HTTP Request
DELETE /api/v1/goods-receipt/link/{linkId}
📋 Description: Delete a user link from a goods receipt
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
linkId |
path |
integer(int64) |
true |
Link ID |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
|
409 |
Payment amount exceeds remaining invoice balance |
||
502 |
Downstream service call failed |
Example Responses
1{
2 "errorCode": "string",
3 "balances": [
4 {
5 "id": 0,
6 "displayId": "string",
7 "invoiceId": 0,
8 "invoiceDisplayId": "string",
9 "invoiceLineItemId": 0,
10 "invoiceLineItemDisplayId": "string",
11 "invoiceLineItemDescription": "string",
12 "expenseCategory": {
13 "id": 0,
14 "displayId": "string",
15 "name": "string"
16 },
17 "totalNetAmount": 0,
18 "totalTaxAmount": 0,
19 "reservedNetAmount": 0,
20 "reservedTaxAmount": 0,
21 "remainingTotalAmount": 0,
22 "remainingNetAmount": 0,
23 "remainingTaxAmount": 0,
24 "allowsSystemGenerateNewId": true,
25 "numberRangeIdentifierValue": "string",
26 "numberRangeIdentifierType": {
27 "name": "string"
28 },
29 "numberRangeType": {
30 "name": "string"
31 }
32 }
33 ]
34}