Error
A valid request URL is required to generate request examples{
"id": 123,
"project_id": 123,
"purchase_order_item": {
"id": 123,
"description": "<string>",
"match_type": "two_way",
"purchase_order": {
"id": 123,
"label": "<string>"
}
},
"received_quantity": "400.00",
"received_at": "2023-12-25",
"attachments": [
{
"id": 123,
"filename": "<string>",
"content_type": "application/pdf",
"byte_size": 123,
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": 123,
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"notes": "<string>",
"inspection": {
"id": 123,
"accepted_quantity": "<string>",
"rejected_quantity": "<string>",
"inspected_at": "2023-12-25",
"notes": "<string>",
"attachments": [
{
"id": 123,
"filename": "<string>",
"content_type": "application/pdf",
"byte_size": 123,
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": 123,
"deleted_at": "2023-11-07T05:31:56Z"
}
]
},
"created_by_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}GoodsReceiptItem
Create goods receipt item
Records a delivery against a 3-way or 4-way item of an open purchase order.
POST
/
goods_receipt_items
Error
A valid request URL is required to generate request examples{
"id": 123,
"project_id": 123,
"purchase_order_item": {
"id": 123,
"description": "<string>",
"match_type": "two_way",
"purchase_order": {
"id": 123,
"label": "<string>"
}
},
"received_quantity": "400.00",
"received_at": "2023-12-25",
"attachments": [
{
"id": 123,
"filename": "<string>",
"content_type": "application/pdf",
"byte_size": 123,
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": 123,
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"notes": "<string>",
"inspection": {
"id": 123,
"accepted_quantity": "<string>",
"rejected_quantity": "<string>",
"inspected_at": "2023-12-25",
"notes": "<string>",
"attachments": [
{
"id": 123,
"filename": "<string>",
"content_type": "application/pdf",
"byte_size": 123,
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": 123,
"deleted_at": "2023-11-07T05:31:56Z"
}
]
},
"created_by_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Body
application/json
Records a delivery (or confirmed work) against a 3-way or 4-way item of an open purchase order. The total received, net of rejected quantity, can't exceed the ordered quantity plus its quantity tolerance. The receipt takes the purchase order item's project.
Response
Created