GRN
idstring<uuid>nullable
Unique identifier for the GRN. When creating or updating the object this field can be null or omitted.
Example:
123e4567-e89b-12d3-a456-426614174001datestring<date>required
The ISO formatted date, for example, '2024-12-14'
Example:
2024-12-14hasAttachmentboolean
Flag indicating whether this GRN has an attachment
Example:
truereferencestringrequired
Reference identifier for the GRN
Example:
GRN-001receivedItems object[]required
Items received in this GRN
Array [
idstring<uuid>nullable
Unique identifier for the received item. When creating the object this field can be null or omitted.
Example:
123e4567-e89b-12d3-a456-426614174101lineItemIdstring<uuid>
Reference to the purchase order line item
Example:
123e4567-e89b-12d3-a456-426614174201quantitynumberrequired
Quantity of items received
Example:
10notesstringnullable
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",
"lineItemId": "123e4567-e89b-12d3-a456-426614174201",
"quantity": 10,
"notes": "Partial delivery"
}
]
}