<GoodsReceipt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- (string, 100) Order number --> <OrderNumber>PO-18-BW00-00003</OrderNumber> <!-- (string, 100) Goods receipt document number in the system from which it is being imported. Min 2 chars. --> <ExtGRNumber>GR123652138</ExtGRNumber> <!-- (string, 100, optional) P2P company code for buyer organisation unit. Either 'organizationUnitCode' or 'organizationIdentifier' is required. --> <OrganizationUnitCode>BE100</OrganizationUnitCode> <!-- (string, 50, optional) P2P company identifier for buyer organisation unit. Either 'organizationUnitCode' or 'organizationIdentifier' is required. --> <OrganizationIdentifier>3705925424</OrganizationIdentifier> <!-- (dateTime, optional) Date on which goods have been received. --> <ReceiveDateTime>2020-10-24T00:00:00</ReceiveDateTime> <!-- (string, 320) Email address. --> <ReceiverEmail>emailaddress@company.com</ReceiverEmail> <GoodsReceiptLines> <GoodsReceiptLine> <!-- (integer) Line number of the order line for which goods/services are being received. --> <OrderLineNumber>1</OrderLineNumber> <!-- (decimal) Quantity received. Only one of fields 'receivedQuantity', 'receivedNetSum', 'receivedGrossSum' must have a value. The field which has a value specifies whether the receival has been done by quantity, net sum or gross sum. Same receival method needs to be used for all goods receipts done to the same order line. If the first goods receipt has been done through P2P Purchase UI, that will determine the receival method expected on any future goods receipts (also those imported through API). If all the previous goods receipts done to the order row have been reversed, then the receival method can be chosen again. Use a negative value if you are reversing a previous GR line.  --> <ReceivedQuantity>1</ReceivedQuantity> <!-- (decimal) Net sum received. Only one of fields 'receivedQuantity', 'receivedNetSum', 'receivedGrossSum' must have a value. The field which has a value specifies whether the receival has been done by quantity, net sum or gross sum. Same receival method needs to be used for all goods receipts done to the same order line. If the first goods receipt has been done through P2P Purchase UI, that will determine the receival method expected on any future goods receipts (also those imported through API). If all the previous goods receipts done to the order row have been reversed, then the receival method can be chosen again. Use a negative value if you are reversing a previous GR line.  --> <ReceivedNetSum></ReceivedNetSum> <!-- (decimal) Gross sum received. Only one of fields 'receivedQuantity', 'receivedNetSum', 'receivedGrossSum' must have a value. The field which has a value specifies whether the receival has been done by quantity, net sum or gross sum. Same receival method needs to be used for all goods receipts done to the same order line. If the first goods receipt has been done through P2P Purchase UI, that will determine the receival method expected on any future goods receipts (also those imported through API). If all the previous goods receipts done to the order row have been reversed, then the receival method can be chosen again. Use a negative value if you are reversing a previous GR line.  --> <ReceivedGrossSum></ReceivedGrossSum> <!-- (string, 250, optional) Internal goods receipt number used to identify which document to reverse --> <ReferenceGRNumber></ReferenceGRNumber> <!-- (string, 100, optional) External goods receipt number used to identify which document to reverse --> <ReferenceExtGRNumber></ReferenceExtGRNumber> <!-- (string, 100, optional) Reference to the delivery note this delivery relates to. --> <DeliveryNoteNumber>D128735871</DeliveryNoteNumber> <!-- (string, 250, optional) Product serial number. Generally used with goods receipt cancellations. --> <ProductSerialNumber></ProductSerialNumber> <!-- Comment related to the goods receipt --> <Comment>Comment one</Comment> <!-- Can be used to flag faulty delivered products. Available values: True / false. --> <NotifyFault>True</NotifyFault> </GoodsReceiptLine> </GoodsReceiptLines> </GoodsReceipt>