--- title: "Add-BillingType" slug: "scripting-add-billingtype" tags: ["Enterprise Only"] updated: 2025-07-16T16:24:29Z published: 2025-07-16T16:24:29Z canonical: "help.agilityblue.com/scripting-add-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. # Add-BillingType ## Summary Creates a new billing type. ```powershell Add-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 create as a new entry. | ## Examples ### Create a new billing type ```powershell # Create a billing type object $billingType = @{    Description         = "Everlaw Hosting (Tier 1)"    BillingCode         = "EH-T1"    Category            = "Hosting"    UnitName            = "GB"    StandardUnitPrice   = 5.00    DateIsRequired      = $true    NarrativeIsRequired = $false    IsVisible           = $true } # Pass the billing type object to the Add-BillingType command to create the entry $createdBillingType = Add-BillingType -Entry $billingType # Use Write-Output to log the execution results Write-Output "Billing type $($createdBillingType.BillingTypeId) ($($createdBillingType.Description)) was created" ``` Results of executing the script: ```plaintext Billing type 230 (Everlaw Hosting (Tier 1)) was created ```