A billing price list entry contains the pricing for a single item within a specified billing price list. A contract specifies a billing price list, and items from contract lines are priced according to the associated price list.
Returns up to 100 object references from the collection with a key, ID, and link for each entry. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "300",
- "id": "300",
- "href": "/objects/contracts/billing-price-list-entry/300"
}, - {
- "key": "296",
- "id": "296",
- "href": "/objects/contracts/billing-price-list-entry/296"
}, - {
- "key": "298",
- "id": "298",
- "href": "/objects/contracts/billing-price-list-entry/298"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new billing price list entry.
Billing price list entry to create
required | object Billing price list that the entry belongs to. | ||||||||||||
| |||||||||||||
required | object The item that this price list entry is for. | ||||||||||||
| |||||||||||||
priceType required | string or null Price type.
Example: "range" | ||||||||||||
variableUnitDivisor required | string Variable unit divisor to apply to all lines. This field is only applicable if Example: "1000" | ||||||||||||
object | |||||||||||||
| |||||||||||||
flatAmountFrequency | string or null How often the
Example: "oneTime" | ||||||||||||
usageQuantityResetPeriod | string or null Default: "afterEachRenewal" Indicates when the usage quantity should be reset to 0 to start the pricing structure over. On quantity-based evergreen contract lines, this field defaults to Example: "afterEachRenewal" | ||||||||||||
roundingType | string or null Default: "standard" Indicate how you want the total usage to be rounded after the total usage quantity is divided by the Example: "standard" | ||||||||||||
isQuantityRecurring | boolean Default: false Indicates whether the quantity is recurring. Example: false | ||||||||||||
tieredPricingType | string Default: "volume" Tiered pricing type.
This field is only applicable if Example: "step" | ||||||||||||
Array of objects Billing price list entry lines. | |||||||||||||
Array
| |||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "status": "active",
- "billingPriceList": {
- "key": "1"
}, - "item": {
- "id": "SUBPACKPROJ"
}, - "currency": {
- "txnCurrency": "CAD"
}, - "priceType": "tiered",
- "flatAmountFrequency": "useBillingTemplate",
- "variableUnitDivisor": "1",
- "usageQuantityResetPeriod": "afterEachRenewal",
- "isQuantityRecurring": false,
- "tieredPricingType": "volume",
- "lines": [
- {
- "startDate": "2015-01-01",
- "flatAmount": "5900.00",
- "variableUnitRate": "1",
- "includedUnits": "1000",
- "tiers": [
- {
- "beginQuantity": "0",
- "tierRate": "49"
}, - {
- "beginQuantity": "10001",
- "tierRate": "129"
}, - {
- "beginQuantity": "30000",
- "tierRate": "150"
}
]
}, - {
- "billingPriceListEntry": {
- "id": "286"
}, - "startDate": "2015-06-01",
- "flatAmount": "5900.00",
- "variableUnitRate": "1",
- "includedUnits": "1000",
- "tiers": [
- {
- "beginQuantity": "0",
- "tierRate": "59"
}, - {
- "beginQuantity": "10001",
- "tierRate": "139"
}, - {
- "beginQuantity": "30000",
- "tierRate": "159"
}
]
}
]
}
{- "ia::result": {
- "key": "525",
- "id": "525",
- "href": "/objects/contracts/billing-price-list-entry/525"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified billing price list entry.
key required | string System-assigned unique key for the billing price list entry. Example: 425 |
OK
Bad Request
{- "ia::result": {
- "id": "477",
- "key": "477",
- "audit": {
- "createdDateTime": "2024-08-01T20:24:31Z",
- "modifiedDateTime": "2024-08-01T20:29:54Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "createdBy": "1",
- "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedBy": "1"
}, - "status": "active",
- "item": {
- "key": "2539",
- "id": "01",
- "name": "Text messages",
- "href": "/objects/inventory-control/item/2539"
}, - "billingPriceList": {
- "key": "26",
- "id": "UseCaseScenarios",
- "href": "/objects/contracts/billing-price-list/26"
}, - "currency": {
- "txnCurrency": "USD"
}, - "priceType": "range",
- "flatAmountFrequency": "includeWithEveryInvoice",
- "variableUnitDivisor": "1000",
- "roundingType": "standard",
- "usageQuantityResetPeriod": "afterEachInvoice",
- "isQuantityRecurring": false,
- "tieredPricingType": "volume",
- "lines": [
- {
- "id": "534",
- "key": "534",
- "billingPriceListEntry": {
- "id": "477",
- "key": "477",
- "href": "/objects/contracts/billing-price-list-entry/477"
}, - "startDate": "2015-01-01",
- "flatAmount": "10.00",
- "variableUnitRate": "3",
- "includedUnits": "-1000",
- "memo": null,
- "audit": {
- "createdDateTime": "2024-08-01T20:24:31Z",
- "modifiedDateTime": "2024-08-01T20:24:31Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "createdBy": "1",
- "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedBy": "1"
}, - "tiers": [ ],
- "href": "/objects/contracts/billing-price-list-entry-line/534"
}
], - "href": "/objects/contracts/billing-price-list-entry/477"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing billing price list entry by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the billing price list entry. Example: 425 |
object Billing price list that the entry belongs to. | |||||||||||||
| |||||||||||||
object | |||||||||||||
| |||||||||||||
priceType | string or null Price type.
Example: "range" | ||||||||||||
flatAmountFrequency | string or null How often the
Example: "oneTime" | ||||||||||||
usageQuantityResetPeriod | string or null Default: "afterEachRenewal" Indicates when the usage quantity should be reset to 0 to start the pricing structure over. On quantity-based evergreen contract lines, this field defaults to Example: "afterEachRenewal" | ||||||||||||
roundingType | string or null Default: "standard" Indicate how you want the total usage to be rounded after the total usage quantity is divided by the Example: "standard" | ||||||||||||
isQuantityRecurring | boolean Default: false Indicates whether the quantity is recurring. Example: false | ||||||||||||
variableUnitDivisor | string Variable unit divisor to apply to all lines. This field is only applicable if Example: "1000" | ||||||||||||
tieredPricingType | string Default: "volume" Tiered pricing type.
This field is only applicable if Example: "step" | ||||||||||||
object The item that this price list entry is for. | |||||||||||||
| |||||||||||||
Array of objects Billing price list entry lines. | |||||||||||||
Array
| |||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "status": "active",
- "currency": {
- "txnCurrency": "CAD"
}, - "priceType": "tiered",
- "flatAmountFrequency": "includeWithEveryInvoice",
- "variableUnitDivisor": "1",
- "roundingType": "standard",
- "usageQuantityResetPeriod": "afterEachInvoice",
- "isQuantityRecurring": true,
- "tieredPricingType": "step",
- "lines": [
- {
- "key": "572",
- "startDate": "2016-01-01",
- "flatAmount": "0",
- "variableUnitRate": "1",
- "includedUnits": "9",
- "memo": null,
- "tiers": [
- {
- "key": "121",
- "beginQuantity": "0",
- "tierRate": "850"
}
]
}
]
}
{- "ia::result": {
- "key": "525",
- "id": "525",
- "href": "/objects/contracts/billing-price-list-entry/525"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a billing price list entry.
key required | string System-assigned unique key for the billing price list entry. Example: 425 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Use the query service to find billing price list entries that meet certain criteria and to specify the properties that are returned.
OK
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}