Preview Bill
Preview the current Bill for a specific account.
This endpoint is designed to provide a preview of the Bill for exactly one account, allowing you to review charges, frequencies, and other details before finalization. Required parameters include:
- accountIds - exactly 1 account must be specified for previewing a Bill.
- billingFrequency
- billFrequencyInterval
Other request parameters are optional. If version is not specified, the latest version of the Bill is previewed.
Path parameters
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
Query parameters
Request body
Example request
{
"currencyConversions": [
{
"from": "EUR",
"to": "USD",
"multiplier": 1.12
}
],
"timezone": "UTC"
}Response
Returns the Bill preview
Example response
{
"timezone": "UTC",
"currencyConversions": [
{
"from": "EUR",
"to": "USD",
"multiplier": 1.12
}
]
}Changes
Changed in 6 of the 10 revisions of this API.22115
- ●
added the new
AD_HOCenum value to thelineItems/items/lineItemTyperesponse property for the response status200response-property-enum-value-added
- ○
added the optional property
statementStaleto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the response property
allOf[AbstractBillResponse]/allOf[AbstractResponse]/versionbecame optional for the status200response-property-became-optional
- ▲
the response property
allOf[AbstractResponse]/versionbecame optional for the status200response-property-became-optional
- ○
added the optional property
approvedByto the response with the200statusresponse-optional-property-added
- ○
added the optional property
dtApprovedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
dtLockedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lineItems/items/accountingProductCodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lineItems/items/accountingProductIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lineItems/items/accountingProductNameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lineItems/items/additionalto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lineItems/items/usagePerPricingBand/items/convertedBandSubtotalto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lockedByto the response with the200statusresponse-optional-property-added
This revision also has 53 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
lineItems/items/chargeIdto the response with the200statusresponse-optional-property-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
lineItems/items/groupto the response with the200statusresponse-optional-property-added
- ○
- ○
the
timezonerequest property default valueUTCwas addedrequest-property-default-value-added
- ○
the
timezoneresponse's property default valueUTCwas added for the status200response-property-default-value-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
accountCodefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
accountIdfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
billDatefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
billFrequencyIntervalfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
billJobIdfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
billingFrequencyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
createdDatefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
currencyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
currencyConversionsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
dueDatefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
endDatefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
endDateTimeUTCfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
lastCalculatedDatefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
lockedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
startDatefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
startDateTimeUTCfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
statusfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
timezonefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
versionfrom the response with the200statusresponse-optional-property-removed
- ○
added
AbstractBillResponseAbstractResponseto the response bodyallOflist for the response status200response-body-all-of-added
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●