--- title: "Set-BillingType" slug: "scripting-set-billingtype" tags: ["Enterprise Only"] updated: 2026-01-20T20:21:16Z published: 2026-01-20T20:21:16Z canonical: "help.agilityblue.com/scripting-set-billingtype" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Set-BillingType ## Summary Updates an existing billing type. ```powershell Set-BillingType    -Entry ``` Returns a [billing type](https://apidocs.agilityblue.com/#3844386f-3e3c-485f-965e-4e1687cfc841) object. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Entry | [Billing Type](https://apidocs.agilityblue.com/#3844386f-3e3c-485f-965e-4e1687cfc841) Object | Yes | The billing type object to update for an existing entry. | ## Examples ### Update an existing billing type ```powershell # Retrieve an existing billing type using the Get-BillingType cmdlet $billingType = Get-BillingType -Id 230 # Change some properties $billingType.StandardUnitPrice = 4.50 $billingType.NarrativeIsRequired = $true # Update the billing type using the Set-BillingType cmdlet $updatedBillingType = Set-BillingType $billingType # Output a message to the execution log Write-Output "Updated billing type $($updatedBillingType.BillingTypeId) ($($updatedBillingType.Description))"Results of the script: ``` ```plaintext Updated billing type 230 (Everlaw Hosting (Tier 1)) ```