Create asset cost
create_asset_costCreate a new asset cost entry - the record type shown on the AssetLab "Expenses" page. Requires asset_costs:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Cost amount (required) | |
| site_id | No | Site ID | |
| asset_id | No | Asset ID | |
| category | Yes | Cost category (required) | |
| cost_date | Yes | Cost date (ISO 8601, required) | |
| po_number | No | Purchase order number (free text) | |
| building_id | No | Building ID | |
| description | No | Description | |
| work_order_id | No | Work order ID | |
| invoice_number | No | Invoice number (free text) | |
| purchase_order_id | No | Purchase order that paid this cost - resolve via list_purchase_orders. Counts against the order's remaining balance unless the cost belongs to a work order. |