Add-BillingType
- 1 Minute to read
- Print
- DarkLight
- PDF
Add-BillingType
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Creates a new billing type.
Add-BillingType
-Entry
Returns a billing type object.
Parameters
Parameter | Type | Required? | Notes |
---|---|---|---|
Entry | Billing Type Object | Yes |
Examples
Create a new billing type
# 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:
Billing type 230 (Everlaw Hosting (Tier 1)) was created