Create Direct Cost Item
create_direct_cost_itemCreate a direct cost item in a Procore project with project_id and direct_cost parameters. Supports up to 100 line items per request and returns the new item with its ID.
Instructions
Create a new Direct Cost Item in the specified Project. The number of Line Items that can be sent in a single create request is limited to 100. project_id defaults to the value set by procore_set_config when omitted. Creates the direct cost item and returns it with its new id (HTTP 201); calling it again creates another record. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, direct_cost. Procore API (v1.1): Construction Financials > Project Level Direct Costs. Endpoint: POST /rest/v1.1/projects/{project_id}/direct_costs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| attachments | No | JSON request body field — direct Cost Item attachments. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-data together with `attachments[]` as... | |
| direct_cost | Yes | JSON request body field — direct Cost Item object |