Error
A valid request URL is required to generate request examples{
"projects": [
{
"id": 123,
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
],
"items": [
{
"baseline_item_id": 123,
"project_id": 123,
"identifier": "<string>",
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
],
"project_item_documents": [
{
"column_slug": "<string>",
"column_name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
]
}
]
}ProcurementAttachment
Files that can be copied onto a supplier invoice
Like a purchase order’s: the invoice lines’ projects, and the baseline rows of its lines and of the order lines they bill. Needs supplier_invoices_manage.
GET
/
supplier_invoices
/
{supplier_invoice_id}
/
related_documents
Error
A valid request URL is required to generate request examples{
"projects": [
{
"id": 123,
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
],
"items": [
{
"baseline_item_id": 123,
"project_id": 123,
"identifier": "<string>",
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
],
"project_item_documents": [
{
"column_slug": "<string>",
"column_name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
]
}
]
}Response
200 - application/json
OK
What can be copied onto a purchase order or supplier invoice — only sources of its own lines.