Goods Receipt
Create goods receipt for purchase order
Changed onCreates a new goods receipt for a purchase order.
post/api/v1/purchaseOrders/{id}/goodsReceipts
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Resource identifier.
Example:17
The resource's identifier.
Request body
Example request
{
"date": "2024-09-24",
"deliveryNoteNumber": "LS-2024-001",
"invoiceNumber": "RE-2024-001",
"positions": [
{
"product": {
"id": "product-1"
},
"quantity": 10,
"purchaseOrderPosition": {
"id": "purchase-order-position-1"
},
"stockMovements": [
{
"quantity": 5,
"warehouse": {
"id": "warehouse-1"
},
"storageLocation": {
"id": "storage-location-1"
},
"qualityControlAttributes": {
"batch": "BATCH-1234",
"bestBeforeDate": "2025-12-31",
"serialNumbers": [
{
"number": "SN-123456"
}
]
}
}
]
}
]
}Response
Resource successfully created response
Changes
- info
added the new optional request property
- info
added the new optional request property
- info