GRN
iduuidnullable
Unique identifier for the GRN. When creating or updating the object this field can be null or omitted.
Example:
123e4567-e89b-12d3-a456-426614174001
datedaterequired
The ISO formatted date, for example, '2024-12-14'
Example:
2024-12-14
hasAttachmentboolean
Flag indicating whether this GRN has an attachment
Example:
true
referencestringrequired
Reference identifier for the GRN
Example:
GRN-001
receivedItems object[]required
Items received in this GRN
Array [
iduuidnullable
Unique identifier for the received item. When creating the object this field can be null or omitted.
Example:
123e4567-e89b-12d3-a456-426614174101
purchaseOrderLineItemIduuidrequired
Reference to the purchase order line item
Example:
123e4567-e89b-12d3-a456-426614174201
quantitynumberrequired
Quantity of items received
Example:
10
notesstringnullable
Optional notes for this received item
Example:
Partial delivery
]
GRN
{
"id": "123e4567-e89b-12d3-a456-426614174001",
"date": "2024-12-14",
"hasAttachment": true,
"reference": "GRN-001",
"receivedItems": [
{
"id": "123e4567-e89b-12d3-a456-426614174101",
"purchaseOrderLineItemId": "123e4567-e89b-12d3-a456-426614174201",
"quantity": 10,
"notes": "Partial delivery"
}
]
}