Goods Receipt

Create goods receipt for purchase order

Changed on

Creates a new goods receipt for a purchase order.

post/api/v1/purchaseOrders/{id}/goodsReceipts

Request

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Request body

datestring date
deliveryNoteNumberstring

Number of the supplier's delivery note enclosed with the parcel.

invoiceNumberstring

Number of the supplier's invoice enclosed with the parcel.

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