Error
A valid request URL is required to generate request examples{
"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"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}ProcurementAttachment
Attach a file to a purchase order
Uploads one file (PDF, image, Word, Excel or CSV, up to 25 MB, at most 20 per document). Allowed in any status except voided; on an issued order it writes a new revision.
POST
/
purchase_orders
/
{purchase_order_id}
/
attachments
Error
A valid request URL is required to generate request examples{
"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"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Response
Created
A file attached to a procurement document (purchase order, supplier invoice, goods receipt or inspection), a project or a baseline row.