Create Direct Cost Line Item
create_direct_cost_line_itemAdd a line item to an existing direct cost in Procore. Automatically creates a budget line item for non-budgeted items.
Instructions
Create a new Direct Cost Line Item. This action does not support concurrent requests. If there is an attempt to create a Direct Cost Line Item that belongs to a Direct Cost which is being updated or deleted by another request, a 409 Conflict error will be returned. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality. Use this to create a new Direct Costs in Procore. Creates a new Direct Costs and returns the created object on success (HTTP 201). Required parameters: project_id, direct_cost_id. Procore API: Construction Financials > Direct Costs. Endpoint: POST /rest/v1.0/projects/{project_id}/direct_costs/{direct_cost_id}/line_items
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| direct_cost_id | No | JSON request body field — unique identifier of the direct cost | |
| amount | No | JSON request body field — the amount for this Direct Costs operation | |
| wbs_code_id | No | JSON request body field — unique identifier of the wbs code | |
| cost_code_id | No | JSON request body field — unique identifier of the cost code | |
| description | No | JSON request body field — the description for this Direct Costs operation | |
| extended_type | No | JSON request body field — calculated amount from quantity and unit cost or manually entered amount | |
| quantity | No | JSON request body field — quantity of described item | |
| line_item_type_id | No | JSON request body field — unique identifier of the line item type | |
| origin_data | No | JSON request body field — the origin data for this Direct Costs operation | |
| origin_id | No | JSON request body field — unique identifier of the origin | |
| unit_cost | No | JSON request body field — unit cost of described item | |
| uom | No | JSON request body field — unit of measure of the described item | |
| tax_code_id | No | JSON request body field — unique identifier of the tax code |