# Replace estimate Fully replaces an existing Estimate. All fields must be provided. Endpoint: PUT /site/{siteId}/ahds/v1/estimate/{lineItemId} Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier - `lineItemId` (string, required) Estimate unique identifier (UUID) ## Request fields (application/json): - `description` (string, required) Human-readable description of the line item. - `extensions` (object, required) Vendor- or practice-specific extensions for the line item. - `lineSubtotal` (string, required) Subtotal for this line before tax, as a decimal string. Example: "100.00" - `lineTax` (string, required) Tax amount for this line, as a decimal string. Example: "100.00" - `lineTotal` (string, required) Total for this line including tax, as a decimal string. Example: "100.00" - `productId` (string, required) Identifier of the underlying product, service, or procedure, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `quantity` (number, required) Quantity of the item or service. - `sequence` (number, required) Display order of the line item within the estimate. - `taxRate` (number, required) Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%). - `unitPrice` (string, required) Unit price as a decimal string, in the estimate currency. Example: "100.00" ## Response 200 fields (application/json): - `description` (string, required) Human-readable description of the line item. - `extensions` (object, required) Vendor- or practice-specific extensions for the line item. - `lineItemId` (string, required) Canonical unique identifier for this estimate line item. Example: "123e4567-e89b-12d3-a456-426614174000" - `lineSubtotal` (string, required) Subtotal for this line before tax, as a decimal string. Example: "100.00" - `lineTax` (string, required) Tax amount for this line, as a decimal string. Example: "100.00" - `lineTotal` (string, required) Total for this line including tax, as a decimal string. Example: "100.00" - `productId` (string, required) Identifier of the underlying product, service, or procedure, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `quantity` (number, required) Quantity of the item or service. - `sequence` (number, required) Display order of the line item within the estimate. - `taxRate` (number, required) Tax rate applied to this line, expressed as a decimal fraction (e.g., 0.15 for 15%). - `unitPrice` (string, required) Unit price as a decimal string, in the estimate currency. Example: "100.00" ## Response 400 fields ## Response 401 fields ## Response 404 fields